The latexgen.cpp
File Reference
Included Headers
Functions Index
static QCString | substituteLatexKeywords (const QCString &file, const QCString &str, const QCString &title) |
static void | writeLatexMakefile () |
static void | writeMakeBat () |
static void | writeDefaultStyleSheet (TextStream &t) |
static QCString | extraLatexStyleSheet () |
static QCString | makeIndex () |
static QCString | latex_batchmode () |
static QCString | objectLinkToString (const QCString &ref, const QCString &f, const QCString &anchor, const QCString &text, bool insideTabbing, bool disableLinks) |
static void | processEntity (TextStream &t, bool pdfHyperlinks, const char *strForm, const char *strRepl) |
void | writeExtraLatexPackages (TextStream &t) |
void | writeLatexSpecialFormulaChars (TextStream &t) |
void | filterLatexString (TextStream &t, const QCString &str, bool insideTabbing, bool insidePre, bool insideItem, bool insideTable, bool keepSpaces, const bool retainNewline) |
QCString | convertToLaTeX (const QCString &s, bool insideTabbing, bool keepSpaces) |
QCString | latexEscapeLabelName (const QCString &s) |
QCString | latexEscapeIndexChars (const QCString &s) |
QCString | latexEscapePDFString (const QCString &s) |
QCString | latexFilterURL (const QCString &s) |
Variables Index
static QCString | g_header |
static QCString | g_header_file |
static QCString | g_footer |
static QCString | g_footer_file |
static const SelectionMarkerInfo | latexMarkerInfo = { '%', "%%BEGIN ",8 ,"%%END ",6, "",0 } |
Macro Definitions Index
#define | COPYCHAR() ... |
Functions
convertToLaTeX()
|
Definition at line 2546 of file latexgen.cpp.
References filterLatexString and TextStream::str.
Referenced by LatexGenerator::endIndexSection, objectLinkToString, LatexGenerator::startIndexSection, substituteLatexKeywords and LatexGenerator::writeInheritedSectionTitle.
extraLatexStyleSheet()
| static |
Definition at line 736 of file latexgen.cpp.
References checkExtension, Config_getList, FileInfo::exists, FileInfo::fileName, LATEX_STYLE_EXTENSION and stripExtensionGeneral.
Referenced by substituteLatexKeywords.
filterLatexString()
|
Definition at line 2388 of file latexgen.cpp.
References Config_getBool, QCString::data, insideTable, HtmlEntityMapper::instance, QCString::isEmpty, isId, HtmlEntityMapper::latex, HtmlEntityMapper::name2sym, processEntity and HtmlEntityMapper::Sym_Unknown.
Referenced by LatexCodeGenerator::codify, convertToLaTeX, LatexGenerator::docify, LatexDocVisitor::filter, latexEscapeIndexChars, latexEscapeLabelName and substituteLatexKeywords.
latex_batchmode()
| static |
Definition at line 782 of file latexgen.cpp.
Reference Config_getEnum.
Referenced by substituteLatexKeywords.
latexEscapeIndexChars()
|
Definition at line 2598 of file latexgen.cpp.
References QCString::data, QCString::ExplicitSize, filterLatexString, QCString::isEmpty, QCString::length and TextStream::str.
Referenced by LatexGenerator::addIndexItem, LatexGenerator::endTitleHead, LatexDocVisitor::operator() and LatexGenerator::startMemberDoc.
latexEscapeLabelName()
|
Definition at line 2553 of file latexgen.cpp.
References QCString::data, QCString::ExplicitSize, filterLatexString, QCString::isEmpty, QCString::length and TextStream::str.
Referenced by LatexGenerator::addIndexItem, LatexGenerator::endTitleHead, LatexDocVisitor::operator() and LatexGenerator::startMemberDoc.
latexEscapePDFString()
|
Definition at line 2644 of file latexgen.cpp.
References QCString::data, QCString::isEmpty and TextStream::str.
Referenced by LatexGenerator::startMemberDoc.
latexFilterURL()
|
Definition at line 2672 of file latexgen.cpp.
References QCString::data, hex, QCString::isEmpty and TextStream::str.
Referenced by LatexDocVisitor::operator() and LatexDocVisitor::operator().
makeIndex()
| static |
Definition at line 764 of file latexgen.cpp.
References Config_getString and QCString::isEmpty.
Referenced by substituteLatexKeywords.
objectLinkToString()
| static |
Definition at line 1405 of file latexgen.cpp.
References Config_getBool, convertToLaTeX, QCString::isEmpty and stripPath.
processEntity()
| static |
Definition at line 1430 of file latexgen.cpp.
Referenced by filterLatexString.
substituteLatexKeywords()
| static |
Definition at line 796 of file latexgen.cpp.
References FileInfo::absFilePath, Config_getBool, Config_getEnum, Config_getEnumAsString, Config_getString, convertToLaTeX, copyFile, Date, DateTime, dateToString, extraLatexStyleSheet, FileInfo::fileName, filterLatexString, CitationManager::instance, CitationManager::isEmpty, QCString::isEmpty, latex_batchmode, CitationManager::latexBibFiles, latexMarkerInfo, makeIndex, removeEmptyLines, selectBlocks, QCString::str, TextStream::str, substitute, substituteKeywords, theTranslator, writeExtraLatexPackages and writeLatexSpecialFormulaChars.
Referenced by LatexGenerator::endIndexSection, LatexGenerator::init and LatexGenerator::startIndexSection.
writeDefaultStyleSheet()
| static |
Definition at line 683 of file latexgen.cpp.
References ResourceMgr::getAsString and ResourceMgr::instance.
writeExtraLatexPackages()
|
Definition at line 2327 of file latexgen.cpp.
Reference Config_getList.
Referenced by FormulaManager::createLatexFile and substituteLatexKeywords.
writeLatexMakefile()
| static |
Definition at line 364 of file latexgen.cpp.
References Config_getBool, Config_getString, CitationManager::instance, CitationManager::isEmpty, Portable::openOutputStream, QCString::quoted, term and theTranslator.
Referenced by LatexGenerator::init.
writeLatexSpecialFormulaChars()
|
Definition at line 2345 of file latexgen.cpp.
Referenced by FormulaManager::createLatexFile and substituteLatexKeywords.
writeMakeBat()
| static |
Definition at line 500 of file latexgen.cpp.
References Config_getBool, Config_getString, Portable::ghostScriptCommand, CitationManager::instance, CitationManager::isEmpty, Portable::openOutputStream, QCString::quoted, term and theTranslator.
Referenced by LatexGenerator::init.
Variables
g_footer
| static |
Definition at line 53 of file latexgen.cpp.
g_footer_file
| static |
Definition at line 54 of file latexgen.cpp.
g_header
| static |
Definition at line 51 of file latexgen.cpp.
g_header_file
| static |
Definition at line 52 of file latexgen.cpp.
latexMarkerInfo
| static |
Definition at line 55 of file latexgen.cpp.
Referenced by LatexGenerator::init and substituteLatexKeywords.
Macro Definitions
COPYCHAR
|
- Value
-
do { \ int bytes = getUTF8CharNumBytes(c); \ if (lresult < (i + bytes + 1)) \ { \ lresult += 512; \ result = static_cast<char *>(realloc(result, lresult)); \ } \ for (int j=0; j<bytes && *p; j++) \ { \ result[i++]=*p++; \ } \ m_col++; \ } while(0)
Definition at line 138 of file latexgen.cpp.
Referenced by LatexCodeGenerator::codify.
Generated via doxygen2docusaurus by Doxygen 1.14.0.