doxygen  1.8.18
About: Doxygen is a source code documentation generator tool for C++, C, Objective-C, C#, PHP, Java, Python, IDL (diverse flavors), Fortran, VHDL, Tcl, and to some extent D. Different output formats are supported.
  Fossies Dox: doxygen-1.8.18.src.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

RTFDocVisitor Class Reference

Concrete visitor implementation for RTF output. More...

#include <rtfdocvisitor.h>

+ Inheritance diagram for RTFDocVisitor:
+ Collaboration diagram for RTFDocVisitor:

Public Member Functions

 RTFDocVisitor (FTextStream &t, CodeOutputInterface &ci, const char *langExt)
 
void visit (DocWord *)
 
void visit (DocLinkedWord *)
 
void visit (DocWhiteSpace *)
 
void visit (DocSymbol *)
 
void visit (DocEmoji *)
 
void visit (DocURL *)
 
void visit (DocLineBreak *)
 
void visit (DocHorRuler *)
 
void visit (DocStyleChange *)
 
void visit (DocVerbatim *)
 
void visit (DocAnchor *)
 
void visit (DocInclude *)
 
void visit (DocIncOperator *)
 
void visit (DocFormula *)
 
void visit (DocIndexEntry *)
 
void visit (DocSimpleSectSep *)
 
void visit (DocCite *)
 
void visitPre (DocAutoList *)
 
void visitPost (DocAutoList *)
 
void visitPre (DocAutoListItem *)
 
void visitPost (DocAutoListItem *)
 
void visitPre (DocPara *)
 
void visitPost (DocPara *)
 
void visitPre (DocRoot *)
 
void visitPost (DocRoot *)
 
void visitPre (DocSimpleSect *)
 
void visitPost (DocSimpleSect *)
 
void visitPre (DocTitle *)
 
void visitPost (DocTitle *)
 
void visitPre (DocSimpleList *)
 
void visitPost (DocSimpleList *)
 
void visitPre (DocSimpleListItem *)
 
void visitPost (DocSimpleListItem *)
 
void visitPre (DocSection *s)
 
void visitPost (DocSection *)
 
void visitPre (DocHtmlList *s)
 
void visitPost (DocHtmlList *s)
 
void visitPre (DocHtmlListItem *)
 
void visitPost (DocHtmlListItem *)
 
void visitPre (DocHtmlDescList *)
 
void visitPost (DocHtmlDescList *)
 
void visitPre (DocHtmlDescTitle *)
 
void visitPost (DocHtmlDescTitle *)
 
void visitPre (DocHtmlDescData *)
 
void visitPost (DocHtmlDescData *)
 
void visitPre (DocHtmlTable *t)
 
void visitPost (DocHtmlTable *t)
 
void visitPre (DocHtmlCaption *)
 
void visitPost (DocHtmlCaption *)
 
void visitPre (DocHtmlRow *)
 
void visitPost (DocHtmlRow *)
 
void visitPre (DocHtmlCell *)
 
void visitPost (DocHtmlCell *)
 
void visitPre (DocInternal *)
 
void visitPost (DocInternal *)
 
void visitPre (DocHRef *)
 
void visitPost (DocHRef *)
 
void visitPre (DocHtmlHeader *)
 
void visitPost (DocHtmlHeader *)
 
void visitPre (DocImage *)
 
void visitPost (DocImage *)
 
void visitPre (DocDotFile *)
 
void visitPost (DocDotFile *)
 
void visitPre (DocMscFile *)
 
void visitPost (DocMscFile *)
 
void visitPre (DocDiaFile *)
 
void visitPost (DocDiaFile *)
 
void visitPre (DocLink *)
 
void visitPost (DocLink *)
 
void visitPre (DocRef *ref)
 
void visitPost (DocRef *)
 
void visitPre (DocSecRefItem *)
 
void visitPost (DocSecRefItem *)
 
void visitPre (DocSecRefList *)
 
void visitPost (DocSecRefList *)
 
void visitPre (DocParamSect *)
 
void visitPost (DocParamSect *)
 
void visitPre (DocParamList *)
 
void visitPost (DocParamList *)
 
void visitPre (DocXRefItem *)
 
void visitPost (DocXRefItem *)
 
void visitPre (DocInternalRef *)
 
void visitPost (DocInternalRef *)
 
void visitPre (DocText *)
 
void visitPost (DocText *)
 
void visitPre (DocHtmlBlockQuote *)
 
