19 #ifndef _PRINTDOCVISITOR_H 20 #define _PRINTDOCVISITOR_H 91 if (s->
enable()) printf(
"<bold>");
else printf(
"</bold>");
94 if (s->
enable()) printf(
"<italic>");
else printf(
"</italic>");
97 if (s->
enable()) printf(
"<code>");
else printf(
"</code>");
100 if (s->
enable()) printf(
"<sub>");
else printf(
"</sub>");
103 if (s->
enable()) printf(
"<sup>");
else printf(
"</sup>");
106 if (s->
enable()) printf(
"<center>");
else printf(
"</center>");
109 if (s->
enable()) printf(
"<small>");
else printf(
"</small>");
112 if (s->
enable()) printf(
"<pre>");
else printf(
"</pre>");
115 if (s->
enable()) printf(
"<div>");
else printf(
"</div>");
118 if (s->
enable()) printf(
"<span>");
else printf(
"</span>");
158 printf(
"<anchor name=\"%s\"/>",a->
anchor().
data());
163 printf(
"<include file=\"%s\" type=\"",inc->
file().
data());
179 printf(
"<incoperator pattern=\"%s\" type=\"",op->
pattern().
data());
197 printf(
"<indexentry>%s</indexentry\n",i->
entry().
data());
202 printf(
"<simplesectsep/>");
207 printf(
"<cite ref=\"%s\" file=\"%s\" " 208 "anchor=\"%s\" text=\"%s\"" 273 printf(
"<simplesect type=");
300 printf(
"</simplesect>\n");
310 printf(
"</title>\n");
335 printf(
"<sect%d>\n",s->
level());
340 printf(
"</sect%d>\n",s->
level());
407 printf(
"<table rows=\"%d\" cols=\"%d\">\n",
413 printf(
"</table>\n");
428 printf(
"<t%c>\n",c->
isHeading()?
'h':
'd');
433 printf(
"</t%c>\n",c->
isHeading()?
'h':
'd');
438 printf(
"<caption>\n");
443 printf(
"</caption>\n");
448 printf(
"<internal>\n");
453 printf(
"</internal>\n");
458 printf(
"<a url=\"%s\">\n",href->
url().
data());
468 printf(
"<h%d>\n",header->
level());
473 printf(
"</h%d>\n",header->
level());
478 printf(
"<image src=\"%s\" type=\"",img->
name().
data());
491 printf(
"</image>\n");
496 printf(
"<dotfile src=\"%s\">\n",df->
name().
data());
501 printf(
"</dotfile>\n");
506 printf(
"<mscfile src=\"%s\">\n",df->
name().
data());
511 printf(
"</mscfile>\n");
516 printf(
"<diafile src=\"%s\">\n",df->
name().
data());
521 printf(
"</diafile>\n");
526 printf(
"<link ref=\"%s\" file=\"%s\" anchor=\"%s\">\n",
537 printf(
"<ref ref=\"%s\" file=\"%s\" " 538 "anchor=\"%s\" targetTitle=\"%s\"" 539 " hasLinkText=\"%s\" refToAnchor=\"%s\" refToSection=\"%s\" refToTable=\"%s\">\n",
553 printf(
"<secrefitem target=\"%s\">\n",ref->
target().
data());
558 printf(
"</secrefitem>\n");
563 printf(
"<secreflist>\n");
568 printf(
"</secreflist>\n");
587 printf(
"<parameters>");
588 for (sli.toFirst();(param=sli.
current());++sli)
606 printf(
"</parameters>\n");
611 printf(
"<paramsect type=");
625 printf(
"</paramsect>\n");
630 printf(
"<xrefitem file=\"%s\" anchor=\"%s\" title=\"%s\"/>\n",
636 printf(
"<xrefitem/>\n");
646 printf(
"</internalref>\n");
651 printf(
"<copy link=\"%s\">\n",c->
link().
data());
671 printf(
"<blockquote>\n");
676 printf(
"</blockquote>\n");
681 printf(
"<vhdlflow>\n");
686 printf(
"</vhdlflow>\n");
691 printf(
"<parblock>\n");
696 printf(
"</parblock>\n");
704 for (
int i=0;i<
m_indent;i++) printf(
".");
bool refToSection() const
void visitPost(DocHtmlHeader *header)
void visitPost(DocHtmlDescList *)
void visitPre(DocHtmlDescData *)
void visitPre(DocHtmlRow *)
void visitPre(DocParamSect *ps)
void visitPost(DocSection *s)
void visitPost(DocLink *)
void visitPre(DocHtmlList *s)
void visitPre(DocMscFile *df)
void visitPre(DocXRefItem *x)
void visit(DocWhiteSpace *w)
void visitPre(DocSimpleSect *s)
void visit(DocCite *cite)
void visitPre(DocSimpleListItem *)
void visitPre(DocDiaFile *df)
void visitPre(DocSimpleList *)
void visitPre(DocHRef *href)
void visitPost(DocText *)
void visitPost(DocSimpleSect *)
void visitPre(DocHtmlTable *t)
void visitPost(DocParBlock *)
void visitPost(DocHtmlRow *)
static HtmlEntityMapper * instance()
void visitPre(DocHtmlDescList *)
void visitPost(DocInternal *)
void visitPost(DocDotFile *)
void visitPost(DocMscFile *)
const int DocVisitor_Other
void visit(DocHorRuler *)
void visitPre(DocAutoListItem *)
void visitPost(DocParamList *)
void visitPost(DocHtmlBlockQuote *)
Abstract visitor that participates in the visitor pattern.
void visitPost(DocAutoListItem *)
void visitPost(DocSimpleListItem *)
void visitPost(DocXRefItem *)
QCString targetTitle() const
void visitPre(DocSecRefList *)
void visit(DocInclude *inc)
void visitPre(DocCopy *c)
void visitPost(DocHtmlCaption *)
void visitPre(DocParamList *pl)
void visit(DocSimpleSectSep *)
void visitPost(DocHtmlListItem *)
void visitPre(DocRef *ref)
void visitPost(DocSecRefItem *)
void visit(DocStyleChange *s)
const char * data() const
void visitPre(DocDotFile *df)
void visit(DocLineBreak *)
void visitPost(DocImage *)
static constexpr double ps
void visitPost(DocHtmlCell *c)
void visit(DocIncOperator *op)
void visitPre(DocInternalRef *r)
void visitPost(DocHtmlTable *)
void visitPost(DocHtmlDescData *)
void visitPre(DocParBlock *)
void visitPre(DocTitle *)
void visit(DocLinkedWord *w)
void visitPost(DocRoot *)
void visitPost(DocParamSect *)
void visitPre(DocSection *s)
void visitPost(DocTitle *)
void visitPre(DocImage *img)
void visitPre(DocSecRefItem *ref)
const QList< DocNode > & parameters()
void visitPost(DocVhdlFlow *)
void visitPost(DocPara *)
void visitPre(DocHtmlCell *c)
void visit(DocVerbatim *s)
void visit(DocFormula *f)
void visitPre(DocHtmlCaption *)
void visit(DocIndexEntry *i)
void visitPost(DocHRef *)
void visitPost(DocHtmlDescTitle *)
void visitPre(DocHtmlListItem *)
void visitPre(DocInternal *)
void visitPost(DocSimpleList *)
void visitPre(DocHtmlDescTitle *)
void visitPre(DocHtmlHeader *header)
void visitPost(DocAutoList *l)
void visitPost(DocInternalRef *)
void visitPost(DocSecRefList *)
void visitPost(DocHtmlList *s)
void visitPre(DocHtmlBlockQuote *)
const char * utf8(DocSymbol::SymType symb, bool useInPrintf=FALSE) const
Access routine to the UTF8 code of the HTML entity.
void visitPre(DocVhdlFlow *)
void visitPre(DocLink *lnk)
void visitPost(DocDiaFile *)
void visitPre(DocAutoList *l)
void visitPost(DocCopy *)