24 #include "outputgen.h" 35 OutputType type()
const {
return OutputType::RTF; }
37 void writeCodeLink(CodeSymbolType type,
49 void startCodeLine(
bool);
51 void startFontClass(
const QCString &);
53 void writeCodeAnchor(
const QCString &) {}
54 void startCodeFragment(
const QCString &style);
55 void endCodeFragment(
const QCString &);
59 void setSourceFileName(
const QCString &name);
60 void setIndentLevel(
int level) { m_indentLevel=level; }
64 bool m_doxyCodeLineOpen =
false;
66 int m_indentLevel = 0;
83 static void writeStyleSheetFile(
TextStream &t);
84 static void writeExtensionsFile(
TextStream &t);
85 OutputType type()
const {
return OutputType::RTF; }
87 void setRelativePath(
const QCString &path);
88 void setSourceFileName(
const QCString &sourceFileName);
93 void writeSearchInfo() {}
94 void writeFooter(
const QCString &) {}
98 void startPageDoc(
const QCString &) {}
100 void startIndexSection(IndexSection);
101 void endIndexSection(IndexSection);
102 void writePageLink(
const QCString &,
bool);
103 void startProjectNumber();
104 void endProjectNumber();
105 void writeStyleInfo(
int part);
106 void startTitleHead(
const QCString &);
109 void startParagraph(
const QCString &classDef);
111 void writeString(
const QCString &text);
112 void startIndexListItem();
113 void endIndexListItem();
114 void startIndexList();
116 void startIndexKey();
118 void startIndexValue(
bool);
119 void endIndexValue(
const QCString &,
bool);
120 void startItemList();
129 void startTypewriter() { m_t <<
"{\\f2 "; }
130 void endTypewriter() { m_t <<
"}"; }
131 void startGroupHeader(
int);
132 void endGroupHeader(
int);
133 void startItemListItem();
134 void endItemListItem();
136 void startMemberSections() {}
137 void endMemberSections() {}
138 void startHeaderSection() {}
139 void endHeaderSection() {}
140 void startMemberHeader(
const QCString &,
int) { startGroupHeader(0); }
141 void endMemberHeader() { endGroupHeader(FALSE); }
142 void startMemberSubtitle();
143 void endMemberSubtitle();
144 void startMemberDocList() {}
145 void endMemberDocList() {}
146 void startMemberList();
147 void endMemberList();
148 void startInlineHeader();
149 void endInlineHeader();
150 void startAnonTypeScope(
int) {}
151 void endAnonTypeScope(
int) {}
153 void endMemberItem(MemberItemType);
154 void startMemberTemplateParams() {}
156 void startCompoundTemplateParams();
157 void endCompoundTemplateParams();
158 void insertMemberAlign(
bool) {}
159 void insertMemberAlignLeft(MemberItemType,
bool){}
161 void writeRuler() { rtfwriteRuler_thin(); }
164 void startEmphasis() { m_t <<
"{\\i "; }
165 void endEmphasis() { m_t <<
"}"; }
166 void startBold() { m_t <<
"{\\b "; }
167 void endBold() { m_t <<
"}"; }
170 void endMemberDoc(
bool);
173 void writeChar(
char c);
174 void writeLatexSpacing() {};
177 void startCenter() { m_t <<
"{\\qc\n"; }
178 void endCenter() { m_t <<
"}"; }
179 void startSmall() { m_t <<
"{\\sub "; }
180 void endSmall() { m_t <<
"}"; }
183 void endMemberDescription();
184 void startMemberDeclaration() {}
188 void startExamples();
190 void startDescForItem();
191 void endDescForItem();
193 void endSection(
const QCString &,SectionType);
197 void writeSynopsis() {}
198 void startClassDiagram();
202 void startQuickIndices() {}
203 void endQuickIndices() {}
204 void writeSplitBar(
const QCString &) {}
205 void writeNavigationPath(
const QCString &) {}
207 void writeQuickLinks(
bool,HighlightedItem,
const QCString &) {}
209 void startContents() {}
210 void endContents() {}
211 void writeNonBreakableSpace(
int);
213 void startDescTable(
const QCString &title);
215 void startDescTableRow();
216 void endDescTableRow();
217 void startDescTableTitle();
218 void endDescTableTitle();
219 void startDescTableData();
220 void endDescTableData();
222 void startDotGraph();
224 void startInclDepGraph();
226 void startGroupCollaboration();
228 void startCallGraph();
230 void startDirDepGraph();
234 void startMemberGroupHeader(
bool);
235 void endMemberGroupHeader();
236 void startMemberGroupDocs();
237 void endMemberGroupDocs();
238 void startMemberGroup();
239 void endMemberGroup(
bool);
241 void startTextBlock(
bool dense);
242 void endTextBlock(
bool);
243 void lastIndexPage();
245 void startMemberDocPrefixItem() {}
246 void endMemberDocPrefixItem() {}
247 void startMemberDocName(
bool) {}
248 void endMemberDocName() {}
249 void startParameterType(
bool,
const QCString &);
250 void endParameterType();
251 void startParameterName(
bool) {}
252 void endParameterName(
bool,
bool,
bool) {}
253 void startParameterList(
bool) {}
254 void endParameterList() {}
255 void exceptionEntry(
const QCString &,
bool);
257 void startConstraintList(
const QCString &);
258 void startConstraintParam();
259 void endConstraintParam();
260 void startConstraintType();
261 void endConstraintType();
262 void startConstraintDocs();
263 void endConstraintDocs();
264 void endConstraintList();
266 void startMemberDocSimple(
bool);
267 void endMemberDocSimple(
bool);
268 void startInlineMemberType();
269 void endInlineMemberType();
270 void startInlineMemberName();
271 void endInlineMemberName();
272 void startInlineMemberDoc();
273 void endInlineMemberDoc();
276 void writeLabel(
const QCString &l,
bool isLast);
281 static bool preProcessFileInplace(
const QCString &path,
const QCString &name);
291 void beginRTFDocument();
292 void beginRTFChapter();
293 void beginRTFSection();
294 void rtfwriteRuler_doubleline();
295 void rtfwriteRuler_emboss();
296 void rtfwriteRuler_thick();
297 void rtfwriteRuler_thin();
298 void writeRTFReference(
const QCString &label);
301 int indentLevel()
const;
302 void incIndentLevel();
303 void decIndentLevel();
305 bool m_bstartedBody =
false;
306 bool m_omitParagraph =
false;
309 int m_hierarchyLevel = 0;
312 static const int maxIndentLevels = 13;
313 int m_indentLevel = 0;
314 struct RTFListItemInfo
320 std::array<RTFListItemInfo,maxIndentLevels> m_listItemInfo;
321 std::unique_ptr<OutputCodeList> m_codeList;
The common base class of all entity definitions found in the sources.
Definition: definition.h:74
A model of a class/file/namespace member symbol.
Definition: memberdef.h:45
Text streaming class that buffers data.
Definition: textstream.h:34
Generator for RTF code fragments.
Definition: rtfgen.h:29
class that represents a list of constant references to sections.
Definition: section.h:98
Generator for RTF output.
Definition: rtfgen.h:71
Represents a graphical class hierarchy.
Definition: dotgfxhierarchytable.h:31
Representation of a group collaboration graph.
Definition: dotgroupcollaboration.h:28
opaque representation of the abstract syntax tree (AST)
Definition: docparser.h:46
Class representing a list of different code generators.
Definition: outputlist.h:144
Class representing a built-in class diagram.
Definition: diagram.h:29
Representation of an call graph.
Definition: dotcallgraph.h:26
Representation of a class inheritance or dependency graph.
Definition: dotclassgraph.h:28
Base class for specific output generators.
Definition: outputgen.h:64
Representation of an include dependency graph.
Definition: dotincldepgraph.h:30
Representation of an directory dependency graph.
Definition: dotdirdeps.h:25
This is an alternative implementation of QCString.
Definition: qcstring.h:92
Definition: outputgen.h:49
Definition: outputgen.h:41