void visitPost (DocHtmlBlockQuote *)
 
void visitPre (DocVhdlFlow *)
 
void visitPost (DocVhdlFlow *)
 
void visitPre (DocParBlock *)
 
void visitPost (DocParBlock *)
 
- Public Member Functions inherited from DocVisitor
 DocVisitor (int id)
 
virtual ~DocVisitor ()
 
int id () const
 

Private Member Functions

void filter (const char *str, bool verbatim=FALSE)
 
void startLink (const QCString &ref, const QCString &file, const QCString &anchor)
 
void endLink (const QCString &ref)
 
QCString getStyle (const char *name)
 
void incIndentLevel ()
 
void decIndentLevel ()
 
void pushEnabled ()
 
void popEnabled ()
 
void includePicturePreRTF (const QCString name, bool isTypeRTF, bool hasCaption, bool inlineImage=FALSE)
 
void includePicturePostRTF (bool isTypeRTF, bool hasCaption, bool inlineImage=FALSE)
 
void writeDotFile (const QCString &fileName, bool hasCaption)
 
void writeDotFile (DocDotFile *)
 
void writeMscFile (const QCString &fileName, bool hasCaption)
 
void writeMscFile (DocMscFile *)
 
void writeDiaFile (DocDiaFile *)
 
void writePlantUMLFile (const QCString &fileName, bool hasCaption)
 

Private Attributes

FTextStreamm_t
 
CodeOutputInterfacem_ci
 
bool m_insidePre
 
bool m_hide
 
int m_indentLevel
 
QStack< boolm_enabled
 
bool m_lastIsPara
 
QCString m_langExt
 

Detailed Description

Concrete visitor implementation for RTF output.

Definition at line 30 of file rtfdocvisitor.h.

Constructor & Destructor Documentation

◆ RTFDocVisitor()

RTFDocVisitor::RTFDocVisitor ( FTextStream t,
CodeOutputInterface ci,
const char *  langExt 
)

Definition at line 61 of file rtfdocvisitor.cpp.

Member Function Documentation

◆ decIndentLevel()

void RTFDocVisitor::decIndentLevel ( )
private

Definition at line 82 of file rtfdocvisitor.cpp.

References m_indentLevel.

Referenced by visitPost().

◆ endLink()

void RTFDocVisitor::endLink ( const QCString ref)
private

Definition at line 1824 of file rtfdocvisitor.cpp.

References Config_getBool, FALSE, QCString::isEmpty(), m_lastIsPara, and m_t.

Referenced by visit(), and visitPost().

◆ filter()

void RTFDocVisitor::filter ( const char *  str,
bool  verbatim = FALSE 
)
private

Definition at line 1748 of file rtfdocvisitor.cpp.

References endl(), and m_t.

Referenced by visit(), and visitPre().

◆ getStyle()

QCString RTFDocVisitor::getStyle ( const char *  name)
private

Definition at line 68 of file rtfdocvisitor.cpp.

References ASSERT, m_indentLevel, StyleData::reference(), rtf_Style, and QCString::sprintf().

Referenced by visit(), visitPost(), and visitPre().

◆ incIndentLevel()

void RTFDocVisitor::incIndentLevel ( )
private

Definition at line 77 of file rtfdocvisitor.cpp.

References m_indentLevel, and rtf_maxIndentLevels.

Referenced by visitPost(), and visitPre().

◆ includePicturePostRTF()

void RTFDocVisitor::includePicturePostRTF ( bool  isTypeRTF,
bool  hasCaption,
bool  inlineImage = FALSE 
)
private

Definition at line 1233 of file rtfdocvisitor.cpp.

References endl(), m_hide, m_t, and popEnabled().

Referenced by visit(), and visitPost().

◆ includePicturePreRTF()

void RTFDocVisitor::includePicturePreRTF ( const QCString  name,
bool  isTypeRTF,
bool  hasCaption,
bool  inlineImage = FALSE 
)
private

◆ popEnabled()

void RTFDocVisitor::popEnabled ( )
private

Definition at line 1842 of file rtfdocvisitor.cpp.

References ASSERT, m_enabled, m_hide, and QStack< type >::pop().

Referenced by includePicturePostRTF(), and visit().

◆ pushEnabled()

void RTFDocVisitor::pushEnabled ( )
private

Definition at line 1837 of file rtfdocvisitor.cpp.

