Doxygen
Loading...
Searching...
No Matches
latexgen.h
Go to the documentation of this file.
1/******************************************************************************
2 *
3 * Copyright (C) 1997-2023 by Dimitri van Heesch.
4 *
5 * Permission to use, copy, modify, and distribute this software and its
6 * documentation under the terms of the GNU General Public License is hereby
7 * granted. No representations are made about the suitability of this software
8 * for any purpose. It is provided "as is" without express or implied warranty.
9 * See the GNU General Public License for more details.
10 *
11 * Documents produced by Doxygen are derivative works derived from the
12 * input used in their production; they are not affected by this license.
13 *
14 */
15
16#ifndef LATEXGEN_H
17#define LATEXGEN_H
18
19#include "config.h"
20#include "outputgen.h"
21
22#define LATEX_STYLE_EXTENSION ".sty"
23
24class OutputCodeList;
25
26/** Generator for LaTeX code fragments */
28{
29 public:
30 LatexCodeGenerator(TextStream *t,const QCString &relPath,const QCString &sourceFile);
31 LatexCodeGenerator(TextStream *t);
32 void setTextStream(TextStream *t) { m_t = t; }
33
34 OutputType type() const override { return OutputType::Latex; }
35 std::unique_ptr<OutputCodeIntf> clone() override { return std::make_unique<LatexCodeGenerator>(*this); }
36 void codify(const QCString &text) override;
37 void stripCodeComments(bool b) override;
38 void startSpecialComment() override;
39 void endSpecialComment() override;
40 void setStripIndentAmount(size_t amount) override;
42 const QCString &ref,const QCString &file,
43 const QCString &anchor,const QCString &name,
44 const QCString &tooltip) override;
45 void writeTooltip(const QCString &,
46 const DocLinkInfo &,
47 const QCString &,
48 const QCString &,
49 const SourceLinkInfo &,
50 const SourceLinkInfo &
51 ) override {}
52 void writeLineNumber(const QCString &,const QCString &,const QCString &,int,bool) override;
53 void startCodeLine(int) override;
54 void endCodeLine() override;
55 void startFontClass(const QCString &) override;
56 void endFontClass() override;
57 void writeCodeAnchor(const QCString &) override {}
58 void startCodeFragment(const QCString &style) override;
59 void endCodeFragment(const QCString &style) override;
60 void startFold(int,const QCString &,const QCString &) override {}
61 void endFold() override {}
62
63 // extra methods not part of CodeOutputInterface
66 int usedTableLevel() const { return m_usedTableLevel; }
67
68 void setRelativePath(const QCString &path);
69 void setSourceFileName(const QCString &sourceFileName);
71 bool insideTabbing() const { return m_insideTabbing; }
72
73 private:
74 void _writeCodeLink(const QCString &className,
75 const QCString &ref,const QCString &file,
76 const QCString &anchor,const QCString &name,
77 const QCString &tooltip);
78 void docify(const QCString &str);
79 bool m_streamSet = false;
80 TextStream *m_t;
81 QCString m_relPath;
83 size_t m_col = 0;
84 bool m_doxyCodeLineOpen = false;
86 bool m_insideTabbing = false;
87 bool m_stripCodeComments = false;
88 bool m_hide = false;
90};
91
92/** Generator for LaTeX output. */
94{
95 public:
102
103 static void init();
104 static void writeStyleSheetFile(TextStream &t);
105 static void writeHeaderFile(TextStream &t);
106 static void writeFooterFile(TextStream &t);
108
109 void setCurrentDoc(const Definition *,const QCString &,bool) {}
110 void addWord(const QCString &,bool) {}
111
112 //----------------------------------------------------------------------
113
114 OutputType type() const override { return OutputType::Latex; }
115 std::unique_ptr<OutputGenIntf> clone() override { return std::make_unique<LatexGenerator>(*this); }
116 void addCodeGen(OutputCodeList &list) override;
117 void cleanup() override;
118 void writeDoc(const IDocNodeAST *node,const Definition *ctx,const MemberDef *,int id) override;
119 void startFile(const QCString &name,const QCString &manName,const QCString &title,int id,int hierarchyLevel) override;
120 void endFile() override;
121
122 void writeSearchInfo() override {}
123 void writeFooter(const QCString &) override {}
124
125 void startPageDoc(const QCString &) override {}
126 void endPageDoc() override {}
127 void startIndexSection(IndexSection) override;
128 void endIndexSection(IndexSection) override;
129 void writePageLink(const QCString &,bool) override;
130 void startProjectNumber() override;
131 void endProjectNumber() override {}
132 void writeStyleInfo(int part) override;
133 void startTitleHead(const QCString &) override;
134 void endTitleHead(const QCString &,const QCString &name) override;
135
136 void startParagraph(const QCString &classDef) override;
137 void endParagraph() override;
138 void writeString(const QCString &text) override;
139 void startIndexListItem() override {}
140 void endIndexListItem() override {}
141 void startIndexList() override { m_t << "\\begin{DoxyCompactList}\n"; }
142 void endIndexList() override { m_t << "\\end{DoxyCompactList}\n"; }
143 void startIndexKey() override;
144 void endIndexKey() override;
145 void startIndexValue(bool) override;
146 void endIndexValue(const QCString &,bool) override;
147 void startItemList() override { m_t << "\\begin{DoxyCompactItemize}\n"; }
148 void endItemList() override { m_t << "\\end{DoxyCompactItemize}\n"; }
149 void startIndexItem(const QCString &ref,const QCString &file) override;
150 void endIndexItem(const QCString &ref,const QCString &file) override;
151 void docify(const QCString &text) override;
152 void writeObjectLink(const QCString &ref,const QCString &file,
153 const QCString &anchor,const QCString &name) override;
154
155 void startTextLink(const QCString &,const QCString &) override;
156 void endTextLink() override;
157 void startTypewriter() override { m_t << "{\\ttfamily "; }
158 void endTypewriter() override { m_t << "}"; }
159 void startGroupHeader(int) override;
160 void endGroupHeader(int) override;
161 void startItemListItem() override { m_t << "\\item \n"; }
162 void endItemListItem() override {}
163
164 void startMemberSections() override {}
165 void endMemberSections() override {}
166 void startHeaderSection() override {}
167 void endHeaderSection() override {}
168 void startMemberHeader(const QCString &,int) override;
169 void endMemberHeader() override;
170 void startMemberSubtitle() override {}
171 void endMemberSubtitle() override {}
172 void startMemberDocList() override {}
173 void endMemberDocList() override {}
174 void startMemberList() override;
175 void endMemberList() override;
176 void startInlineHeader() override;
177 void endInlineHeader() override;
178 void startAnonTypeScope(int) override;
179 void endAnonTypeScope(int) override;
180 void startMemberItem(const QCString &,MemberItemType,const QCString &) override;
181 void endMemberItem(MemberItemType) override;
182 void startMemberTemplateParams() override;
183 void endMemberTemplateParams(const QCString &,const QCString &) override;
184 void startCompoundTemplateParams() override { m_t << "\\subsubsection*{";}
185 void endCompoundTemplateParams() override { m_t << "}\n"; }
186
187 void startMemberGroupHeader(bool) override;
188 void endMemberGroupHeader() override;
189 void startMemberGroupDocs() override;
190 void endMemberGroupDocs() override;
191 void startMemberGroup() override;
192 void endMemberGroup(bool) override;
193
194 void insertMemberAlign(bool) override {}
196
197 void writeRuler() override { m_t << "\n\n"; }
198 void writeAnchor(const QCString &fileName,const QCString &name) override;
199 void startEmphasis() override { m_t << "{\\em "; }
200 void endEmphasis() override { m_t << "}"; }
201 void startBold() override { m_t << "{\\bfseries "; }
202 void endBold() override { m_t << "}"; }
203 void lineBreak(const QCString &style=QCString()) override;
204 void startMemberDoc(const QCString &,const QCString &,const QCString &,const QCString &,int,int,bool) override;
205 void endMemberDoc(bool) override;
206 void startDoxyAnchor(const QCString &,const QCString &,const QCString &,const QCString &,const QCString &) override;
207 void endDoxyAnchor(const QCString &,const QCString &) override;
208 void addLabel(const QCString &,const QCString &) override;
209 void writeChar(char c) override;
210 void writeLatexSpacing() override { m_t << "\\hspace{0.3cm}"; }
211 void writeStartAnnoItem(const QCString &type,const QCString &file,
212 const QCString &path,const QCString &name) override;
213 void startCenter() override { m_t << "\\begin{center}\n"; }
214 void endCenter() override { m_t << "\\end{center}\n"; }
215 void startSmall() override { m_t << "\\footnotesize "; }
216 void endSmall() override { m_t << "\\normalsize "; }
217 void startMemberDescription(const QCString &,const QCString &,bool) override;
218 void endMemberDescription() override;
219 void startMemberDeclaration() override {}
220 void endMemberDeclaration(const QCString &,const QCString &) override {}
221 void writeInheritedSectionTitle(const QCString &,const QCString &,const QCString &,
222 const QCString &,const QCString &,const QCString &) override;
223 void startExamples() override;
224 void endExamples() override;
225 void startDescForItem() override { m_t << "\\par\n"; }
226 void endDescForItem() override {}
227 void startSection(const QCString &,const QCString &,SectionType) override;
228 void endSection(const QCString &,SectionType) override;
229 void addIndexItem(const QCString &,const QCString &) override;
230 void startIndent() override {}
231 void endIndent() override {}
232 void writeSynopsis() override {}
233 void startClassDiagram() override;
234 void endClassDiagram(const ClassDiagram &,const QCString &,const QCString &) override;
235 void startPageRef() override;
236 void endPageRef(const QCString &,const QCString &) override;
237 void startQuickIndices() override {}
238 void endQuickIndices() override {}
239 void writeSplitBar(const QCString &) override {}
240 void writeNavigationPath(const QCString &) override {}
241 void writeLogo() override {}
242 void writeQuickLinks(HighlightedItem,const QCString &) override {}
243 void writeSummaryLink(const QCString &,const QCString &,const QCString &,bool) override {}
244 void startContents() override {}
245 void endContents() override {}
246 void writeNonBreakableSpace(int) override;
247
248 void startDescTable(const QCString &title,const bool hasInits) override;
249 void endDescTable() override;
250 void startDescTableRow() override;
251 void endDescTableRow() override;
252 void startDescTableTitle() override;
253 void endDescTableTitle() override;
254 void startDescTableInit() override;
255 void endDescTableInit() override;
256 void startDescTableData() override;
257 void endDescTableData() override;
258 void lastIndexPage() override;
259
260 void startDotGraph() override;
261 void endDotGraph(DotClassGraph &) override;
262 void startInclDepGraph() override;
263 void endInclDepGraph(DotInclDepGraph &) override;
264 void startCallGraph() override;
265 void startGroupCollaboration() override;
266 void endGroupCollaboration(DotGroupCollaboration &g) override;
267 void endCallGraph(DotCallGraph &) override;
268 void startDirDepGraph() override;
269 void endDirDepGraph(DotDirDeps &g) override;
270 void writeGraphicalHierarchy(DotGfxHierarchyTable &) override {}
271
272 void startTextBlock(bool) override {}
273 void endTextBlock(bool) override {}
274
275 void startMemberDocPrefixItem() override {}
276 void endMemberDocPrefixItem() override { m_t << "\\\\\n"; }
277 void startMemberDocName(bool) override {}
278 void endMemberDocName() override {}
279 void startParameterType(bool,const QCString &) override;
280 void endParameterType() override;
281 void startParameterName(bool) override;
282 void endParameterName() override;
283 void startParameterExtra() override;
284 void endParameterExtra(bool last,bool one,bool bracket) override;
285 void startParameterDefVal(const char *s) override { docify(s); startTypewriter(); }
286 void endParameterDefVal() override { endTypewriter(); }
287 void startParameterList(bool) override;
288 void endParameterList() override;
289 void exceptionEntry(const QCString &,bool) override;
290
291 void startConstraintList(const QCString &) override;
292 void startConstraintParam() override;
293 void endConstraintParam() override;
294 void startConstraintType() override;
295 void endConstraintType() override;
296 void startConstraintDocs() override;
297 void endConstraintDocs() override;
298 void endConstraintList() override;
299
300 void startMemberDocSimple(bool) override;
301 void endMemberDocSimple(bool) override;
302 void startInlineMemberType() override;
303 void endInlineMemberType() override;
304 void startInlineMemberName() override;
305 void endInlineMemberName() override;
306 void startInlineMemberDoc() override;
307 void endInlineMemberDoc() override;
308
309 void startLabels() override;
310 void writeLabel(const QCString &l,bool isLast) override;
311 void endLabels() override;
312
313 void writeLocalToc(const SectionRefs &sr,const LocalToc &lt) override;
314 void startPlainFile(const QCString &name) override { OutputGenerator::startPlainFile(name); }
316
317
318 private:
319 void startTitle();
320 void endTitle() { m_t << "}"; }
321
322 bool m_firstDescItem = true;
323 bool m_disableLinks = false;
324 QCString m_relPath;
325 int m_indent = 0;
327 std::unique_ptr<OutputCodeList> m_codeList;
328 LatexCodeGenerator *m_codeGen;
329 bool m_insideTableEnv = false;
331};
332
335QCString convertToLaTeX(const QCString &s,bool insideTabbing,bool keepSpaces=FALSE);
336
337void filterLatexString(TextStream &t,const QCString &str,
338 bool insideTabbing,
339 bool insidePre,
340 bool insideItem,
341 bool insideTable,
342 bool keepSpaces,
343 const bool retainNewline = false);
344
349
350
351#endif
int usedTableLevel() const
Definition latexgen.h:66
bool m_stripCodeComments
Definition latexgen.h:87
TextStream * m_t
Definition latexgen.h:80
void setStripIndentAmount(size_t amount) override
Definition latexgen.cpp:189
void setInsideTabbing(bool b)
Definition latexgen.h:70
void startFold(int, const QCString &, const QCString &) override
Definition latexgen.h:60
void endFontClass() override
Definition latexgen.cpp:295
void writeTooltip(const QCString &, const DocLinkInfo &, const QCString &, const QCString &, const SourceLinkInfo &, const SourceLinkInfo &) override
Definition latexgen.h:45
bool insideTabbing() const
Definition latexgen.h:71
void docify(const QCString &str)
void _writeCodeLink(const QCString &className, const QCString &ref, const QCString &file, const QCString &anchor, const QCString &name, const QCString &tooltip)
void writeLineNumber(const QCString &, const QCString &, const QCString &, int, bool) override
Definition latexgen.cpp:220
std::unique_ptr< OutputCodeIntf > clone() override
Definition latexgen.h:35
void setTextStream(TextStream *t)
Definition latexgen.h:32
void setSourceFileName(const QCString &sourceFileName)
Definition latexgen.cpp:71
void setRelativePath(const QCString &path)
Definition latexgen.cpp:66
void startFontClass(const QCString &) override
Definition latexgen.cpp:289
void endSpecialComment() override
Definition latexgen.cpp:184
void stripCodeComments(bool b) override
Definition latexgen.cpp:174
void startCodeFragment(const QCString &style) override
Definition latexgen.cpp:301
size_t m_stripIndentAmount
Definition latexgen.h:89
void startCodeLine(int) override
Definition latexgen.cpp:267
LatexCodeGenerator(TextStream *t, const QCString &relPath, const QCString &sourceFile)
Definition latexgen.cpp:57
void startSpecialComment() override
Definition latexgen.cpp:179
void writeCodeAnchor(const QCString &) override
Definition latexgen.h:57
void decUsedTableLevel()
Definition latexgen.h:65
void endCodeFragment(const QCString &style) override
Definition latexgen.cpp:306
OutputType type() const override
Definition latexgen.h:34
QCString m_sourceFileName
Definition latexgen.h:82
void codify(const QCString &text) override
Definition latexgen.cpp:76
void endCodeLine() override
Definition latexgen.cpp:278
QCString m_relPath
Definition latexgen.h:81
void writeCodeLink(CodeSymbolType type, const QCString &ref, const QCString &file, const QCString &anchor, const QCString &name, const QCString &tooltip) override
Definition latexgen.cpp:194
bool m_doxyCodeLineOpen
Definition latexgen.h:84
void endFold() override
Definition latexgen.h:61
void incUsedTableLevel()
Definition latexgen.h:64
void endMemberItem(MemberItemType) override
void addCodeGen(OutputCodeList &list) override
Definition latexgen.cpp:357
void endIndexKey() override
void endInlineMemberDoc() override
void startProjectNumber() override
Definition latexgen.cpp:725
void cleanup() override
Definition latexgen.cpp:670
void endPageRef(const QCString &, const QCString &) override
void endSection(const QCString &, SectionType) override
void startIndexSection(IndexSection) override
Definition latexgen.cpp:905
void writeSplitBar(const QCString &) override
Definition latexgen.h:239
void endParameterList() override
void endMemberDocList() override
Definition latexgen.h:173
LatexGenerator(LatexGenerator &&)=delete
void endMemberDescription() override
void addWord(const QCString &, bool)
Definition latexgen.h:110
std::unique_ptr< OutputCodeList > m_codeList
Definition latexgen.h:327
void endDirDepGraph(DotDirDeps &g) override
void endCompoundTemplateParams() override
Definition latexgen.h:185
void endDescTable() override
void startParameterType(bool, const QCString &) override
void startMemberGroup() override
void endInlineHeader() override
void endGroupHeader(int) override
void startMemberDoc(const QCString &, const QCString &, const QCString &, const QCString &, int, int, bool) override
void writeChar(char c) override
void endDescTableInit() override
void startParameterName(bool) override
void endMemberTemplateParams(const QCString &, const QCString &) override
void writeFooter(const QCString &) override
Definition latexgen.h:123
void startCenter() override
Definition latexgen.h:213
void endParameterType() override
void startPageRef() override
void writeInheritedSectionTitle(const QCString &, const QCString &, const QCString &, const QCString &, const QCString &, const QCString &) override
void endLabels() override
void startParagraph(const QCString &classDef) override
void endIndexSection(IndexSection) override
void endMemberDocPrefixItem() override
Definition latexgen.h:276
void startMemberDeclaration() override
Definition latexgen.h:219
void startConstraintType() override
void startClassDiagram() override
void endSmall() override
Definition latexgen.h:216
void startCompoundTemplateParams() override
Definition latexgen.h:184
void writeLatexSpacing() override
Definition latexgen.h:210
void startMemberDocPrefixItem() override
Definition latexgen.h:275
LatexGenerator & operator=(LatexGenerator &&)=delete
void endTitle()
Definition latexgen.h:320
void endInlineMemberType() override
void startDescTableTitle() override
void endItemList() override
Definition latexgen.h:148
void writeQuickLinks(HighlightedItem, const QCString &) override
Definition latexgen.h:242
void startSection(const QCString &, const QCString &, SectionType) override
void writeString(const QCString &text) override
void endInclDepGraph(DotInclDepGraph &) override
void writeNonBreakableSpace(int) override
void startMemberGroupDocs() override
void endDescTableTitle() override
void endPageDoc() override
Definition latexgen.h:126
void startInclDepGraph() override
void lastIndexPage() override
void endExamples() override
void endMemberGroupHeader() override
void docify(const QCString &text) override
void startAnonTypeScope(int) override
void endPlainFile() override
Definition latexgen.h:315
void startDoxyAnchor(const QCString &, const QCString &, const QCString &, const QCString &, const QCString &) override
static void writeFooterFile(TextStream &t)
Definition latexgen.cpp:688
void startParameterList(bool) override
void endMemberDoc(bool) override
void endConstraintType() override
void startDescTableRow() override
void endAnonTypeScope(int) override
QCString m_relPath
Definition latexgen.h:324
void writeSummaryLink(const QCString &, const QCString &, const QCString &, bool) override
Definition latexgen.h:243
void startMemberSections() override
Definition latexgen.h:164
void startMemberHeader(const QCString &, int) override
void endConstraintList() override
void startDotGraph() override
void endParameterExtra(bool last, bool one, bool bracket) override
void endDescTableData() override
void endTypewriter() override
Definition latexgen.h:158
void writeSearchInfo() override
Definition latexgen.h:122
void writeLabel(const QCString &l, bool isLast) override
void startTextLink(const QCString &, const QCString &) override
void startConstraintList(const QCString &) override
void startGroupCollaboration() override
void clearBuffer()
void startLabels() override
void endMemberDeclaration(const QCString &, const QCString &) override
Definition latexgen.h:220
void endDescForItem() override
Definition latexgen.h:226
static void writeStyleSheetFile(TextStream &t)
Definition latexgen.cpp:694
void endTitleHead(const QCString &, const QCString &name) override
void startContents() override
Definition latexgen.h:244
void startGroupHeader(int) override
void endMemberHeader() override
OutputType type() const override
Definition latexgen.h:114
void endIndexItem(const QCString &ref, const QCString &file) override
void startSmall() override
Definition latexgen.h:215
void startIndexList() override
Definition latexgen.h:141
void startHeaderSection() override
Definition latexgen.h:166
void startDescTable(const QCString &title, const bool hasInits) override
void endConstraintDocs() override
void startPageDoc(const QCString &) override
Definition latexgen.h:125
void startIndexKey() override
void writeRuler() override
Definition latexgen.h:197
void endMemberDocName() override
Definition latexgen.h:278
void writeDoc(const IDocNodeAST *node, const Definition *ctx, const MemberDef *, int id) override
void startBold() override
Definition latexgen.h:201
void startConstraintParam() override
void lineBreak(const QCString &style=QCString()) override
void endInlineMemberName() override
void startMemberTemplateParams() override
void startInlineMemberType() override
int m_hierarchyLevel
Definition latexgen.h:330
void startInlineMemberDoc() override
void endContents() override
Definition latexgen.h:245
void writeAnchor(const QCString &fileName, const QCString &name) override
void startTextBlock(bool) override
Definition latexgen.h:272
void startCallGraph() override
void insertMemberAlignLeft(MemberItemType, bool) override
Definition latexgen.h:195
void endMemberList() override
void endFile() override
Definition latexgen.cpp:714
void setCurrentDoc(const Definition *, const QCString &, bool)
Definition latexgen.h:109
void startExamples() override
void startIndent() override
Definition latexgen.h:230
void writeGraphicalHierarchy(DotGfxHierarchyTable &) override
Definition latexgen.h:270
void writeSynopsis() override
Definition latexgen.h:232
LatexGenerator & operator=(const LatexGenerator &)
Definition latexgen.cpp:337
void startDirDepGraph() override
void endTextLink() override
void writeStartAnnoItem(const QCString &type, const QCString &file, const QCString &path, const QCString &name) override
void startMemberList() override
void endHeaderSection() override
Definition latexgen.h:167
void startDescTableData() override
void endDescTableRow() override
void startConstraintDocs() override
void endMemberGroupDocs() override
void endClassDiagram(const ClassDiagram &, const QCString &, const QCString &) override
void startDescTableInit() override
void endMemberDocSimple(bool) override
void addIndexItem(const QCString &, const QCString &) override
void endParameterName() override
void startItemList() override
Definition latexgen.h:147
void endIndexValue(const QCString &, bool) override
void writeObjectLink(const QCString &ref, const QCString &file, const QCString &anchor, const QCString &name) override
void startMemberDocSimple(bool) override
void startQuickIndices() override
Definition latexgen.h:237
void startPlainFile(const QCString &name) override
Definition latexgen.h:314
void exceptionEntry(const QCString &, bool) override
void endCallGraph(DotCallGraph &) override
void endGroupCollaboration(DotGroupCollaboration &g) override
void startIndexItem(const QCString &ref, const QCString &file) override
bool m_disableLinks
Definition latexgen.h:323
void writeLocalToc(const SectionRefs &sr, const LocalToc &lt) override
void startFile(const QCString &name, const QCString &manName, const QCString &title, int id, int hierarchyLevel) override
Definition latexgen.cpp:700
void startTitleHead(const QCString &) override
void startInlineHeader() override
void startMemberDocList() override
Definition latexgen.h:172
void endCenter() override
Definition latexgen.h:214
void endConstraintParam() override
void endParameterDefVal() override
Definition latexgen.h:286
void endDotGraph(DotClassGraph &) override
void writePageLink(const QCString &, bool) override
void writeNavigationPath(const QCString &) override
Definition latexgen.h:240
void endItemListItem() override
Definition latexgen.h:162
void startParameterExtra() override
LatexCodeGenerator * m_codeGen
Definition latexgen.h:328
void endMemberGroup(bool) override
void startParameterDefVal(const char *s) override
Definition latexgen.h:285
void startMemberSubtitle() override
Definition latexgen.h:170
void startDescForItem() override
Definition latexgen.h:225
void startMemberDescription(const QCString &, const QCString &, bool) override
void startMemberItem(const QCString &, MemberItemType, const QCString &) override
bool m_firstDescItem
Definition latexgen.h:322
void startItemListItem() override
Definition latexgen.h:161
void endQuickIndices() override
Definition latexgen.h:238
static void writeHeaderFile(TextStream &t)
Definition latexgen.cpp:682
void endProjectNumber() override
Definition latexgen.h:131
void endEmphasis() override
Definition latexgen.h:200
void endParagraph() override
void endIndexListItem() override
Definition latexgen.h:140
void writeLogo() override
Definition latexgen.h:241
void addLabel(const QCString &, const QCString &) override
void endBold() override
Definition latexgen.h:202
void endMemberSections() override
Definition latexgen.h:165
bool m_insideTableEnv
Definition latexgen.h:329
void writeStyleInfo(int part) override
void endDoxyAnchor(const QCString &, const QCString &) override
void insertMemberAlign(bool) override
Definition latexgen.h:194
void endIndexList() override
Definition latexgen.h:142
std::unique_ptr< OutputGenIntf > clone() override
Definition latexgen.h:115
void startIndexValue(bool) override
void startMemberDocName(bool) override
Definition latexgen.h:277
void startIndexListItem() override
Definition latexgen.h:139
void endTextBlock(bool) override
Definition latexgen.h:273
void startInlineMemberName() override
void endIndent() override
Definition latexgen.h:231
void startTypewriter() override
Definition latexgen.h:157
static void init()
Definition latexgen.cpp:628
void endMemberSubtitle() override
Definition latexgen.h:171
void startMemberGroupHeader(bool) override
void startEmphasis() override
Definition latexgen.h:199
bool m_templateMemberItem
Definition latexgen.h:326
OutputCodeIntf()=default
Class representing a list of different code generators.
Definition outputlist.h:164
Abstract interface for output generators.
Definition outputgen.h:127
void startPlainFile(const QCString &name)
Definition outputgen.cpp:32
void endPlainFile()
Definition outputgen.cpp:44
TextStream m_t
Definition outputgen.h:116
QCString fileName() const
Definition outputgen.cpp:57
This is an alternative implementation of QCString.
Definition qcstring.h:101
Text streaming class that buffers data.
Definition textstream.h:36
bool insideTable(const DocNodeVariant *n)
HighlightedItem
Definition index.h:59
IndexSection
Definition index.h:32
QCString latexEscapePDFString(const QCString &s)
void filterLatexString(TextStream &t, const QCString &str, bool insideTabbing, bool insidePre, bool insideItem, bool insideTable, bool keepSpaces, const bool retainNewline=false)
QCString latexFilterURL(const QCString &s)
QCString convertToLaTeX(const QCString &s, bool insideTabbing, bool keepSpaces=FALSE)
void writeExtraLatexPackages(TextStream &t)
QCString latexEscapeIndexChars(const QCString &s)
void writeLatexSpecialFormulaChars(TextStream &t)
QCString latexEscapeLabelName(const QCString &s)
OutputType
Definition outputgen.h:59
#define FALSE
Definition qcstring.h:34
CodeSymbolType
Definition types.h:319