Doxygen
|
Concrete visitor implementation for LaTeX output. More...
#include <src/mandocvisitor.h>
Classes | |
struct | ManListItemInfo |
Private Member Functions | |
template<class T> | |
void | visitChildren (const T &t) |
void | filter (const QCString &str) |
Private Attributes | |
TextStream & | m_t |
OutputCodeList & | m_ci |
bool | m_insidePre |
bool | m_hide |
bool | m_firstCol |
int | m_indent |
QCString | m_langExt |
std::array< ManListItemInfo, maxIndentLevels > | m_listItemInfo |
Static Private Attributes | |
static const int | maxIndentLevels = 13 |
Concrete visitor implementation for LaTeX output.
Definition at line 33 of file mandocvisitor.h.
ManDocVisitor::ManDocVisitor | ( | TextStream & | t, |
OutputCodeList & | ci, | ||
const QCString & | langExt ) |
Definition at line 32 of file mandocvisitor.cpp.
References FALSE, m_ci, m_firstCol, m_hide, m_indent, m_insidePre, m_langExt, and m_t.
|
private |
Definition at line 987 of file mandocvisitor.cpp.
References QCString::data(), QCString::isEmpty(), and m_t.
Referenced by operator()(), operator()(), operator()(), operator()(), operator()(), and operator()().
void ManDocVisitor::operator() | ( | const DocAnchor & | ) |
Definition at line 252 of file mandocvisitor.cpp.
void ManDocVisitor::operator() | ( | const DocAutoList & | l | ) |
Definition at line 446 of file mandocvisitor.cpp.
References m_hide, m_indent, m_t, and visitChildren().
void ManDocVisitor::operator() | ( | const DocAutoListItem & | li | ) |
Definition at line 455 of file mandocvisitor.cpp.
References DocAutoList::Checked_X, DocAutoList::Checked_x, QCString::fill(), DocAutoList::isEnumList(), DocAutoListItem::itemNumber(), m_firstCol, m_hide, m_indent, m_t, DocNode::parent(), TRUE, DocAutoList::Unchecked, and visitChildren().
void ManDocVisitor::operator() | ( | const DocCite & | cite | ) |
Definition at line 425 of file mandocvisitor.cpp.
References DocCite::file(), filter(), QCString::isEmpty(), m_hide, m_t, and DocCite::text().
void ManDocVisitor::operator() | ( | const DocDiaFile & | ) |
Definition at line 827 of file mandocvisitor.cpp.
void ManDocVisitor::operator() | ( | const DocDotFile & | ) |
Definition at line 819 of file mandocvisitor.cpp.
void ManDocVisitor::operator() | ( | const DocEmoji & | s | ) |
Definition at line 90 of file mandocvisitor.cpp.
References FALSE, DocEmoji::index(), EmojiEntityMapper::instance(), m_firstCol, m_hide, m_t, DocEmoji::name(), and EmojiEntityMapper::name().
void ManDocVisitor::operator() | ( | const DocFormula & | f | ) |
Definition at line 411 of file mandocvisitor.cpp.
References m_hide, m_t, and DocFormula::text().
void ManDocVisitor::operator() | ( | const DocHorRuler & | ) |
Definition at line 119 of file mandocvisitor.cpp.
References m_firstCol, m_hide, m_t, and TRUE.
void ManDocVisitor::operator() | ( | const DocHRef & | href | ) |
Definition at line 763 of file mandocvisitor.cpp.
References m_hide, m_t, and visitChildren().
void ManDocVisitor::operator() | ( | const DocHtmlBlockQuote & | q | ) |
Definition at line 962 of file mandocvisitor.cpp.
References m_firstCol, m_hide, m_t, TRUE, and visitChildren().
void ManDocVisitor::operator() | ( | const DocHtmlCaption & | c | ) |
Definition at line 743 of file mandocvisitor.cpp.
References visitChildren().
void ManDocVisitor::operator() | ( | const DocHtmlCell & | c | ) |
Definition at line 753 of file mandocvisitor.cpp.
References visitChildren().
void ManDocVisitor::operator() | ( | const DocHtmlDescData & | dd | ) |
Definition at line 730 of file mandocvisitor.cpp.
References m_firstCol, m_t, TRUE, and visitChildren().
void ManDocVisitor::operator() | ( | const DocHtmlDescList & | dl | ) |
Definition at line 709 of file mandocvisitor.cpp.
References m_firstCol, m_hide, m_indent, m_t, TRUE, and visitChildren().
void ManDocVisitor::operator() | ( | const DocHtmlDescTitle & | dt | ) |
Definition at line 720 of file mandocvisitor.cpp.
References FALSE, m_firstCol, m_hide, m_t, and visitChildren().
void ManDocVisitor::operator() | ( | const DocHtmlDetails & | d | ) |
Definition at line 778 of file mandocvisitor.cpp.
References m_firstCol, m_hide, m_t, DocHtmlDetails::summary(), TRUE, and visitChildren().
void ManDocVisitor::operator() | ( | const DocHtmlHeader & | header | ) |
Definition at line 803 of file mandocvisitor.cpp.
References DocHtmlHeader::level(), m_firstCol, m_hide, m_t, TRUE, and visitChildren().
void ManDocVisitor::operator() | ( | const DocHtmlList & | s | ) |
Definition at line 625 of file mandocvisitor.cpp.
References DocHtmlList::attribs(), m_firstCol, m_hide, m_indent, m_listItemInfo, m_t, maxIndentLevels, and visitChildren().
void ManDocVisitor::operator() | ( | const DocHtmlListItem & | li | ) |
Definition at line 654 of file mandocvisitor.cpp.
References DocHtmlListItem::attribs(), QCString::fill(), integerToAlpha(), integerToRoman(), m_firstCol, m_hide, m_indent, m_listItemInfo, m_t, maxIndentLevels, DocHtmlList::Ordered, DocNode::parent(), TRUE, DocHtmlList::type(), and visitChildren().
void ManDocVisitor::operator() | ( | const DocHtmlRow & | r | ) |
Definition at line 748 of file mandocvisitor.cpp.
References visitChildren().
void ManDocVisitor::operator() | ( | const DocHtmlSummary & | s | ) |
Definition at line 771 of file mandocvisitor.cpp.
References m_t, and visitChildren().
void ManDocVisitor::operator() | ( | const DocHtmlTable & | t | ) |
Definition at line 738 of file mandocvisitor.cpp.
References visitChildren().
void ManDocVisitor::operator() | ( | const DocImage & | ) |
Definition at line 815 of file mandocvisitor.cpp.
void ManDocVisitor::operator() | ( | const DocInclude & | inc | ) |
Definition at line 257 of file mandocvisitor.cpp.
References DocInclude::blockId(), DocInclude::context(), createFileDef(), FileInfo::dirPath(), DocInclude::DocbookInclude, DocInclude::DontInclude, DocInclude::DontIncWithLines, DocInclude::exampleFile(), DocInclude::extension(), FALSE, DocInclude::file(), FileInfo::fileName(), DocVisitor::getCodeParser(), getLanguageFromFileName(), DocInclude::HtmlInclude, DocInclude::Include, DocInclude::IncWithLines, CodeFragmentManager::instance(), DocInclude::isExample(), DocInclude::LatexInclude, m_ci, m_firstCol, m_hide, m_t, DocInclude::ManInclude, CodeParserInterface::parseCode(), CodeFragmentManager::parseCodeFragment(), DocInclude::RtfInclude, DocInclude::Snippet, DocInclude::SnippetWithLines, QCString::str(), DocInclude::stripCodeComments(), DocInclude::text(), DocInclude::trimLeft(), TRUE, DocInclude::type(), DocInclude::VerbInclude, and DocInclude::XmlInclude.
void ManDocVisitor::operator() | ( | const DocIncOperator & | op | ) |
Definition at line 350 of file mandocvisitor.cpp.
References DocIncOperator::context(), createFileDef(), FileInfo::dirPath(), DocIncOperator::exampleFile(), FALSE, FileInfo::fileName(), DocVisitor::getCodeParser(), getFileNameExtension(), getLanguageFromFileName(), DocIncOperator::includeFileName(), QCString::isEmpty(), DocIncOperator::isExample(), DocIncOperator::isFirst(), DocIncOperator::isLast(), DocIncOperator::line(), m_ci, m_firstCol, m_hide, m_langExt, m_t, CodeParserInterface::parseCode(), DocVisitor::popHidden(), DocVisitor::pushHidden(), DocIncOperator::showLineNo(), DocIncOperator::Skip, QCString::str(), DocIncOperator::stripCodeComments(), DocIncOperator::text(), TRUE, and DocIncOperator::type().
void ManDocVisitor::operator() | ( | const DocIndexEntry & | ) |
Definition at line 417 of file mandocvisitor.cpp.
void ManDocVisitor::operator() | ( | const DocInternal & | i | ) |
Definition at line 758 of file mandocvisitor.cpp.
References visitChildren().
void ManDocVisitor::operator() | ( | const DocInternalRef & | ref | ) |
Definition at line 949 of file mandocvisitor.cpp.
References m_hide, m_t, and visitChildren().
void ManDocVisitor::operator() | ( | const DocLineBreak & | ) |
Definition at line 112 of file mandocvisitor.cpp.
References m_firstCol, m_hide, m_t, and TRUE.
void ManDocVisitor::operator() | ( | const DocLink & | lnk | ) |
Definition at line 835 of file mandocvisitor.cpp.
References m_hide, m_t, and visitChildren().
void ManDocVisitor::operator() | ( | const DocLinkedWord & | w | ) |
Definition at line 50 of file mandocvisitor.cpp.
References FALSE, filter(), m_firstCol, m_hide, m_t, and DocLinkedWord::word().
void ManDocVisitor::operator() | ( | const DocMscFile & | ) |
Definition at line 823 of file mandocvisitor.cpp.
void ManDocVisitor::operator() | ( | const DocPara & | p | ) |
Definition at line 492 of file mandocvisitor.cpp.
References DocPara::isLast(), m_firstCol, m_hide, m_t, DocNode::parent(), TRUE, and visitChildren().
void ManDocVisitor::operator() | ( | const DocParamList & | pl | ) |
Definition at line 906 of file mandocvisitor.cpp.
References FALSE, DocParamList::isLast(), m_firstCol, m_hide, m_t, DocParamList::paragraphs(), DocParamList::parameters(), and TRUE.
void ManDocVisitor::operator() | ( | const DocParamSect & | s | ) |
Definition at line 875 of file mandocvisitor.cpp.
References ASSERT, DocParamSect::Exception, m_firstCol, m_hide, m_t, DocParamSect::Param, DocParamSect::RetVal, DocParamSect::TemplateParam, theTranslator, TRUE, DocParamSect::type(), and visitChildren().
void ManDocVisitor::operator() | ( | const DocParBlock & | pb | ) |
Definition at line 982 of file mandocvisitor.cpp.
References visitChildren().
void ManDocVisitor::operator() | ( | const DocPlantUmlFile & | ) |
Definition at line 831 of file mandocvisitor.cpp.
void ManDocVisitor::operator() | ( | const DocRef & | ref | ) |
Definition at line 843 of file mandocvisitor.cpp.
References filter(), DocRef::hasLinkText(), m_hide, m_t, DocRef::targetTitle(), and visitChildren().
void ManDocVisitor::operator() | ( | const DocRoot & | r | ) |
Definition at line 508 of file mandocvisitor.cpp.
References visitChildren().
void ManDocVisitor::operator() | ( | const DocSecRefItem & | ref | ) |
Definition at line 852 of file mandocvisitor.cpp.
References QCString::fill(), m_firstCol, m_hide, m_indent, m_t, TRUE, and visitChildren().
void ManDocVisitor::operator() | ( | const DocSecRefList & | l | ) |
Definition at line 865 of file mandocvisitor.cpp.
References m_firstCol, m_hide, m_indent, m_t, and visitChildren().
void ManDocVisitor::operator() | ( | const DocSection & | s | ) |
Definition at line 609 of file mandocvisitor.cpp.
References DocSection::level(), m_firstCol, m_hide, m_t, DocSection::title(), TRUE, and visitChildren().
void ManDocVisitor::operator() | ( | const DocSeparator & | s | ) |
Definition at line 435 of file mandocvisitor.cpp.
References DocSeparator::chars(), m_hide, and m_t.
void ManDocVisitor::operator() | ( | const DocSimpleList & | l | ) |
Definition at line 581 of file mandocvisitor.cpp.
References m_firstCol, m_hide, m_indent, m_t, and visitChildren().
void ManDocVisitor::operator() | ( | const DocSimpleListItem & | li | ) |
Definition at line 593 of file mandocvisitor.cpp.
References QCString::fill(), m_firstCol, m_hide, m_indent, m_t, DocSimpleListItem::paragraph(), and TRUE.
void ManDocVisitor::operator() | ( | const DocSimpleSect & | s | ) |
Definition at line 513 of file mandocvisitor.cpp.
References DocSimpleSect::Attention, DocSimpleSect::Author, DocSimpleSect::Authors, DocSimpleSect::Copyright, DocSimpleSect::Date, FALSE, DocSimpleSect::Important, 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, DocSimpleSect::title(), TRUE, DocSimpleSect::type(), DocSimpleSect::Unknown, DocSimpleSect::User, DocSimpleSect::Version, visitChildren(), and DocSimpleSect::Warning.
void ManDocVisitor::operator() | ( | const DocSimpleSectSep & | ) |
Definition at line 421 of file mandocvisitor.cpp.
void ManDocVisitor::operator() | ( | const DocStyleChange & | s | ) |
Definition at line 127 of file mandocvisitor.cpp.
References DocStyleChange::Bold, DocStyleChange::Center, DocStyleChange::Cite, DocStyleChange::Code, DocStyleChange::Del, DocStyleChange::Div, DocStyleChange::enable(), FALSE, DocStyleChange::Ins, DocStyleChange::Italic, DocStyleChange::Kbd, m_firstCol, m_hide, m_insidePre, m_t, DocStyleChange::Preformatted, DocStyleChange::S, DocStyleChange::Small, DocStyleChange::Span, DocStyleChange::Strike, DocStyleChange::style(), DocStyleChange::Subscript, DocStyleChange::Superscript, TRUE, and DocStyleChange::Underline.
void ManDocVisitor::operator() | ( | const DocSymbol & | s | ) |
Definition at line 74 of file mandocvisitor.cpp.
References FALSE, HtmlEntityMapper::instance(), m_firstCol, m_hide, m_t, HtmlEntityMapper::man(), and DocSymbol::symbol().
void ManDocVisitor::operator() | ( | const DocText & | t | ) |
Definition at line 957 of file mandocvisitor.cpp.
References visitChildren().
void ManDocVisitor::operator() | ( | const DocTitle & | t | ) |
Definition at line 575 of file mandocvisitor.cpp.
References m_hide, and visitChildren().
void ManDocVisitor::operator() | ( | const DocURL & | u | ) |
Definition at line 105 of file mandocvisitor.cpp.
References FALSE, m_firstCol, m_hide, m_t, and DocURL::url().
void ManDocVisitor::operator() | ( | const DocVerbatim & | s | ) |
Definition at line 194 of file mandocvisitor.cpp.
References DocVerbatim::Code, Config_getBool, DocVerbatim::context(), DocVerbatim::DocbookOnly, DocVerbatim::Dot, DocVerbatim::exampleFile(), filter(), DocVisitor::getCodeParser(), getLanguageFromCodeLang(), DocVerbatim::HtmlOnly, QCString::isEmpty(), DocVerbatim::isExample(), DocVerbatim::JavaDocCode, DocVerbatim::JavaDocLiteral, DocVerbatim::language(), DocVerbatim::LatexOnly, m_ci, m_firstCol, m_hide, m_langExt, m_t, DocVerbatim::ManOnly, DocVerbatim::Msc, CodeParserInterface::parseCode(), DocVerbatim::PlantUML, DocVerbatim::RtfOnly, DocVerbatim::text(), TRUE, DocVerbatim::type(), DocVerbatim::Verbatim, and DocVerbatim::XmlOnly.
void ManDocVisitor::operator() | ( | const DocVhdlFlow & | ) |
Definition at line 978 of file mandocvisitor.cpp.
void ManDocVisitor::operator() | ( | const DocWhiteSpace & | w | ) |
Definition at line 59 of file mandocvisitor.cpp.
References QCString::at(), DocWhiteSpace::chars(), FALSE, QCString::length(), m_firstCol, m_hide, m_insidePre, and m_t.
void ManDocVisitor::operator() | ( | const DocWord & | w | ) |
Definition at line 43 of file mandocvisitor.cpp.
References FALSE, filter(), m_firstCol, m_hide, and DocWord::word().
void ManDocVisitor::operator() | ( | const DocXRefItem & | x | ) |
Definition at line 928 of file mandocvisitor.cpp.
References filter(), QCString::isEmpty(), m_firstCol, m_hide, m_t, DocXRefItem::title(), TRUE, and visitChildren().
|
inlineprivate |
Definition at line 108 of file mandocvisitor.h.
Referenced by operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), and operator()().
|
private |
Definition at line 127 of file mandocvisitor.h.
Referenced by ManDocVisitor(), operator()(), operator()(), and operator()().
|
private |
Definition at line 130 of file mandocvisitor.h.
Referenced by ManDocVisitor(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), and operator()().
|
private |
Definition at line 129 of file mandocvisitor.h.
Referenced by ManDocVisitor(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), and operator()().
|
private |
Definition at line 131 of file mandocvisitor.h.
Referenced by ManDocVisitor(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), and operator()().
|
private |
Definition at line 128 of file mandocvisitor.h.
Referenced by ManDocVisitor(), operator()(), and operator()().
|
private |
Definition at line 132 of file mandocvisitor.h.
Referenced by ManDocVisitor(), operator()(), and operator()().
|
private |
Definition at line 141 of file mandocvisitor.h.
Referenced by operator()(), and operator()().
|
private |
Definition at line 126 of file mandocvisitor.h.
Referenced by filter(), ManDocVisitor(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), and operator()().
|
staticprivate |
Definition at line 139 of file mandocvisitor.h.
Referenced by operator()(), and operator()().