The rtfgen.cpp
File Reference
Included Headers
Functions Index
static QCString | dateToRTFDateString () |
static QCString | docifyToString (const QCString &str) |
static QCString | makeIndexName (const QCString &s, int i) |
static QCString | objectLinkToString (const QCString &ref, const QCString &f, const QCString &anchor, const QCString &text) |
bool | isLeadBytes (int c) |
static void | encodeForOutput (TextStream &t, const QCString &s) |
static bool | preProcessFile (Dir &d, const QCString &infName, TextStream &t, bool bIncludeHeader=true, bool removeFile=true) |
VERY brittle routine inline RTF's included by other RTF's. More... | |
void | testRTFOutput (const QCString &name) |
Tests the integrity of the result by counting brackets. More... | |
QCString | rtfFormatBmkStr (const QCString &name) |
Variables Index
static StringSet | removeSet |
static std::mutex | g_rtfFormatMutex |
static std::unordered_map< std::string, std::string > | g_tagMap |
static QCString | g_nextTag("AAAAAAAAAA") |
Macro Definitions Index
#define | DBG_RTF(x) |
Functions
dateToRTFDateString()
| static |
Definition at line 59 of file rtfgen.cpp.
References Config_getEnum, getCurrentDateTime and QCString::sprintf.
Referenced by RTFGenerator::endIndexSection.
docifyToString()
| static |
Definition at line 81 of file rtfgen.cpp.
References QCString::data, QCString::isEmpty, QCString::length and QCString::reserve.
Referenced by objectLinkToString.
encodeForOutput()
| static |
Definition at line 2182 of file rtfgen.cpp.
References QCString::data, FALSE, QCString::isEmpty, isLeadBytes, QCString::length, portable_iconv, portable_iconv_close, portable_iconv_open, qPrint, qsnprintf, QCString::sprintf, theTranslator and TRUE.
Referenced by preProcessFile.
isLeadBytes()
|
Definition at line 2154 of file rtfgen.cpp.
Reference theTranslator.
Referenced by encodeForOutput.
makeIndexName()
| static |
Definition at line 104 of file rtfgen.cpp.
Referenced by RTFGenerator::rtf_BList_DepthStyle, RTFGenerator::rtf_CList_DepthStyle, RTFCodeGenerator::rtf_Code_DepthStyle, RTFGenerator::rtf_DList_DepthStyle, RTFGenerator::rtf_EList_DepthStyle and RTFGenerator::rtf_LCList_DepthStyle.
objectLinkToString()
| static |
Definition at line 1545 of file rtfgen.cpp.
References Config_getBool, docifyToString, QCString::isEmpty, rtfFormatBmkStr and stripPath.
preProcessFile()
| static |
VERY brittle routine inline RTF's included by other RTF's.
it is recursive and ugly.
Definition at line 2246 of file rtfgen.cpp.
References FileInfo::absFilePath, DBG_RTF, encodeForOutput, err, QCString::ExplicitSize, FALSE, Dir::filePath, Debug::isFlagSet, Portable::openInputStream, preProcessFile, removeSet, Debug::Rtf, QCString::str and TRUE.
Referenced by preProcessFile and RTFGenerator::preProcessFileInplace.
rtfFormatBmkStr()
|
Definition at line 2870 of file rtfgen.cpp.
References g_nextTag, g_rtfFormatMutex, g_tagMap, Rtf_Style_Default::name, Debug::print and Debug::Rtf.
Referenced by RTFGenerator::endDoxyAnchor, objectLinkToString, RTFDocVisitor::operator(), RTFDocVisitor::operator(), RTFDocVisitor::operator(), RTFDocVisitor::operator(), RTFDocVisitor::operator(), RTFDocVisitor::startLink, RTFGenerator::startTextLink, RTFGenerator::writeAnchor, RTFCodeGenerator::writeCodeLink, RTFCodeGenerator::writeLineNumber, RTFGenerator::writeRTFReference and RTFGenerator::writeStartAnnoItem.
testRTFOutput()
|
Tests the integrity of the result by counting brackets.
Definition at line 2413 of file rtfgen.cpp.
References err, Rtf_Style_Default::name and Portable::openInputStream.
Referenced by RTFGenerator::preProcessFileInplace.
Variables
g_nextTag
| static |
Definition at line 2868 of file rtfgen.cpp.
Referenced by rtfFormatBmkStr.
g_rtfFormatMutex
| static |
Definition at line 2866 of file rtfgen.cpp.
Referenced by rtfFormatBmkStr.
g_tagMap
| static |
Definition at line 2867 of file rtfgen.cpp.
Referenced by rtfFormatBmkStr.
removeSet
| static |
Definition at line 57 of file rtfgen.cpp.
Referenced by preProcessFile and RTFGenerator::preProcessFileInplace.
Generated via doxygen2docusaurus by Doxygen 1.14.0.