Doxygen
LatexGenerator类 参考

Generator for LaTeX output. 更多...

#include <latexgen.h>

+ 类 LatexGenerator 继承关系图:
+ LatexGenerator 的协作图:

Public 成员函数

 LatexGenerator ()
 
 LatexGenerator (const LatexGenerator &)
 
LatexGeneratoroperator= (const LatexGenerator &)
 
virtual ~LatexGenerator ()
 
virtual std::unique_ptr< OutputGeneratorclone () const
 
void cleanup ()
 
virtual OutputType type () const
 
void codify (const QCString &text)
 
void writeCodeLink (CodeSymbolType type, const QCString &ref, const QCString &file, const QCString &anchor, const QCString &name, const QCString &tooltip)
 
void writeLineNumber (const QCString &ref, const QCString &file, const QCString &anchor, int lineNumber, bool writeLineAnchor)
 
void writeTooltip (const QCString &id, const DocLinkInfo &docInfo, const QCString &decl, const QCString &desc, const SourceLinkInfo &defInfo, const SourceLinkInfo &declInfo)
 
void startCodeLine (bool hasLineNumbers)
 
void endCodeLine ()
 
void startFontClass (const QCString &s)
 
void endFontClass ()
 
void writeCodeAnchor (const QCString &anchor)
 
void startCodeFragment (const QCString &style)
 
void endCodeFragment (const QCString &style)
 
void writeDoc (DocNode *, const Definition *ctx, const MemberDef *, int id)
 
void startFile (const QCString &name, const QCString &manName, const QCString &title, int id)
 
void writeSearchInfo ()
 
void writeFooter (const QCString &)
 
void endFile ()
 
void clearBuffer ()
 
void startIndexSection (IndexSections)
 
void endIndexSection (IndexSections)
 
void writePageLink (const QCString &, bool)
 
void startProjectNumber ()
 
void endProjectNumber ()
 
void writeStyleInfo (int part)
 
void startTitleHead (const QCString &)
 
void startTitle ()
 
void endTitleHead (const QCString &, const QCString &name)
 
void endTitle ()
 
void newParagraph ()
 
void startParagraph (const QCString &classDef)
 
void endParagraph ()
 
void writeString (const QCString &text)
 
void startIndexListItem ()
 
void endIndexListItem ()
 
void startIndexList ()
 
void endIndexList ()
 
void startIndexKey ()
 
void endIndexKey ()
 
void startIndexValue (bool)
 
void endIndexValue (const QCString &, bool)
 
void startItemList ()
 
void endItemList ()
 
void startIndexItem (const QCString &ref, const QCString &file)
 
void endIndexItem (const QCString &ref, const QCString &file)
 
void docify (const QCString &text)
 
void writeObjectLink (const QCString &ref, const QCString &file, const QCString &anchor, const QCString &name)
 
void startTextLink (const QCString &, const QCString &)
 
void endTextLink ()
 
void startHtmlLink (const QCString &url)
 
void endHtmlLink ()
 
void startTypewriter ()
 
void endTypewriter ()
 
void startGroupHeader (int)
 
void endGroupHeader (int)
 
void startItemListItem ()
 
void endItemListItem ()
 
void startMemberSections ()
 
void endMemberSections ()
 
void startHeaderSection ()
 
void endHeaderSection ()
 
void startMemberHeader (const QCString &, int)
 
void endMemberHeader ()
 
void startMemberSubtitle ()
 
void endMemberSubtitle ()
 
void startMemberDocList ()
 
void endMemberDocList ()
 
void startMemberList ()
 
void endMemberList ()
 
void startInlineHeader ()
 
void endInlineHeader ()
 
void startAnonTypeScope (int)
 
void endAnonTypeScope (int)
 
void startMemberItem (const QCString &, int, const QCString &)
 
void endMemberItem ()
 
void startMemberTemplateParams ()
 
void endMemberTemplateParams (const QCString &, const QCString &)
 
void startCompoundTemplateParams ()
 
void endCompoundTemplateParams ()
 
void startMemberGroupHeader (bool)
 
void endMemberGroupHeader ()
 
void startMemberGroupDocs ()
 
void endMemberGroupDocs ()
 
void startMemberGroup ()
 
void endMemberGroup (bool)
 
void insertMemberAlign (bool)
 
void insertMemberAlignLeft (int, bool)
 
void writeRuler ()
 
void writeAnchor (const QCString &fileName, const QCString &name)
 
void startEmphasis ()
 
void endEmphasis ()
 
void startBold ()
 
void endBold ()
 
void startDescription ()
 
void endDescription ()
 
void startDescItem ()
 
void endDescItem ()
 
void lineBreak (const QCString &style=QCString())
 
void startMemberDoc (const QCString &, const QCString &, const QCString &, const QCString &, int, int, bool)
 
void endMemberDoc (bool)
 
void startDoxyAnchor (const QCString &, const QCString &, const QCString &, const QCString &, const QCString &)
 
void endDoxyAnchor (const QCString &, const QCString &)
 
void writeChar (char c)
 
void writeLatexSpacing ()
 
void writeStartAnnoItem (const QCString &type, const QCString &file, const QCString &path, const QCString &name)
 
void writeEndAnnoItem (const QCString &name)
 
void startSubsection ()
 
void endSubsection ()
 
void startSubsubsection ()
 
void endSubsubsection ()
 
void startCenter ()
 
void endCenter ()
 
void startSmall ()
 
void endSmall ()
 
void startMemberDescription (const QCString &, const QCString &, bool)
 
void endMemberDescription ()
 
void startMemberDeclaration ()
 
void endMemberDeclaration (const QCString &, const QCString &)
 
void writeInheritedSectionTitle (const QCString &, const QCString &, const QCString &, const QCString &, const QCString &, const QCString &)
 
void startDescList (SectionTypes)
 
void endDescList ()
 
void startExamples ()
 
void endExamples ()
 
void startParamList (ParamListTypes, const QCString &title)
 
void endParamList ()
 
void startDescForItem ()
 
void endDescForItem ()
 
void startSection (const QCString &, const QCString &, SectionType)
 
void endSection (const QCString &, SectionType)
 
void addIndexItem (const QCString &, const QCString &)
 
void startIndent ()
 
void endIndent ()
 
void writeSynopsis ()
 
void startClassDiagram ()
 
void endClassDiagram (const ClassDiagram &, const QCString &, const QCString &)
 
void startPageRef ()
 
void endPageRef (const QCString &, const QCString &)
 
void startQuickIndices ()
 
void endQuickIndices ()
 
void writeSplitBar (const QCString &)
 
void writeNavigationPath (const QCString &)
 
void writeLogo ()
 
void writeQuickLinks (bool, HighlightedItem, const QCString &)
 
void writeSummaryLink (const QCString &, const QCString &, const QCString &, bool)
 
void startContents ()
 
void endContents ()
 
void writeNonBreakableSpace (int)
 
void startDescTable (const QCString &title)
 
void endDescTable ()
 
void startDescTableRow ()
 
void endDescTableRow ()
 
void startDescTableTitle ()
 
void endDescTableTitle ()
 
void startDescTableData ()
 
void endDescTableData ()
 
void lastIndexPage ()
 
void startDotGraph ()
 
void endDotGraph (DotClassGraph &)
 
void startInclDepGraph ()
 
void endInclDepGraph (DotInclDepGraph &)
 
void startCallGraph ()
 
void startGroupCollaboration ()
 
void endGroupCollaboration (DotGroupCollaboration &g)
 
void endCallGraph (DotCallGraph &)
 
void startDirDepGraph ()
 
void endDirDepGraph (DotDirDeps &g)
 
void writeGraphicalHierarchy (DotGfxHierarchyTable &)
 
void startTextBlock (bool)
 
void endTextBlock (bool)
 
void startMemberDocPrefixItem ()
 
void endMemberDocPrefixItem ()
 
void startMemberDocName (bool)
 
void endMemberDocName ()
 
void startParameterType (bool, const QCString &)
 
void endParameterType ()
 
void startParameterName (bool)
 
void endParameterName (bool, bool, bool)
 
void startParameterList (bool)
 
void endParameterList ()
 
void exceptionEntry (const QCString &, bool)
 
void startConstraintList (const QCString &)
 
void startConstraintParam ()
 
void endConstraintParam ()
 
void startConstraintType ()
 
void endConstraintType ()
 
void startConstraintDocs ()
 
void endConstraintDocs ()
 
void endConstraintList ()
 
void startMemberDocSimple (bool)
 
void endMemberDocSimple (bool)
 
void startInlineMemberType ()
 
void endInlineMemberType ()
 
void startInlineMemberName ()
 
void endInlineMemberName ()
 
void startInlineMemberDoc ()
 
void endInlineMemberDoc ()
 
void startLabels ()
 
void writeLabel (const QCString &l, bool isLast)
 
void endLabels ()
 
void setCurrentDoc (const Definition *, const QCString &, bool)
 
void addWord (const QCString &, bool)
 
- Public 成员函数 继承自 OutputGenerator
 OutputGenerator (const QCString &dir)
 
 OutputGenerator (const OutputGenerator &o)
 
OutputGeneratoroperator= (const OutputGenerator &o)
 
virtual ~OutputGenerator ()
 
void enable ()
 
void disable ()
 
void enableIf (OutputType o)
 
void disableIf (OutputType o)
 
void disableIfNot (OutputType o)
 
bool isEnabled (OutputType o)
 
OutputGeneratorget (OutputType o)
 
QCString dir () const
 
QCString fileName () const
 
void startPlainFile (const QCString &name)
 
void endPlainFile ()
 
bool isEnabled () const
 
void pushGeneratorState ()
 
void popGeneratorState ()
 
virtual void startPageDoc (const QCString &)
 
virtual void endPageDoc ()
 
- Public 成员函数 继承自 BaseOutputDocInterface
virtual ~BaseOutputDocInterface ()
 
virtual void parseText (const QCString &)
 
- Public 成员函数 继承自 CodeOutputInterface
virtual ~CodeOutputInterface ()
 
 CodeOutputInterface ()
 
 CodeOutputInterface (const CodeOutputInterface &)=delete
 
CodeOutputInterfaceoperator= (const CodeOutputInterface &)=delete
 
virtual int id () const
 Identifier for the output file 更多...
 

静态 Public 成员函数

static void init ()
 
static void writeStyleSheetFile (TextStream &t)
 
static void writeHeaderFile (TextStream &t)
 
static void writeFooterFile (TextStream &t)
 

Private 属性

bool m_insideTabbing = false
 
bool m_firstDescItem = true
 
bool m_disableLinks = false
 
QCString m_relPath
 
int m_indent = 0
 
bool templateMemberItem = false
 
LatexCodeGenerator m_codeGen
 

额外继承的成员函数

- Public 类型 继承自 OutputGenerator
enum  OutputType {
  Html, Latex, Man, RTF,
  XML, DEF, Perl, Docbook
}
 
- Public 类型 继承自 BaseOutputDocInterface
enum  ParamListTypes { Param, RetVal, Exception }
 
enum  SectionTypes { EnumValues, Examples }
 
- Protected 属性 继承自 OutputGenerator
TextStream m_t
 

详细描述

Generator for LaTeX output.

在文件 latexgen.h79 行定义.

构造及析构函数说明

◆ LatexGenerator() [1/2]

LatexGenerator::LatexGenerator ( )

在文件 latexgen.cpp263 行定义.

263  : OutputGenerator(Config_getString(LATEX_OUTPUT)), m_codeGen(m_t)
264 {
265  //printf("LatexGenerator::LatexGenerator() m_insideTabbing=FALSE\n");
266 }

◆ LatexGenerator() [2/2]

LatexGenerator::LatexGenerator ( const LatexGenerator og)

在文件 latexgen.cpp268 行定义.

269 {
270 }

◆ ~LatexGenerator()

LatexGenerator::~LatexGenerator ( )
virtual

在文件 latexgen.cpp283 行定义.

284 {
285 }

成员函数说明

◆ addIndexItem()

void LatexGenerator::addIndexItem ( const QCString s1,
const QCString s2 
)
virtual

实现了 BaseOutputDocInterface.

在文件 latexgen.cpp1481 行定义.

1482 {
1483  if (!s1.isEmpty())
1484  {
1485  m_t << "\\index{";
1486  m_t << latexEscapeLabelName(s1);
1487  m_t << "@{";
1488  m_t << latexEscapeIndexChars(s1);
1489  m_t << "}";
1490  if (!s2.isEmpty())
1491  {
1492  m_t << "!";
1493  m_t << latexEscapeLabelName(s2);
1494  m_t << "@{";
1495  m_t << latexEscapeIndexChars(s2);
1496  m_t << "}";
1497  }
1498  m_t << "}";
1499  }
1500 }

引用了 QCString::isEmpty(), latexEscapeIndexChars(), latexEscapeLabelName() , 以及 OutputGenerator::m_t.

◆ addWord()

void LatexGenerator::addWord ( const QCString ,
bool   
)
inlinevirtual

实现了 CodeOutputInterface.

在文件 latexgen.h333 行定义.

333 {}

◆ cleanup()

void LatexGenerator::cleanup ( )
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp499 行定义.

500 {
501  QCString dname = Config_getString(LATEX_OUTPUT);
502  Dir d(dname.str());
503  clearSubDirs(d);
504 }

引用了 clearSubDirs(), Config_getString , 以及 QCString::str().

◆ clearBuffer()

void LatexGenerator::clearBuffer ( )

◆ clone()

std::unique_ptr< OutputGenerator > LatexGenerator::clone ( ) const
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp278 行定义.