References m_enabled, m_hide, and QStack< type >::push().

Referenced by includePicturePreRTF(), and visit().

◆ startLink()

void RTFDocVisitor::startLink ( const QCString ref,
const QCString file,
const QCString anchor 
)
private

Definition at line 1794 of file rtfdocvisitor.cpp.

References Config_getBool, FALSE, QCString::isEmpty(), m_lastIsPara, m_t, and rtfFormatBmkStr().

Referenced by visit(), and visitPre().

◆ visit() [1/17]

void RTFDocVisitor::visit ( DocAnchor anc)
virtual

◆ visit() [2/17]

void RTFDocVisitor::visit ( DocCite cite)
virtual

◆ visit() [3/17]

void RTFDocVisitor::visit ( DocEmoji s)
virtual

◆ visit() [4/17]

void RTFDocVisitor::visit ( DocFormula f)
virtual

◆ visit() [5/17]

void RTFDocVisitor::visit ( DocHorRuler )
virtual

Implements DocVisitor.

Definition at line 220 of file rtfdocvisitor.cpp.

References DBG_RTF, endl(), m_hide, m_lastIsPara, m_t, and TRUE.

◆ visit() [6/17]

◆ visit() [7/17]

◆ visit() [8/17]

void RTFDocVisitor::visit ( DocIndexEntry i)
virtual

Implements DocVisitor.

Definition at line 623 of file rtfdocvisitor.cpp.

References DBG_RTF, endl(), DocIndexEntry::entry(), FALSE, m_hide, m_lastIsPara, and m_t.

◆ visit() [9/17]

void RTFDocVisitor::visit ( DocLineBreak )
virtual

Implements DocVisitor.

Definition at line 212 of file rtfdocvisitor.cpp.

References DBG_RTF, endl(), m_hide, m_lastIsPara, m_t, and TRUE.

◆ visit() [10/17]

void RTFDocVisitor::visit ( DocLinkedWord w)
virtual

◆ visit() [11/17]

void RTFDocVisitor::visit ( DocSimpleSectSep )
virtual

Implements DocVisitor.

Definition at line 631 of file rtfdocvisitor.cpp.

◆ visit() [12/17]

◆ visit() [13/17]

void RTFDocVisitor::visit ( DocSymbol s)
virtual

◆ visit() [14/17]

void RTFDocVisitor::visit ( DocURL u)
virtual

◆ visit() [15/17]

◆ visit() [16/17]

void RTFDocVisitor::visit ( DocWhiteSpace w)
virtual

Implements DocVisitor.

Definition at line 109 of file rtfdocvisitor.cpp.

References DocWhiteSpace::chars(), DBG_RTF, FALSE, m_hide, m_insidePre, m_lastIsPara, and m_t.

◆ visit() [17/17]

void RTFDocVisitor::visit ( DocWord w)
virtual

Implements DocVisitor.

Definition at line 91 of file rtfdocvisitor.cpp.

References DBG_RTF, FALSE, filter(), m_hide, m_lastIsPara, and DocWord::word().

Referenced by visitPre().

◆ visitPost() [1/37]

void RTFDocVisitor::visitPost ( DocAutoList )
virtual

Implements DocVisitor.

Definition at line 673 of file rtfdocvisitor.cpp.

References DBG_RTF, endl(), m_hide, m_indentLevel, m_lastIsPara, m_t, and TRUE.

◆ visitPost() [2/37]

void RTFDocVisitor::visitPost ( DocAutoListItem )
virtual

Implements DocVisitor.

Definition at line 703 of file rtfdocvisitor.cpp.

References DBG_RTF, and decIndentLevel().

◆ visitPost() [3/37]

void RTFDocVisitor::visitPost ( DocDiaFile df)
virtual

Implements DocVisitor.

Definition at line 1290 of file rtfdocvisitor.cpp.

References DBG_RTF, DocDiaFile::hasCaption(), and includePicturePostRTF().

◆ visitPost() [4/37]

void RTFDocVisitor::visitPost ( DocDotFile df)
virtual

Implements DocVisitor.

Definition at line 1267 of file rtfdocvisitor.cpp.

References DBG_RTF, DocDotFile::hasCaption(), and includePicturePostRTF().

◆ visitPost() [5/37]

void RTFDocVisitor::visitPost ( DocHRef )
virtual

Implements DocVisitor.

Definition at line 1142 of file rtfdocvisitor.cpp.

