26 #define PREFRAG_START "<div class=\"fragment\">" 27 #define PREFRAG_END "</div><!-- fragment -->" 38 void codify(
const char *text);
40 const char *anchor,
const char *
name,
60 const char *ref,
const char *file,
61 const char *anchor,
const char *name,
77 static void writeStyleSheetFile(
QFile &
f);
78 static void writeHeaderFile(
QFile &f,
const char *cssname);
79 static void writeFooterFile(
QFile &f);
80 static void writeTabData();
82 static void writeSearchData(
const char *
dir);
83 static void writeSearchPage();
84 static void writeExternalSearchPage();
85 static QCString writeLogoAsString(
const char *path);
86 static QCString writeSplitBarAsString(
const char *
name,
const char *relpath);
89 {
if (genStack->top()) active=*genStack->top();
else active=
TRUE; }
99 { m_codeGen.codify(text); }
101 const char *anchor,
const char *name,
103 { m_codeGen.writeCodeLink(ref,file,anchor,name,tooltip); }
105 { m_codeGen.writeLineNumber(ref,file,anchor,lineNumber); }
109 { m_codeGen.writeTooltip(
id,docInfo,decl,desc,defInfo,declInfo); }
111 { m_codeGen.startCodeLine(hasLineNumbers); }
113 { m_codeGen.endCodeLine(); }
115 { m_codeGen.startFontClass(s); }
117 { m_codeGen.endFontClass(); }
119 { m_codeGen.writeCodeAnchor(anchor); }
126 void startFile(
const char *name,
const char *manName,
const char *
title);
127 void writeFooter(
const char *navPath);
130 void writeSearchInfo();
135 void startProjectNumber();
136 void endProjectNumber();
137 void writeStyleInfo(
int part);
138 void startTitleHead(
const char *);
139 void endTitleHead(
const char *,
const char *);
143 void startParagraph();
146 void startIndexListItem();
147 void endIndexListItem();
148 void startIndexList();
150 void startIndexKey();
152 void startIndexValue(
bool);
153 void endIndexValue(
const char *,
bool);
156 void startIndexItem(
const char *ref,
const char *
file);
157 void endIndexItem(
const char *ref,
const char *file);
158 void docify(
const char *text);
160 void writeObjectLink(
const char *ref,
const char *file,
161 const char *anchor,
const char *name);
163 void startTextLink(
const char *file,
const char *anchor);
165 void startHtmlLink(
const char *
url);
169 void startGroupHeader(
int);
170 void endGroupHeader(
int);
174 void startMemberSections();
175 void endMemberSections();
176 void startHeaderSection();
177 void endHeaderSection();
178 void startMemberHeader(
const char *);
179 void endMemberHeader();
180 void startMemberSubtitle();
181 void endMemberSubtitle();
182 void startMemberDocList();
183 void endMemberDocList();
184 void startMemberList();
185 void endMemberList();
186 void startInlineHeader();
187 void endInlineHeader();
190 void startMemberItem(
const char *anchor,
int,
const char *inheritId);
191 void endMemberItem();
192 void startMemberTemplateParams();
193 void endMemberTemplateParams(
const char *anchor,
const char *inheritId);
195 void startMemberGroupHeader(
bool);
196 void endMemberGroupHeader();
197 void startMemberGroupDocs();
198 void endMemberGroupDocs();
199 void startMemberGroup();
200 void endMemberGroup(
bool);
202 void insertMemberAlign(
bool);
203 void startMemberDescription(
const char *anchor,
const char *inheritId);
204 void endMemberDescription();
206 void endMemberDeclaration(
const char *anchor,
const char *inheritId);
207 void writeInheritedSectionTitle(
const char *
id,
const char *ref,
208 const char *file,
const char *anchor,
209 const char *title,
const char *name);
213 { t <<
"<a name=\"" << name <<
"\" id=\"" << name <<
"\"></a>"; }
226 void lineBreak(
const char *style);
227 void writeChar(
char c);
228 void startMemberDoc(
const char *,
const char *,
const char *,
const char *,
bool);
229 void endMemberDoc(
bool);
230 void startDoxyAnchor(
const char *fName,
const char *manName,
231 const char *anchor,
const char *name,
233 void endDoxyAnchor(
const char *fName,
const char *anchor);
235 void writeStartAnnoItem(
const char *
type,
const char *file,
236 const char *path,
const char *name);
248 void startSimpleSect(
SectionTypes,
const char *,
const char *,
const char *);
249 void endSimpleSect();
255 void addIndexItem(
const char *,
const char *);
259 void startClassDiagram();
260 void endClassDiagram(
const ClassDiagram &,
const char *,
const char *);
264 void endQuickIndices();
265 void writeSplitBar(
const char *name);
266 void writeNavigationPath(
const char *
s);
268 void writeQuickLinks(
bool compact,
HighlightedItem hli,
const char *file);
269 void writeSummaryLink(
const char *file,
const char *anchor,
const char *title,
bool first);
270 void startContents();
272 void writeNonBreakableSpace(
int);
276 { t <<
"<table class=\"fieldtable\">" <<
endl 277 <<
"<tr><th colspan=\"2\">" << title <<
"</th></tr>";
280 { t <<
"</table>" <<
endl; }
283 { t <<
"<tr><td class=\"fieldname\">"; }
285 { t <<
" </td>"; }
288 { t <<
"<td class=\"fielddoc\">" <<
endl; }
290 { t <<
"</td></tr>" <<
endl; }
292 void startDotGraph();
294 void startInclDepGraph();
296 void startGroupCollaboration();
298 void startCallGraph();
300 void startDirDepGraph();
305 { t <<
"<div class=\"textblock\">"; }
310 void startMemberDocPrefixItem();
311 void endMemberDocPrefixItem();
312 void startMemberDocName(
bool);
313 void endMemberDocName();
314 void startParameterType(
bool first,
const char *
key);
315 void endParameterType();
316 void startParameterName(
bool);
317 void endParameterName(
bool last,
bool emptyList,
bool closeBracket);
318 void startParameterList(
bool);
319 void endParameterList();
320 virtual void exceptionEntry(
const char*,
bool);
322 void startConstraintList(
const char *);
323 void startConstraintParam();
324 void endConstraintParam();
325 void startConstraintType();
326 void endConstraintType();
327 void startConstraintDocs();
328 void endConstraintDocs();
329 void endConstraintList();
331 void startMemberDocSimple();
332 void endMemberDocSimple();
333 void startInlineMemberType();
334 void endInlineMemberType();
335 void startInlineMemberName();
336 void endInlineMemberName();
337 void startInlineMemberDoc();
338 void endInlineMemberDoc();
341 void writeLabel(
const char *
l,
bool isLast);
352 void docify(
const char *text,
bool inHtmlComment);
void codify(const char *text)
void writeCodeLink(const char *ref, const char *file, const char *anchor, const char *name, const char *tooltip)
void endFile(OutputList &ol, bool skipNavIndex, bool skipEndContents, const QCString &navPath)
void startFontClass(const char *s)
void writeLineNumber(const char *ref, const char *file, const char *anchor, int lineNumber)
void writeEndAnnoItem(const char *)
void startDescTable(const char *title)
static constexpr double g
void startFile(OutputList &ol, const char *name, const char *manName, const char *title, HighlightedItem hli, bool additionalIndices, const char *altSidebarName)
void startDescTableData()
void writeLogo(const char *dir)
void addWord(const char *, bool)
void startCodeLine(bool hasLineNumbers)
void startMemberDeclaration()
void startIndexSection(IndexSections)
void writeAnchor(const char *, const char *name)
static QCString className
void writeTooltip(const char *id, const DocLinkInfo &docInfo, const char *decl, const char *desc, const SourceLinkInfo &defInfo, const SourceLinkInfo &declInfo)
Simplified and optimized version of QTextStream.
void codify(const char *text)
void setTextStream(FTextStream &t)
bool isEnabled(OutputType o)
static void writeString(QFile &f, const char *s)
void disableIf(OutputType o)
void docify(const char *str)
void writeCodeAnchor(const char *anchor)
void startTextBlock(bool)
void enableIf(OutputType o)
void writeLineNumber(const char *, const char *, const char *, int)
void writeCodeLink(const char *ref, const char *file, const char *anchor, const char *name, const char *tooltip)
void writePageLink(const char *, bool)
void _writeCodeLink(const char *className, const char *ref, const char *file, const char *anchor, const char *name, const char *tooltip)
void startFontClass(const char *s)
void startAnonTypeScope(int)
void endIndexSection(IndexSections)
The QFile class is an I/O device that operates on files.
void endPageRef(const char *, const char *)
void disableIfNot(OutputType o)
void startSubsubsection()
void writeCodeAnchor(const char *anchor)
void setCurrentDoc(Definition *, const char *, bool)
void startDescTableTitle()
void setRelativePath(const QCString &path)
void endAnonTypeScope(int)
union ptb::content::word::word word
void writeTooltip(const char *id, const DocLinkInfo &docInfo, const char *decl, const char *desc, const SourceLinkInfo &defInfo, const SourceLinkInfo &declInfo)
QTextStream & endl(QTextStream &s)
HtmlCodeGenerator m_codeGen