62 t <<
" name=\"" << name <<
"\"";
83 t <<
"</" << cmd <<
">" <<
endl;
139 m_t <<
"<ulink url=\"";
150 m_t <<
"<linebreak/>\n";
156 m_t <<
"<hruler/>\n";
165 if (s->
enable())
m_t <<
"<bold>";
else m_t <<
"</bold>";
168 if (s->
enable())
m_t <<
"<emphasis>";
else m_t <<
"</emphasis>";
171 if (s->
enable())
m_t <<
"<computeroutput>";
else m_t <<
"</computeroutput>";
174 if (s->
enable())
m_t <<
"<subscript>";
else m_t <<
"</subscript>";
177 if (s->
enable())
m_t <<
"<superscript>";
else m_t <<
"</superscript>";
180 if (s->
enable())
m_t <<
"<center>";
else m_t <<
"</center>";
183 if (s->
enable())
m_t <<
"<small>";
else m_t <<
"</small>";
188 m_t <<
"<preformatted>";
193 m_t <<
"</preformatted>";
214 m_t <<
"<programlisting>";
218 m_t <<
"</programlisting>";
223 m_t <<
"</verbatim>";
256 m_t <<
"<anchor id=\"" << anc->
file() <<
"_1" << anc->
anchor() <<
"\"/>";
267 m_t <<
"<programlisting>";
269 FileDef fd( cfi.dirPath().utf8(), cfi.fileName().utf8() );
276 m_t <<
"</programlisting>";
280 m_t <<
"<programlisting>";
287 m_t <<
"</programlisting>";
294 m_t <<
"</htmlonly>";
297 m_t <<
"<latexonly>";
299 m_t <<
"</latexonly>";
304 m_t <<
"</verbatim>";
307 m_t <<
"<programlisting>";
316 m_t <<
"</programlisting>";
329 m_t <<
"<programlisting>";
362 m_t <<
"<formula id=\"" << f->
id() <<
"\">";
370 m_t <<
"<indexentry>" 373 m_t <<
"</primaryie>" 374 "<secondaryie></secondaryie>" 404 m_t <<
"<orderedlist>\n";
408 m_t <<
"<itemizedlist>\n";
417 m_t <<
"</orderedlist>\n";
421 m_t <<
"</itemizedlist>\n";
434 m_t <<
"</listitem>";
462 m_t <<
"<simplesect kind=\"";
468 m_t <<
"return";
break;
470 m_t <<
"author";
break;
472 m_t <<
"authors";
break;
474 m_t <<
"version";
break;
476 m_t <<
"since";
break;
478 m_t <<
"date";
break;
480 m_t <<
"note";
break;
482 m_t <<
"warning";
break;
486 m_t <<
"post";
break;
488 m_t <<
"copyright";
break;
490 m_t <<
"invariant";
break;
492 m_t <<
"remark";
break;
494 m_t <<
"attention";
break;
507 m_t <<
"</simplesect>\n";
525 m_t <<
"<itemizedlist>\n";
531 m_t <<
"</itemizedlist>\n";
543 m_t <<
"</listitem>\n";
559 m_t <<
"</sect" << s->
level() <<
">\n";
566 m_t <<
"<orderedlist>\n";
568 m_t <<
"<itemizedlist>\n";
575 m_t <<
"</orderedlist>\n";
577 m_t <<
"</itemizedlist>\n";
583 m_t <<
"<listitem>\n";
589 m_t <<
"</listitem>\n";
595 m_t <<
"<variablelist>\n";
601 m_t <<
"</variablelist>\n";
607 m_t <<
"<varlistentry><term>";
613 m_t <<
"</term></varlistentry>\n";
625 m_t <<
"</listitem>\n";
656 if (c->
isHeading())
m_t <<
"<entry thead=\"yes\">";
else m_t <<
"<entry thead=\"no\">";
674 m_t <<
"</caption>\n";
692 m_t <<
"<ulink url=\"";
706 m_t <<
"<heading level=\"" << header->
level() <<
"\">";
712 m_t <<
"</heading>\n";
721 if ((i=baseName.
findRev(
'/'))!=-1 || (i=baseName.
findRev(
'\\'))!=-1)
734 char *buffer =
new char[inImage.size()];
735 inImage.
readBlock(buffer,inImage.size());
736 outImage.writeBlock(buffer,inImage.size());
817 m_t <<
"<tocitem id=\"" << ref->
file() <<
"_1" << ref->
anchor() <<
"\">";
853 m_t <<
"<parameterlist kind=\"";
857 m_t <<
"param";
break;
859 m_t <<
"retval";
break;
861 m_t <<
"exception";
break;
863 m_t <<
"templateparam";
break;
873 m_t <<
"</parameterlist>" <<
endl;
879 m_t <<
"<parameteritem>" <<
endl;
880 m_t <<
"<parameternamelist>" <<
endl;
885 for (li.toFirst();(param=li.
current());++li)
891 for (li.toFirst();(type=li.
current());++li)
893 m_t <<
"<parametertype>";
902 m_t <<
"</parametertype>" <<
endl;
905 m_t <<
"<parametername";
908 m_t <<
" direction=\"";
932 m_t <<
"</parametername>" <<
endl;
934 m_t <<
"</parameternamelist>" <<
endl;
935 m_t <<
"<parameterdescription>" <<
endl;
941 m_t <<
"</parameterdescription>" <<
endl;
942 m_t <<
"</parameteritem>" <<
endl;
949 m_t <<
"<xrefsect id=\"";
952 m_t <<
"<xreftitle>";
954 m_t <<
"</xreftitle>";
955 m_t <<
"<xrefdescription>";
962 m_t <<
"</xrefdescription>";
963 m_t <<
"</xrefsect>";
1002 m_t <<
"<blockquote>";
1008 m_t <<
"</blockquote>";
1022 m_t <<
"<parblock>";
1028 m_t <<
"</parblock>";
1040 m_t <<
"<ref refid=\"" <<
file;
1041 if (!anchor.
isEmpty())
m_t <<
"_1" << anchor;
1042 m_t <<
"\" kindref=\"";
1043 if (!anchor.
isEmpty())
m_t <<
"member";
else m_t <<
"compound";
1045 if (!ref.
isEmpty())
m_t <<
" external=\"" << ref <<
"\"";
QCString convertToXML(const char *s)
QCString exampleFile() const
ParserInterface * getParser(const char *extension)
void visitPre(DocAutoList *)
static TemplateVariant parseCode(MemberDef *md, const QCString &scopeName, const QCString &relPath, const QCString &code, int startLine=-1, int endLine=-1, bool showLineNumbers=FALSE)
QCString convertCharEntitiesToUTF8(const QCString &s)
void filter(const char *str)
const char * xml(DocSymbol::SymType symb) const
Access routine to the XML code of the HTML entity.
int readBlock(char *data, uint len)
const QList< DocNode > & paramTypes()
static HtmlEntityMapper * instance()
Simplified and optimized version of QTextStream.
virtual Kind kind() const =0
int findRev(char c, int index=-1, bool cs=TRUE) const
QCString exampleFile() const
QCString extractBlock(const QCString text, const QCString marker)
Abstract visitor that participates in the visitor pattern.
CodeOutputInterface & m_ci
static ParserManager * parserManager
QCString targetTitle() const
QCString right(uint len) const
void startLink(const QCString &ref, const QCString &file, const QCString &anchor)
const QList< DocNode > & children() const
A bunch of utility functions.
const char * data() const
#define Config_getString(val)
Concrete visitor implementation for XML output.
void err(const char *fmt,...)
static void visitPreStart(FTextStream &t, const char *cmd, const bool doCaption, XmlDocVisitor *parent, QList< DocNode > children, const QCString &name, bool writeType, DocImage::Type type, const QCString &width, const QCString &height)
QCString language() const
The QFile class is an I/O device that operates on files.
DocParamSect::Direction direction() const
const QList< DocNode > & parameters()
SrcLangExt getLanguageFromFileName(const QCString fileName)
XmlDocVisitor(FTextStream &t, CodeOutputInterface &ci)
QCString exampleFile() const
QCString extension() const
static void visitPostEnd(FTextStream &t, const char *cmd)
The QFileInfo class provides system-independent file information.
void visitPost(DocAutoList *)
virtual void parseCode(CodeOutputInterface &codeOutIntf, const char *scopeName, const QCString &input, SrcLangExt lang, bool isExampleBlock, const char *exampleName=0, FileDef *fileDef=0, int startLine=-1, int endLine=-1, bool inlineFragment=FALSE, MemberDef *memberDef=0, bool showLineNumbers=TRUE, Definition *searchCtx=0, bool collectXRefs=TRUE)=0
virtual void accept(DocVisitor *v)=0
static void visitCaption(XmlDocVisitor *parent, QList< DocNode > children)
def parent(G, child, parent_type)
virtual QCString anchor() const =0
QTextStream & endl(QTextStream &s)
const QList< DocNode > & children() const