References Config_getBool, DBG_RTF, FALSE, m_hide, m_lastIsPara, and m_t.

◆ visitPost() [6/37]

void RTFDocVisitor::visitPost ( DocHtmlBlockQuote )
virtual

Implements DocVisitor.

Definition at line 1710 of file rtfdocvisitor.cpp.

References DBG_RTF, decIndentLevel(), endl(), m_hide, m_lastIsPara, m_t, and TRUE.

◆ visitPost() [7/37]

void RTFDocVisitor::visitPost ( DocHtmlCaption )
virtual

Implements DocVisitor.

Definition at line 1019 of file rtfdocvisitor.cpp.

References DBG_RTF, endl(), and m_t.

◆ visitPost() [8/37]

void RTFDocVisitor::visitPost ( DocHtmlCell )
virtual

Implements DocVisitor.

Definition at line 1072 of file rtfdocvisitor.cpp.

References DBG_RTF, FALSE, m_hide, m_lastIsPara, and m_t.

◆ visitPost() [9/37]

void RTFDocVisitor::visitPost ( DocHtmlDescData )
virtual

Implements DocVisitor.

Definition at line 985 of file rtfdocvisitor.cpp.

References DBG_RTF, decIndentLevel(), endl(), m_hide, m_lastIsPara, m_t, and TRUE.

◆ visitPost() [10/37]

void RTFDocVisitor::visitPost ( DocHtmlDescList )
virtual

Implements DocVisitor.

Definition at line 949 of file rtfdocvisitor.cpp.

References DBG_RTF, and m_hide.

◆ visitPost() [11/37]

void RTFDocVisitor::visitPost ( DocHtmlDescTitle )
virtual

Implements DocVisitor.

Definition at line 968 of file rtfdocvisitor.cpp.

References DBG_RTF, endl(), m_hide, m_lastIsPara, m_t, and TRUE.

◆ visitPost() [12/37]

void RTFDocVisitor::visitPost ( DocHtmlHeader )
virtual

Implements DocVisitor.

Definition at line 1175 of file rtfdocvisitor.cpp.

References DBG_RTF, endl(), m_hide, m_lastIsPara, m_t, and TRUE.

◆ visitPost() [13/37]

void RTFDocVisitor::visitPost ( DocHtmlList s)
virtual

Implements DocVisitor.

Definition at line 906 of file rtfdocvisitor.cpp.

References DBG_RTF, endl(), m_hide, m_lastIsPara, m_t, and TRUE.

◆ visitPost() [14/37]

void RTFDocVisitor::visitPost ( DocHtmlListItem )
virtual

Implements DocVisitor.

Definition at line 934 of file rtfdocvisitor.cpp.

References DBG_RTF, and decIndentLevel().

◆ visitPost() [15/37]

void RTFDocVisitor::visitPost ( DocHtmlRow )
virtual

Implements DocVisitor.

Definition at line 1054 of file rtfdocvisitor.cpp.

References DBG_RTF, endl(), FALSE, m_hide, m_lastIsPara, and m_t.

◆ visitPost() [16/37]

void RTFDocVisitor::visitPost ( DocHtmlTable t)
virtual

Implements DocVisitor.

Definition at line 1003 of file rtfdocvisitor.cpp.

References DBG_RTF, endl(), m_hide, m_lastIsPara, m_t, and TRUE.

◆ visitPost() [17/37]

void RTFDocVisitor::visitPost ( DocImage img)
virtual

◆ visitPost() [18/37]

void RTFDocVisitor::visitPost ( DocInternal )
virtual

Implements DocVisitor.

Definition at line 1094 of file rtfdocvisitor.cpp.

References m_hide.

◆ visitPost() [19/37]

void RTFDocVisitor::visitPost ( DocInternalRef )
virtual

Implements DocVisitor.

Definition at line 1680 of file rtfdocvisitor.cpp.

References DBG_RTF, endLink(), m_hide, and m_t.

◆ visitPost() [20/37]

void RTFDocVisitor::visitPost ( DocLink lnk)
virtual

Implements DocVisitor.

Definition at line 1303 of file rtfdocvisitor.cpp.

References DBG_RTF, endLink(), m_hide, and DocLink::ref().

◆ visitPost() [21/37]

void RTFDocVisitor::visitPost ( DocMscFile df)
virtual

Implements DocVisitor.

Definition at line 1278 of file rtfdocvisitor.cpp.

