My Project
|
Concrete visitor implementation for LaTeX output. More...
#include <mandocvisitor.h>
Private Member Functions | |
void | filter (const char *str) |
void | pushEnabled () |
void | popEnabled () |
Private Attributes | |
FTextStream & | m_t |
CodeOutputInterface & | m_ci |
bool | m_insidePre |
bool | m_hide |
bool | m_firstCol |
int | m_indent |
QStack< bool > | m_enabled |
QCString | m_langExt |
Concrete visitor implementation for LaTeX output.
Definition at line 30 of file mandocvisitor.h.
ManDocVisitor::ManDocVisitor | ( | FTextStream & | t, |
CodeOutputInterface & | ci, | ||
const char * | langExt | ||
) |
Definition at line 34 of file mandocvisitor.cpp.
|
private |
Definition at line 1019 of file mandocvisitor.cpp.
References m_t.
Referenced by visit(), and visitPre().
|
private |
|
private |
|
virtual |
Implements DocVisitor.
Definition at line 45 of file mandocvisitor.cpp.
References filter(), m_firstCol, m_hide, and DocWord::word().
Referenced by visitPre().
|
virtual |
Implements DocVisitor.
Definition at line 52 of file mandocvisitor.cpp.
References filter(), m_firstCol, m_hide, m_t, and DocLinkedWord::word().
|
virtual |
Implements DocVisitor.
Definition at line 61 of file mandocvisitor.cpp.
References DocWhiteSpace::chars(), m_firstCol, m_hide, m_insidePre, and m_t.
|
virtual |
Implements DocVisitor.
Definition at line 76 of file mandocvisitor.cpp.
References HtmlEntityMapper::instance(), m_firstCol, m_hide, m_t, HtmlEntityMapper::man(), and DocSymbol::symbol().
|
virtual |
Implements DocVisitor.
Definition at line 92 of file mandocvisitor.cpp.
References m_firstCol, m_hide, m_t, and DocURL::url().
|
virtual |
Implements DocVisitor.
Definition at line 99 of file mandocvisitor.cpp.
References endl(), m_firstCol, m_hide, and m_t.
|
virtual |
Implements DocVisitor.
Definition at line 106 of file mandocvisitor.cpp.
References endl(), m_firstCol, m_hide, and m_t.
|
virtual |
Implements DocVisitor.
Definition at line 114 of file mandocvisitor.cpp.
References DocStyleChange::Bold, DocStyleChange::Center, DocStyleChange::Code, DocStyleChange::Div, DocStyleChange::enable(), endl(), DocStyleChange::Italic, m_firstCol, m_hide, m_insidePre, m_t, DocStyleChange::Preformatted, DocStyleChange::Small, DocStyleChange::Span, DocStyleChange::style(), DocStyleChange::Subscript, and DocStyleChange::Superscript.
|
virtual |
Implements DocVisitor.
Definition at line 167 of file mandocvisitor.cpp.
References DocVerbatim::Code, DocVerbatim::context(), DocVerbatim::DocbookOnly, DocVerbatim::Dot, endl(), DocVerbatim::exampleFile(), getLanguageFromFileName(), ParserManager::getParser(), DocVerbatim::HtmlOnly, DocVerbatim::isExample(), DocVerbatim::language(), DocVerbatim::LatexOnly, m_ci, m_firstCol, m_hide, m_langExt, m_t, DocVerbatim::ManOnly, DocVerbatim::Msc, ParserInterface::parseCode(), Doxygen::parserManager, DocVerbatim::PlantUML, DocVerbatim::RtfOnly, DocVerbatim::text(), DocVerbatim::type(), DocVerbatim::Verbatim, and DocVerbatim::XmlOnly.
|
virtual |
Implements DocVisitor.
Definition at line 217 of file mandocvisitor.cpp.
|
virtual |
Implements DocVisitor.
Definition at line 222 of file mandocvisitor.cpp.
References DocInclude::blockId(), DocInclude::context(), DocInclude::DontInclude, endl(), err(), DocInclude::exampleFile(), DocInclude::extension(), extractBlock(), DocInclude::file(), getLanguageFromFileName(), ParserManager::getParser(), DocInclude::HtmlInclude, DocInclude::Include, DocInclude::IncludeDoc, DocInclude::IncWithLines, DocInclude::isExample(), DocInclude::LatexInclude, m_ci, m_firstCol, m_hide, m_t, parseCode(), Doxygen::parserManager, DocInclude::Snippet, DocInclude::SnippetDoc, DocInclude::text(), DocInclude::type(), and DocInclude::VerbInclude.
|
virtual |
Implements DocVisitor.
Definition at line 317 of file mandocvisitor.cpp.
References DocIncOperator::context(), endl(), DocIncOperator::exampleFile(), getLanguageFromFileName(), ParserManager::getParser(), DocIncOperator::isExample(), DocIncOperator::isFirst(), DocIncOperator::isLast(), m_ci, m_firstCol, m_hide, m_langExt, m_t, ParserInterface::parseCode(), Doxygen::parserManager, popEnabled(), pushEnabled(), DocIncOperator::Skip, DocIncOperator::text(), and DocIncOperator::type().
|
virtual |
Implements DocVisitor.
Definition at line 362 of file mandocvisitor.cpp.
References m_hide, m_t, and DocFormula::text().
|
virtual |
|
virtual |
|
virtual |
Implements DocVisitor.
Definition at line 376 of file mandocvisitor.cpp.
References DocCite::file(), filter(), m_hide, m_t, and DocCite::text().
|
virtual |
|
virtual |
Implements DocVisitor.
Definition at line 423 of file mandocvisitor.cpp.
References endl(), m_firstCol, m_hide, and m_t.
|
virtual |
Implements DocVisitor.
Definition at line 434 of file mandocvisitor.cpp.
References endl(), DocPara::isLast(), DocNode::kind(), DocNode::Kind_ParamSect, m_firstCol, m_hide, m_t, and DocNode::parent().
|
virtual |
|
virtual |
Implements DocVisitor.
Definition at line 511 of file mandocvisitor.cpp.
References endl(), m_firstCol, m_hide, and m_t.
|
virtual |
|
virtual |
|
virtual |
Implements DocVisitor.
Definition at line 556 of file mandocvisitor.cpp.
References endl(), m_firstCol, m_hide, and m_t.
|
virtual |
|
virtual |
Implements DocVisitor.
Definition at line 587 of file mandocvisitor.cpp.
References endl(), m_firstCol, m_hide, m_indent, and m_t.
|
virtual |
Implements DocVisitor.
Definition at line 614 of file mandocvisitor.cpp.
References endl(), m_firstCol, m_hide, and m_t.
|
virtual |
Implements DocVisitor.
Definition at line 642 of file mandocvisitor.cpp.
References endl(), m_firstCol, m_hide, and m_t.
|
virtual |
Implements DocVisitor.
Definition at line 658 of file mandocvisitor.cpp.
References endl(), m_firstCol, m_hide, and m_t.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Implements DocVisitor.
Definition at line 714 of file mandocvisitor.cpp.
References m_hide.
|
virtual |
Implements DocVisitor.
Definition at line 729 of file mandocvisitor.cpp.
|
virtual |
Implements DocVisitor.
Definition at line 743 of file mandocvisitor.cpp.
References endl(), DocHtmlHeader::level(), m_firstCol, m_hide, and m_t.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Implements DocVisitor.
Definition at line 788 of file mandocvisitor.cpp.
|
virtual |
Implements DocVisitor.
Definition at line 801 of file mandocvisitor.cpp.
|
virtual |
Implements DocVisitor.
Definition at line 817 of file mandocvisitor.cpp.
References endl(), m_firstCol, m_hide, and m_t.
|
virtual |
Implements DocVisitor.
Definition at line 830 of file mandocvisitor.cpp.
References endl(), m_firstCol, m_hide, m_indent, and m_t.
|
virtual |
Implements DocVisitor.
Definition at line 886 of file mandocvisitor.cpp.
References endl(), m_firstCol, m_hide, and m_t.
|
virtual |
Implements DocVisitor.
Definition at line 919 of file mandocvisitor.cpp.
References endl(), DocParamList::isLast(), m_firstCol, m_hide, and m_t.
|
virtual |
Implements DocVisitor.
Definition at line 944 of file mandocvisitor.cpp.
References endl(), m_firstCol, m_hide, m_t, and DocXRefItem::title().
|
virtual |
Implements DocVisitor.
Definition at line 960 of file mandocvisitor.cpp.
|
virtual |
|
virtual |
|
virtual |
Implements DocVisitor.
Definition at line 993 of file mandocvisitor.cpp.
References endl(), m_firstCol, m_hide, and m_t.
|
virtual |
|
virtual |
|
virtual |
Implements DocVisitor.
Definition at line 391 of file mandocvisitor.cpp.
|
virtual |
Implements DocVisitor.
Definition at line 404 of file mandocvisitor.cpp.
References endl(), DocAutoListItem::itemNumber(), m_firstCol, m_hide, m_indent, m_t, and DocNode::parent().
|
virtual |
|
virtual |
|
virtual |
Implements DocVisitor.
Definition at line 457 of file mandocvisitor.cpp.
References DocSimpleSect::Attention, DocSimpleSect::Author, DocSimpleSect::Authors, DocSimpleSect::Copyright, DocSimpleSect::Date, endl(), DocSimpleSect::Invar, m_firstCol, m_hide, m_t, DocSimpleSect::Note, DocSimpleSect::Post, DocSimpleSect::Pre, DocSimpleSect::Rcs, DocSimpleSect::Remark, DocSimpleSect::Return, DocSimpleSect::See, DocSimpleSect::Since, theTranslator, Translator::trAttention(), Translator::trAuthor(), Translator::trCopyright(), Translator::trDate(), Translator::trInvariant(), Translator::trNote(), Translator::trPostcondition(), Translator::trPrecondition(), Translator::trRemarks(), Translator::trReturns(), Translator::trSeeAlso(), Translator::trSince(), Translator::trVersion(), Translator::trWarning(), DocSimpleSect::type(), DocSimpleSect::Unknown, DocSimpleSect::User, DocSimpleSect::Version, and DocSimpleSect::Warning.
|
virtual |
|
virtual |
Implements DocVisitor.
Definition at line 531 of file mandocvisitor.cpp.
References endl(), m_firstCol, m_hide, m_indent, and m_t.
|
virtual |
Implements DocVisitor.
Definition at line 546 of file mandocvisitor.cpp.
References endl(), m_firstCol, m_hide, m_indent, and m_t.
|
virtual |
Implements DocVisitor.
Definition at line 563 of file mandocvisitor.cpp.
References endl(), filter(), DocSection::level(), m_firstCol, m_hide, m_t, and DocSection::title().
|
virtual |
Implements DocVisitor.
Definition at line 579 of file mandocvisitor.cpp.
References endl(), m_firstCol, m_hide, m_indent, and m_t.
|
virtual |
Implements DocVisitor.
Definition at line 595 of file mandocvisitor.cpp.
References endl(), DocHtmlListItem::itemNumber(), m_firstCol, m_hide, m_indent, m_t, DocHtmlList::Ordered, and DocNode::parent().
|
virtual |
|
virtual |
Implements DocVisitor.
Definition at line 650 of file mandocvisitor.cpp.
References endl(), m_firstCol, m_hide, and m_t.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Implements DocVisitor.
Definition at line 705 of file mandocvisitor.cpp.
References m_hide.
|
virtual |
Implements DocVisitor.
Definition at line 723 of file mandocvisitor.cpp.
|
virtual |
Implements DocVisitor.
Definition at line 735 of file mandocvisitor.cpp.
References endl(), DocHtmlHeader::level(), m_firstCol, m_hide, and m_t.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Implements DocVisitor.
Definition at line 782 of file mandocvisitor.cpp.
|
virtual |
Implements DocVisitor.
Definition at line 794 of file mandocvisitor.cpp.
References filter(), DocRef::hasLinkText(), m_hide, m_t, and DocRef::targetTitle().
|
virtual |
Implements DocVisitor.
Definition at line 807 of file mandocvisitor.cpp.
References endl(), m_firstCol, m_hide, m_indent, and m_t.
|
virtual |
Implements DocVisitor.
Definition at line 824 of file mandocvisitor.cpp.
|
virtual |
Implements DocVisitor.
Definition at line 857 of file mandocvisitor.cpp.
References endl(), DocParamSect::Exception, m_firstCol, m_hide, m_t, DocParamSect::Param, DocParamSect::RetVal, DocParamSect::TemplateParam, theTranslator, Translator::trExceptions(), Translator::trParameters(), Translator::trReturnValues(), and DocParamSect::type().
|
virtual |
Implements DocVisitor.
Definition at line 895 of file mandocvisitor.cpp.
References DocNode::Kind_LinkedWord, DocNode::Kind_Word, m_hide, m_t, DocParamList::parameters(), and visit().
|
virtual |
Implements DocVisitor.
Definition at line 929 of file mandocvisitor.cpp.
References endl(), filter(), m_firstCol, m_hide, m_t, and DocXRefItem::title().
|
virtual |
Implements DocVisitor.
Definition at line 954 of file mandocvisitor.cpp.
|
virtual |
|
virtual |
|
virtual |
Implements DocVisitor.
Definition at line 982 of file mandocvisitor.cpp.
References endl(), m_firstCol, m_hide, and m_t.
|
virtual |
|
virtual |
|
private |
Definition at line 157 of file mandocvisitor.h.
Referenced by visit().
|
private |
Definition at line 162 of file mandocvisitor.h.
Referenced by popEnabled(), and pushEnabled().
|
private |
Definition at line 160 of file mandocvisitor.h.
Referenced by visit(), visitPost(), and visitPre().
|
private |
Definition at line 159 of file mandocvisitor.h.
Referenced by popEnabled(), pushEnabled(), visit(), visitPost(), and visitPre().
|
private |
Definition at line 161 of file mandocvisitor.h.
Referenced by visitPost(), and visitPre().
|
private |
Definition at line 158 of file mandocvisitor.h.
Referenced by visit().
|
private |
Definition at line 163 of file mandocvisitor.h.
Referenced by visit().
|
private |
Definition at line 156 of file mandocvisitor.h.
Referenced by filter(), visit(), visitPost(), and visitPre().