279 {
280  return std::make_unique<LatexGenerator>(*this);
281 }

◆ codify()

void LatexGenerator::codify ( const QCString s)
inlinevirtual

Writes an code fragment to the output. This function should keep spaces visible, should break lines at a newline and should convert tabs to the right number of spaces.

实现了 CodeOutputInterface.

在文件 latexgen.h97 行定义.

98  { m_codeGen.codify(text); }

引用了 LatexCodeGenerator::codify() , 以及 m_codeGen.

◆ docify()

void LatexGenerator::docify ( const QCString s)
virtual

Writes an ASCII string to the output. Converts characters that have A special meaning, like & in html.

实现了 BaseOutputDocInterface.

在文件 latexgen.cpp1546 行定义.

1547 {
1548  filterLatexString(m_t,str,
1549  m_insideTabbing, // insideTabbing
1550  false, // insidePre
1551  false, // insideItem
1552  m_codeGen.usedTableLevel()>0, // insideTable
1553  false // keepSpaces
1554  );
1555 }

引用了 filterLatexString(), m_codeGen, m_insideTabbing, OutputGenerator::m_t , 以及 LatexCodeGenerator::usedTableLevel().

被这些函数引用 startConstraintList(), startExamples(), startMemberDocSimple(), startParameterType(), startParamList(), writeChar(), writeObjectLink() , 以及 writeStartAnnoItem().

◆ endAnonTypeScope()

void LatexGenerator::endAnonTypeScope ( int  indent)
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1589 行定义.

1590 {
1591  if (indent==0)
1592  {
1593  m_t << "\n" << "\\end{tabbing}";
1595  }
1596  m_indent=indent;
1597 }

引用了 FALSE, m_indent, m_insideTabbing , 以及 OutputGenerator::m_t.

◆ endBold()

void LatexGenerator::endBold ( )
inlinevirtual

End a section of text displayed in bold face.

实现了 BaseOutputDocInterface.

在文件 latexgen.h215 行定义.

215 { m_t << "}"; }

引用了 OutputGenerator::m_t.

◆ endCallGraph()

void LatexGenerator::endCallGraph ( DotCallGraph g)
virtual

◆ endCenter()

void LatexGenerator::endCenter ( )
inlinevirtual

实现了 BaseOutputDocInterface.

在文件 latexgen.h235 行定义.

235 { m_t << "\\end{center}\n"; }

引用了 OutputGenerator::m_t.

◆ endClassDiagram()

void LatexGenerator::endClassDiagram ( const ClassDiagram d,
const QCString fileName,
const QCString  
)
virtual

◆ endCodeFragment()

void LatexGenerator::endCodeFragment ( const QCString style)
inlinevirtual

Ends a block of code

实现了 CodeOutputInterface.

在文件 latexgen.h122 行定义.

123  { m_codeGen.endCodeFragment(style); }

引用了 LatexCodeGenerator::endCodeFragment() , 以及 m_codeGen.

◆ endCodeLine()

void LatexGenerator::endCodeLine ( )
inlinevirtual

Ends a line of code started with startCodeLine()

实现了 CodeOutputInterface.

在文件 latexgen.h112 行定义.

113  { m_codeGen.endCodeLine(); }

引用了 LatexCodeGenerator::endCodeLine() , 以及 m_codeGen.

◆ endCompoundTemplateParams()

void LatexGenerator::endCompoundTemplateParams ( )
inlinevirtual

实现了 OutputGenerator.

在文件 latexgen.h198 行定义.

198 { endSubsubsection(); }

引用了 endSubsubsection().

◆ endConstraintDocs()

void LatexGenerator::endConstraintDocs ( )
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1985 行定义.

1986 {
1987 }

◆ endConstraintList()

void LatexGenerator::endConstraintList ( )
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1989 行定义.

1990 {
1991  m_t << "\\end{description}\n";
1992  m_t << "\\end{Desc}\n";
1993 }

引用了 OutputGenerator::m_t.

◆ endConstraintParam()

void LatexGenerator::endConstraintParam ( )
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1967 行定义.

1968 {
1969 }

◆ endConstraintType()

void LatexGenerator::endConstraintType ( )
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1976 行定义.

1977 {
1978  m_t << "}]";
1979 }

引用了 OutputGenerator::m_t.

◆ endContents()

void LatexGenerator::endContents ( )
inlinevirtual

实现了 OutputGenerator.

在文件 latexgen.h270 行定义.

270 {}

◆ endDescForItem()

void LatexGenerator::endDescForItem ( )
inlinevirtual

实现了 BaseOutputDocInterface.

在文件 latexgen.h251 行定义.

251 {}

◆ endDescItem()

void LatexGenerator::endDescItem ( )
virtual

Ends an item of a description list and starts the description itself: e.g. </dt> in HTML.

实现了 BaseOutputDocInterface.

在文件 latexgen.cpp1859 行定义.

1860 {
1861  if (m_firstDescItem)
1862  {
1863  m_t << "]\n";
1865  }
1866  else
1867  {
1868  lineBreak();
1869  }
1870 }

引用了 FALSE, lineBreak(), m_firstDescItem , 以及 OutputGenerator::m_t.

◆ endDescList()

void LatexGenerator::endDescList ( )
inline

在文件 latexgen.h245 行定义.

245 { m_t << "\\end{Desc}\n"; }

引用了 OutputGenerator::m_t.

◆ endDescription()

void LatexGenerator::endDescription ( )
virtual

Ends a description list: e.g. </dl> in HTML

实现了 BaseOutputDocInterface.

在文件 latexgen.cpp1847 行定义.

1848 {
1849  m_t << "\\end{description}\n";
1851 }

引用了 m_firstDescItem, OutputGenerator::m_t , 以及 TRUE.

◆ endDescTable()

void LatexGenerator::endDescTable ( )
virtual

实现了 BaseOutputDocInterface.

在文件 latexgen.cpp1695 行定义.

1696 {
1698  m_t << "\\end{DoxyEnumFields}\n";
1699 }

引用了 LatexCodeGenerator::decUsedTableLevel(), m_codeGen , 以及 OutputGenerator::m_t.

◆ endDescTableData()

void LatexGenerator::endDescTableData ( )
virtual

实现了 BaseOutputDocInterface.

在文件 latexgen.cpp1726 行定义.

1727 {
1728  m_t << "\\\\\n\\hline\n\n";
1729 }

引用了 OutputGenerator::m_t.

◆ endDescTableRow()

void LatexGenerator::endDescTableRow ( )
virtual

实现了 BaseOutputDocInterface.

在文件 latexgen.cpp1708 行定义.

1709 {
1710 }

◆ endDescTableTitle()

void LatexGenerator::endDescTableTitle ( )
virtual

实现了 BaseOutputDocInterface.

在文件 latexgen.cpp1717 行定义.

1718 {
1719 }

◆ endDirDepGraph()

void LatexGenerator::endDirDepGraph ( DotDirDeps g)
virtual

◆ endDotGraph()

void LatexGenerator::endDotGraph ( DotClassGraph g)
virtual

◆ endDoxyAnchor()

void LatexGenerator::endDoxyAnchor ( const QCString fName,
const QCString anchor 
)
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1452 行定义.

1453 {
1454 }

◆ endEmphasis()

void LatexGenerator::endEmphasis ( )
inlinevirtual

Ends a section of text displayed in italic.

实现了 BaseOutputDocInterface.

在文件 latexgen.h213 行定义.

213 { m_t << "}"; }

引用了 OutputGenerator::m_t.

◆ endExamples()

void LatexGenerator::endExamples ( )
virtual

实现了 BaseOutputDocInterface.

在文件 latexgen.cpp1879 行定义.

1880 {
1881  m_t << "\\end{Desc}\n";
1882 }

引用了 OutputGenerator::m_t.

◆ endFile()

void LatexGenerator::endFile ( )
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp542 行定义.

543 {
544  endPlainFile();
546 }

引用了 OutputGenerator::endPlainFile(), m_codeGen , 以及 LatexCodeGenerator::setSourceFileName().

◆ endFontClass()

void LatexGenerator::endFontClass ( )
inlinevirtual

Ends a block started with startFontClass()

实现了 CodeOutputInterface.

在文件 latexgen.h116 行定义.

117  { m_codeGen.endFontClass(); }

引用了 LatexCodeGenerator::endFontClass() , 以及 m_codeGen.

◆ endGroupCollaboration()

void LatexGenerator::endGroupCollaboration ( DotGroupCollaboration g)
virtual

◆ endGroupHeader()

void LatexGenerator::endGroupHeader ( int  )
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1335 行定义.

1336 {
1338  m_t << "}\n";
1339 }

引用了 FALSE, m_disableLinks , 以及 OutputGenerator::m_t.

◆ endHeaderSection()

void LatexGenerator::endHeaderSection ( )
inlinevirtual

实现了 OutputGenerator.

在文件 latexgen.h180 行定义.

180 {}

◆ endHtmlLink()

void LatexGenerator::endHtmlLink ( )
virtual

Ends a link started by startHtmlLink().

实现了 BaseOutputDocInterface.

在文件 latexgen.cpp1143 行定义.

1144 {
1145  m_t << "}}";
1146 }

引用了 OutputGenerator::m_t.

◆ endInclDepGraph()

void LatexGenerator::endInclDepGraph ( DotInclDepGraph g)
virtual

◆ endIndent()

void LatexGenerator::endIndent ( )
inlinevirtual

实现了 OutputGenerator.

在文件 latexgen.h256 行定义.

256 {}

◆ endIndexItem()

void LatexGenerator::endIndexItem ( const QCString ref,
const QCString file 
)
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1116 行定义.

1117 {
1118  if (ref.isEmpty() && !fn.isEmpty())
1119  {
1120  m_t << "}{\\pageref{" << stripPath(fn) << "}}{}\n";
1121  }
1122 }

引用了 QCString::isEmpty(), OutputGenerator::m_t , 以及 stripPath().

◆ endIndexKey()

void LatexGenerator::endIndexKey ( )
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1180 行定义.

1181 {
1182 }

◆ endIndexList()

void LatexGenerator::endIndexList ( )
inlinevirtual

实现了 OutputGenerator.

在文件 latexgen.h153 行定义.

153 { m_t << "\\end{DoxyCompactList}\n"; }

引用了 OutputGenerator::m_t.

◆ endIndexListItem()

void LatexGenerator::endIndexListItem ( )
inlinevirtual

实现了 OutputGenerator.

在文件 latexgen.h151 行定义.

151 {}

◆ endIndexSection()

void LatexGenerator::endIndexSection ( IndexSections  is)
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp861 行定义.

862 {
863  switch (is)
864  {
865  case isTitlePageStart:
866  break;
867  case isTitlePageAuthor:
868  break;
869  case isMainPage:
870  {
871  //QCString indexName=Config_getBool(GENERATE_TREEVIEW)?"main":"index";
872  QCString indexName="index";
873  m_t << "}\n\\label{index}";
874  if (Config_getBool(PDF_HYPERLINKS)) m_t << "\\hypertarget{index}{}";
875  m_t << "\\input{" << indexName << "}\n";
876  }
877  break;
878  case isModuleIndex:
879  m_t << "}\n\\input{modules}\n";
880  break;
881  case isDirIndex:
882  m_t << "}\n\\input{dirs}\n";
883  break;
884  case isNamespaceIndex:
885  m_t << "}\n\\input{namespaces}\n";
886  break;
887  case isConceptIndex:
888  m_t << "}\n\\input{concepts}\n";
889  break;
891  m_t << "}\n\\input{hierarchy}\n";
892  break;
893  case isCompoundIndex:
894  m_t << "}\n\\input{annotated}\n";
895  break;
896  case isFileIndex:
897  m_t << "}\n\\input{files}\n";
898  break;
899  case isPageIndex:
900  m_t << "}\n\\input{pages}\n";
901  break;
903  {
904  bool found=FALSE;
905  for (const auto &gd : *Doxygen::groupLinkedMap)
906  {
907  if (!gd->isReference())
908  {
909  if (!found)
910  {
911  m_t << "}\n";
912  found=TRUE;
913  }
914  m_t << "\\input{" << gd->getOutputFileBase() << "}\n";
915  }
916  }
917  }
918  break;
919  case isDirDocumentation:
920  {
921  bool found=FALSE;
922  for (const auto &dd : *Doxygen::dirLinkedMap)
923  {
924  if (dd->isLinkableInProject())
925  {
926  if (!found)
927  {
928  m_t << "}\n";
929  found = TRUE;
930  }
931  m_t << "\\input{" << dd->getOutputFileBase() << "}\n";
932  }
933  }
934  }
935  break;
937  {
938  bool found=FALSE;
939  for (const auto &nd : *Doxygen::namespaceLinkedMap)
940  {
941  if (nd->isLinkableInProject() && !nd->isAlias())
942  {
943  if (!found)
944  {
945  m_t << "}\n";
946  found=true;
947  }
948  m_t << "\\input{" << nd->getOutputFileBase() << "}\n";
949  }
950  }
951  }
952  break;
954  {
955  bool found=FALSE;
956  for (const auto &cd : *Doxygen::conceptLinkedMap)
957  {
958  if (cd->isLinkableInProject() && !cd->isAlias())
959  {
960  if (!found)
961  {
962  m_t << "}\n";
963  found=true;
964  }
965  m_t << "\\input{" << cd->getOutputFileBase() << "}\n";
966  }
967  }
968  }
969  break;
971  {
972  bool found=FALSE;
973  for (const auto &cd : *Doxygen::classLinkedMap)
974  {
975  if (cd->isLinkableInProject() &&
976  cd->templateMaster()==0 &&
977  !cd->isEmbeddedInOuterScope() &&
978  !cd->isAlias()
979  )
980  {
981  if (!found)
982  {
983  m_t << "}\n"; // end doxysection or chapter title
984  found=TRUE;
985  }
986  m_t << "\\input{" << cd->getOutputFileBase() << "}\n";
987  }
988  }
989  }
990  break;
991  case isFileDocumentation:
992  {
993  bool isFirst=TRUE;
994  for (const auto &fn : *Doxygen::inputNameLinkedMap)
995  {
996  for (const auto &fd : *fn)
997  {
998  if (fd->isLinkableInProject())
999  {
1000  if (isFirst)
1001  {
1002  m_t << "}\n"; // end doxysection or chapter title
1003  }
1004  isFirst=FALSE;
1005  m_t << "\\input{" << fd->getOutputFileBase() << "}\n";
1006  }
1007  if (fd->generateSourceFile())
1008  {
1009  if (isFirst)
1010  {
1011  m_t << "}\n"; // end doxysection or chapter title
1012  }
1013  isFirst=FALSE;
1014  m_t << "\\input{" << fd->getSourceFileBase() << "}\n";
1015  }
1016  }
1017  }
1018  }
1019  break;
1021  {
1022  m_t << "}\n";
1023  for (const auto &pd : *Doxygen::exampleLinkedMap)
1024  {
1025  m_t << "\\input{" << pd->getOutputFileBase() << "}\n";
1026  }
1027  }
1028  break;
1029  case isPageDocumentation:
1030  {
1031  m_t << "}\n";
1032 #if 0
1033  bool first=TRUE;
1034  for (const auto *pd : Doxygen::pageLinkedMap)
1035  {
1036  if (!pd->getGroupDef() && !pd->isReference())
1037  {
1038  if (compactLatex) m_t << "\\doxysection"; else m_t << "\\chapter";
1039  m_t << "{" << pd->title();
1040  m_t << "}\n";
1041 
1042  if (compactLatex || first) m_t << "\\input" ; else m_t << "\\include";
1043  m_t << "{" << pd->getOutputFileBase() << "}\n";
1044  first=FALSE;
1045  }
1046  }
1047 #endif
1048  }
1049  break;
1050  case isPageDocumentation2:
1051  break;
1052  case isEndIndex:
1054  break;
1055  }
1056 }