References DBG_RTF, DocMscFile::hasCaption(), and includePicturePostRTF().

◆ visitPost() [22/37]

void RTFDocVisitor::visitPost ( DocPara p)
virtual

◆ visitPost() [23/37]

◆ visitPost() [24/37]

void RTFDocVisitor::visitPost ( DocParamSect s)
virtual

◆ visitPost() [25/37]

void RTFDocVisitor::visitPost ( DocParBlock )
virtual

Implements DocVisitor.

Definition at line 1735 of file rtfdocvisitor.cpp.

References m_hide.

◆ visitPost() [26/37]

void RTFDocVisitor::visitPost ( DocRef ref)
virtual

Implements DocVisitor.

Definition at line 1327 of file rtfdocvisitor.cpp.

References DBG_RTF, endLink(), DocRef::file(), QCString::isEmpty(), m_hide, and DocRef::ref().

◆ visitPost() [27/37]

void RTFDocVisitor::visitPost ( DocRoot r)
virtual

◆ visitPost() [28/37]

void RTFDocVisitor::visitPost ( DocSecRefItem )
virtual

Implements DocVisitor.

Definition at line 1341 of file rtfdocvisitor.cpp.

References DBG_RTF.

◆ visitPost() [29/37]

void RTFDocVisitor::visitPost ( DocSecRefList )
virtual

Implements DocVisitor.

Definition at line 1357 of file rtfdocvisitor.cpp.

References DBG_RTF, decIndentLevel(), endl(), m_hide, m_lastIsPara, m_t, and TRUE.

◆ visitPost() [30/37]

void RTFDocVisitor::visitPost ( DocSection )
virtual

Implements DocVisitor.

Definition at line 888 of file rtfdocvisitor.cpp.

References DBG_RTF, endl(), m_hide, m_lastIsPara, m_t, and TRUE.

◆ visitPost() [31/37]

void RTFDocVisitor::visitPost ( DocSimpleList )
virtual

Implements DocVisitor.

Definition at line 841 of file rtfdocvisitor.cpp.

References DBG_RTF, endl(), m_hide, m_lastIsPara, m_t, and TRUE.

◆ visitPost() [32/37]

void RTFDocVisitor::visitPost ( DocSimpleListItem )
virtual

Implements DocVisitor.

Definition at line 859 of file rtfdocvisitor.cpp.

References DBG_RTF, and decIndentLevel().

◆ visitPost() [33/37]

void RTFDocVisitor::visitPost ( DocSimpleSect s)
virtual

◆ visitPost() [34/37]

void RTFDocVisitor::visitPost ( DocText )
virtual

Implements DocVisitor.

Definition at line 1694 of file rtfdocvisitor.cpp.

References DBG_RTF, and m_hide.

◆ visitPost() [35/37]

void RTFDocVisitor::visitPost ( DocTitle )
virtual

Implements DocVisitor.

Definition at line 821 of file rtfdocvisitor.cpp.

References DBG_RTF, endl(), FALSE, getStyle(), incIndentLevel(), m_hide, m_lastIsPara, m_t, and rtf_Style_Reset.

◆ visitPost() [36/37]

void RTFDocVisitor::visitPost ( DocVhdlFlow )
virtual

Implements DocVisitor.

Definition at line 1725 of file rtfdocvisitor.cpp.

References m_hide.

◆ visitPost() [37/37]

void RTFDocVisitor::visitPost ( DocXRefItem x)
virtual

◆ visitPre() [1/37]

void RTFDocVisitor::visitPre ( DocAutoList l)
virtual

◆ visitPre() [2/37]

void RTFDocVisitor::visitPre ( DocAutoListItem )
virtual

◆ visitPre() [3/37]

void RTFDocVisitor::visitPre ( DocDiaFile df)
virtual

Implements DocVisitor.

Definition at line 1284 of file rtfdocvisitor.cpp.

References DBG_RTF, and writeDiaFile().

◆ visitPre() [4/37]

void RTFDocVisitor::visitPre ( DocDotFile df)
virtual

Implements DocVisitor.

Definition at line 1261 of file rtfdocvisitor.cpp.

References DBG_RTF, and writeDotFile().

◆ visitPre() [5/37]

void RTFDocVisitor::visitPre ( DocHRef href)
virtual

◆ visitPre() [6/37]

void RTFDocVisitor::visitPre ( DocHtmlBlockQuote )
virtual

Implements DocVisitor.

