|
Doxygen
|
#include <cstdlib>#include "latexgen.h"#include "config.h"#include "message.h"#include "doxygen.h"#include "util.h"#include "stringutil.h"#include "diagram.h"#include "language.h"#include "version.h"#include "dot.h"#include "dotcallgraph.h"#include "dotclassgraph.h"#include "dotdirdeps.h"#include "dotgroupcollaboration.h"#include "dotincldepgraph.h"#include "pagedef.h"#include "docparser.h"#include "docnode.h"#include "latexdocvisitor.h"#include "dirdef.h"#include "cite.h"#include "groupdef.h"#include "classlist.h"#include "namespacedef.h"#include "filename.h"#include "resourcemgr.h"#include "portable.h"#include "fileinfo.h"#include "utf8.h"#include "datetime.h"#include "outputlist.h"#include "moduledef.h"Go to the source code of this file.
Macros | |
| #define | COPYCHAR() |
Functions | |
| static DString | substituteLatexKeywords (const DString &file, const DString &str, const DString &title) |
| static void | writeLatexMakefile () |
| static void | writeMakeBat () |
| static void | writeDefaultStyleSheet (TextStream &t) |
| static DString | extraLatexStyleSheet () |
| static DString | makeIndex () |
| static DString | latex_batchmode () |
| static DString | objectLinkToString (const DString &ref, const DString &f, const DString &anchor, const DString &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 DString &str, bool insideTabbing, bool insidePre, bool insideItem, bool insideTable, bool keepSpaces, const bool retainNewline) |
| DString | convertToLaTeX (const DString &s, bool insideTabbing, bool keepSpaces) |
| DString | latexEscapeLabelName (const DString &s) |
| DString | latexEscapeIndexChars (const DString &s) |
| DString | latexEscapePDFString (const DString &s) |
| DString | latexFilterURL (const DString &s) |
| void | latexWriteIndexItem (TextStream &m_t, const DString &s1, const DString &s2) |
Variables | |
| static DString | g_header |
| static DString | g_header_file |
| static DString | g_footer |
| static DString | g_footer_file |
| static const SelectionMarkerInfo | latexMarkerInfo = { '%', "%%BEGIN ",8 ,"%%END ",6, "",0 } |
| #define COPYCHAR | ( | ) |
Referenced by LatexCodeGenerator::codify().
Definition at line 2509 of file latexgen.cpp.
References convertToLaTeX(), filterLatexString(), and TextStream::str().
Referenced by convertToLaTeX(), LatexGenerator::endIndexSection(), objectLinkToString(), LatexGenerator::startIndexSection(), substituteLatexKeywords(), and LatexGenerator::writeInheritedSectionTitle().
|
static |
Definition at line 739 of file latexgen.cpp.
References checkExtension(), Config_getList, FileInfo::exists(), extraLatexStyleSheet(), FileInfo::fileName(), LATEX_STYLE_EXTENSION, and stripExtensionGeneral().
Referenced by extraLatexStyleSheet(), and substituteLatexKeywords().
| void filterLatexString | ( | TextStream & | t, |
| const DString & | str, | ||
| bool | insideTabbing, | ||
| bool | insidePre, | ||
| bool | insideItem, | ||
| bool | insideTable, | ||
| bool | keepSpaces, | ||
| const bool | retainNewline ) |
Definition at line 2362 of file latexgen.cpp.
References Config_getBool, DString::data(), DString::empty(), filterLatexString(), insideTable(), HtmlEntityMapper::instance(), isId(), HtmlEntityMapper::latex(), processEntity(), and HtmlEntityMapper::writeHtmlEntity().
Referenced by LatexCodeGenerator::codify(), convertToLaTeX(), LatexGenerator::docify(), LatexDocVisitor::filter(), filterLatexString(), latexEscapeIndexChars(), latexEscapeLabelName(), and substituteLatexKeywords().
|
static |
Definition at line 786 of file latexgen.cpp.
References Config_getEnum, and latex_batchmode().
Referenced by latex_batchmode(), and substituteLatexKeywords().
Definition at line 2561 of file latexgen.cpp.
References DString::data(), DString::empty(), DString::ExplicitSize, filterLatexString(), latexEscapeIndexChars(), DString::length(), and TextStream::str().
Referenced by latexEscapeIndexChars(), latexWriteIndexItem(), and LatexGenerator::startMemberDoc().
Definition at line 2516 of file latexgen.cpp.
References DString::data(), DString::empty(), DString::ExplicitSize, filterLatexString(), latexEscapeLabelName(), DString::length(), and TextStream::str().
Referenced by latexEscapeLabelName(), and latexWriteIndexItem().
Definition at line 2607 of file latexgen.cpp.
References DString::data(), DString::empty(), latexEscapePDFString(), and TextStream::str().
Referenced by latexEscapePDFString(), and LatexGenerator::startMemberDoc().
Definition at line 2635 of file latexgen.cpp.
References DString::data(), DString::empty(), latexFilterURL(), and TextStream::str().
Referenced by latexFilterURL(), LatexDocVisitor::operator()(), and LatexDocVisitor::operator()().
| void latexWriteIndexItem | ( | TextStream & | m_t, |
| const DString & | s1, | ||
| const DString & | s2 ) |
Definition at line 2666 of file latexgen.cpp.
References DString::empty(), latexEscapeIndexChars(), latexEscapeLabelName(), and latexWriteIndexItem().
Referenced by LatexGenerator::addIndexItem(), LatexGenerator::endTitleHead(), latexWriteIndexItem(), LatexDocVisitor::operator()(), and LatexGenerator::startMemberDoc().
|
static |
Definition at line 768 of file latexgen.cpp.
References Config_getString, DString::empty(), and makeIndex().
Referenced by makeIndex(), and substituteLatexKeywords().
|
static |
Definition at line 1413 of file latexgen.cpp.
References Config_getBool, convertToLaTeX(), DString::empty(), objectLinkToString(), and stripPath().
Referenced by objectLinkToString(), LatexGenerator::writeInheritedSectionTitle(), and LatexGenerator::writeObjectLink().
|
static |
Definition at line 1438 of file latexgen.cpp.
References processEntity().
Referenced by filterLatexString(), and processEntity().
|
static |
Definition at line 800 of file latexgen.cpp.
References FileInfo::absFilePath(), Config_getBool, Config_getEnum, Config_getEnumAsString, Config_getString, convertToLaTeX(), copyFile(), Date, DateTime, dateToString(), CitationManager::empty(), DString::empty(), extraLatexStyleSheet(), FileInfo::fileName(), filterLatexString(), CitationManager::instance(), latex_batchmode(), CitationManager::latexBibFiles(), Translator::latexDocumentPost(), Translator::latexDocumentPre(), Translator::latexFont(), Translator::latexFontenc(), Translator::latexLanguageSupportCommand(), latexMarkerInfo, makeIndex(), projectLogoFile(), projectLogoSize(), removeEmptyLines(), selectBlocks(), showDate(), DString::str(), TextStream::str(), stripPath(), substitute(), substituteKeywords(), substituteLatexKeywords(), theTranslator, Time, Translator::trCiteReferences(), Translator::trGeneratedAt(), Translator::trGeneratedBy(), Translator::trISOLang(), writeExtraLatexPackages(), writeLatexSpecialFormulaChars(), and yearToString().
Referenced by LatexGenerator::endIndexSection(), LatexGenerator::init(), LatexGenerator::startIndexSection(), and substituteLatexKeywords().
|
static |
Definition at line 686 of file latexgen.cpp.
References ResourceMgr::getAsString(), ResourceMgr::instance(), and writeDefaultStyleSheet().
Referenced by writeDefaultStyleSheet(), LatexGenerator::writeStyleInfo(), and LatexGenerator::writeStyleSheetFile().
| void writeExtraLatexPackages | ( | TextStream & | t | ) |
Definition at line 2301 of file latexgen.cpp.
References Config_getList, and writeExtraLatexPackages().
Referenced by FormulaManager::createLatexFile(), substituteLatexKeywords(), and writeExtraLatexPackages().
|
static |
Definition at line 367 of file latexgen.cpp.
References Config_getBool, Config_getString, CitationManager::empty(), CitationManager::instance(), Translator::latexCommandName(), Portable::openOutputStream(), DString::quoted(), term, theTranslator, and writeLatexMakefile().
Referenced by LatexGenerator::init(), and writeLatexMakefile().
| void writeLatexSpecialFormulaChars | ( | TextStream & | t | ) |
Definition at line 2319 of file latexgen.cpp.
References writeLatexSpecialFormulaChars().
Referenced by FormulaManager::createLatexFile(), substituteLatexKeywords(), and writeLatexSpecialFormulaChars().
|
static |
Definition at line 503 of file latexgen.cpp.
References Config_getBool, Config_getString, CitationManager::empty(), Portable::ghostScriptCommand(), CitationManager::instance(), Translator::latexCommandName(), Portable::openOutputStream(), DString::quoted(), term, theTranslator, and writeMakeBat().
Referenced by LatexGenerator::init(), and writeMakeBat().
|
static |
Definition at line 53 of file latexgen.cpp.
Referenced by LatexGenerator::endIndexSection(), and LatexGenerator::init().
|
static |
Definition at line 54 of file latexgen.cpp.
Referenced by LatexGenerator::endIndexSection(), and LatexGenerator::init().
|
static |
Definition at line 51 of file latexgen.cpp.
Referenced by LatexGenerator::init(), and LatexGenerator::startIndexSection().
|
static |
Definition at line 52 of file latexgen.cpp.
Referenced by LatexGenerator::init(), and LatexGenerator::startIndexSection().
|
static |
Definition at line 55 of file latexgen.cpp.
Referenced by LatexGenerator::init(), and substituteLatexKeywords().