引用了 Doxygen::classLinkedMap, Doxygen::conceptLinkedMap, Config_getBool, Config_getString, convertToLaTeX(), Doxygen::dirLinkedMap, Doxygen::exampleLinkedMap, FALSE, g_footer, Doxygen::groupLinkedMap, Doxygen::inputNameLinkedMap, isClassDocumentation, isClassHierarchyIndex, isCompoundIndex, isConceptDocumentation, isConceptIndex, isDirDocumentation, isDirIndex, isEndIndex, isExampleDocumentation, isFileDocumentation, isFileIndex, isMainPage, isModuleDocumentation, isModuleIndex, isNamespaceDocumentation, isNamespaceIndex, isPageDocumentation, isPageDocumentation2, isPageIndex, isTitlePageAuthor, isTitlePageStart, OutputGenerator::m_t, Doxygen::namespaceLinkedMap, Doxygen::pageLinkedMap, substituteLatexKeywords() , 以及 TRUE.

◆ endIndexValue()

void LatexGenerator::endIndexValue ( const QCString name,
bool   
)
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1190 行定义.

1191 {
1192  //if (hasBrief) m_t << ")";
1193  m_t << "}{\\pageref{" << stripPath(name) << "}}{}\n";
1194 }

引用了 OutputGenerator::m_t , 以及 stripPath().

◆ endInlineHeader()

void LatexGenerator::endInlineHeader ( )
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp2007 行定义.

2008 {
2009  m_t << "}\n";
2010 }

引用了 OutputGenerator::m_t.

◆ endInlineMemberDoc()

void LatexGenerator::endInlineMemberDoc ( )
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp2079 行定义.

2080 {
2081  m_t << "\\\\\n\\hline\n\n";
2082 }

引用了 OutputGenerator::m_t.

◆ endInlineMemberName()

void LatexGenerator::endInlineMemberName ( )
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp2069 行定义.

2070 {
2071  m_t << "&\n";
2073 }

引用了 FALSE, m_insideTabbing , 以及 OutputGenerator::m_t.

◆ endInlineMemberType()

void LatexGenerator::endInlineMemberType ( )
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp2058 行定义.

2059 {
2060  m_t << "&\n";
2062 }

引用了 FALSE, m_insideTabbing , 以及 OutputGenerator::m_t.

◆ endItemList()

void LatexGenerator::endItemList ( )
inlinevirtual

Ends a bullet list: e.g. </ul> in html

实现了 BaseOutputDocInterface.

在文件 latexgen.h159 行定义.

159 { m_t << "\\end{DoxyCompactItemize}\n"; }

引用了 OutputGenerator::m_t.

◆ endItemListItem()

void LatexGenerator::endItemListItem ( )
inlinevirtual

Writes a list item for a bullet or enumerated list: e.g. </li> in html

实现了 BaseOutputDocInterface.

在文件 latexgen.h175 行定义.

175 {}

◆ endLabels()

void LatexGenerator::endLabels ( )
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp2095 行定义.

2096 {
2097 }

◆ endMemberDeclaration()

void LatexGenerator::endMemberDeclaration ( const QCString ,
const QCString  
)
inlinevirtual

实现了 OutputGenerator.

在文件 latexgen.h241 行定义.

241 {}

◆ endMemberDescription()

void LatexGenerator::endMemberDescription ( )
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1648 行定义.

1649 {
1650  if (!m_insideTabbing)
1651  {
1652  //m_t << "\\item\\end{DoxyCompactList}";
1653  m_t << "\\end{DoxyCompactList}";
1654  }
1655  else
1656  {
1657  m_t << "}\\\\\n";
1658  }
1659 }

引用了 m_insideTabbing , 以及 OutputGenerator::m_t.

◆ endMemberDoc()

void LatexGenerator::endMemberDoc ( bool  )
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1425 行定义.

1426 {
1428  m_t << "}\n\n";
1429  //if (Config_getBool(COMPACT_LATEX)) m_t << "\\hfill";
1430 }

引用了 FALSE, m_disableLinks , 以及 OutputGenerator::m_t.

◆ endMemberDocList()

void LatexGenerator::endMemberDocList ( )
inlinevirtual

实现了 OutputGenerator.

在文件 latexgen.h186 行定义.

186 {}

◆ endMemberDocName()

void LatexGenerator::endMemberDocName ( )
inlinevirtual

实现了 OutputGenerator.

在文件 latexgen.h301 行定义.

301 {}

◆ endMemberDocPrefixItem()

void LatexGenerator::endMemberDocPrefixItem ( )
inlinevirtual

实现了 OutputGenerator.

在文件 latexgen.h299 行定义.

299 { m_t << "\\\\\n"; }

引用了 OutputGenerator::m_t.

◆ endMemberDocSimple()

void LatexGenerator::endMemberDocSimple ( bool  isEnum)
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp2040 行定义.

2041 {
2043  if (isEnum)
2044  {
2045  m_t << "\\end{DoxyEnumFields}\n";
2046  }
2047  else
2048  {
2049  m_t << "\\end{DoxyFields}\n";
2050  }
2051 }

引用了 LatexCodeGenerator::decUsedTableLevel(), m_codeGen , 以及 OutputGenerator::m_t.

◆ endMemberGroup()

void LatexGenerator::endMemberGroup ( bool  hasHeader)
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1790 行定义.

1791 {
1792  if (hasHeader)m_t << "\\end{Indent}";
1793  m_t << "\n";
1794 }

引用了 OutputGenerator::m_t.

◆ endMemberGroupDocs()

void LatexGenerator::endMemberGroupDocs ( )
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1781 行定义.

1782 {
1783  m_t << "}";
1784 }

引用了 OutputGenerator::m_t.

◆ endMemberGroupHeader()

void LatexGenerator::endMemberGroupHeader ( )
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1769 行定义.

1770 {
1771  // changed back to rev 756 due to bug 660501
1772  m_t << "}\\par\n";
1773  //m_t << "}\n";
1774 }

引用了 OutputGenerator::m_t.

◆ endMemberHeader()

void LatexGenerator::endMemberHeader ( )
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1354 行定义.

1355 {
1357  m_t << "}\n";
1358 }

引用了 FALSE, m_disableLinks , 以及 OutputGenerator::m_t.

◆ endMemberItem()

void LatexGenerator::endMemberItem ( )
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1625 行定义.

1626 {
1627  if (m_insideTabbing)
1628  {
1629  m_t << "\\\\";
1630  }
1632  m_t << "\n";
1633 }

引用了 FALSE, m_insideTabbing, OutputGenerator::m_t , 以及 templateMemberItem.

◆ endMemberList()

void LatexGenerator::endMemberList ( )
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1744 行定义.

1745 {
1746  //printf("LatexGenerator::endMemberList(%d)\n",m_insideTabbing);
1747  if (!m_insideTabbing)
1748  {
1749  m_t << "\\end{DoxyCompactItemize}\n";
1750  }
1751 }

引用了 m_insideTabbing , 以及 OutputGenerator::m_t.

◆ endMemberSections()

void LatexGenerator::endMemberSections ( )
inlinevirtual

实现了 OutputGenerator.

在文件 latexgen.h178 行定义.

178 {}

◆ endMemberSubtitle()

void LatexGenerator::endMemberSubtitle ( )
inlinevirtual

实现了 OutputGenerator.

在文件 latexgen.h184 行定义.

184 {}

◆ endMemberTemplateParams()

void LatexGenerator::endMemberTemplateParams ( const QCString ,
const QCString  
)
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1607 行定义.

1608 {
1609  if (templateMemberItem)
1610  {
1611  m_t << "}\\\\";
1612  }
1613 }

引用了 OutputGenerator::m_t , 以及 templateMemberItem.

◆ endPageRef()

void LatexGenerator::endPageRef ( const QCString clname,
const QCString anchor 
)
virtual

实现了 BaseOutputDocInterface.

在文件 latexgen.cpp1257 行定义.

1258 {
1259  m_t << "}{";
1260  if (!clname.isEmpty()) m_t << clname;
1261  if (!anchor.isEmpty()) m_t << "_" << anchor;
1262  m_t << "}";
1263 }

引用了 QCString::isEmpty() , 以及 OutputGenerator::m_t.

◆ endParagraph()

void LatexGenerator::endParagraph ( )
virtual

Ends a paragraph

实现了 BaseOutputDocInterface.

在文件 latexgen.cpp1097 行定义.

1098 {
1099  m_t << "\n" << "\n";
1100 }

引用了 OutputGenerator::m_t.

◆ endParameterList()

void LatexGenerator::endParameterList ( )
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1903 行定义.

1904 {
1905 }

◆ endParameterName()

void LatexGenerator::endParameterName ( bool  last,
bool  ,
bool  closeBracket 
)
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1923 行定义.

1924 {
1925  m_t << " }";
1926  if (last)
1927  {
1928  m_t << "\\end{DoxyParamCaption}";
1929  if (closeBracket) m_t << ")";
1930  }
1931 }

引用了 OutputGenerator::m_t.

◆ endParameterType()

void LatexGenerator::endParameterType ( )
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1913 行定义.

1914 {
1915  m_t << "}]";
1916 }

引用了 OutputGenerator::m_t.

◆ endParamList()

void LatexGenerator::endParamList ( )
virtual

实现了 BaseOutputDocInterface.

在文件 latexgen.cpp1891 行定义.

1892 {
1893  m_t << "\\end{Desc}\n";
1894 }

引用了 OutputGenerator::m_t.

◆ endProjectNumber()

void LatexGenerator::endProjectNumber ( )
inlinevirtual

实现了 OutputGenerator.

在文件 latexgen.h139 行定义.

139 {}

◆ endQuickIndices()

void LatexGenerator::endQuickIndices ( )
inlinevirtual

实现了 OutputGenerator.

在文件 latexgen.h263 行定义.

263 {}

◆ endSection()

void LatexGenerator::endSection ( const QCString lab,
SectionType   
)
virtual

实现了 BaseOutputDocInterface.

在文件 latexgen.cpp1540 行定义.

1541 {
1542  m_t << "}\\label{" << lab << "}\n";
1543 }

引用了 OutputGenerator::m_t.

◆ endSmall()

void LatexGenerator::endSmall ( )
inlinevirtual

实现了 BaseOutputDocInterface.

在文件 latexgen.h237 行定义.

237 { m_t << "\\normalsize "; }

引用了 OutputGenerator::m_t.

◆ endSubsection()

void LatexGenerator::endSubsection ( )
inlinevirtual

实现了 BaseOutputDocInterface.

在文件 latexgen.h231 行定义.

231 { m_t << "}\n"; }

引用了 OutputGenerator::m_t.

◆ endSubsubsection()

void LatexGenerator::endSubsubsection ( )
inlinevirtual

实现了 BaseOutputDocInterface.

在文件 latexgen.h233 行定义.

233 { m_t << "}\n"; }

引用了 OutputGenerator::m_t.

被这些函数引用 endCompoundTemplateParams().

◆ endTextBlock()

void LatexGenerator::endTextBlock ( bool  )
inlinevirtual

实现了 OutputGenerator.

在文件 latexgen.h296 行定义.

296 {}

◆ endTextLink()

void LatexGenerator::endTextLink ( )
virtual

实现了 BaseOutputDocInterface.

在文件 latexgen.cpp1220 行定义.