Definition at line 1700 of file rtfdocvisitor.cpp.

References DBG_RTF, endl(), getStyle(), incIndentLevel(), m_hide, m_lastIsPara, m_t, and rtf_Style_Reset.

◆ visitPre() [7/37]

void RTFDocVisitor::visitPre ( DocHtmlCaption )
virtual

Implements DocVisitor.

Definition at line 1012 of file rtfdocvisitor.cpp.

References DBG_RTF, and m_t.

◆ visitPre() [8/37]

void RTFDocVisitor::visitPre ( DocHtmlCell c)
virtual

Implements DocVisitor.

Definition at line 1064 of file rtfdocvisitor.cpp.

References align(), DBG_RTF, FALSE, m_hide, m_lastIsPara, and m_t.

◆ visitPre() [9/37]

void RTFDocVisitor::visitPre ( DocHtmlDescData )
virtual

Implements DocVisitor.

Definition at line 977 of file rtfdocvisitor.cpp.

References DBG_RTF, getStyle(), incIndentLevel(), m_hide, m_t, and rtf_Style_Reset.

◆ visitPre() [10/37]

void RTFDocVisitor::visitPre ( DocHtmlDescList )
virtual

Implements DocVisitor.

Definition at line 940 of file rtfdocvisitor.cpp.

References DBG_RTF, and m_hide.

◆ visitPre() [11/37]

void RTFDocVisitor::visitPre ( DocHtmlDescTitle )
virtual

Implements DocVisitor.

Definition at line 958 of file rtfdocvisitor.cpp.

References DBG_RTF, endl(), FALSE, m_hide, m_lastIsPara, m_t, and rtf_Style.

◆ visitPre() [12/37]

void RTFDocVisitor::visitPre ( DocHtmlHeader header)
virtual

◆ visitPre() [13/37]

void RTFDocVisitor::visitPre ( DocHtmlList s)
virtual

◆ visitPre() [14/37]

void RTFDocVisitor::visitPre ( DocHtmlListItem )
virtual

◆ visitPre() [15/37]

void RTFDocVisitor::visitPre ( DocHtmlRow r)
virtual

◆ visitPre() [16/37]

void RTFDocVisitor::visitPre ( DocHtmlTable t)
virtual

Implements DocVisitor.

Definition at line 995 of file rtfdocvisitor.cpp.

References DBG_RTF, endl(), m_hide, m_lastIsPara, m_t, and TRUE.

◆ visitPre() [17/37]

void RTFDocVisitor::visitPre ( DocImage img)
virtual

◆ visitPre() [18/37]

void RTFDocVisitor::visitPre ( DocInternal )
virtual

Implements DocVisitor.

Definition at line 1080 of file rtfdocvisitor.cpp.

References m_hide.

◆ visitPre() [19/37]

void RTFDocVisitor::visitPre ( DocInternalRef ref)
virtual

Implements DocVisitor.

Definition at line 1673 of file rtfdocvisitor.cpp.

References DocInternalRef::anchor(), DBG_RTF, DocInternalRef::file(), m_hide, and startLink().

◆ visitPre() [20/37]

void RTFDocVisitor::visitPre ( DocLink lnk)
virtual

Implements DocVisitor.

Definition at line 1296 of file rtfdocvisitor.cpp.

References DocLink::anchor(), DBG_RTF, DocLink::file(), m_hide, DocLink::ref(), and startLink().

◆ visitPre() [21/37]

void RTFDocVisitor::visitPre ( DocMscFile df)
virtual

Implements DocVisitor.

Definition at line 1272 of file rtfdocvisitor.cpp.

References DBG_RTF, and writeMscFile().

◆ visitPre() [22/37]

void RTFDocVisitor::visitPre ( DocPara )
virtual

Implements DocVisitor.

Definition at line 709 of file rtfdocvisitor.cpp.

References DBG_RTF.

◆ visitPre() [23/37]

◆ visitPre() [24/37]

◆ visitPre() [25/37]

void RTFDocVisitor::visitPre ( DocParBlock )
virtual

Implements DocVisitor.

Definition at line 1730 of file rtfdocvisitor.cpp.

References m_hide.

◆ visitPre() [26/37]

void RTFDocVisitor::visitPre ( DocRef ref)
virtual

◆ visitPre() [27/37]

void RTFDocVisitor::visitPre ( DocRoot r)
virtual

Implements DocVisitor.

Definition at line 730 of file rtfdocvisitor.cpp.

