Logo Search packages:      
Sourcecode: cb2bib version File versions

c2bUtils Namespace Reference


Detailed Description

cb2Bib core utilities

General cb2Bib Utils: GUI related utilities


Enumerations

enum  AsciiConversion { Cleanup, KeepWords, Collation }

Functions

void addSeparator (QWidget *w)
QString & bibToC2b (QString &str)
QString & c2bToBib (QString &str)
QString & cleanEquations (QString &str)
QString & cleanTitle (QString &title)
void debug (const QString &)
void displayHelp (const QString &url)
QString documentAbsoluteName (const bool bibtexrelative, const QString &bibtexfn, const QString &docdir, const QString &docfn)
QString documentDirName (const bool bibtexrelative, const QString &bibtexfn, const QString &docdir)
QString documentFilename (const bool bibtexrelative, const QString &bibtexfn, const QString &docdir, const QString &docfn)
QString fileToString (const QString &fn, bool delete_on_close=false)
QString firstPage (QString pages)
QString fromHtmlString (const QString &str, const bool addMetadata=false)
QString fromQtXmlString (QString str)
QString & fullBibToC2b (QString &str)
static const QStringMatcher hasLatexDiacritic ("{\\")
static const QStringMatcher hasLatexSymbol ("$\\")
bool inBraces (const int pos, const QString &str, QString *in)
static const QRegExp isBibToC2b ("[\\{\\[\\$\\\<>]")
bool isLowerCaseString (const QString &str, const int pos0=0, int posn=-1)
bool isUpperCaseString (const QString &str, const int pos0=0, int posn=-1)
int nearInteger (double a)
static const QRegExp nonAsciiLetter ("[^A-Za-z]")
static const QRegExp nonAsciiWords ("[^A-Za-z0-9\\+- ]")
static const QRegExp nonLetter ("\\W")
bool openFile (const QString &fn, QWidget *w)
bool patternLengthMoreThan (const QRegExp &s1, const QRegExp &s2)
static const QString pnasGreekLetters ("[\\{\\[\\(](alpha|beta|gamma|delta|varepsilon|""zeta|eta|theta|iota|kappa|lambda|mu|nu|xi|""omicron|pi|rho|sigmaf|varsigma|sigma|tau|""upsilon|phi|chi|psi|omega|vartheta|varphi|""varpi|digamma|varkappa|varrho|epsilon)[\\}\\]\\)]")
static const QString pubmedUrl ("http://www.ncbi.nlm.nih.gov/pubmed/%1")
QString setCapitalization (const QString &str)
void setWidgetOnTop (QWidget *w)
bool stringToFile (const QString &str, const QString &fn)
QUrl stringToUrl (const QString &fn)
QString toAscii (const QString &str, const AsciiConversion type)
QString toHtmlString (QString str)
QString toQtXmlString (QString str)


Generated by  Doxygen 1.6.0   Back to index