1221 {
1222  bool pdfHyperlinks = Config_getBool(PDF_HYPERLINKS);
1223  if (!m_disableLinks && pdfHyperlinks)
1224  {
1225  m_t << "}";
1226  }
1227  m_t << "}";
1228 }

引用了 Config_getBool, m_disableLinks , 以及 OutputGenerator::m_t.

◆ endTitle()

void LatexGenerator::endTitle ( )
inlinevirtual

实现了 BaseOutputDocInterface.

在文件 latexgen.h144 行定义.

144 { m_t << "}"; }

引用了 OutputGenerator::m_t.

◆ endTitleHead()

void LatexGenerator::endTitleHead ( const QCString fileName,
const QCString name 
)
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1284 行定义.

1285 {
1286  m_t << "}\n";
1287  if (!name.isEmpty())
1288  {
1289  m_t << "\\label{" << stripPath(fileName) << "}\\index{";
1290  m_t << latexEscapeLabelName(name);
1291  m_t << "@{";
1292  m_t << latexEscapeIndexChars(name);
1293  m_t << "}}\n";
1294  }
1295 }

引用了 OutputGenerator::fileName(), QCString::isEmpty(), latexEscapeIndexChars(), latexEscapeLabelName(), OutputGenerator::m_t , 以及 stripPath().

◆ endTypewriter()

void LatexGenerator::endTypewriter ( )
inlinevirtual

End a section of text displayed in typewriter style.

实现了 BaseOutputDocInterface.

在文件 latexgen.h171 行定义.

171 { m_t << "}"; }

引用了 OutputGenerator::m_t.

◆ exceptionEntry()

void LatexGenerator::exceptionEntry ( const QCString prefix,
bool  closeBracket 
)
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1933 行定义.

1934 {
1935  if (!prefix.isEmpty())
1936  {
1937  m_t << " " << prefix << "(";
1938  }
1939  else if (closeBracket)
1940  {
1941  m_t << ")";
1942  }
1943  m_t << " ";
1944 }

引用了 QCString::isEmpty() , 以及 OutputGenerator::m_t.

◆ init()

void LatexGenerator::init ( )
static

在文件 latexgen.cpp465 行定义.

466 {
467  QCString dname = Config_getString(LATEX_OUTPUT);
468  Dir d(dname.str());
469  if (!d.exists() && !d.mkdir(dname.str()))
470  {
471  term("Could not create output directory %s\n",qPrint(dname));
472  }
473 
474  if (!Config_getString(LATEX_HEADER).isEmpty())
475  {
476  g_header=fileToString(Config_getString(LATEX_HEADER));
477  //printf("g_header='%s'\n",qPrint(g_header));
478  }
479  else
480  {
481  g_header = ResourceMgr::instance().getAsString("header.tex");
482  }
483  if (!Config_getString(LATEX_FOOTER).isEmpty())
484  {
485  g_footer=fileToString(Config_getString(LATEX_FOOTER));
486  //printf("g_footer='%s'\n",qPrint(g_footer));
487  }
488  else
489  {
490  g_footer = ResourceMgr::instance().getAsString("footer.tex");
491  }
492 
494  writeMakeBat();
495 
496  createSubDirs(d);
497 }

引用了 Config_getString, createSubDirs(), Dir::exists(), fileToString(), g_footer, g_header, ResourceMgr::getAsString(), ResourceMgr::instance(), Dir::mkdir(), qPrint(), QCString::str(), term(), writeLatexMakefile() , 以及 writeMakeBat().

被这些函数引用 generateOutput().

◆ insertMemberAlign()

void LatexGenerator::insertMemberAlign ( bool  )
inlinevirtual

实现了 OutputGenerator.

在文件 latexgen.h207 行定义.

207 {}

◆ insertMemberAlignLeft()

void LatexGenerator::insertMemberAlignLeft ( int  ,
bool   
)
inlinevirtual

实现了 OutputGenerator.

在文件 latexgen.h208 行定义.

208 {}

◆ lastIndexPage()

void LatexGenerator::lastIndexPage ( )
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1731 行定义.

1732 {
1733 }

◆ lineBreak()

void LatexGenerator::lineBreak ( const QCString style = QCString())
virtual

实现了 BaseOutputDocInterface.

在文件 latexgen.cpp2012 行定义.

2013 {
2014  if (m_insideTabbing)
2015  {
2016  m_t << "\\\\\n";
2017  }
2018  else
2019  {
2020  m_t << "\\newline\n";
2021  }
2022 }

引用了 m_insideTabbing , 以及 OutputGenerator::m_t.

被这些函数引用 endDescItem().

◆ newParagraph()

void LatexGenerator::newParagraph ( )

在文件 latexgen.cpp1087 行定义.

1088 {
1089  m_t << "\n" << "\n";
1090 }

引用了 OutputGenerator::m_t.

被这些函数引用 startDotGraph().

◆ operator=()

LatexGenerator & LatexGenerator::operator= ( const LatexGenerator og)

在文件 latexgen.cpp272 行定义.

273 {
275  return *this;
276 }

引用了 OutputGenerator::operator=().

◆ setCurrentDoc()

void LatexGenerator::setCurrentDoc ( const Definition ,
const QCString ,
bool   
)
inlinevirtual

实现了 CodeOutputInterface.

在文件 latexgen.h332 行定义.

332 {}

◆ startAnonTypeScope()

void LatexGenerator::startAnonTypeScope ( int  indent)
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1578 行定义.

1579 {
1580  if (indent==0)
1581  {
1582  m_t << "\\begin{tabbing}\n";
1583  m_t << "xx\\=xx\\=xx\\=xx\\=xx\\=xx\\=xx\\=xx\\=xx\\=\\kill\n";
1585  }
1586  m_indent=indent;
1587 }

引用了 m_indent, m_insideTabbing, OutputGenerator::m_t , 以及 TRUE.

◆ startBold()

void LatexGenerator::startBold ( )
inlinevirtual

Changes the text font to bold face. The bold section ends with endBold()

实现了 BaseOutputDocInterface.

在文件 latexgen.h214 行定义.

214 { m_t << "{\\bfseries "; }

引用了 OutputGenerator::m_t.

◆ startCallGraph()

void LatexGenerator::startCallGraph ( )
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1824 行定义.

1825 {
1826 }

◆ startCenter()

void LatexGenerator::startCenter ( )
inlinevirtual

实现了 BaseOutputDocInterface.

在文件 latexgen.h234 行定义.

234 { m_t << "\\begin{center}\n"; }

引用了 OutputGenerator::m_t.

◆ startClassDiagram()

void LatexGenerator::startClassDiagram ( )
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1565 行定义.

1566 {
1567  //if (Config_getBool(COMPACT_LATEX)) m_t << "\\doxysubsubsection"; else m_t << "\\doxysubsection";
1568  //m_t << "{";
1569 }

◆ startCodeFragment()

void LatexGenerator::startCodeFragment ( const QCString style)
inlinevirtual

Starts a source code fragment. The fragment will be fed to the code parser (see code.h) for syntax highlighting and cross-referencing. The fragment ends by a call to endCodeFragment()

参数
styleThe kind of code fragment.

实现了 CodeOutputInterface.

在文件 latexgen.h120 行定义.

121  { m_codeGen.startCodeFragment(style); }

引用了 m_codeGen , 以及 LatexCodeGenerator::startCodeFragment().

◆ startCodeLine()

void LatexGenerator::startCodeLine ( bool  hasLineNumbers)
inlinevirtual

实现了 CodeOutputInterface.

在文件 latexgen.h110 行定义.

111  { m_codeGen.startCodeLine(hasLineNumbers); }

引用了 m_codeGen , 以及 LatexCodeGenerator::startCodeLine().

◆ startCompoundTemplateParams()

void LatexGenerator::startCompoundTemplateParams ( )
inlinevirtual

实现了 OutputGenerator.

在文件 latexgen.h197 行定义.

197 { startSubsubsection(); }

引用了 startSubsubsection().

◆ startConstraintDocs()

void LatexGenerator::startConstraintDocs ( )
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1981 行定义.

1982 {
1983 }

◆ startConstraintList()

void LatexGenerator::startConstraintList ( const QCString header)
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1954 行定义.

1955 {
1956  m_t << "\\begin{Desc}\n\\item[";
1957  docify(header);
1958  m_t << "]";
1959  m_t << "\\begin{description}\n";
1960 }

引用了 docify() , 以及 OutputGenerator::m_t.

◆ startConstraintParam()

void LatexGenerator::startConstraintParam ( )
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1962 行定义.

1963 {
1964  m_t << "\\item[{\\em ";
1965 }

引用了 OutputGenerator::m_t.

◆ startConstraintType()

void LatexGenerator::startConstraintType ( )
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1971 行定义.

1972 {
1973  m_t << "} : {\\em ";
1974 }

引用了 OutputGenerator::m_t.

◆ startContents()

void LatexGenerator::startContents ( )
inlinevirtual

实现了 OutputGenerator.

在文件 latexgen.h269 行定义.

269 {}

◆ startDescForItem()

void LatexGenerator::startDescForItem ( )
inlinevirtual

实现了 BaseOutputDocInterface.

在文件 latexgen.h250 行定义.

250 { m_t << "\\par\n"; }

引用了 OutputGenerator::m_t.

◆ startDescItem()

void LatexGenerator::startDescItem ( )
virtual

Starts an item of a description list: e.g. <dt> in HTML.

实现了 BaseOutputDocInterface.

在文件 latexgen.cpp1853 行定义.

1854 {
1856  m_t << "\\item[";
1857 }

引用了 m_firstDescItem, OutputGenerator::m_t , 以及 TRUE.

◆ startDescList()

void LatexGenerator::startDescList ( SectionTypes  )
inline

在文件 latexgen.h244 行定义.

244 { m_t << "\\begin{Desc}\n\\item["; }

引用了 OutputGenerator::m_t.

◆ startDescription()

void LatexGenerator::startDescription ( )
virtual

Starts a description list: e.g. <dl> in HTML Items are surrounded by startDescItem() and endDescItem()

实现了 BaseOutputDocInterface.

在文件 latexgen.cpp1842 行定义.

1843 {
1844  m_t << "\\begin{description}\n";
1845 }

引用了 OutputGenerator::m_t.

◆ startDescTable()

void LatexGenerator::startDescTable ( const QCString title)
virtual

实现了 BaseOutputDocInterface.

在文件 latexgen.cpp1689 行定义.

1690 {
1692  m_t << "\\begin{DoxyEnumFields}{" << title << "}\n";
1693 }

引用了 LatexCodeGenerator::incUsedTableLevel(), m_codeGen , 以及 OutputGenerator::m_t.

◆ startDescTableData()

void LatexGenerator::startDescTableData ( )
virtual

实现了 BaseOutputDocInterface.

在文件 latexgen.cpp1721 行定义.

1722 {
1723  m_t << "&";
1724 }

引用了 OutputGenerator::m_t.

◆ startDescTableRow()

void LatexGenerator::startDescTableRow ( )
virtual

实现了 BaseOutputDocInterface.

在文件 latexgen.cpp1701 行定义.

1702 {
1703  // this is needed to prevent the \hypertarget, \label, and \index commands from messing up
1704  // the row height (based on http://tex.stackexchange.com/a/186102)
1705  m_t << "\\raisebox{\\heightof{T}}[0pt][0pt]{";
1706 }

引用了 OutputGenerator::m_t.

◆ startDescTableTitle()

void LatexGenerator::startDescTableTitle ( )
virtual

实现了 BaseOutputDocInterface.

在文件 latexgen.cpp1712 行定义.

1713 {
1714  m_t << "}";
1715 }

引用了 OutputGenerator::m_t.

◆ startDirDepGraph()

void LatexGenerator::startDirDepGraph ( )
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1833 行定义.

1834 {
1835 }

◆ startDotGraph()

void LatexGenerator::startDotGraph ( )
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1796 行定义.

1797 {
1798  newParagraph();
1799 }

引用了 newParagraph().

◆ startDoxyAnchor()

void LatexGenerator::startDoxyAnchor ( const QCString fName,
const QCString ,
const QCString anchor,
const QCString ,
const QCString  
)
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1432 行定义.

1435 {
1436  bool pdfHyperlinks = Config_getBool(PDF_HYPERLINKS);
1437  bool usePDFLatex = Config_getBool(USE_PDFLATEX);
1438  m_t << "\\mbox{";
1439  if (usePDFLatex && pdfHyperlinks)
1440  {
1441  m_t << "\\Hypertarget{";
1442  if (!fName.isEmpty()) m_t << stripPath(fName);
1443  if (!anchor.isEmpty()) m_t << "_" << anchor;
1444  m_t << "}";
1445  }
1446  m_t << "\\label{";
1447  if (!fName.isEmpty()) m_t << stripPath(fName);
1448  if (!anchor.isEmpty()) m_t << "_" << anchor;
1449  m_t << "}} \n";
1450 }

引用了 Config_getBool, QCString::isEmpty(), OutputGenerator::m_t , 以及 stripPath().

◆ startEmphasis()

void LatexGenerator::startEmphasis ( )
inlinevirtual

Changes the text font to italic. The italic section ends with endEmphasis()

实现了 BaseOutputDocInterface.

在文件 latexgen.h212 行定义.

212 { m_t << "{\\em "; }

引用了 OutputGenerator::m_t.

◆ startExamples()

void LatexGenerator::startExamples ( )
virtual

实现了 BaseOutputDocInterface.

在文件 latexgen.cpp1872 行定义.

1873 {
1874  m_t << "\\begin{Desc}\n\\item[";
1876  m_t << "]";
1877 }