References DBG_RTF, endl(), incIndentLevel(), DocRoot::indent(), m_hide, m_t, and rtf_Style.

◆ visitPre() [28/37]

void RTFDocVisitor::visitPre ( DocSecRefItem )
virtual

Implements DocVisitor.

Definition at line 1336 of file rtfdocvisitor.cpp.

References DBG_RTF.

◆ visitPre() [29/37]

void RTFDocVisitor::visitPre ( DocSecRefList )
virtual

Implements DocVisitor.

Definition at line 1346 of file rtfdocvisitor.cpp.

References DBG_RTF, endl(), getStyle(), incIndentLevel(), m_hide, m_lastIsPara, m_t, rtf_Style_Reset, and TRUE.

◆ visitPre() [30/37]

◆ visitPre() [31/37]

void RTFDocVisitor::visitPre ( DocSimpleList )
virtual

◆ visitPre() [32/37]

void RTFDocVisitor::visitPre ( DocSimpleListItem )
virtual

Implements DocVisitor.

Definition at line 850 of file rtfdocvisitor.cpp.

References DBG_RTF, endl(), FALSE, getStyle(), incIndentLevel(), m_hide, m_lastIsPara, m_t, and rtf_Style_Reset.

◆ visitPre() [33/37]

◆ visitPre() [34/37]

void RTFDocVisitor::visitPre ( DocText )
virtual

Implements DocVisitor.

Definition at line 1688 of file rtfdocvisitor.cpp.

References DBG_RTF, and m_hide.

◆ visitPre() [35/37]

void RTFDocVisitor::visitPre ( DocTitle )
virtual

Implements DocVisitor.

Definition at line 816 of file rtfdocvisitor.cpp.

References DBG_RTF.

◆ visitPre() [36/37]

void RTFDocVisitor::visitPre ( DocVhdlFlow )
virtual

Implements DocVisitor.

Definition at line 1720 of file rtfdocvisitor.cpp.

References m_hide.

◆ visitPre() [37/37]

◆ writeDiaFile()

◆ writeDotFile() [1/2]

void RTFDocVisitor::writeDotFile ( const QCString fileName,
bool  hasCaption 
)
private

◆ writeDotFile() [2/2]

void RTFDocVisitor::writeDotFile ( DocDotFile df)
private

Definition at line 1850 of file rtfdocvisitor.cpp.

References DocDotFile::file(), DocDotFile::hasCaption(), and writeDotFile().

◆ writeMscFile() [1/2]

void RTFDocVisitor::writeMscFile ( const QCString fileName,
bool  hasCaption 
)
private

◆ writeMscFile() [2/2]

void RTFDocVisitor::writeMscFile ( DocMscFile df)
private

Definition at line 1868 of file rtfdocvisitor.cpp.

References DocMscFile::file(), DocMscFile::hasCaption(), and writeMscFile().

◆ writePlantUMLFile()

void RTFDocVisitor::writePlantUMLFile ( const QCString fileName,
bool  hasCaption 
)
private

Member Data Documentation

◆ m_ci

CodeOutputInterface& RTFDocVisitor::m_ci
private

Definition at line 168 of file rtfdocvisitor.h.

Referenced by visit().

◆ m_enabled

QStack<bool> RTFDocVisitor::m_enabled
private

Definition at line 172 of file rtfdocvisitor.h.

Referenced by popEnabled(), and pushEnabled().

◆ m_hide

bool RTFDocVisitor::m_hide
private

◆ m_indentLevel

int RTFDocVisitor::m_indentLevel
private

Definition at line 171 of file rtfdocvisitor.h.

Referenced by decIndentLevel(), getStyle(), incIndentLevel(), visitPost(), and visitPre().

◆ m_insidePre

bool RTFDocVisitor::m_insidePre
private

Definition at line 169 of file rtfdocvisitor.h.

Referenced by visit().

◆ m_langExt

QCString RTFDocVisitor::m_langExt
private

Definition at line 174 of file rtfdocvisitor.h.

Referenced by visit().

◆ m_lastIsPara

bool RTFDocVisitor::m_lastIsPara
private

Definition at line 173 of file rtfdocvisitor.h.

Referenced by endLink(), includePicturePreRTF(), startLink(), visit(), visitPost(), and visitPre().

◆ m_t

FTextStream& RTFDocVisitor::m_t
private

The documentation for this class was generated from the following files: