|
Doxygen
|
#include "rtfstyle.h"#include <string>#include <fstream>#include <map>#include "message.h"#include "regex.h"Go to the source code of this file.
Macros | |
| #define | RTF_LatexToc(lvl, nest, nxt, pos, twps) |
| #define | RTF_ListBullet(lvl, nest, nxt, pos, lvl2) |
| #define | RTF_ListEnum(lvl, nest, nxt, pos) |
| #define | RTF_CodeExample(lvl, nest, nxt, pos) |
| #define | RTF_ListContinue(lvl, nest, nxt, pos) |
| #define | RTF_DescContinue(lvl, nest, nxt, pos) |
| #define | RTF_ListElement(id, lvl, pos, chr) |
Functions | |
| void | loadStylesheet (const DString &name, StyleDataMap &map) |
| void | loadExtensions (const DString &name) |
Variables | |
| DString | rtf_title |
| DString | rtf_subject |
| DString | rtf_comments |
| DString | rtf_company |
| DString | rtf_logoFilename |
| DString | rtf_author |
| DString | rtf_manager |
| DString | rtf_documentType |
| DString | rtf_documentId |
| DString | rtf_keywords |
| static std::map< std::string, DString & > | g_styleMap |
| char | rtf_Style_Reset [] = "\\pard\\plain " |
| Rtf_Style_Default | rtf_Style_Default [] |
| Rtf_Table_Default | rtf_Table_Default [] |
| static const reg::Ex | s_clause (R"(\\s(\d+)\s*)") |
| StyleDataMap | rtf_Style |
| #define RTF_CodeExample | ( | lvl, | |
| nest, | |||
| nxt, | |||
| pos ) |
Definition at line 75 of file rtfstyle.cpp.
| #define RTF_DescContinue | ( | lvl, | |
| nest, | |||
| nxt, | |||
| pos ) |
Definition at line 87 of file rtfstyle.cpp.
| #define RTF_LatexToc | ( | lvl, | |
| nest, | |||
| nxt, | |||
| pos, | |||
| twps ) |
Definition at line 56 of file rtfstyle.cpp.
| #define RTF_ListBullet | ( | lvl, | |
| nest, | |||
| nxt, | |||
| pos, | |||
| lvl2 ) |
Definition at line 63 of file rtfstyle.cpp.
| #define RTF_ListContinue | ( | lvl, | |
| nest, | |||
| nxt, | |||
| pos ) |
Definition at line 81 of file rtfstyle.cpp.
| #define RTF_ListElement | ( | id, | |
| lvl, | |||
| pos, | |||
| chr ) |
Definition at line 244 of file rtfstyle.cpp.
| #define RTF_ListEnum | ( | lvl, | |
| nest, | |||
| nxt, | |||
| pos ) |
Definition at line 69 of file rtfstyle.cpp.
| void loadExtensions | ( | const DString & | name | ) |
Definition at line 368 of file rtfstyle.cpp.
References err, g_styleMap, msg, reg::search(), DString::str(), and warn.
Referenced by RTFGenerator::init().
| void loadStylesheet | ( | const DString & | name, |
| StyleDataMap & | map ) |
Definition at line 326 of file rtfstyle.cpp.
References err, msg, reg::search(), StyleData::setStyle(), DString::str(), and warn.
Referenced by RTFGenerator::init().
|
static |
Definition at line 39 of file rtfstyle.cpp.
Referenced by loadExtensions().
| DString rtf_author |
Definition at line 33 of file rtfstyle.cpp.
Referenced by RTFGenerator::endIndexSection(), and RTFGenerator::startIndexSection().
| DString rtf_comments |
Definition at line 30 of file rtfstyle.cpp.
Referenced by RTFGenerator::startIndexSection().
| DString rtf_company |
Definition at line 31 of file rtfstyle.cpp.
Referenced by RTFGenerator::endIndexSection(), and RTFGenerator::startIndexSection().
| DString rtf_documentId |
Definition at line 36 of file rtfstyle.cpp.
Referenced by RTFGenerator::endIndexSection().
| DString rtf_documentType |
Definition at line 35 of file rtfstyle.cpp.
Referenced by RTFGenerator::endIndexSection(), and RTFGenerator::startIndexSection().
| DString rtf_keywords |
Definition at line 37 of file rtfstyle.cpp.
Referenced by RTFGenerator::startIndexSection().
| DString rtf_logoFilename |
Definition at line 32 of file rtfstyle.cpp.
Referenced by RTFGenerator::endIndexSection(), and RTFGenerator::init().
| DString rtf_manager |
Definition at line 34 of file rtfstyle.cpp.
Referenced by RTFGenerator::startIndexSection().
| StyleDataMap rtf_Style |
Definition at line 366 of file rtfstyle.cpp.
Referenced by RTFGenerator::beginRTFChapter(), RTFGenerator::beginRTFDocument(), RTFGenerator::beginRTFSection(), RTFGenerator::endIndexSection(), RTFDocVisitor::getStyle(), RTFGenerator::init(), RTFGenerator::lastIndexPage(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFGenerator::rtf_BList_DepthStyle(), RTFGenerator::rtf_CList_DepthStyle(), RTFCodeGenerator::rtf_Code_DepthStyle(), RTFGenerator::rtf_DList_DepthStyle(), RTFGenerator::rtf_EList_DepthStyle(), RTFGenerator::rtf_LCList_DepthStyle(), RTFGenerator::startCompoundTemplateParams(), RTFGenerator::startDescTable(), RTFGenerator::startDescTableInit(), RTFGenerator::startDescTableTitle(), RTFGenerator::startGroupHeader(), RTFGenerator::startInlineHeader(), RTFGenerator::startMemberDoc(), RTFGenerator::startMemberDocSimple(), RTFGenerator::startMemberGroupHeader(), RTFGenerator::startSection(), RTFGenerator::startTextBlock(), RTFGenerator::startTitleHead(), and RTFGenerator::writeInheritedSectionTitle().
| Rtf_Style_Default rtf_Style_Default[] |
Definition at line 93 of file rtfstyle.cpp.
Referenced by RTFGenerator::init(), and RTFGenerator::writeStyleSheetFile().
| char rtf_Style_Reset[] = "\\pard\\plain " |
Definition at line 54 of file rtfstyle.cpp.
Referenced by RTFGenerator::beginRTFChapter(), RTFGenerator::beginRTFSection(), RTFGenerator::endCallGraph(), RTFGenerator::endClassDiagram(), RTFGenerator::endDirDepGraph(), RTFGenerator::endDotGraph(), RTFGenerator::endGroupHeader(), RTFGenerator::endInclDepGraph(), RTFGenerator::endIndexSection(), RTFGenerator::endMemberGroupHeader(), RTFGenerator::endTitleHead(), RTFDocVisitor::includePicturePreRTF(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFCodeGenerator::startCodeFragment(), RTFGenerator::startCompoundTemplateParams(), RTFGenerator::startConstraintList(), RTFGenerator::startDescTable(), RTFGenerator::startExamples(), RTFGenerator::startGroupHeader(), RTFGenerator::startIndent(), RTFGenerator::startIndexList(), RTFGenerator::startInlineHeader(), RTFGenerator::startItemListItem(), RTFGenerator::startMemberDescription(), RTFGenerator::startMemberDoc(), RTFGenerator::startMemberDocSimple(), RTFGenerator::startMemberGroup(), RTFGenerator::startMemberGroupHeader(), RTFGenerator::startMemberItem(), RTFGenerator::startMemberSubtitle(), RTFGenerator::startSection(), RTFGenerator::startTextBlock(), RTFGenerator::startTitleHead(), RTFGenerator::writeInheritedSectionTitle(), and RTFGenerator::writePageLink().
| DString rtf_subject |
Definition at line 29 of file rtfstyle.cpp.
Referenced by RTFGenerator::startIndexSection().
| Rtf_Table_Default rtf_Table_Default[] |
Definition at line 250 of file rtfstyle.cpp.
Referenced by RTFGenerator::beginRTFDocument(), and RTFDocVisitor::getListTable().
| DString rtf_title |
Definition at line 28 of file rtfstyle.cpp.
Referenced by RTFGenerator::endIndexSection().
|
static |
Referenced by StyleData::setStyle(), and StyleData::StyleData().