引用了 docify(), OutputGenerator::m_t, theTranslator , 以及 Translator::trExamples().

◆ startFile()

void LatexGenerator::startFile ( const QCString name,
const QCString manName,
const QCString title,
int  id 
)
virtual

◆ startFontClass()

void LatexGenerator::startFontClass ( const QCString clsName)
inlinevirtual

Starts a block with a certain meaning. Used for syntax highlighting, which elements of the same type are rendered using the same 'font class'.

参数
clsNameThe category name.

实现了 CodeOutputInterface.

在文件 latexgen.h114 行定义.

115  { m_codeGen.startFontClass(s); }

引用了 m_codeGen , 以及 LatexCodeGenerator::startFontClass().

◆ startGroupCollaboration()

void LatexGenerator::startGroupCollaboration ( )
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1815 行定义.

1816 {
1817 }

◆ startGroupHeader()

void LatexGenerator::startGroupHeader ( int  extraIndentLevel)
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1309 行定义.

1310 {
1311  if (Config_getBool(COMPACT_LATEX))
1312  {
1313  extraIndentLevel++;
1314  }
1315 
1316  if (extraIndentLevel==3)
1317  {
1318  m_t << "\\doxysubparagraph*{";
1319  }
1320  else if (extraIndentLevel==2)
1321  {
1322  m_t << "\\doxyparagraph{";
1323  }
1324  else if (extraIndentLevel==1)
1325  {
1326  m_t << "\\doxysubsubsection{";
1327  }
1328  else // extraIndentLevel==0
1329  {
1330  m_t << "\\doxysubsection{";
1331  }
1333 }

引用了 Config_getBool, m_disableLinks, OutputGenerator::m_t , 以及 TRUE.

◆ startHeaderSection()

void LatexGenerator::startHeaderSection ( )
inlinevirtual

实现了 OutputGenerator.

在文件 latexgen.h179 行定义.

179 {}

◆ startHtmlLink()

void LatexGenerator::startHtmlLink ( const QCString url)
virtual

Starts a (link to an) URL found in the documentation.

参数
urlThe URL to link to.

实现了 BaseOutputDocInterface.

在文件 latexgen.cpp1132 行定义.

1133 {
1134  if (Config_getBool(PDF_HYPERLINKS))
1135  {
1136  m_t << "\\href{";
1137  m_t << latexFilterURL(url);
1138  m_t << "}";
1139  }
1140  m_t << "{\\texttt{ ";
1141 }

引用了 Config_getBool, latexFilterURL() , 以及 OutputGenerator::m_t.

◆ startInclDepGraph()

void LatexGenerator::startInclDepGraph ( )
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1806 行定义.

1807 {
1808 }

◆ startIndent()

void LatexGenerator::startIndent ( )
inlinevirtual

实现了 OutputGenerator.

在文件 latexgen.h255 行定义.

255 {}

◆ startIndexItem()

void LatexGenerator::startIndexItem ( const QCString ref,
const QCString file 
)
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1107 行定义.

1108 {
1109  m_t << "\\item ";
1110  if (ref.isEmpty() && !fn.isEmpty())
1111  {
1112  m_t << "\\contentsline{section}{";
1113  }
1114 }

引用了 QCString::isEmpty() , 以及 OutputGenerator::m_t.

◆ startIndexKey()

void LatexGenerator::startIndexKey ( )
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1175 行定义.

1176 {
1177  m_t << "\\item\\contentsline{section}{";
1178 }

引用了 OutputGenerator::m_t.

◆ startIndexList()

void LatexGenerator::startIndexList ( )
inlinevirtual

实现了 OutputGenerator.

在文件 latexgen.h152 行定义.

152 { m_t << "\\begin{DoxyCompactList}\n"; }

引用了 OutputGenerator::m_t.

◆ startIndexListItem()

void LatexGenerator::startIndexListItem ( )
inlinevirtual

实现了 OutputGenerator.

在文件 latexgen.h150 行定义.

150 {}

◆ startIndexSection()

void LatexGenerator::startIndexSection ( IndexSections  is)
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp702 行定义.

703 {
704  bool compactLatex = Config_getBool(COMPACT_LATEX);
705  switch (is)
706  {
707  case isTitlePageStart:
709  break;
710  case isTitlePageAuthor:
711  break;
712  case isMainPage:
713  if (compactLatex) m_t << "\\doxysection"; else m_t << "\\chapter";
714  m_t << "{"; //Introduction}\n"
715  break;
716  //case isPackageIndex:
717  // if (compactLatex) m_t << "\\doxysection"; else m_t << "\\chapter";
718  // m_t << "{"; //Package Index}\n"
719  // break;
720  case isModuleIndex:
721  if (compactLatex) m_t << "\\doxysection"; else m_t << "\\chapter";
722  m_t << "{"; //Module Index}\n"
723  break;
724  case isDirIndex:
725  if (compactLatex) m_t << "\\doxysection"; else m_t << "\\chapter";
726  m_t << "{"; //Directory Index}\n"
727  break;
728  case isNamespaceIndex:
729  if (compactLatex) m_t << "\\doxysection"; else m_t << "\\chapter";
730  m_t << "{"; //Namespace Index}\n"
731  break;
732  case isConceptIndex:
733  if (compactLatex) m_t << "\\doxysection"; else m_t << "\\chapter";
734  m_t << "{"; //Concept Index}\n"
735  break;
737  if (compactLatex) m_t << "\\doxysection"; else m_t << "\\chapter";
738  m_t << "{"; //Hierarchical Index}\n"
739  break;
740  case isCompoundIndex:
741  if (compactLatex) m_t << "\\doxysection"; else m_t << "\\chapter";
742  m_t << "{"; //Annotated Compound Index}\n"
743  break;
744  case isFileIndex:
745  if (compactLatex) m_t << "\\doxysection"; else m_t << "\\chapter";
746  m_t << "{"; //Annotated File Index}\n"
747  break;
748  case isPageIndex:
749  if (compactLatex) m_t << "\\doxysection"; else m_t << "\\chapter";
750  m_t << "{"; //Annotated Page Index}\n"
751  break;
753  {
754  for (const auto &gd : *Doxygen::groupLinkedMap)
755  {
756  if (!gd->isReference())
757  {
758  if (compactLatex) m_t << "\\doxysection"; else m_t << "\\chapter";
759  m_t << "{"; //Module Documentation}\n";
760  break;
761  }
762  }
763  }
764  break;
765  case isDirDocumentation:
766  {
767  for (const auto &dd : *Doxygen::dirLinkedMap)
768  {
769  if (dd->isLinkableInProject())
770  {
771  if (compactLatex) m_t << "\\doxysection"; else m_t << "\\chapter";
772  m_t << "{"; //Module Documentation}\n";
773  break;
774  }
775  }
776  }
777  break;
779  {
780  for (const auto &nd : *Doxygen::namespaceLinkedMap)
781  {
782  if (nd->isLinkableInProject() && !nd->isAlias())
783  {
784  if (compactLatex) m_t << "\\doxysection"; else m_t << "\\chapter";
785  m_t << "{"; // Namespace Documentation}\n":
786  break;
787  }
788  }
789  }
790  break;
792  {
793  for (const auto &cd : *Doxygen::conceptLinkedMap)
794  {
795  if (cd->isLinkableInProject() && !cd->isAlias())
796  {
797  if (compactLatex) m_t << "\\doxysection"; else m_t << "\\chapter";
798  m_t << "{"; // Concept Documentation}\n":
799  break;
800  }
801  }
802  }
803  break;
805  {
806  for (const auto &cd : *Doxygen::classLinkedMap)
807  {
808  if (cd->isLinkableInProject() &&
809  cd->templateMaster()==0 &&
810  !cd->isEmbeddedInOuterScope() &&
811  !cd->isAlias()
812  )
813  {
814  if (compactLatex) m_t << "\\doxysection"; else m_t << "\\chapter";
815  m_t << "{"; //Compound Documentation}\n";
816  break;
817  }
818  }
819  }
820  break;
821  case isFileDocumentation:
822  {
823  bool isFirst=TRUE;
824  for (const auto &fn : *Doxygen::inputNameLinkedMap)
825  {
826  for (const auto &fd : *fn)
827  {
828  if (fd->isLinkableInProject() || fd->generateSourceFile())
829  {
830  if (isFirst)
831  {
832  if (compactLatex) m_t << "\\doxysection"; else m_t << "\\chapter";
833  m_t << "{"; //File Documentation}\n";
834  isFirst=FALSE;
835  break;
836  }
837  }
838  }
839  }
840  }
841  break;
843  {
844  if (compactLatex) m_t << "\\doxysection"; else m_t << "\\chapter";
845  m_t << "{"; //Example Documentation}\n";
846  }
847  break;
848  case isPageDocumentation:
849  {
850  if (compactLatex) m_t << "\\doxysection"; else m_t << "\\chapter";
851  m_t << "{"; //Page Documentation}\n";
852  }
853  break;
855  break;
856  case isEndIndex:
857  break;
858  }
859 }

引用了 Doxygen::classLinkedMap, Doxygen::conceptLinkedMap, Config_getBool, Config_getString, convertToLaTeX(), Doxygen::dirLinkedMap, FALSE, g_header, Doxygen::groupLinkedMap, Doxygen::inputNameLinkedMap, isClassDocumentation, isClassHierarchyIndex, isCompoundIndex, isConceptDocumentation, isConceptIndex, isDirDocumentation, isDirIndex, isEndIndex, isExampleDocumentation, isFileDocumentation, isFileIndex, isMainPage, isModuleDocumentation, isModuleIndex, isNamespaceDocumentation, isNamespaceIndex, isPageDocumentation, isPageDocumentation2, isPageIndex, isTitlePageAuthor, isTitlePageStart, OutputGenerator::m_t, Doxygen::namespaceLinkedMap, substituteLatexKeywords() , 以及 TRUE.

◆ startIndexValue()

void LatexGenerator::startIndexValue ( bool  hasBrief)
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1184 行定义.

1185 {
1186  m_t << " ";
1187  if (hasBrief) m_t << "\\\\*";
1188 }

引用了 OutputGenerator::m_t.

◆ startInlineHeader()

void LatexGenerator::startInlineHeader ( )
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1995 行定义.

1996 {
1997  if (Config_getBool(COMPACT_LATEX))
1998  {
1999  m_t << "\\doxyparagraph*{";
2000  }
2001  else
2002  {
2003  m_t << "\\doxysubsubsection*{";
2004  }
2005 }

引用了 Config_getBool , 以及 OutputGenerator::m_t.

◆ startInlineMemberDoc()

void LatexGenerator::startInlineMemberDoc ( )
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp2075 行定义.

2076 {
2077 }

◆ startInlineMemberName()

void LatexGenerator::startInlineMemberName ( )
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp2064 行定义.

2065 {
2066  m_insideTabbing = TRUE; // to prevent \+ from causing unwanted breaks
2067 }

引用了 m_insideTabbing , 以及 TRUE.

◆ startInlineMemberType()

void LatexGenerator::startInlineMemberType ( )
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp2053 行定义.

2054 {
2055  m_insideTabbing = TRUE; // to prevent \+ from causing unwanted breaks
2056 }

引用了 m_insideTabbing , 以及 TRUE.

◆ startItemList()

void LatexGenerator::startItemList ( )
inlinevirtual

Start of a bullet list: e.g. <ul> in html. startItemListItem() is Used for the bullet items.

实现了 BaseOutputDocInterface.

在文件 latexgen.h158 行定义.

158 { m_t << "\\begin{DoxyCompactItemize}\n"; }

引用了 OutputGenerator::m_t.

◆ startItemListItem()

void LatexGenerator::startItemListItem ( )
inlinevirtual

Writes a list item for a bullet or enumerated list: e.g. <li> in html

实现了 BaseOutputDocInterface.

在文件 latexgen.h174 行定义.

174 { m_t << "\\item \n"; }

引用了 OutputGenerator::m_t.

◆ startLabels()

void LatexGenerator::startLabels ( )
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp2084 行定义.

2085 {
2086  m_t << "\\hspace{0.3cm}";
2087 }

引用了 OutputGenerator::m_t.

◆ startMemberDeclaration()

void LatexGenerator::startMemberDeclaration ( )
inlinevirtual

实现了 OutputGenerator.

在文件 latexgen.h240 行定义.

240 {}

◆ startMemberDescription()

void LatexGenerator::startMemberDescription ( const QCString ,
const QCString ,
bool   
)
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1635 行定义.

1636 {
1637  if (!m_insideTabbing)
1638  {
1639  m_t << "\\begin{DoxyCompactList}\\small\\item\\em ";
1640  }
1641  else
1642  {
1643  for (int i=0;i<m_indent+2;i++) m_t << "\\>";
1644  m_t << "{\\em ";
1645  }
1646 }

引用了 m_indent, m_insideTabbing , 以及 OutputGenerator::m_t.

◆ startMemberDoc()

void LatexGenerator::startMemberDoc ( const QCString clname,
const QCString memname,
const QCString ,
const QCString title,
int  memCount,
int  memTotal,
bool  showInline 
)
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1360 行定义.

1367 {
1368  if (!memname.isEmpty() && memname[0]!='@')
1369  {
1370  m_t << "\\index{";
1371  if (!clname.isEmpty())
1372  {
1373  m_t << latexEscapeLabelName(clname);
1374  m_t << "@{";
1375  m_t << latexEscapeIndexChars(clname);
1376  m_t << "}!";
1377  }
1378  m_t << latexEscapeLabelName(memname);
1379  m_t << "@{";
1380  m_t << latexEscapeIndexChars(memname);
1381  m_t << "}}\n";
1382 
1383  m_t << "\\index{";
1384  m_t << latexEscapeLabelName(memname);
1385  m_t << "@{";
1386  m_t << latexEscapeIndexChars(memname);
1387  m_t << "}";
1388  if (!clname.isEmpty())
1389  {
1390  m_t << "!";
1391  m_t << latexEscapeLabelName(clname);
1392  m_t << "@{";
1393  m_t << latexEscapeIndexChars(clname);
1394  m_t << "}";
1395  }
1396  m_t << "}\n";
1397  }
1398  static const char *levelLab[] = { "doxysubsubsection","doxyparagraph","doxysubparagraph", "doxysubparagraph" };
1399  bool compactLatex = Config_getBool(COMPACT_LATEX);
1400  bool pdfHyperlinks = Config_getBool(PDF_HYPERLINKS);
1401  int level=0;
1402  if (showInline) level+=2;
1403  if (compactLatex) level++;
1404  m_t << "\\" << levelLab[level];
1405 
1406  m_t << "{";
1407  if (pdfHyperlinks)
1408  {
1409  m_t << "\\texorpdfstring{";
1410  }
1411  m_t << latexEscapeIndexChars(title);
1412  if (pdfHyperlinks)
1413  {
1414  m_t << "}{" << latexEscapePDFString(title) << "}";
1415  }
1416  if (memTotal>1)
1417  {
1418  m_t << "\\hspace{0.1cm}{\\footnotesize\\ttfamily [" << memCount << "/" << memTotal << "]}";
1419  }
1420  m_t << "}";
1421  m_t << "\n{\\footnotesize\\ttfamily ";
1422  //m_disableLinks=TRUE;
1423 }

引用了 Config_getBool, QCString::isEmpty(), latexEscapeIndexChars(), latexEscapeLabelName(), latexEscapePDFString() , 以及 OutputGenerator::m_t.

◆ startMemberDocList()

void LatexGenerator::startMemberDocList ( )
inlinevirtual

实现了 OutputGenerator.

在文件 latexgen.h185 行定义.

185 {}

◆ startMemberDocName()

void LatexGenerator::startMemberDocName ( bool  )
inlinevirtual

实现了 OutputGenerator.

在文件 latexgen.h300 行定义.

300 {}

◆ startMemberDocPrefixItem()

void LatexGenerator::startMemberDocPrefixItem ( )
inlinevirtual

实现了 OutputGenerator.

在文件 latexgen.h298 行定义.

298 {}

◆ startMemberDocSimple()

void LatexGenerator::startMemberDocSimple ( bool  isEnum)
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp2024 行定义.

2025 {
2027  if (isEnum)
2028  {
2029  m_t << "\\begin{DoxyEnumFields}{";
2031  }
2032  else
2033  {
2034  m_t << "\\begin{DoxyFields}{";
2036  }
2037  m_t << "}\n";
2038 }

引用了 docify(), LatexCodeGenerator::incUsedTableLevel(), m_codeGen, OutputGenerator::m_t, theTranslator, Translator::trCompoundMembers() , 以及 Translator::trEnumerationValues().

◆ startMemberGroup()

void LatexGenerator::startMemberGroup ( )
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1786 行定义.

1787 {
1788 }

◆ startMemberGroupDocs()

void LatexGenerator::startMemberGroupDocs ( )
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1776 行定义.

1777 {
1778  m_t << "{\\em ";
1779 }

引用了 OutputGenerator::m_t.

◆ startMemberGroupHeader()

void LatexGenerator::startMemberGroupHeader ( bool  hasHeader)
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1754 行定义.

1755 {
1756  if (hasHeader) m_t << "\\begin{Indent}";
1757  m_t << "\\textbf{ ";
1758  // changed back to rev 756 due to bug 660501
1759  //if (Config_getBool(COMPACT_LATEX))
1760  //{
1761  // m_t << "\\doxysubparagraph*{";
1762  //}
1763  //else
1764  //{
1765  // m_t << "\\doxyparagraph*{";
1766  //}
1767 }

引用了 OutputGenerator::m_t.

◆ startMemberHeader()

void LatexGenerator::startMemberHeader ( const QCString ,
int   
)
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1341 行定义.

1342 {
1343  if (Config_getBool(COMPACT_LATEX))
1344  {
1345  m_t << "\\doxysubsubsection*{";
1346  }
1347  else
1348  {
1349  m_t << "\\doxysubsection*{";
1350  }
1352 }

引用了 Config_getBool, m_disableLinks, OutputGenerator::m_t , 以及 TRUE.

◆ startMemberItem()

void LatexGenerator::startMemberItem ( const QCString ,
int  annoType,
const QCString  
)
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1615 行定义.

1616 {
1617  //printf("LatexGenerator::startMemberItem(%d)\n",annType);
1618  if (!m_insideTabbing)
1619  {
1620  m_t << "\\item \n";
1621  templateMemberItem = (annoType == 3);
1622  }
1623 }

引用了 m_insideTabbing, OutputGenerator::m_t , 以及 templateMemberItem.

◆ startMemberList()

void LatexGenerator::startMemberList ( )
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1736 行定义.

1737 {
1738  if (!m_insideTabbing)
1739  {
1740  m_t << "\\begin{DoxyCompactItemize}\n";
1741  }
1742 }

引用了 m_insideTabbing , 以及 OutputGenerator::m_t.

◆ startMemberSections()

void LatexGenerator::startMemberSections ( )
inlinevirtual

实现了 OutputGenerator.

在文件 latexgen.h177 行定义.

177 {}

◆ startMemberSubtitle()

void LatexGenerator::startMemberSubtitle ( )
inlinevirtual

实现了 OutputGenerator.

在文件 latexgen.h183 行定义.

183 {}

◆ startMemberTemplateParams()

void LatexGenerator::startMemberTemplateParams ( )
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1599 行定义.

1600 {
1601  if (templateMemberItem)
1602  {
1603  m_t << "{\\footnotesize ";
1604  }
1605 }

引用了 OutputGenerator::m_t , 以及 templateMemberItem.

◆ startPageRef()

void LatexGenerator::startPageRef ( )
virtual

实现了 BaseOutputDocInterface.

在文件 latexgen.cpp1252 行定义.

1253 {
1254  m_t << " \\doxyref{}{";
1255 }

引用了 OutputGenerator::m_t.

◆ startParagraph()

void LatexGenerator::startParagraph ( const QCString classDef)
virtual

Starts a new paragraph

Starts a new paragraph

实现了 BaseOutputDocInterface.

在文件 latexgen.cpp1092 行定义.

1093 {
1094  m_t << "\n" << "\n";
1095 }

引用了 OutputGenerator::m_t.

◆ startParameterList()

void LatexGenerator::startParameterList ( bool  openBracket)
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1896 行定义.

1897 {
1898  /* start of ParameterType ParameterName list */
1899  if (openBracket) m_t << "(";
1900  m_t << "\\begin{DoxyParamCaption}";
1901 }

引用了 OutputGenerator::m_t.

◆ startParameterName()

void LatexGenerator::startParameterName ( bool  )
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1918 行定义.

1919 {
1920  m_t << "{";
1921 }

引用了 OutputGenerator::m_t.

◆ startParameterType()

void LatexGenerator::startParameterType ( bool  first,
const QCString key 
)
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1907 行定义.

1908 {
1909  m_t << "\\item[{";
1910  if (!first && !key.isEmpty()) docify(key);
1911 }

引用了 docify(), QCString::isEmpty() , 以及 OutputGenerator::m_t.

◆ startParamList()

void LatexGenerator::startParamList ( ParamListTypes  ,
const QCString title 
)
virtual

实现了 BaseOutputDocInterface.

在文件 latexgen.cpp1884 行定义.

1885 {
1886  m_t << "\\begin{Desc}\n\\item[";
1887  docify(title);
1888  m_t << "]";
1889 }

引用了 docify() , 以及 OutputGenerator::m_t.

◆ startProjectNumber()

void LatexGenerator::startProjectNumber ( )
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp553 行定义.

554 {
555  m_t << "\\\\[1ex]\\large ";
556 }

引用了 OutputGenerator::m_t.

◆ startQuickIndices()

void LatexGenerator::startQuickIndices ( )
inlinevirtual

实现了 OutputGenerator.

在文件 latexgen.h262 行定义.

262 {}

◆ startSection()

void LatexGenerator::startSection ( const QCString lab,
const QCString ,
SectionType  type 
)
virtual

实现了 BaseOutputDocInterface.

在文件 latexgen.cpp1503 行定义.

1504 {
1505  bool pdfHyperlinks = Config_getBool(PDF_HYPERLINKS);
1506  bool usePDFLatex = Config_getBool(USE_PDFLATEX);
1507  if (usePDFLatex && pdfHyperlinks)
1508  {
1509  m_t << "\\hypertarget{" << stripPath(lab) << "}{}";
1510  }
1511  m_t << "\\";
1512  if (Config_getBool(COMPACT_LATEX))
1513  {
1514  switch(type)
1515  {
1516  case SectionType::Page: m_t << "doxysubsection"; break;
1517  case SectionType::Section: m_t << "doxysubsubsection"; break;
1518  case SectionType::Subsection: m_t << "doxyparagraph"; break;
1519  case SectionType::Subsubsection: m_t << "doxysubparagraph"; break;
1520  case SectionType::Paragraph: m_t << "doxysubparagraph"; break;
1521  default: ASSERT(0); break;
1522  }
1523  m_t << "{";
1524  }
1525  else
1526  {
1527  switch(type)
1528  {
1529  case SectionType::Page: m_t << "doxysection"; break;
1530  case SectionType::Section: m_t << "doxysubsection"; break;
1531  case SectionType::Subsection: m_t << "doxysubsubsection"; break;
1532  case SectionType::Subsubsection: m_t << "doxyparagraph"; break;
1533  case SectionType::Paragraph: m_t << "doxysubparagraph"; break;
1534  default: ASSERT(0); break;
1535  }
1536  m_t << "{";
1537  }
1538 }

引用了 ASSERT, Config_getBool, OutputGenerator::m_t, Page, Paragraph, Section, stripPath(), Subsection, Subsubsection , 以及 type().

◆ startSmall()

void LatexGenerator::startSmall ( )
inlinevirtual

实现了 BaseOutputDocInterface.

在文件 latexgen.h236 行定义.

236 { m_t << "\\footnotesize "; }

引用了 OutputGenerator::m_t.

◆ startSubsection()

void LatexGenerator::startSubsection ( )
inlinevirtual

实现了 BaseOutputDocInterface.

在文件 latexgen.h230 行定义.

230 { m_t << "\\subsection*{"; }

引用了 OutputGenerator::m_t.

◆ startSubsubsection()

void LatexGenerator::startSubsubsection ( )
inlinevirtual

实现了 BaseOutputDocInterface.

在文件 latexgen.h232 行定义.

232 { m_t << "\\subsubsection*{"; }

引用了 OutputGenerator::m_t.

被这些函数引用 startCompoundTemplateParams().

◆ startTextBlock()

void LatexGenerator::startTextBlock ( bool  )
inlinevirtual

实现了 OutputGenerator.

在文件 latexgen.h295 行定义.

295 {}

◆ startTextLink()

void LatexGenerator::startTextLink ( const QCString f,
const QCString anchor 
)
virtual

实现了 BaseOutputDocInterface.

在文件 latexgen.cpp1204 行定义.

1205 {
1206  bool pdfHyperlinks = Config_getBool(PDF_HYPERLINKS);
1207  if (!m_disableLinks && pdfHyperlinks)
1208  {
1209  m_t << "\\mbox{\\hyperlink{";
1210  if (!f.isEmpty()) m_t << stripPath(f);
1211  if (!anchor.isEmpty()) m_t << "_" << anchor;
1212  m_t << "}{";
1213  }
1214  else
1215  {
1216  m_t << "\\textbf{ ";
1217  }
1218 }

引用了 Config_getBool, QCString::isEmpty(), m_disableLinks, OutputGenerator::m_t , 以及 stripPath().

◆ startTitle()

void LatexGenerator::startTitle ( )
virtual

实现了 BaseOutputDocInterface.

在文件 latexgen.cpp1297 行定义.

1298 {
1299  if (Config_getBool(COMPACT_LATEX))
1300  {
1301  m_t << "\\doxysubsection{";
1302  }
1303  else
1304  {
1305  m_t << "\\doxysection{";
1306  }
1307 }

引用了 Config_getBool , 以及 OutputGenerator::m_t.

◆ startTitleHead()

void LatexGenerator::startTitleHead ( const QCString fileName)
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1266 行定义.

1267 {
1268  bool pdfHyperlinks = Config_getBool(PDF_HYPERLINKS);
1269  bool usePDFLatex = Config_getBool(USE_PDFLATEX);
1270  if (usePDFLatex && pdfHyperlinks && !fileName.isEmpty())
1271  {
1272  m_t << "\\hypertarget{" << stripPath(fileName) << "}{}";
1273  }
1274  if (Config_getBool(COMPACT_LATEX))
1275  {
1276  m_t << "\\doxysubsection{";
1277  }
1278  else
1279  {
1280  m_t << "\\doxysection{";
1281  }
1282 }

引用了 Config_getBool, OutputGenerator::fileName(), QCString::isEmpty(), OutputGenerator::m_t , 以及 stripPath().

◆ startTypewriter()

void LatexGenerator::startTypewriter ( )
inlinevirtual

Changes the text font to fixed size. The section ends with endTypewriter()

实现了 BaseOutputDocInterface.

在文件 latexgen.h170 行定义.

170 { m_t << "{\\ttfamily "; }

引用了 OutputGenerator::m_t.

◆ type()

virtual OutputType LatexGenerator::type ( ) const
inlinevirtual

实现了 OutputGenerator.

在文件 latexgen.h94 行定义.

94 { return Latex; }

引用了 OutputGenerator::Latex.

被这些函数引用 startSection() , 以及 writeCodeLink().

◆ writeAnchor()

void LatexGenerator::writeAnchor ( const QCString fileName,
const QCString name 
)
virtual

实现了 BaseOutputDocInterface.

在文件 latexgen.cpp1456 行定义.

1457 {
1458  //printf("LatexGenerator::writeAnchor(%s,%s)\n",fName,name);
1459  m_t << "\\label{" << stripPath(name) << "}\n";
1460  bool pdfHyperlinks = Config_getBool(PDF_HYPERLINKS);
1461  bool usePDFLatex = Config_getBool(USE_PDFLATEX);
1462  if (usePDFLatex && pdfHyperlinks)
1463  {
1464  if (!fName.isEmpty())
1465  {
1466  m_t << "\\Hypertarget{" << stripPath(fName) << "_" << stripPath(name) << "}\n";
1467  }
1468  else
1469  {
1470  m_t << "\\Hypertarget{" << stripPath(name) << "}\n";
1471  }
1472  }
1473 }

引用了 Config_getBool, QCString::isEmpty(), OutputGenerator::m_t , 以及 stripPath().

◆ writeChar()

void LatexGenerator::writeChar ( char  c)
virtual

Writes a single ASCII character to the output. Converts characters that have a special meaning.

实现了 BaseOutputDocInterface.

在文件 latexgen.cpp1557 行定义.

1558 {
1559  char cs[2];
1560  cs[0]=c;
1561  cs[1]=0;
1562  docify(cs);
1563 }

引用了 docify().

◆ writeCodeAnchor()

void LatexGenerator::writeCodeAnchor ( const QCString name)
inlinevirtual

Write an anchor to a source listing.

参数
nameThe name of the anchor.

实现了 CodeOutputInterface.

在文件 latexgen.h118 行定义.

119  { m_codeGen.writeCodeAnchor(anchor); }

引用了 m_codeGen , 以及 LatexCodeGenerator::writeCodeAnchor().

◆ writeCodeLink()

void LatexGenerator::writeCodeLink ( CodeSymbolType  type,
const QCString ref,
const QCString file,
const QCString anchor,
const QCString name,
const QCString tooltip 
)
inlinevirtual

Writes a link to an object in a code fragment.

参数
typeThe type of symbol, used for semantic syntax highlighting, may be Default is no info is available.
refIf this is non-zero, the object is to be found in an external documentation file.
fileThe file in which the object is located.
anchorThe anchor uniquely identifying the object within the file.
nameThe text to display as a placeholder for the link.
tooltipThe tooltip to display when the mouse is on the link.

实现了 CodeOutputInterface.

在文件 latexgen.h99 行定义.

103  { m_codeGen.writeCodeLink(type,ref,file,anchor,name,tooltip); }

引用了 m_codeGen, type() , 以及 LatexCodeGenerator::writeCodeLink().

◆ writeDoc()

void LatexGenerator::writeDoc ( DocNode n,
const Definition ctx,
const MemberDef ,
int  id 
)
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1946 行定义.

1947 {
1948  LatexDocVisitor *visitor =
1950  n->accept(visitor);
1951  delete visitor;
1952 }

引用了 DocNode::accept(), Definition::getDefFileExtension(), m_codeGen, m_insideTabbing , 以及 OutputGenerator::m_t.

◆ writeEndAnnoItem()

void LatexGenerator::writeEndAnnoItem ( const QCString name)
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1170 行定义.

1171 {
1172  m_t << "}{\\pageref{" << stripPath(name) << "}}{}\n";
1173 }

引用了 OutputGenerator::m_t , 以及 stripPath().

◆ writeFooter()

void LatexGenerator::writeFooter ( const QCString )
inlinevirtual

实现了 OutputGenerator.

在文件 latexgen.h131 行定义.

131 {}

◆ writeFooterFile()

void LatexGenerator::writeFooterFile ( TextStream t)
static

在文件 latexgen.cpp517 行定义.

518 {
519  t << "% Latex footer for doxygen " << getDoxygenVersion() << "\n";
520  t << ResourceMgr::instance().getAsString("footer.tex");
521 }

引用了 ResourceMgr::getAsString() , 以及 ResourceMgr::instance().

被这些函数引用 readConfiguration().

◆ writeGraphicalHierarchy()

void LatexGenerator::writeGraphicalHierarchy ( DotGfxHierarchyTable )
inlinevirtual

实现了 OutputGenerator.

在文件 latexgen.h293 行定义.

293 {}

◆ writeHeaderFile()

void LatexGenerator::writeHeaderFile ( TextStream t)
static

在文件 latexgen.cpp511 行定义.

512 {
513  t << "% Latex header for doxygen " << getDoxygenVersion() << "\n";
514  t << ResourceMgr::instance().getAsString("header.tex");
515 }

引用了 ResourceMgr::getAsString() , 以及 ResourceMgr::instance().

被这些函数引用 readConfiguration().

◆ writeInheritedSectionTitle()

void LatexGenerator::writeInheritedSectionTitle ( const QCString ,
const QCString ,
const QCString ,
const QCString ,
const QCString ,
const QCString  
)
inlinevirtual

实现了 OutputGenerator.

在文件 latexgen.h242 行定义.

243  {}

◆ writeLabel()

void LatexGenerator::writeLabel ( const QCString l,
bool  isLast 
)
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp2089 行定义.

2090 {
2091  m_t << "{\\ttfamily [" << l << "]}";
2092  if (!isLast) m_t << ", ";
2093 }

引用了 OutputGenerator::m_t.

◆ writeLatexSpacing()

void LatexGenerator::writeLatexSpacing ( )
inlinevirtual

实现了 OutputGenerator.

在文件 latexgen.h226 行定义.

226 { m_t << "\\hspace{0.3cm}"; }

引用了 OutputGenerator::m_t.

◆ writeLineNumber()

void LatexGenerator::writeLineNumber ( const QCString ref,
const QCString file,
const QCString anchor,
int  lineNumber,
bool  writeLineAnchor 
)
inlinevirtual

Writes the line number of a source listing

参数
refExternal reference (when imported from a tag file)
fileThe file part of the URL pointing to the docs.
anchorThe anchor part of the URL pointing to the docs.
lineNumberThe line number to write
writeLineAnchorIndicates if an anchor for the line number needs to be written

实现了 CodeOutputInterface.

在文件 latexgen.h104 行定义.

105  { m_codeGen.writeLineNumber(ref,file,anchor,lineNumber,writeLineAnchor); }

引用了 m_codeGen , 以及 LatexCodeGenerator::writeLineNumber().

◆ writeLogo()

void LatexGenerator::writeLogo ( )
inlinevirtual

实现了 OutputGenerator.

在文件 latexgen.h266 行定义.

266 {}

◆ writeNavigationPath()

void LatexGenerator::writeNavigationPath ( const QCString )
inlinevirtual

实现了 OutputGenerator.

在文件 latexgen.h265 行定义.

265 {}

◆ writeNonBreakableSpace()

void LatexGenerator::writeNonBreakableSpace ( int  )
virtual

实现了 BaseOutputDocInterface.

在文件 latexgen.cpp1662 行定义.

1663 {
1664  //printf("writeNonBreakableSpace()\n");
1665  if (m_insideTabbing)
1666  {
1667  m_t << "\\>";
1668  }
1669  else
1670  {
1671  m_t << "~";
1672  }
1673 }

引用了 m_insideTabbing , 以及 OutputGenerator::m_t.

◆ writeObjectLink()

void LatexGenerator::writeObjectLink ( const QCString ref,
const QCString file,
const QCString anchor,
const QCString name 
)
virtual

Writes a link to an object in the documentation.

参数
refIf this is non-zero, the object is to be found in an external documentation file.
fileThe file in which the object is located.
anchorThe anchor uniquely identifying the object within the file.
nameThe text to display as a placeholder for the link.

实现了 BaseOutputDocInterface.

在文件 latexgen.cpp1230 行定义.

1232 {
1233  bool pdfHyperlinks = Config_getBool(PDF_HYPERLINKS);
1234  if (!m_disableLinks && ref.isEmpty() && pdfHyperlinks)
1235  {
1236  m_t << "\\mbox{\\hyperlink{";
1237  if (!f.isEmpty()) m_t << stripPath(f);
1238  if (!f.isEmpty() && !anchor.isEmpty()) m_t << "_";
1239  if (!anchor.isEmpty()) m_t << anchor;
1240  m_t << "}{";
1241  docify(text);
1242  m_t << "}}";
1243  }
1244  else
1245  {
1246  m_t << "\\textbf{ ";
1247  docify(text);
1248  m_t << "}";
1249  }
1250 }

引用了 Config_getBool, docify(), QCString::isEmpty(), m_disableLinks, OutputGenerator::m_t , 以及 stripPath().

◆ writePageLink()

void LatexGenerator::writePageLink ( const QCString name,
bool   
)
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1058 行定义.

1059 {
1060  //bool &compactLatex = Config_getBool(COMPACT_LATEX);
1061  // next is remove for bug615957
1062  //if (compactLatex || first) m_t << "\\input" ; else m_t << "\\include";
1063  m_t << "\\input" ;
1064  m_t << "{" << name << "}\n";
1065 }

引用了 OutputGenerator::m_t.

◆ writeQuickLinks()

void LatexGenerator::writeQuickLinks ( bool  ,
HighlightedItem  ,
const QCString  
)
inlinevirtual

实现了 OutputGenerator.

在文件 latexgen.h267 行定义.

267 {}

◆ writeRuler()

void LatexGenerator::writeRuler ( )
inlinevirtual

Writes a horizontal ruler to the output

实现了 BaseOutputDocInterface.

在文件 latexgen.h210 行定义.

210 { m_t << "\n\n"; }

引用了 OutputGenerator::m_t.

◆ writeSearchInfo()

void LatexGenerator::writeSearchInfo ( )
inlinevirtual

实现了 OutputGenerator.

在文件 latexgen.h130 行定义.

130 {}

◆ writeSplitBar()

void LatexGenerator::writeSplitBar ( const QCString )
inlinevirtual

实现了 OutputGenerator.

在文件 latexgen.h264 行定义.

264 {}

◆ writeStartAnnoItem()

void LatexGenerator::writeStartAnnoItem ( const QCString type,
const QCString file,
const QCString path,
const QCString name 
)
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1161 行定义.

1163 {
1164  m_t << "\\item\\contentsline{section}\\textbf{ ";
1165  if (!path.isEmpty()) docify(path);
1166  docify(name);
1167  m_t << "} ";
1168 }

引用了 docify(), QCString::isEmpty() , 以及 OutputGenerator::m_t.

◆ writeString()

void LatexGenerator::writeString ( const QCString text)
virtual

Writes an ASCII string to the output, without converting special characters.

实现了 BaseOutputDocInterface.

在文件 latexgen.cpp1102 行定义.

1103 {
1104  m_t << text;
1105 }

引用了 OutputGenerator::m_t.

◆ writeStyleInfo()

void LatexGenerator::writeStyleInfo ( int  part)
virtual

实现了 OutputGenerator.

在文件 latexgen.cpp1068 行定义.

1069 {
1070  if (part > 0)
1071  return;
1072 
1073  startPlainFile("doxygen.sty");
1075  endPlainFile();
1076 
1077  // workaround for the problem caused by change in LaTeX in version 2019
1078  // in the unmaintained tabu package
1079  startPlainFile("tabu_doxygen.sty");
1080  m_t << ResourceMgr::instance().getAsString("tabu_doxygen.sty");
1081  endPlainFile();
1082  startPlainFile("longtable_doxygen.sty");
1083  m_t << ResourceMgr::instance().getAsString("longtable_doxygen.sty");
1084  endPlainFile();
1085 }

引用了 OutputGenerator::endPlainFile(), ResourceMgr::getAsString(), ResourceMgr::instance(), OutputGenerator::m_t, OutputGenerator::startPlainFile() , 以及 writeDefaultStyleSheet().

◆ writeStyleSheetFile()

void LatexGenerator::writeStyleSheetFile ( TextStream t)
static

在文件 latexgen.cpp523 行定义.

524 {
525  t << "% stylesheet for doxygen " << getDoxygenVersion() << "\n";
527 }

引用了 writeDefaultStyleSheet().

被这些函数引用 readConfiguration().

◆ writeSummaryLink()

void LatexGenerator::writeSummaryLink ( const QCString ,
const QCString ,
const QCString ,
bool   
)
inlinevirtual

实现了 OutputGenerator.

在文件 latexgen.h268 行定义.

268 {}

◆ writeSynopsis()

void LatexGenerator::writeSynopsis ( )
inlinevirtual

实现了 OutputGenerator.

在文件 latexgen.h257 行定义.

257 {}

◆ writeTooltip()

void LatexGenerator::writeTooltip ( const QCString id,
const DocLinkInfo docInfo,
const QCString decl,
const QCString desc,
const SourceLinkInfo defInfo,
const SourceLinkInfo declInfo 
)
inlinevirtual

Writes a tool tip definition

参数
idunique identifier for the tooltip
docInfoInfo about the symbol's documentation.
declfull declaration of the symbol (for functions)
descbrief description for the symbol
defInfoInfo about the symbol's definition in the source code
declInfoInfo about the symbol's declaration in the source code

实现了 CodeOutputInterface.

在文件 latexgen.h106 行定义.

109  { m_codeGen.writeTooltip(id,docInfo,decl,desc,defInfo,declInfo); }

引用了 m_codeGen , 以及 LatexCodeGenerator::writeTooltip().

类成员变量说明

◆ m_codeGen

◆ m_disableLinks

bool LatexGenerator::m_disableLinks = false
private

◆ m_firstDescItem

bool LatexGenerator::m_firstDescItem = true
private

在文件 latexgen.h338 行定义.

被这些函数引用 endDescItem(), endDescription() , 以及 startDescItem().

◆ m_indent

int LatexGenerator::m_indent = 0
private

在文件 latexgen.h341 行定义.

被这些函数引用 endAnonTypeScope(), startAnonTypeScope() , 以及 startMemberDescription().

◆ m_insideTabbing

◆ m_relPath

QCString LatexGenerator::m_relPath
private

◆ templateMemberItem

bool LatexGenerator::templateMemberItem = false
private

在文件 latexgen.h342 行定义.

被这些函数引用 endMemberItem(), endMemberTemplateParams(), startMemberItem() , 以及 startMemberTemplateParams().


该类的文档由以下文件生成:
Definition::getDefFileExtension
virtual QCString getDefFileExtension() const =0
OutputGenerator::fileName
QCString fileName() const
Definition: outputgen.cpp:85
SectionType::Paragraph
@ Paragraph
isExampleDocumentation
@ isExampleDocumentation
Definition: index.h:134
ResourceMgr::instance
static ResourceMgr & instance()
Returns the one and only instance of this class
Definition: resourcemgr.cpp:32
isDirDocumentation
@ isDirDocumentation
Definition: index.h:129
Translator::trCompoundMembers
virtual QCString trCompoundMembers()=0
latexFilterURL
QCString latexFilterURL(const QCString &s)
Definition: util.cpp:5197
isNamespaceIndex
@ isNamespaceIndex
Definition: index.h:122
LatexCodeGenerator::writeTooltip
void writeTooltip(const QCString &, const DocLinkInfo &, const QCString &, const QCString &, const SourceLinkInfo &, const SourceLinkInfo &) override
Definition: latexgen.h:40
ResourceMgr::getAsString
QCString getAsString(const QCString &name) const
Gets the resource data as a C string
Definition: resourcemgr.cpp:192
relativePathToRoot
QCString relativePathToRoot(const QCString &name)
Definition: util.cpp:3656
Dir
Class representing a directory in the file system
Definition: dir.h:68
LatexCodeGenerator::startCodeFragment
void startCodeFragment(const QCString &style) override
Definition: latexgen.cpp:247
isFileIndex
@ isFileIndex
Definition: index.h:126
isCompoundIndex
@ isCompoundIndex
Definition: index.h:125
Doxygen::conceptLinkedMap
static ConceptLinkedMap * conceptLinkedMap
Definition: doxygen.h:80
isTitlePageStart
@ isTitlePageStart
Definition: index.h:117
QCString::isEmpty
bool isEmpty() const
Returns TRUE iff the string is empty
Definition: qcstring.h:144
isPageIndex
@ isPageIndex
Definition: index.h:127
Doxygen::pageLinkedMap
static PageLinkedMap * pageLinkedMap
Definition: doxygen.h:82
LatexCodeGenerator::writeLineNumber
void writeLineNumber(const QCString &, const QCString &, const QCString &, int, bool) override
Definition: latexgen.cpp:174
DotGroupCollaboration::writeGraph
QCString writeGraph(TextStream &t, GraphOutputFormat gf, EmbeddedOutputFormat ef, const QCString &path, const QCString &fileName, const QCString &relPath, bool writeImageMap=TRUE, int graphId=-1)
Definition: dotgroupcollaboration.cpp:242
writeMakeBat
static void writeMakeBat()
Definition: latexgen.cpp:381
QCString::str
std::string str() const
Definition: qcstring.h:442
LatexCodeGenerator::endFontClass
void endFontClass() override
Definition: latexgen.cpp:242
DotClassGraph::writeGraph
QCString writeGraph(TextStream &t, GraphOutputFormat gf, EmbeddedOutputFormat ef, const QCString &path, const QCString &fileName, const QCString &relPath, bool TBRank=TRUE, bool imageMap=TRUE, int graphId=-1)
Definition: dotclassgraph.cpp:447
isClassDocumentation
@ isClassDocumentation
Definition: index.h:131
isModuleDocumentation
@ isModuleDocumentation
Definition: index.h:128
LatexCodeGenerator::decUsedTableLevel
void decUsedTableLevel()
Definition: latexgen.h:60
isConceptIndex
@ isConceptIndex
Definition: index.h:123
Translator::trEnumerationValues
virtual QCString trEnumerationValues()=0
LatexGenerator::m_relPath
QCString m_relPath
Definition: latexgen.h:340
LatexCodeGenerator::startFontClass
void startFontClass(const QCString &) override
Definition: latexgen.cpp:237
Doxygen::dirLinkedMap
static DirLinkedMap * dirLinkedMap
Definition: doxygen.h:109
LatexCodeGenerator::endCodeLine
void endCodeLine() override
Definition: latexgen.cpp:227
DotDirDeps::writeGraph
QCString writeGraph(TextStream &out, GraphOutputFormat gf, EmbeddedOutputFormat ef, const QCString &path, const QCString &fileName, const QCString &relPath, bool writeImageMap=TRUE, int graphId=-1, bool linkRelations=TRUE)
Definition: dotdirdeps.cpp:432
convertToLaTeX
QCString convertToLaTeX(const QCString &s, bool insideTabbing, bool keepSpaces)
Definition: util.cpp:4161
EOF_LaTeX
@ EOF_LaTeX
Definition: dotgraph.h:28
LatexGenerator::docify
void docify(const QCString &text)
Definition: latexgen.cpp:1546
Doxygen::inputNameLinkedMap
static FileNameLinkedMap * inputNameLinkedMap
Definition: doxygen.h:88
g_footer
static QCString g_footer
Definition: latexgen.cpp:50
LatexGenerator::startSubsubsection
void startSubsubsection()
Definition: latexgen.h:232
OutputGenerator::m_t
TextStream m_t
Definition: outputgen.h:511
DotInclDepGraph::writeGraph
QCString writeGraph(TextStream &t, GraphOutputFormat gf, EmbeddedOutputFormat ef, const QCString &path, const QCString &fileName, const QCString &relPath, bool writeImageMap=TRUE, int graphId=-1)
Definition: dotincldepgraph.cpp:184
LatexGenerator::m_indent
int m_indent
Definition: latexgen.h:341
OutputGenerator::Latex
@ Latex
Definition: outputgen.h:333
LatexGenerator::endSubsubsection
void endSubsubsection()
Definition: latexgen.h:233
isNamespaceDocumentation
@ isNamespaceDocumentation
Definition: index.h:130
isDirIndex
@ isDirIndex
Definition: index.h:121
SectionType::Subsubsection
@ Subsubsection
LatexGenerator::type
virtual OutputType type() const
Definition: latexgen.h:94
isEndIndex
@ isEndIndex
Definition: index.h:137
LatexGenerator::m_disableLinks
bool m_disableLinks
Definition: latexgen.h:339
theTranslator
Translator * theTranslator
Definition: language.cpp:156
Doxygen::groupLinkedMap
static GroupLinkedMap * groupLinkedMap
Definition: doxygen.h:96
stripPath
QCString stripPath(const QCString &s)
Definition: util.cpp:5318
LatexDocVisitor
Concrete visitor implementation for LaTeX output.
Definition: latexdocvisitor.h:29
latexEscapeLabelName
QCString latexEscapeLabelName(const QCString &s)
Definition: util.cpp:5086
OutputGenerator::dir
QCString dir() const
Definition: outputgen.cpp:80
LatexCodeGenerator::usedTableLevel
int usedTableLevel() const
Definition: latexgen.h:61
LatexGenerator::m_firstDescItem
bool m_firstDescItem
Definition: latexgen.h:338
fileToString
QCString fileToString(const QCString &name, bool filter, bool isSourceCode)
Definition: util.cpp:1394
TRUE
#define TRUE
Definition: qcstring.h:36
LatexGenerator::m_insideTabbing
bool m_insideTabbing
Definition: latexgen.h:337
LatexGenerator::newParagraph
void newParagraph()
Definition: latexgen.cpp:1087
LatexCodeGenerator::setSourceFileName
void setSourceFileName(const QCString &sourceFileName)
Definition: latexgen.cpp:66
isModuleIndex
@ isModuleIndex
Definition: index.h:120
SectionType::Page
@ Page
isClassHierarchyIndex
@ isClassHierarchyIndex
Definition: index.h:124
writeDefaultStyleSheet
static void writeDefaultStyleSheet(TextStream &t)
Definition: latexgen.cpp:506
SectionType::Subsection
@ Subsection
clearSubDirs
void clearSubDirs(const Dir &d)
Definition: util.cpp:3704
LatexCodeGenerator::writeCodeAnchor
void writeCodeAnchor(const QCString &) override
Definition: latexgen.h:52
LatexCodeGenerator::endCodeFragment
void endCodeFragment(const QCString &style) override
Definition: latexgen.cpp:252
LatexCodeGenerator::setRelativePath
void setRelativePath(const QCString &path)
Definition: latexgen.cpp:61
LatexGenerator::templateMemberItem
bool templateMemberItem
Definition: latexgen.h:342
LatexCodeGenerator::codify
void codify(const QCString &text) override
Definition: latexgen.cpp:71
isTitlePageAuthor
@ isTitlePageAuthor
Definition: index.h:118
LatexCodeGenerator::incUsedTableLevel
void incUsedTableLevel()
Definition: latexgen.h:59
isFileDocumentation
@ isFileDocumentation
Definition: index.h:133
Config_getBool
#define Config_getBool(name)
Definition: config.h:33
DotCallGraph::writeGraph
QCString writeGraph(TextStream &t, GraphOutputFormat gf, EmbeddedOutputFormat ef, const QCString &path, const QCString &fileName, const QCString &relPath, bool writeImageMap=TRUE, int graphId=-1)
Definition: dotcallgraph.cpp:183
LatexCodeGenerator::startCodeLine
void startCodeLine(bool) override
Definition: latexgen.cpp:217
term
void term(const char *fmt,...)
Definition: message.cpp:220
SectionType::Section
@ Section
substituteLatexKeywords
static QCString substituteLatexKeywords(const QCString &str, const QCString &title)
Definition: latexgen.cpp:604
isPageDocumentation
@ isPageDocumentation
Definition: index.h:135
isPageDocumentation2
@ isPageDocumentation2
Definition: index.h:136
qPrint
const char * qPrint(const char *s)
Definition: qcstring.h:589
Config_getString
#define Config_getString(name)
Definition: config.h:32
isMainPage
@ isMainPage
Definition: index.h:119
Doxygen::namespaceLinkedMap
static NamespaceLinkedMap * namespaceLinkedMap
Definition: doxygen.h:97
ASSERT
#define ASSERT(x)
Definition: qcstring.h:44
LatexCodeGenerator::writeCodeLink
void writeCodeLink(CodeSymbolType type, const QCString &ref, const QCString &file, const QCString &anchor, const QCString &name, const QCString &tooltip) override
Definition: latexgen.cpp:149
DocNode::accept
virtual void accept(DocVisitor *v)=0
LatexGenerator::lineBreak
void lineBreak(const QCString &style=QCString())
Definition: latexgen.cpp:2012
OutputGenerator::operator=
OutputGenerator & operator=(const OutputGenerator &o)
Definition: outputgen.cpp:48
GOF_EPS
@ GOF_EPS
Definition: dotgraph.h:27
OutputGenerator::endPlainFile
void endPlainFile()
Definition: outputgen.cpp:72
latexEscapePDFString
QCString latexEscapePDFString(const QCString &s)
Definition: util.cpp:5173
Translator::trExamples
virtual QCString trExamples()=0
filterLatexString
void filterLatexString(TextStream &t, const QCString &str, bool insideTabbing, bool insidePre, bool insideItem, bool insideTable, bool keepSpaces)
Definition: util.cpp:4934
Doxygen::classLinkedMap
static ClassLinkedMap * classLinkedMap
Definition: doxygen.h:78
createSubDirs
void createSubDirs(const Dir &d)
Definition: util.cpp:3677
g_header
static QCString g_header
Definition: latexgen.cpp:49
LatexGenerator::m_codeGen
LatexCodeGenerator m_codeGen
Definition: latexgen.h:343
latexEscapeIndexChars
QCString latexEscapeIndexChars(const QCString &s)
Definition: util.cpp:5129
OutputGenerator::OutputGenerator
OutputGenerator(const QCString &dir)
Definition: outputgen.cpp:27
QCString::right
QCString right(size_t len) const
Definition: qcstring.h:217
OutputGenerator::startPlainFile
void startPlainFile(const QCString &name)
Definition: outputgen.cpp:60
ClassDiagram::writeFigure
void writeFigure(TextStream &t, const QCString &path, const QCString &file) const
Definition: diagram.cpp:1047
writeLatexMakefile
static void writeLatexMakefile()
Definition: latexgen.cpp:287
FALSE
#define FALSE
Definition: qcstring.h:33
Doxygen::exampleLinkedMap
static PageLinkedMap * exampleLinkedMap
Definition: doxygen.h:81
isConceptDocumentation
@ isConceptDocumentation
Definition: index.h:132
QCString
This is an alternative implementation of QCString.
Definition: qcstring.h:108