Doxygen
Loading...
Searching...
No Matches
LatexGenerator Class Reference

Generator for LaTeX output. More...

#include <src/latexgen.h>

+ Inheritance diagram for LatexGenerator:
+ Collaboration diagram for LatexGenerator:

Public Member Functions

 LatexGenerator ()
 
 LatexGenerator (const LatexGenerator &)
 
LatexGeneratoroperator= (const LatexGenerator &)
 
 LatexGenerator (LatexGenerator &&)=delete
 
LatexGeneratoroperator= (LatexGenerator &&)=delete
 
 ~LatexGenerator ()
 
void clearBuffer ()
 
void setCurrentDoc (const Definition *, const QCString &, bool)
 
void addWord (const QCString &, bool)
 
OutputType type () const override
 
std::unique_ptr< OutputGenIntfclone () override
 
void addCodeGen (OutputCodeList &list) override
 
void cleanup () override
 
void writeDoc (const IDocNodeAST *node, const Definition *ctx, const MemberDef *, int id) override
 
void startFile (const QCString &name, const QCString &manName, const QCString &title, int id, int hierarchyLevel) override
 
void endFile () override
 
void writeSearchInfo () override
 
void writeFooter (const QCString &) override
 
void startPageDoc (const QCString &) override
 
void endPageDoc () override
 
void startIndexSection (IndexSection) override
 
void endIndexSection (IndexSection) override
 
void writePageLink (const QCString &, bool) override
 
void startProjectNumber () override
 
void endProjectNumber () override
 
void writeStyleInfo (int part) override
 
void startTitleHead (const QCString &) override
 
void endTitleHead (const QCString &, const QCString &name) override
 
void startParagraph (const QCString &classDef) override
 
void endParagraph () override
 
void writeString (const QCString &text) override
 
void startIndexListItem () override
 
void endIndexListItem () override
 
void startIndexList () override
 
void endIndexList () override
 
void startIndexKey () override
 
void endIndexKey () override
 
void startIndexValue (bool) override
 
void endIndexValue (const QCString &, bool) override
 
void startItemList () override
 
void endItemList () override
 
void startIndexItem (const QCString &ref, const QCString &file) override
 
void endIndexItem (const QCString &ref, const QCString &file) override
 
void docify (const QCString &text) override
 
void writeObjectLink (const QCString &ref, const QCString &file, const QCString &anchor, const QCString &name) override
 
void startTextLink (const QCString &, const QCString &) override
 
void endTextLink () override
 
void startTypewriter () override
 
void endTypewriter () override
 
void startGroupHeader (int) override
 
void endGroupHeader (int) override
 
void startItemListItem () override
 
void endItemListItem () override
 
void startMemberSections () override
 
void endMemberSections () override
 
void startHeaderSection () override
 
void endHeaderSection () override
 
void startMemberHeader (const QCString &, int) override
 
void endMemberHeader () override
 
void startMemberSubtitle () override
 
void endMemberSubtitle () override
 
void startMemberDocList () override
 
void endMemberDocList () override
 
void startMemberList () override
 
void endMemberList () override
 
void startInlineHeader () override
 
void endInlineHeader () override
 
void startAnonTypeScope (int) override
 
void endAnonTypeScope (int) override
 
void startMemberItem (const QCString &, MemberItemType, const QCString &) override
 
void endMemberItem (MemberItemType) override
 
void startMemberTemplateParams () override
 
void endMemberTemplateParams (const QCString &, const QCString &) override
 
void startCompoundTemplateParams () override
 
void endCompoundTemplateParams () override
 
void startMemberGroupHeader (bool) override
 
void endMemberGroupHeader () override
 
void startMemberGroupDocs () override
 
void endMemberGroupDocs () override
 
void startMemberGroup () override
 
void endMemberGroup (bool) override
 
void insertMemberAlign (bool) override
 
void insertMemberAlignLeft (MemberItemType, bool) override
 
void writeRuler () override
 
void writeAnchor (const QCString &fileName, const QCString &name) override
 
void startEmphasis () override
 
void endEmphasis () override
 
void startBold () override
 
void endBold () override
 
void lineBreak (const QCString &style=QCString()) override
 
void startMemberDoc (const QCString &, const QCString &, const QCString &, const QCString &, int, int, bool) override
 
void endMemberDoc (bool) override
 
void startDoxyAnchor (const QCString &, const QCString &, const QCString &, const QCString &, const QCString &) override
 
void endDoxyAnchor (const QCString &, const QCString &) override
 
void addLabel (const QCString &, const QCString &) override
 
void writeChar (char c) override
 
void writeLatexSpacing () override
 
void writeStartAnnoItem (const QCString &type, const QCString &file, const QCString &path, const QCString &name) override
 
void startCenter () override
 
void endCenter () override
 
void startSmall () override
 
void endSmall () override
 
void startMemberDescription (const QCString &, const QCString &, bool) override
 
void endMemberDescription () override
 
void startMemberDeclaration () override
 
void endMemberDeclaration (const QCString &, const QCString &) override
 
void writeInheritedSectionTitle (const QCString &, const QCString &, const QCString &, const QCString &, const QCString &, const QCString &) override
 
void startExamples () override
 
void endExamples () override
 
void startDescForItem () override
 
void endDescForItem () override
 
void startSection (const QCString &, const QCString &, SectionType) override
 
void endSection (const QCString &, SectionType) override
 
void addIndexItem (const QCString &, const QCString &) override
 
void startIndent () override
 
void endIndent () override
 
void writeSynopsis () override
 
void startClassDiagram () override
 
void endClassDiagram (const ClassDiagram &, const QCString &, const QCString &) override
 
void startPageRef () override
 
void endPageRef (const QCString &, const QCString &) override
 
void startQuickIndices () override
 
void endQuickIndices () override
 
void writeSplitBar (const QCString &) override
 
void writeNavigationPath (const QCString &) override
 
void writeLogo () override
 
void writeQuickLinks (HighlightedItem, const QCString &) override
 
void writeSummaryLink (const QCString &, const QCString &, const QCString &, bool) override
 
void startContents () override
 
void endContents () override
 
void writeNonBreakableSpace (int) override
 
void startDescTable (const QCString &title, const bool hasInits) override
 
void endDescTable () override
 
void startDescTableRow () override
 
void endDescTableRow () override
 
void startDescTableTitle () override
 
void endDescTableTitle () override
 
void startDescTableInit () override
 
void endDescTableInit () override
 
void startDescTableData () override
 
void endDescTableData () override
 
void lastIndexPage () override
 
void startDotGraph () override
 
void endDotGraph (DotClassGraph &) override
 
void startInclDepGraph () override
 
void endInclDepGraph (DotInclDepGraph &) override
 
void startCallGraph () override
 
void startGroupCollaboration () override
 
void endGroupCollaboration (DotGroupCollaboration &g) override
 
void endCallGraph (DotCallGraph &) override
 
void startDirDepGraph () override
 
void endDirDepGraph (DotDirDeps &g) override
 
void writeGraphicalHierarchy (DotGfxHierarchyTable &) override
 
void startTextBlock (bool) override
 
void endTextBlock (bool) override
 
void startMemberDocPrefixItem () override
 
void endMemberDocPrefixItem () override
 
void startMemberDocName (bool) override
 
void endMemberDocName () override
 
void startParameterType (bool, const QCString &) override
 
void endParameterType () override
 
void startParameterName (bool) override
 
void endParameterName () override
 
void startParameterExtra () override
 
void endParameterExtra (bool last, bool one, bool bracket) override
 
void startParameterDefVal (const char *s) override
 
void endParameterDefVal () override
 
void startParameterList (bool) override
 
void endParameterList () override
 
void exceptionEntry (const QCString &, bool) override
 
void startConstraintList (const QCString &) override
 
void startConstraintParam () override
 
void endConstraintParam () override
 
void startConstraintType () override
 
void endConstraintType () override
 
void startConstraintDocs () override
 
void endConstraintDocs () override
 
void endConstraintList () override
 
void startMemberDocSimple (bool) override
 
void endMemberDocSimple (bool) override
 
void startInlineMemberType () override
 
void endInlineMemberType () override
 
void startInlineMemberName () override
 
void endInlineMemberName () override
 
void startInlineMemberDoc () override
 
void endInlineMemberDoc () override
 
void startLabels () override
 
void writeLabel (const QCString &l, bool isLast) override
 
void endLabels () override
 
void writeLocalToc (const SectionRefs &sr, const LocalToc &lt) override
 
void startPlainFile (const QCString &name) override
 
void endPlainFile () override
 
- Public Member Functions inherited from OutputGenerator
 OutputGenerator ()
 
 OutputGenerator (const QCString &dir)
 
virtual ~OutputGenerator ()=default
 
QCString dir () const
 
QCString fileName () const
 
void startPlainFile (const QCString &name)
 
void endPlainFile ()
 
- Public Member Functions inherited from OutputGenIntf

Static Public Member Functions

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

Private Member Functions

void startTitle ()
 
void endTitle ()
 

Private Attributes

bool m_firstDescItem = true
 
bool m_disableLinks = false
 
QCString m_relPath
 
int m_indent = 0
 
bool m_templateMemberItem = false
 
std::unique_ptr< OutputCodeListm_codeList
 
LatexCodeGeneratorm_codeGen
 
bool m_insideTableEnv = false
 
int m_hierarchyLevel = 0
 

Additional Inherited Members

- Public Types inherited from OutputGenerator
enum class  ParamListTypes { Param , RetVal , Exception }
 
enum class  MemberItemType { Normal , AnonymousStart , AnonymousEnd , Templated }
 
- Protected Attributes inherited from OutputGenerator
TextStream m_t
 
QCString m_dir
 

Detailed Description

Generator for LaTeX output.

Definition at line 93 of file latexgen.h.

Constructor & Destructor Documentation

◆ LatexGenerator() [1/3]

LatexGenerator::LatexGenerator ( )

Definition at line 317 of file latexgen.cpp.

318 : OutputGenerator(Config_getString(LATEX_OUTPUT))
319 , m_codeList(std::make_unique<OutputCodeList>())
320{
321 m_codeGen = m_codeList->add<LatexCodeGenerator>(&m_t);
322}
std::unique_ptr< OutputCodeList > m_codeList
Definition latexgen.h:327
LatexCodeGenerator * m_codeGen
Definition latexgen.h:328
TextStream m_t
Definition outputgen.h:116
#define Config_getString(name)
Definition config.h:32

References Config_getString, m_codeGen, m_codeList, OutputGenerator::m_t, and OutputGenerator::OutputGenerator().

Referenced by LatexGenerator(), LatexGenerator(), operator=(), and operator=().

◆ LatexGenerator() [2/3]

LatexGenerator::LatexGenerator ( const LatexGenerator & og)

◆ LatexGenerator() [3/3]

LatexGenerator::LatexGenerator ( LatexGenerator && )
delete

References LatexGenerator().

◆ ~LatexGenerator()

LatexGenerator::~LatexGenerator ( )
default

Member Function Documentation

◆ addCodeGen()

void LatexGenerator::addCodeGen ( OutputCodeList & list)
overridevirtual

Implements OutputGenIntf.

Definition at line 357 of file latexgen.cpp.

358{
360}
void add(OutputCodeIntfPtr &&p)
Definition outputlist.h:194
OutputCodeDefer< LatexCodeGenerator > LatexCodeGeneratorDefer
Definition outputlist.h:102

References OutputCodeList::add(), and m_codeGen.

◆ addIndexItem()

void LatexGenerator::addIndexItem ( const QCString & s1,
const QCString & s2 )
overridevirtual

Implements OutputGenIntf.

Definition at line 1688 of file latexgen.cpp.

1689{
1690 if (!s1.isEmpty())
1691 {
1692 m_t << "\\index{";
1694 m_t << "@{";
1696 m_t << "}";
1697 if (!s2.isEmpty())
1698 {
1699 m_t << "!";
1701 m_t << "@{";
1703 m_t << "}";
1704 }
1705 m_t << "}";
1706 }
1707}
bool isEmpty() const
Returns TRUE iff the string is empty.
Definition qcstring.h:150
QCString latexEscapeIndexChars(const QCString &s)
QCString latexEscapeLabelName(const QCString &s)

References QCString::isEmpty(), latexEscapeIndexChars(), latexEscapeLabelName(), and OutputGenerator::m_t.

◆ addLabel()

void LatexGenerator::addLabel ( const QCString & fName,
const QCString & anchor )
overridevirtual

Implements OutputGenIntf.

Definition at line 1654 of file latexgen.cpp.

1655{
1656 m_t << "\\label{";
1657 if (!fName.isEmpty()) m_t << stripPath(fName);
1658 if (!anchor.isEmpty()) m_t << "_" << anchor;
1659 if (m_insideTableEnv) m_t << "}";
1660 m_t << "} \n";
1661}
bool m_insideTableEnv
Definition latexgen.h:329
QCString stripPath(const QCString &s)
Definition util.cpp:5292

References QCString::isEmpty(), m_insideTableEnv, OutputGenerator::m_t, and stripPath().

◆ addWord()

void LatexGenerator::addWord ( const QCString & ,
bool  )
inline

Definition at line 110 of file latexgen.h.

110{}

◆ cleanup()

void LatexGenerator::cleanup ( )
overridevirtual

Implements OutputGenIntf.

Definition at line 670 of file latexgen.cpp.

671{
672 QCString dname = Config_getString(LATEX_OUTPUT);
673 Dir d(dname.str());
674 clearSubDirs(d);
675}
const std::string & str() const
Definition qcstring.h:537
void clearSubDirs(const Dir &d)
Definition util.cpp:4021

References clearSubDirs(), Config_getString, and QCString::str().

◆ clearBuffer()

void LatexGenerator::clearBuffer ( )

◆ clone()

std::unique_ptr< OutputGenIntf > LatexGenerator::clone ( )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 115 of file latexgen.h.

115{ return std::make_unique<LatexGenerator>(*this); }

◆ docify()

void LatexGenerator::docify ( const QCString & text)
overridevirtual

Implements OutputGenIntf.

Definition at line 1757 of file latexgen.cpp.

1758{
1760 m_codeGen->insideTabbing(), // insideTabbing
1761 false, // insidePre
1762 false, // insideItem
1763 m_codeGen->usedTableLevel()>0, // insideTable
1764 false // keepSpaces
1765 );
1766}
void filterLatexString(TextStream &t, const QCString &str, bool insideTabbing, bool insidePre, bool insideItem, bool insideTable, bool keepSpaces, const bool retainNewline=false)

References filterLatexString(), m_codeGen, and OutputGenerator::m_t.

Referenced by startConstraintList(), startExamples(), startMemberDocSimple(), startParameterDefVal(), startParameterType(), writeChar(), and writeStartAnnoItem().

◆ endAnonTypeScope()

void LatexGenerator::endAnonTypeScope ( int indent)
overridevirtual

Implements OutputGenIntf.

Definition at line 1800 of file latexgen.cpp.

1801{
1802 if (indent==0)
1803 {
1804 m_t << "\n" << "\\end{tabbing}";
1805 m_codeGen->setInsideTabbing(false);
1806 }
1807 m_indent=indent;
1808}

References m_codeGen, m_indent, and OutputGenerator::m_t.

◆ endBold()

void LatexGenerator::endBold ( )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 202 of file latexgen.h.

202{ m_t << "}"; }

References OutputGenerator::m_t.

◆ endCallGraph()

void LatexGenerator::endCallGraph ( DotCallGraph & g)
overridevirtual

Implements OutputGenIntf.

Definition at line 2048 of file latexgen.cpp.

2049{
2051}
QCString writeGraph(TextStream &t, GraphOutputFormat gf, EmbeddedOutputFormat ef, const QCString &path, const QCString &fileName, const QCString &relPath, bool writeImageMap=TRUE, int graphId=-1)
QCString dir() const
Definition outputgen.cpp:52
QCString fileName() const
Definition outputgen.cpp:57

References OutputGenerator::dir(), EPS, OutputGenerator::fileName(), LaTeX, m_relPath, OutputGenerator::m_t, and DotCallGraph::writeGraph().

◆ endCenter()

void LatexGenerator::endCenter ( )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 214 of file latexgen.h.

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

References OutputGenerator::m_t.

◆ endClassDiagram()

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

Implements OutputGenIntf.

Definition at line 1782 of file latexgen.cpp.

1784{
1786}
void writeFigure(TextStream &t, const QCString &path, const QCString &file) const
Definition diagram.cpp:1073

References OutputGenerator::dir(), OutputGenerator::fileName(), OutputGenerator::m_t, and ClassDiagram::writeFigure().

◆ endCompoundTemplateParams()

void LatexGenerator::endCompoundTemplateParams ( )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 185 of file latexgen.h.

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

References OutputGenerator::m_t.

◆ endConstraintDocs()

void LatexGenerator::endConstraintDocs ( )
overridevirtual

Implements OutputGenIntf.

Definition at line 2177 of file latexgen.cpp.

2178{
2179}

◆ endConstraintList()

void LatexGenerator::endConstraintList ( )
overridevirtual

Implements OutputGenIntf.

Definition at line 2181 of file latexgen.cpp.

2182{
2183 m_t << "\\end{description}\n";
2184 m_t << "\\end{Desc}\n";
2185}

References OutputGenerator::m_t.

◆ endConstraintParam()

void LatexGenerator::endConstraintParam ( )
overridevirtual

Implements OutputGenIntf.

Definition at line 2159 of file latexgen.cpp.

2160{
2161}

◆ endConstraintType()

void LatexGenerator::endConstraintType ( )
overridevirtual

Implements OutputGenIntf.

Definition at line 2168 of file latexgen.cpp.

2169{
2170 m_t << "}]";
2171}

References OutputGenerator::m_t.

◆ endContents()

void LatexGenerator::endContents ( )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 245 of file latexgen.h.

245{}

◆ endDescForItem()

void LatexGenerator::endDescForItem ( )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 226 of file latexgen.h.

226{}

◆ endDescTable()

void LatexGenerator::endDescTable ( )
overridevirtual

Implements OutputGenIntf.

Definition at line 1906 of file latexgen.cpp.

1907{
1908 m_codeGen->decUsedTableLevel();
1909 m_t << "\\end{DoxyEnumFields}\n";
1910}

References m_codeGen, and OutputGenerator::m_t.

◆ endDescTableData()

void LatexGenerator::endDescTableData ( )
overridevirtual

Implements OutputGenIntf.

Definition at line 1946 of file latexgen.cpp.

1947{
1948 m_t << "\\\\\n\\hline\n\n";
1949}

References OutputGenerator::m_t.

◆ endDescTableInit()

void LatexGenerator::endDescTableInit ( )
overridevirtual

Implements OutputGenIntf.

Definition at line 1937 of file latexgen.cpp.

1938{
1939}

◆ endDescTableRow()

void LatexGenerator::endDescTableRow ( )
overridevirtual

Implements OutputGenIntf.

Definition at line 1919 of file latexgen.cpp.

1920{
1921}

◆ endDescTableTitle()

void LatexGenerator::endDescTableTitle ( )
overridevirtual

Implements OutputGenIntf.

Definition at line 1928 of file latexgen.cpp.

1929{
1930}

◆ endDirDepGraph()

void LatexGenerator::endDirDepGraph ( DotDirDeps & g)
overridevirtual

Implements OutputGenIntf.

Definition at line 2057 of file latexgen.cpp.

2058{
2060}
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)

References OutputGenerator::dir(), EPS, OutputGenerator::fileName(), LaTeX, m_relPath, OutputGenerator::m_t, and DotDirDeps::writeGraph().

◆ endDotGraph()

void LatexGenerator::endDotGraph ( DotClassGraph & g)
overridevirtual

Implements OutputGenIntf.

Definition at line 2021 of file latexgen.cpp.

2022{
2024}
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)

References OutputGenerator::dir(), EPS, OutputGenerator::fileName(), LaTeX, m_relPath, OutputGenerator::m_t, and DotClassGraph::writeGraph().

◆ endDoxyAnchor()

void LatexGenerator::endDoxyAnchor ( const QCString & ,
const QCString &  )
overridevirtual

Implements OutputGenIntf.

Definition at line 1650 of file latexgen.cpp.

1651{
1652}

◆ endEmphasis()

void LatexGenerator::endEmphasis ( )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 200 of file latexgen.h.

200{ m_t << "}"; }

References OutputGenerator::m_t.

◆ endExamples()

void LatexGenerator::endExamples ( )
overridevirtual

Implements OutputGenIntf.

Definition at line 2069 of file latexgen.cpp.

2070{
2071 m_t << "\\end{Desc}\n";
2072}

References OutputGenerator::m_t.

◆ endFile()

void LatexGenerator::endFile ( )
overridevirtual

Implements OutputGenIntf.

Definition at line 714 of file latexgen.cpp.

715{
716 endPlainFile();
717 m_codeGen->setSourceFileName("");
718}
void endPlainFile() override
Definition latexgen.h:315

References endPlainFile(), and m_codeGen.

◆ endGroupCollaboration()

void LatexGenerator::endGroupCollaboration ( DotGroupCollaboration & g)
overridevirtual

Implements OutputGenIntf.

Definition at line 2039 of file latexgen.cpp.

2040{
2042}
QCString writeGraph(TextStream &t, GraphOutputFormat gf, EmbeddedOutputFormat ef, const QCString &path, const QCString &fileName, const QCString &relPath, bool writeImageMap=TRUE, int graphId=-1)

References OutputGenerator::dir(), EPS, OutputGenerator::fileName(), LaTeX, m_relPath, OutputGenerator::m_t, and DotGroupCollaboration::writeGraph().

◆ endGroupHeader()

void LatexGenerator::endGroupHeader ( int )
overridevirtual

Implements OutputGenIntf.

Definition at line 1531 of file latexgen.cpp.

1532{
1534 m_t << "}\n";
1535}
#define FALSE
Definition qcstring.h:34

References FALSE, m_disableLinks, and OutputGenerator::m_t.

◆ endHeaderSection()

void LatexGenerator::endHeaderSection ( )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 167 of file latexgen.h.

167{}

◆ endInclDepGraph()

void LatexGenerator::endInclDepGraph ( DotInclDepGraph & g)
overridevirtual

Implements OutputGenIntf.

Definition at line 2030 of file latexgen.cpp.

2031{
2033}
QCString writeGraph(TextStream &t, GraphOutputFormat gf, EmbeddedOutputFormat ef, const QCString &path, const QCString &fileName, const QCString &relPath, bool writeImageMap=TRUE, int graphId=-1)

References OutputGenerator::dir(), EPS, OutputGenerator::fileName(), LaTeX, m_relPath, OutputGenerator::m_t, and DotInclDepGraph::writeGraph().

◆ endIndent()

void LatexGenerator::endIndent ( )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 231 of file latexgen.h.

231{}

◆ endIndexItem()

void LatexGenerator::endIndexItem ( const QCString & ref,
const QCString & file )
overridevirtual

Implements OutputGenIntf.

Definition at line 1326 of file latexgen.cpp.

1327{
1328 if (ref.isEmpty() && !fn.isEmpty())
1329 {
1330 m_t << "}{\\pageref{" << stripPath(fn) << "}}{}\n";
1331 }
1332}

References QCString::isEmpty(), OutputGenerator::m_t, and stripPath().

◆ endIndexKey()

void LatexGenerator::endIndexKey ( )
overridevirtual

Implements OutputGenIntf.

Definition at line 1348 of file latexgen.cpp.

1349{
1350}

◆ endIndexList()

void LatexGenerator::endIndexList ( )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 142 of file latexgen.h.

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

References OutputGenerator::m_t.

◆ endIndexListItem()

void LatexGenerator::endIndexListItem ( )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 140 of file latexgen.h.

140{}

◆ endIndexSection()

void LatexGenerator::endIndexSection ( IndexSection is)
overridevirtual

Implements OutputGenIntf.

Definition at line 1071 of file latexgen.cpp.

1072{
1073 switch (is)
1074 {
1076 break;
1078 break;
1080 {
1082 {
1083 writePageLink(Doxygen::mainPage->getOutputFileBase(), FALSE);
1084 }
1085 }
1086 break;
1088 m_t << "}\n\\input{modules}\n";
1089 break;
1091 m_t << "}\n\\input{topics}\n";
1092 break;
1094 m_t << "}\n\\input{dirs}\n";
1095 break;
1097 m_t << "}\n\\input{namespaces}\n";
1098 break;
1100 m_t << "}\n\\input{concepts}\n";
1101 break;
1103 m_t << "}\n\\input{hierarchy}\n";
1104 break;
1106 m_t << "}\n\\input{annotated}\n";
1107 break;
1109 m_t << "}\n\\input{files}\n";
1110 break;
1112 m_t << "}\n\\input{pages}\n";
1113 break;
1115 {
1116 m_t << "}\n";
1117 for (const auto &gd : *Doxygen::groupLinkedMap)
1118 {
1119 if (!gd->isReference() && !gd->isASubGroup())
1120 {
1121 writePageLink(gd->getOutputFileBase(), FALSE);
1122 }
1123 }
1124 }
1125 break;
1127 {
1128 m_t << "}\n";
1129 for (const auto &mod : ModuleManager::instance().modules())
1130 {
1131 if (!mod->isReference() && mod->isPrimaryInterface())
1132 {
1133 writePageLink(mod->getOutputFileBase(), FALSE);
1134 }
1135 }
1136 }
1137 break;
1139 {
1140 bool found=FALSE;
1141 for (const auto &dd : *Doxygen::dirLinkedMap)
1142 {
1143 if (dd->isLinkableInProject())
1144 {
1145 if (!found)
1146 {
1147 m_t << "}\n";
1148 found = TRUE;
1149 }
1150 m_t << "\\input{" << dd->getOutputFileBase() << "}\n";
1151 }
1152 }
1153 }
1154 break;
1156 {
1157 bool found=FALSE;
1158 for (const auto &nd : *Doxygen::namespaceLinkedMap)
1159 {
1160 if (nd->isLinkableInProject() && !nd->isAlias())
1161 {
1162 if (!found)
1163 {
1164 m_t << "}\n";
1165 found=true;
1166 }
1167 m_t << "\\input{" << nd->getOutputFileBase() << "}\n";
1168 }
1169 }
1170 }
1171 break;
1173 {
1174 bool found=FALSE;
1175 for (const auto &cd : *Doxygen::conceptLinkedMap)
1176 {
1177 if (cd->isLinkableInProject() && !cd->isAlias())
1178 {
1179 if (!found)
1180 {
1181 m_t << "}\n";
1182 found=true;
1183 }
1184 m_t << "\\input{" << cd->getOutputFileBase() << "}\n";
1185 }
1186 }
1187 }
1188 break;
1190 {
1191 bool found=FALSE;
1192 for (const auto &cd : *Doxygen::classLinkedMap)
1193 {
1194 if (cd->isLinkableInProject() &&
1195 cd->templateMaster()==nullptr &&
1196 !cd->isEmbeddedInOuterScope() &&
1197 !cd->isAlias()
1198 )
1199 {
1200 if (!found)
1201 {
1202 m_t << "}\n"; // end doxysection or chapter title
1203 found=TRUE;
1204 }
1205 m_t << "\\input{" << cd->getOutputFileBase() << "}\n";
1206 }
1207 }
1208 }
1209 break;
1211 {
1212 bool isFirst=TRUE;
1213 for (const auto &fn : *Doxygen::inputNameLinkedMap)
1214 {
1215 for (const auto &fd : *fn)
1216 {
1217 if (fd->isLinkableInProject())
1218 {
1219 if (isFirst)
1220 {
1221 m_t << "}\n"; // end doxysection or chapter title
1222 }
1223 isFirst=FALSE;
1224 m_t << "\\input{" << fd->getOutputFileBase() << "}\n";
1225 }
1226 if (fd->generateSourceFile())
1227 {
1228 if (isFirst)
1229 {
1230 m_t << "}\n"; // end doxysection or chapter title
1231 }
1232 isFirst=FALSE;
1233 m_t << "\\input{" << fd->getSourceFileBase() << "}\n";
1234 }
1235 }
1236 }
1237 }
1238 break;
1240 {
1241 m_t << "}\n";
1242 for (const auto &pd : *Doxygen::exampleLinkedMap)
1243 {
1244 m_t << "\\input{" << pd->getOutputFileBase() << "}\n";
1245 }
1246 }
1247 break;
1249 {
1250 for (const auto &pd : *Doxygen::pageLinkedMap)
1251 {
1252 if (!pd->getGroupDef() && !pd->isReference() && !pd->hasParentPage()
1253 && pd->name() != "citelist" && Doxygen::mainPage.get() != pd.get())
1254 {
1255 writePageLink(pd->getOutputFileBase(), FALSE);
1256 }
1257 }
1258 }
1259 break;
1261 break;
1264 break;
1265 }
1266}
static NamespaceLinkedMap * namespaceLinkedMap
Definition doxygen.h:115
static ConceptLinkedMap * conceptLinkedMap
Definition doxygen.h:98
static std::unique_ptr< PageDef > mainPage
Definition doxygen.h:101
static FileNameLinkedMap * inputNameLinkedMap
Definition doxygen.h:105
static ClassLinkedMap * classLinkedMap
Definition doxygen.h:96
static PageLinkedMap * exampleLinkedMap
Definition doxygen.h:99
static PageLinkedMap * pageLinkedMap
Definition doxygen.h:100
static DirLinkedMap * dirLinkedMap
Definition doxygen.h:129
static GroupLinkedMap * groupLinkedMap
Definition doxygen.h:114
void writePageLink(const QCString &, bool) override
static ModuleManager & instance()
static QCString g_footer
Definition htmlgen.cpp:64
@ isMainPage
Definition index.h:35
@ isTitlePageAuthor
Definition index.h:34
@ isFileIndex
Definition index.h:43
@ isFileDocumentation
Definition index.h:51
@ isPageDocumentation
Definition index.h:53
@ isDirDocumentation
Definition index.h:47
@ isModuleDocumentation
Definition index.h:45
@ isClassHierarchyIndex
Definition index.h:41
@ isModuleIndex
Definition index.h:36
@ isTopicIndex
Definition index.h:37
@ isConceptIndex
Definition index.h:40
@ isExampleDocumentation
Definition index.h:52
@ isClassDocumentation
Definition index.h:49
@ isPageIndex
Definition index.h:44
@ isCompoundIndex
Definition index.h:42
@ isEndIndex
Definition index.h:55
@ isConceptDocumentation
Definition index.h:50
@ isDirIndex
Definition index.h:38
@ isNamespaceIndex
Definition index.h:39
@ isNamespaceDocumentation
Definition index.h:48
@ isTitlePageStart
Definition index.h:33
@ isTopicDocumentation
Definition index.h:46
@ isPageDocumentation2
Definition index.h:54
static QCString substituteLatexKeywords(const QCString &str, const QCString &title)
Definition latexgen.cpp:790
QCString convertToLaTeX(const QCString &s, bool insideTabbing, bool keepSpaces=FALSE)
#define TRUE
Definition qcstring.h:37
bool found
Definition util.cpp:984

References Doxygen::classLinkedMap, Doxygen::conceptLinkedMap, Config_getString, convertToLaTeX(), Doxygen::dirLinkedMap, Doxygen::exampleLinkedMap, FALSE, found, g_footer, Doxygen::groupLinkedMap, Doxygen::inputNameLinkedMap, ModuleManager::instance(), isClassDocumentation, isClassHierarchyIndex, isCompoundIndex, isConceptDocumentation, isConceptIndex, isDirDocumentation, isDirIndex, isEndIndex, isExampleDocumentation, isFileDocumentation, isFileIndex, isMainPage, isModuleDocumentation, isModuleIndex, isNamespaceDocumentation, isNamespaceIndex, isPageDocumentation, isPageDocumentation2, isPageIndex, isTitlePageAuthor, isTitlePageStart, isTopicDocumentation, isTopicIndex, m_codeGen, OutputGenerator::m_t, Doxygen::mainPage, Doxygen::namespaceLinkedMap, Doxygen::pageLinkedMap, substituteLatexKeywords(), TRUE, and writePageLink().

◆ endIndexValue()

void LatexGenerator::endIndexValue ( const QCString & name,
bool  )
overridevirtual

Implements OutputGenIntf.

Definition at line 1358 of file latexgen.cpp.

1359{
1360 //if (hasBrief) m_t << ")";
1361 m_t << "}{\\pageref{" << stripPath(name) << "}}{}\n";
1362}

References OutputGenerator::m_t, and stripPath().

◆ endInlineHeader()

void LatexGenerator::endInlineHeader ( )
overridevirtual

Implements OutputGenIntf.

Definition at line 2199 of file latexgen.cpp.

2200{
2201 m_t << "}\n";
2202}

References OutputGenerator::m_t.

◆ endInlineMemberDoc()

void LatexGenerator::endInlineMemberDoc ( )
overridevirtual

Implements OutputGenIntf.

Definition at line 2273 of file latexgen.cpp.

2274{
2275 m_t << "\\\\\n\\hline\n\n";
2276}

References OutputGenerator::m_t.

◆ endInlineMemberName()

void LatexGenerator::endInlineMemberName ( )
overridevirtual

Implements OutputGenIntf.

Definition at line 2263 of file latexgen.cpp.

2264{
2265 m_t << "&\n";
2266 m_codeGen->setInsideTabbing(false);
2267}

References m_codeGen, and OutputGenerator::m_t.

◆ endInlineMemberType()

void LatexGenerator::endInlineMemberType ( )
overridevirtual

Implements OutputGenIntf.

Definition at line 2252 of file latexgen.cpp.

2253{
2254 m_t << "&\n";
2255 m_codeGen->setInsideTabbing(false);
2256}

References m_codeGen, and OutputGenerator::m_t.

◆ endItemList()

void LatexGenerator::endItemList ( )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 148 of file latexgen.h.

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

References OutputGenerator::m_t.

◆ endItemListItem()

void LatexGenerator::endItemListItem ( )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 162 of file latexgen.h.

162{}

◆ endLabels()

void LatexGenerator::endLabels ( )
overridevirtual

Implements OutputGenIntf.

Definition at line 2289 of file latexgen.cpp.

2290{
2291}

◆ endMemberDeclaration()

void LatexGenerator::endMemberDeclaration ( const QCString & ,
const QCString &  )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 220 of file latexgen.h.

220{}

◆ endMemberDescription()

void LatexGenerator::endMemberDescription ( )
overridevirtual

Implements OutputGenIntf.

Definition at line 1859 of file latexgen.cpp.

1860{
1861 if (!m_codeGen->insideTabbing())
1862 {
1863 //m_t << "\\item\\end{DoxyCompactList}";
1864 m_t << "\\end{DoxyCompactList}";
1865 }
1866 else
1867 {
1868 m_t << "}\\\\\n";
1869 }
1870}

References m_codeGen, and OutputGenerator::m_t.

◆ endMemberDoc()

void LatexGenerator::endMemberDoc ( bool )
overridevirtual

Implements OutputGenIntf.

Definition at line 1627 of file latexgen.cpp.

1628{
1630 m_t << "}\n\n";
1631 //if (Config_getBool(COMPACT_LATEX)) m_t << "\\hfill";
1632}

References FALSE, m_disableLinks, and OutputGenerator::m_t.

◆ endMemberDocList()

void LatexGenerator::endMemberDocList ( )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 173 of file latexgen.h.

173{}

◆ endMemberDocName()

void LatexGenerator::endMemberDocName ( )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 278 of file latexgen.h.

278{}

◆ endMemberDocPrefixItem()

void LatexGenerator::endMemberDocPrefixItem ( )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 276 of file latexgen.h.

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

References OutputGenerator::m_t.

◆ endMemberDocSimple()

void LatexGenerator::endMemberDocSimple ( bool isEnum)
overridevirtual

Implements OutputGenIntf.

Definition at line 2233 of file latexgen.cpp.

2234{
2235 m_insideTableEnv=false;
2236 m_codeGen->decUsedTableLevel();
2237 if (isEnum)
2238 {
2239 m_t << "\\end{DoxyEnumFields}\n";
2240 }
2241 else
2242 {
2243 m_t << "\\end{DoxyFields}\n";
2244 }
2245}

References m_codeGen, m_insideTableEnv, and OutputGenerator::m_t.

◆ endMemberGroup()

void LatexGenerator::endMemberGroup ( bool hasHeader)
overridevirtual

Implements OutputGenIntf.

Definition at line 2010 of file latexgen.cpp.

2011{
2012 if (hasHeader)m_t << "\\end{Indent}";
2013 m_t << "\n";
2014}

References OutputGenerator::m_t.

◆ endMemberGroupDocs()

void LatexGenerator::endMemberGroupDocs ( )
overridevirtual

Implements OutputGenIntf.

Definition at line 2001 of file latexgen.cpp.

2002{
2003 m_t << "}";
2004}

References OutputGenerator::m_t.

◆ endMemberGroupHeader()

void LatexGenerator::endMemberGroupHeader ( )
overridevirtual

Implements OutputGenIntf.

Definition at line 1989 of file latexgen.cpp.

1990{
1991 // changed back to rev 756 due to bug 660501
1992 m_t << "}\\par\n";
1993 //m_t << "}\n";
1994}

References OutputGenerator::m_t.

◆ endMemberHeader()

void LatexGenerator::endMemberHeader ( )
overridevirtual

Implements OutputGenIntf.

Definition at line 1549 of file latexgen.cpp.

1550{
1552 m_t << "}\n";
1553}

References FALSE, m_disableLinks, and OutputGenerator::m_t.

◆ endMemberItem()

void LatexGenerator::endMemberItem ( MemberItemType )
overridevirtual

Implements OutputGenIntf.

Definition at line 1836 of file latexgen.cpp.

1837{
1838 if (m_codeGen->insideTabbing())
1839 {
1840 m_t << "\\\\";
1841 }
1843 m_t << "\n";
1844}

References FALSE, m_codeGen, OutputGenerator::m_t, and m_templateMemberItem.

◆ endMemberList()

void LatexGenerator::endMemberList ( )
overridevirtual

Implements OutputGenIntf.

Definition at line 1964 of file latexgen.cpp.

1965{
1966 //printf("LatexGenerator::endMemberList(%d)\n",m_codeGen->InsideTabbing());
1967 if (!m_codeGen->insideTabbing())
1968 {
1969 m_t << "\\end{DoxyCompactItemize}\n";
1970 }
1971}

References m_codeGen, and OutputGenerator::m_t.

◆ endMemberSections()

void LatexGenerator::endMemberSections ( )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 165 of file latexgen.h.

165{}

◆ endMemberSubtitle()

void LatexGenerator::endMemberSubtitle ( )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 171 of file latexgen.h.

171{}

◆ endMemberTemplateParams()

void LatexGenerator::endMemberTemplateParams ( const QCString & ,
const QCString &  )
overridevirtual

Implements OutputGenIntf.

Definition at line 1818 of file latexgen.cpp.

1819{
1821 {
1822 m_t << "}\\\\";
1823 }
1824}

References OutputGenerator::m_t, and m_templateMemberItem.

◆ endPageDoc()

void LatexGenerator::endPageDoc ( )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 126 of file latexgen.h.

126{}

◆ endPageRef()

void LatexGenerator::endPageRef ( const QCString & clname,
const QCString & anchor )
overridevirtual

Implements OutputGenIntf.

Definition at line 1447 of file latexgen.cpp.

1448{
1449 m_t << "}{";
1450 if (!clname.isEmpty()) m_t << clname;
1451 if (!anchor.isEmpty()) m_t << "_" << anchor;
1452 m_t << "}";
1453}

References QCString::isEmpty(), and OutputGenerator::m_t.

◆ endParagraph()

void LatexGenerator::endParagraph ( )
overridevirtual

Implements OutputGenIntf.

Definition at line 1307 of file latexgen.cpp.

1308{
1309 m_t << "\n" << "\n";
1310}

References OutputGenerator::m_t.

◆ endParameterDefVal()

void LatexGenerator::endParameterDefVal ( )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 286 of file latexgen.h.

286{ endTypewriter(); }
void endTypewriter() override
Definition latexgen.h:158

References endTypewriter().

◆ endParameterExtra()

void LatexGenerator::endParameterExtra ( bool last,
bool one,
bool bracket )
overridevirtual

Implements OutputGenIntf.

Definition at line 2111 of file latexgen.cpp.

2112{
2113 m_t << "}";
2114 if (last)
2115 {
2116 m_t << "\\end{DoxyParamCaption}";
2117 if (closeBracket) m_t << ")";
2118 }
2119}

References OutputGenerator::m_t.

◆ endParameterList()

void LatexGenerator::endParameterList ( )
overridevirtual

Implements OutputGenIntf.

Definition at line 2081 of file latexgen.cpp.

2082{
2083}

◆ endParameterName()

void LatexGenerator::endParameterName ( )
overridevirtual

Implements OutputGenIntf.

Definition at line 2101 of file latexgen.cpp.

2102{
2103 m_t << "}";
2104}

References OutputGenerator::m_t.

◆ endParameterType()

void LatexGenerator::endParameterType ( )
overridevirtual

Implements OutputGenIntf.

Definition at line 2091 of file latexgen.cpp.

2092{
2093 m_t << "}]";
2094}

References OutputGenerator::m_t.

◆ endPlainFile()

void LatexGenerator::endPlainFile ( )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 315 of file latexgen.h.

References OutputGenerator::endPlainFile().

Referenced by endFile(), and writeStyleInfo().

◆ endProjectNumber()

void LatexGenerator::endProjectNumber ( )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 131 of file latexgen.h.

131{}

◆ endQuickIndices()

void LatexGenerator::endQuickIndices ( )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 238 of file latexgen.h.

238{}

◆ endSection()

void LatexGenerator::endSection ( const QCString & lab,
SectionType  )
overridevirtual

Implements OutputGenIntf.

Definition at line 1751 of file latexgen.cpp.

1752{
1753 m_t << "}\\label{" << lab << "}\n";
1754}

References OutputGenerator::m_t.

◆ endSmall()

void LatexGenerator::endSmall ( )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 216 of file latexgen.h.

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

References OutputGenerator::m_t.

◆ endTextBlock()

void LatexGenerator::endTextBlock ( bool )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 273 of file latexgen.h.

273{}

◆ endTextLink()

void LatexGenerator::endTextLink ( )
overridevirtual

Implements OutputGenIntf.

Definition at line 1388 of file latexgen.cpp.

1389{
1390 bool pdfHyperlinks = Config_getBool(PDF_HYPERLINKS);
1391 if (!m_disableLinks && pdfHyperlinks)
1392 {
1393 m_t << "}";
1394 }
1395 m_t << "}";
1396}
#define Config_getBool(name)
Definition config.h:33

References Config_getBool, m_disableLinks, and OutputGenerator::m_t.

◆ endTitle()

void LatexGenerator::endTitle ( )
inlineprivate

Definition at line 320 of file latexgen.h.

320{ m_t << "}"; }

References OutputGenerator::m_t.

◆ endTitleHead()

void LatexGenerator::endTitleHead ( const QCString & fileName,
const QCString & name )
overridevirtual

Implements OutputGenIntf.

Definition at line 1470 of file latexgen.cpp.

1471{
1472 m_t << "}\n";
1473
1474 bool pdfHyperlinks = Config_getBool(PDF_HYPERLINKS);
1475 bool usePDFLatex = Config_getBool(USE_PDFLATEX);
1476 if (usePDFLatex && pdfHyperlinks && !fileName.isEmpty())
1477 {
1478 m_t << "\\hypertarget{" << stripPath(fileName) << "}{}";
1479 }
1480
1481 QCString fn = stripPath(fileName);
1482 if (!fn.isEmpty())
1483 {
1484 m_t << "\\label{" << fn << "}";
1485 }
1486 if (!name.isEmpty())
1487 {
1488 m_t << "\\index{";
1489 m_t << latexEscapeLabelName(name);
1490 m_t << "@{";
1491 m_t << latexEscapeIndexChars(name);
1492 m_t << "}}\n";
1493 }
1494}

References Config_getBool, OutputGenerator::fileName(), QCString::isEmpty(), latexEscapeIndexChars(), latexEscapeLabelName(), OutputGenerator::m_t, and stripPath().

◆ endTypewriter()

void LatexGenerator::endTypewriter ( )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 158 of file latexgen.h.

158{ m_t << "}"; }

References OutputGenerator::m_t.

Referenced by endParameterDefVal().

◆ exceptionEntry()

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

Implements OutputGenIntf.

Definition at line 2121 of file latexgen.cpp.

2122{
2123 if (!prefix.isEmpty())
2124 {
2125 m_t << " " << prefix << "(";
2126 }
2127 else if (closeBracket)
2128 {
2129 m_t << ")";
2130 }
2131 m_t << " ";
2132}
constexpr auto prefix
Definition anchor.cpp:44

References OutputGenerator::m_t, and prefix.

◆ init()

void LatexGenerator::init ( )
static

Definition at line 628 of file latexgen.cpp.

629{
630 QCString dname = Config_getString(LATEX_OUTPUT);
631 Dir d(dname.str());
632 if (!d.exists() && !d.mkdir(dname.str()))
633 {
634 term("Could not create output directory %s\n",qPrint(dname));
635 }
636
637 if (!Config_getString(LATEX_HEADER).isEmpty())
638 {
640 //printf("g_header='%s'\n",qPrint(g_header));
641 QCString result = substituteLatexKeywords(g_header,QCString());
642 checkBlocks(result,Config_getString(LATEX_HEADER),latexMarkerInfo);
643 }
644 else
645 {
647 QCString result = substituteLatexKeywords(g_header,QCString());
648 checkBlocks(result,"<default header.tex>",latexMarkerInfo);
649 }
650 if (!Config_getString(LATEX_FOOTER).isEmpty())
651 {
653 //printf("g_footer='%s'\n",qPrint(g_footer));
654 QCString result = substituteLatexKeywords(g_footer,QCString());
655 checkBlocks(result,Config_getString(LATEX_FOOTER),latexMarkerInfo);
656 }
657 else
658 {
660 QCString result = substituteLatexKeywords(g_footer,QCString());
661 checkBlocks(result,"<default footer.tex>",latexMarkerInfo);
662 }
663
665 writeMakeBat();
666
667 createSubDirs(d);
668}
static ResourceMgr & instance()
Returns the one and only instance of this class.
QCString getAsString(const QCString &name) const
Gets the resource data as a C string.
static QCString g_header
Definition htmlgen.cpp:63
static void writeLatexMakefile()
Definition latexgen.cpp:362
static const SelectionMarkerInfo latexMarkerInfo
Definition latexgen.cpp:53
static void writeMakeBat()
Definition latexgen.cpp:498
#define term(fmt,...)
Definition message.h:94
const char * qPrint(const char *s)
Definition qcstring.h:672
void checkBlocks(const QCString &s, const QCString fileName, const SelectionMarkerInfo &markerInfo)
Definition util.cpp:6850
QCString fileToString(const QCString &name, bool filter, bool isSourceCode)
Definition util.cpp:1414
void createSubDirs(const Dir &d)
Definition util.cpp:3994

References checkBlocks(), Config_getString, createSubDirs(), Dir::exists(), fileToString(), g_footer, g_header, ResourceMgr::getAsString(), ResourceMgr::instance(), latexMarkerInfo, Dir::mkdir(), qPrint(), QCString::str(), substituteLatexKeywords(), term, writeLatexMakefile(), and writeMakeBat().

Referenced by generateOutput().

◆ insertMemberAlign()

void LatexGenerator::insertMemberAlign ( bool )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 194 of file latexgen.h.

194{}

◆ insertMemberAlignLeft()

void LatexGenerator::insertMemberAlignLeft ( MemberItemType ,
bool  )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 195 of file latexgen.h.

195{}

◆ lastIndexPage()

void LatexGenerator::lastIndexPage ( )
overridevirtual

Implements OutputGenIntf.

Definition at line 1951 of file latexgen.cpp.

1952{
1953}

◆ lineBreak()

void LatexGenerator::lineBreak ( const QCString & style = QCString())
overridevirtual

Implements OutputGenIntf.

Definition at line 2204 of file latexgen.cpp.

2205{
2206 if (m_codeGen->insideTabbing())
2207 {
2208 m_t << "\\\\\n";
2209 }
2210 else
2211 {
2212 m_t << "\\newline\n";
2213 }
2214}

References m_codeGen, and OutputGenerator::m_t.

◆ operator=() [1/2]

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

Definition at line 337 of file latexgen.cpp.

338{
339 if (this!=&og)
340 {
341 m_dir = og.m_dir;
342 m_codeList = std::make_unique<OutputCodeList>(*og.m_codeList);
343 m_codeGen = m_codeList->get<LatexCodeGenerator>(OutputType::Latex);
344 m_codeGen->setTextStream(&m_t);
347 m_relPath = og.m_relPath;
348 m_indent = og.m_indent;
351 }
352 return *this;
353}

References Latex, LatexGenerator(), m_codeGen, m_codeList, OutputGenerator::m_dir, m_disableLinks, m_firstDescItem, m_hierarchyLevel, m_indent, m_relPath, OutputGenerator::m_t, and m_templateMemberItem.

◆ operator=() [2/2]

LatexGenerator & LatexGenerator::operator= ( LatexGenerator && )
delete

References LatexGenerator().

◆ setCurrentDoc()

void LatexGenerator::setCurrentDoc ( const Definition * ,
const QCString & ,
bool  )
inline

Definition at line 109 of file latexgen.h.

109{}

◆ startAnonTypeScope()

void LatexGenerator::startAnonTypeScope ( int indent)
overridevirtual

Implements OutputGenIntf.

Definition at line 1789 of file latexgen.cpp.

1790{
1791 if (indent==0)
1792 {
1793 m_t << "\\begin{tabbing}\n";
1794 m_t << "xx\\=xx\\=xx\\=xx\\=xx\\=xx\\=xx\\=xx\\=xx\\=\\kill\n";
1795 m_codeGen->setInsideTabbing(true);
1796 }
1797 m_indent=indent;
1798}

References m_codeGen, m_indent, and OutputGenerator::m_t.

◆ startBold()

void LatexGenerator::startBold ( )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 201 of file latexgen.h.

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

References OutputGenerator::m_t.

◆ startCallGraph()

void LatexGenerator::startCallGraph ( )
overridevirtual

Implements OutputGenIntf.

Definition at line 2044 of file latexgen.cpp.

2045{
2046}

◆ startCenter()

void LatexGenerator::startCenter ( )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 213 of file latexgen.h.

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

References OutputGenerator::m_t.

◆ startClassDiagram()

void LatexGenerator::startClassDiagram ( )
overridevirtual

Implements OutputGenIntf.

Definition at line 1776 of file latexgen.cpp.

1777{
1778 //if (Config_getBool(COMPACT_LATEX)) m_t << "\\doxysubsubsection"; else m_t << "\\doxysubsection";
1779 //m_t << "{";
1780}

◆ startCompoundTemplateParams()

void LatexGenerator::startCompoundTemplateParams ( )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 184 of file latexgen.h.

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

References OutputGenerator::m_t.

◆ startConstraintDocs()

void LatexGenerator::startConstraintDocs ( )
overridevirtual

Implements OutputGenIntf.

Definition at line 2173 of file latexgen.cpp.

2174{
2175}

◆ startConstraintList()

void LatexGenerator::startConstraintList ( const QCString & header)
overridevirtual

Implements OutputGenIntf.

Definition at line 2146 of file latexgen.cpp.

2147{
2148 m_t << "\\begin{Desc}\n\\item[";
2149 docify(header);
2150 m_t << "]";
2151 m_t << "\\begin{description}\n";
2152}
void docify(const QCString &text) override

References docify(), and OutputGenerator::m_t.

◆ startConstraintParam()

void LatexGenerator::startConstraintParam ( )
overridevirtual

Implements OutputGenIntf.

Definition at line 2154 of file latexgen.cpp.

2155{
2156 m_t << "\\item[{\\em ";
2157}

References OutputGenerator::m_t.

◆ startConstraintType()

void LatexGenerator::startConstraintType ( )
overridevirtual

Implements OutputGenIntf.

Definition at line 2163 of file latexgen.cpp.

2164{
2165 m_t << "} : {\\em ";
2166}

References OutputGenerator::m_t.

◆ startContents()

void LatexGenerator::startContents ( )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 244 of file latexgen.h.

244{}

◆ startDescForItem()

void LatexGenerator::startDescForItem ( )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 225 of file latexgen.h.

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

References OutputGenerator::m_t.

◆ startDescTable()

void LatexGenerator::startDescTable ( const QCString & title,
const bool hasInits )
overridevirtual

Implements OutputGenIntf.

Definition at line 1900 of file latexgen.cpp.

1901{
1902 m_codeGen->incUsedTableLevel();
1903 m_t << "\\begin{DoxyEnumFields}[" << (hasInits?3:2) << "]{" << title << "}\n";
1904}

References m_codeGen, and OutputGenerator::m_t.

◆ startDescTableData()

void LatexGenerator::startDescTableData ( )
overridevirtual

Implements OutputGenIntf.

Definition at line 1941 of file latexgen.cpp.

1942{
1943 m_t << "&";
1944}

References OutputGenerator::m_t.

◆ startDescTableInit()

void LatexGenerator::startDescTableInit ( )
overridevirtual

Implements OutputGenIntf.

Definition at line 1932 of file latexgen.cpp.

1933{
1934 m_t << "&";
1935}

References OutputGenerator::m_t.

◆ startDescTableRow()

void LatexGenerator::startDescTableRow ( )
overridevirtual

Implements OutputGenIntf.

Definition at line 1912 of file latexgen.cpp.

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

References OutputGenerator::m_t.

◆ startDescTableTitle()

void LatexGenerator::startDescTableTitle ( )
overridevirtual

Implements OutputGenIntf.

Definition at line 1923 of file latexgen.cpp.

1924{
1925 m_t << "}";
1926}

References OutputGenerator::m_t.

◆ startDirDepGraph()

void LatexGenerator::startDirDepGraph ( )
overridevirtual

Implements OutputGenIntf.

Definition at line 2053 of file latexgen.cpp.

2054{
2055}

◆ startDotGraph()

void LatexGenerator::startDotGraph ( )
overridevirtual

Implements OutputGenIntf.

Definition at line 2016 of file latexgen.cpp.

2017{
2018 m_t << "\n" << "\n";
2019}

References OutputGenerator::m_t.

◆ startDoxyAnchor()

void LatexGenerator::startDoxyAnchor ( const QCString & fName,
const QCString & ,
const QCString & anchor,
const QCString & ,
const QCString &  )
overridevirtual

Implements OutputGenIntf.

Definition at line 1634 of file latexgen.cpp.

1637{
1638 bool pdfHyperlinks = Config_getBool(PDF_HYPERLINKS);
1639 bool usePDFLatex = Config_getBool(USE_PDFLATEX);
1640 if (m_insideTableEnv) m_t << "\\mbox{"; // see issue #6093
1641 if (usePDFLatex && pdfHyperlinks)
1642 {
1643 m_t << "\\Hypertarget{";
1644 if (!fName.isEmpty()) m_t << stripPath(fName);
1645 if (!anchor.isEmpty()) m_t << "_" << anchor;
1646 m_t << "}";
1647 }
1648}

References Config_getBool, QCString::isEmpty(), m_insideTableEnv, OutputGenerator::m_t, and stripPath().

◆ startEmphasis()

void LatexGenerator::startEmphasis ( )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 199 of file latexgen.h.

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

References OutputGenerator::m_t.

◆ startExamples()

void LatexGenerator::startExamples ( )
overridevirtual

Implements OutputGenIntf.

Definition at line 2062 of file latexgen.cpp.

2063{
2064 m_t << "\\begin{Desc}\n\\item[";
2066 m_t << "]";
2067}
virtual QCString trExamples()=0
Translator * theTranslator
Definition language.cpp:71

References docify(), OutputGenerator::m_t, and theTranslator.

◆ startFile()

void LatexGenerator::startFile ( const QCString & name,
const QCString & manName,
const QCString & title,
int id,
int hierarchyLevel )
overridevirtual

Implements OutputGenIntf.

Definition at line 700 of file latexgen.cpp.

701{
702#if 0
703 setEncoding(Config_getString(LATEX_OUTPUT_ENCODING));
704#endif
705 QCString fileName=name;
706 m_hierarchyLevel = hierarchyLevel;
708 if (!fileName.endsWith(".tex") && !fileName.endsWith(".sty")) fileName+=".tex";
710 m_codeGen->setRelativePath(m_relPath);
711 m_codeGen->setSourceFileName(stripPath(fileName));
712}
void startPlainFile(const QCString &name) override
Definition latexgen.h:314
QCString relativePathToRoot(const QCString &name)
Definition util.cpp:3933

References Config_getString, OutputGenerator::fileName(), m_codeGen, m_hierarchyLevel, m_relPath, relativePathToRoot(), startPlainFile(), and stripPath().

◆ startGroupCollaboration()

void LatexGenerator::startGroupCollaboration ( )
overridevirtual

Implements OutputGenIntf.

Definition at line 2035 of file latexgen.cpp.

2036{
2037}

◆ startGroupHeader()

void LatexGenerator::startGroupHeader ( int extraIndentLevel)
overridevirtual

Implements OutputGenIntf.

Definition at line 1508 of file latexgen.cpp.

1509{
1510 if (Config_getBool(COMPACT_LATEX))
1511 {
1512 extraIndentLevel++;
1513 }
1514
1515 if (extraIndentLevel>=3)
1516 {
1517 m_t << "\\doxysubparagraph*{";
1518 }
1519 else if (extraIndentLevel==2)
1520 {
1521 m_t << "\\doxyparagraph{";
1522 }
1523 else
1524 {
1525 extraIndentLevel += m_hierarchyLevel + 1;
1526 m_t << "\\doxy" << QCString("sub").repeat(extraIndentLevel) << "section{";
1527 }
1529}

References Config_getBool, m_disableLinks, m_hierarchyLevel, OutputGenerator::m_t, QCString::repeat(), and TRUE.

◆ startHeaderSection()

void LatexGenerator::startHeaderSection ( )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 166 of file latexgen.h.

166{}

◆ startInclDepGraph()

void LatexGenerator::startInclDepGraph ( )
overridevirtual

Implements OutputGenIntf.

Definition at line 2026 of file latexgen.cpp.

2027{
2028}

◆ startIndent()

void LatexGenerator::startIndent ( )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 230 of file latexgen.h.

230{}

◆ startIndexItem()

void LatexGenerator::startIndexItem ( const QCString & ref,
const QCString & file )
overridevirtual

Implements OutputGenIntf.

Definition at line 1317 of file latexgen.cpp.

1318{
1319 m_t << "\\item ";
1320 if (ref.isEmpty() && !fn.isEmpty())
1321 {
1322 m_t << "\\contentsline{section}{";
1323 }
1324}

References QCString::isEmpty(), and OutputGenerator::m_t.

◆ startIndexKey()

void LatexGenerator::startIndexKey ( )
overridevirtual

Implements OutputGenIntf.

Definition at line 1343 of file latexgen.cpp.

1344{
1345 m_t << "\\item\\contentsline{section}{";
1346}

References OutputGenerator::m_t.

◆ startIndexList()

void LatexGenerator::startIndexList ( )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 141 of file latexgen.h.

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

References OutputGenerator::m_t.

◆ startIndexListItem()

void LatexGenerator::startIndexListItem ( )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 139 of file latexgen.h.

139{}

◆ startIndexSection()

void LatexGenerator::startIndexSection ( IndexSection is)
overridevirtual

Implements OutputGenIntf.

Definition at line 905 of file latexgen.cpp.

906{
907 bool compactLatex = Config_getBool(COMPACT_LATEX);
908 switch (is)
909 {
912 break;
914 break;
916 break;
918 if (compactLatex) m_t << "\\doxysection"; else m_t << "\\chapter";
919 m_t << "{"; //Module Index}\n"
920 break;
922 if (compactLatex) m_t << "\\doxysection"; else m_t << "\\chapter";
923 m_t << "{"; //Topic Index}\n"
924 break;
926 if (compactLatex) m_t << "\\doxysection"; else m_t << "\\chapter";
927 m_t << "{"; //Directory Index}\n"
928 break;
930 if (compactLatex) m_t << "\\doxysection"; else m_t << "\\chapter";
931 m_t << "{"; //Namespace Index}\n"
932 break;
934 if (compactLatex) m_t << "\\doxysection"; else m_t << "\\chapter";
935 m_t << "{"; //Concept Index}\n"
936 break;
938 if (compactLatex) m_t << "\\doxysection"; else m_t << "\\chapter";
939 m_t << "{"; //Hierarchical Index}\n"
940 break;
942 if (compactLatex) m_t << "\\doxysection"; else m_t << "\\chapter";
943 m_t << "{"; //Annotated Compound Index}\n"
944 break;
946 if (compactLatex) m_t << "\\doxysection"; else m_t << "\\chapter";
947 m_t << "{"; //Annotated File Index}\n"
948 break;
950 if (compactLatex) m_t << "\\doxysection"; else m_t << "\\chapter";
951 m_t << "{"; //Annotated Page Index}\n"
952 break;
954 {
955 for (const auto &gd : *Doxygen::groupLinkedMap)
956 {
957 if (!gd->isReference())
958 {
959 if (compactLatex) m_t << "\\doxysection"; else m_t << "\\chapter";
960 m_t << "{"; //Topic Documentation}\n";
961 break;
962 }
963 }
964 }
965 break;
967 {
968 for (const auto &mod : ModuleManager::instance().modules())
969 {
970 if (!mod->isReference() && mod->isPrimaryInterface())
971 {
972 if (compactLatex) m_t << "\\doxysection"; else m_t << "\\chapter";
973 m_t << "{"; //Topic Documentation}\n";
974 break;
975 }
976 }
977 }
978 break;
980 {
981 for (const auto &dd : *Doxygen::dirLinkedMap)
982 {
983 if (dd->isLinkableInProject())
984 {
985 if (compactLatex) m_t << "\\doxysection"; else m_t << "\\chapter";
986 m_t << "{"; //Dir Documentation}\n";
987 break;
988 }
989 }
990 }
991 break;
993 {
994 for (const auto &nd : *Doxygen::namespaceLinkedMap)
995 {
996 if (nd->isLinkableInProject() && !nd->isAlias())
997 {
998 if (compactLatex) m_t << "\\doxysection"; else m_t << "\\chapter";
999 m_t << "{"; // Namespace Documentation}\n":
1000 break;
1001 }
1002 }
1003 }
1004 break;
1006 {
1007 for (const auto &cd : *Doxygen::conceptLinkedMap)
1008 {
1009 if (cd->isLinkableInProject() && !cd->isAlias())
1010 {
1011 if (compactLatex) m_t << "\\doxysection"; else m_t << "\\chapter";
1012 m_t << "{"; // Concept Documentation}\n":
1013 break;
1014 }
1015 }
1016 }
1017 break;
1019 {
1020 for (const auto &cd : *Doxygen::classLinkedMap)
1021 {
1022 if (cd->isLinkableInProject() &&
1023 cd->templateMaster()==nullptr &&
1024 !cd->isEmbeddedInOuterScope() &&
1025 !cd->isAlias()
1026 )
1027 {
1028 if (compactLatex) m_t << "\\doxysection"; else m_t << "\\chapter";
1029 m_t << "{"; //Compound Documentation}\n";
1030 break;
1031 }
1032 }
1033 }
1034 break;
1036 {
1037 bool isFirst=TRUE;
1038 for (const auto &fn : *Doxygen::inputNameLinkedMap)
1039 {
1040 for (const auto &fd : *fn)
1041 {
1042 if (fd->isLinkableInProject() || fd->generateSourceFile())
1043 {
1044 if (isFirst)
1045 {
1046 if (compactLatex) m_t << "\\doxysection"; else m_t << "\\chapter";
1047 m_t << "{"; //File Documentation}\n";
1048 isFirst=FALSE;
1049 break;
1050 }
1051 }
1052 }
1053 }
1054 }
1055 break;
1057 {
1058 if (compactLatex) m_t << "\\doxysection"; else m_t << "\\chapter";
1059 m_t << "{"; //Example Documentation}\n";
1060 }
1061 break;
1063 break;
1065 break;
1067 break;
1068 }
1069}

References Doxygen::classLinkedMap, Doxygen::conceptLinkedMap, Config_getBool, Config_getString, convertToLaTeX(), Doxygen::dirLinkedMap, FALSE, g_header, Doxygen::groupLinkedMap, Doxygen::inputNameLinkedMap, ModuleManager::instance(), isClassDocumentation, isClassHierarchyIndex, isCompoundIndex, isConceptDocumentation, isConceptIndex, isDirDocumentation, isDirIndex, isEndIndex, isExampleDocumentation, isFileDocumentation, isFileIndex, isMainPage, isModuleDocumentation, isModuleIndex, isNamespaceDocumentation, isNamespaceIndex, isPageDocumentation, isPageDocumentation2, isPageIndex, isTitlePageAuthor, isTitlePageStart, isTopicDocumentation, isTopicIndex, m_codeGen, OutputGenerator::m_t, Doxygen::namespaceLinkedMap, substituteLatexKeywords(), and TRUE.

◆ startIndexValue()

void LatexGenerator::startIndexValue ( bool hasBrief)
overridevirtual

Implements OutputGenIntf.

Definition at line 1352 of file latexgen.cpp.

1353{
1354 m_t << " ";
1355 if (hasBrief) m_t << "\\\\*";
1356}

References OutputGenerator::m_t.

◆ startInlineHeader()

void LatexGenerator::startInlineHeader ( )
overridevirtual

Implements OutputGenIntf.

Definition at line 2187 of file latexgen.cpp.

2188{
2189 if (Config_getBool(COMPACT_LATEX))
2190 {
2191 m_t << "\\doxyparagraph*{";
2192 }
2193 else
2194 {
2195 m_t << "\\doxy" << QCString("sub").repeat(m_hierarchyLevel + 1) << "section*{";
2196 }
2197}

References Config_getBool, m_hierarchyLevel, OutputGenerator::m_t, and QCString::repeat().

◆ startInlineMemberDoc()

void LatexGenerator::startInlineMemberDoc ( )
overridevirtual

Implements OutputGenIntf.

Definition at line 2269 of file latexgen.cpp.

2270{
2271}

◆ startInlineMemberName()

void LatexGenerator::startInlineMemberName ( )
overridevirtual

Implements OutputGenIntf.

Definition at line 2258 of file latexgen.cpp.

2259{
2260 m_codeGen->setInsideTabbing(true); // to prevent \+ from causing unwanted breaks
2261}

References m_codeGen.

◆ startInlineMemberType()

void LatexGenerator::startInlineMemberType ( )
overridevirtual

Implements OutputGenIntf.

Definition at line 2247 of file latexgen.cpp.

2248{
2249 m_codeGen->setInsideTabbing(true); // to prevent \+ from causing unwanted breaks
2250}

References m_codeGen.

◆ startItemList()

void LatexGenerator::startItemList ( )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 147 of file latexgen.h.

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

References OutputGenerator::m_t.

◆ startItemListItem()

void LatexGenerator::startItemListItem ( )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 161 of file latexgen.h.

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

References OutputGenerator::m_t.

◆ startLabels()

void LatexGenerator::startLabels ( )
overridevirtual

Implements OutputGenIntf.

Definition at line 2278 of file latexgen.cpp.

2279{
2280 m_t << "\\hspace{0.3cm}";
2281}

References OutputGenerator::m_t.

◆ startMemberDeclaration()

void LatexGenerator::startMemberDeclaration ( )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 219 of file latexgen.h.

219{}

◆ startMemberDescription()

void LatexGenerator::startMemberDescription ( const QCString & ,
const QCString & ,
bool  )
overridevirtual

Implements OutputGenIntf.

Definition at line 1846 of file latexgen.cpp.

1847{
1848 if (!m_codeGen->insideTabbing())
1849 {
1850 m_t << "\\begin{DoxyCompactList}\\small\\item\\em ";
1851 }
1852 else
1853 {
1854 for (int i=0;i<m_indent+2;i++) m_t << "\\>";
1855 m_t << "{\\em ";
1856 }
1857}

References m_codeGen, m_indent, and OutputGenerator::m_t.

◆ startMemberDoc()

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

Implements OutputGenIntf.

Definition at line 1555 of file latexgen.cpp.

1562{
1563 if (!memname.isEmpty() && memname[0]!='@')
1564 {
1565 m_t << "\\index{";
1566 if (!clname.isEmpty())
1567 {
1568 m_t << latexEscapeLabelName(clname);
1569 m_t << "@{";
1570 m_t << latexEscapeIndexChars(clname);
1571 m_t << "}!";
1572 }
1573 m_t << latexEscapeLabelName(memname);
1574 m_t << "@{";
1575 m_t << latexEscapeIndexChars(memname);
1576 m_t << "}}\n";
1577
1578 m_t << "\\index{";
1579 m_t << latexEscapeLabelName(memname);
1580 m_t << "@{";
1581 m_t << latexEscapeIndexChars(memname);
1582 m_t << "}";
1583 if (!clname.isEmpty())
1584 {
1585 m_t << "!";
1586 m_t << latexEscapeLabelName(clname);
1587 m_t << "@{";
1588 m_t << latexEscapeIndexChars(clname);
1589 m_t << "}";
1590 }
1591 m_t << "}\n";
1592 }
1593 bool compactLatex = Config_getBool(COMPACT_LATEX);
1594 bool pdfHyperlinks = Config_getBool(PDF_HYPERLINKS);
1595 if (showInline)
1596 {
1597 m_t << "\\doxysubparagraph";
1598 }
1599 else if (compactLatex)
1600 {
1601 m_t << "\\doxyparagraph";
1602 }
1603 else
1604 {
1605 m_t << "\\doxy" << QCString("sub").repeat(m_hierarchyLevel + 2) << "section";
1606 }
1607
1608 m_t << "{";
1609 if (pdfHyperlinks)
1610 {
1611 m_t << "\\texorpdfstring{";
1612 }
1613 m_t << latexEscapeIndexChars(title);
1614 if (pdfHyperlinks)
1615 {
1616 m_t << "}{" << latexEscapePDFString(title) << "}";
1617 }
1618 if (memTotal>1)
1619 {
1620 m_t << "\\hspace{0.1cm}{\\footnotesize\\ttfamily [" << memCount << "/" << memTotal << "]}";
1621 }
1622 m_t << "}";
1623 m_t << "\n{\\footnotesize\\ttfamily ";
1624 //m_disableLinks=TRUE;
1625}
QCString latexEscapePDFString(const QCString &s)

References Config_getBool, QCString::isEmpty(), latexEscapeIndexChars(), latexEscapeLabelName(), latexEscapePDFString(), m_hierarchyLevel, OutputGenerator::m_t, and QCString::repeat().

◆ startMemberDocList()

void LatexGenerator::startMemberDocList ( )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 172 of file latexgen.h.

172{}

◆ startMemberDocName()

void LatexGenerator::startMemberDocName ( bool )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 277 of file latexgen.h.

277{}

◆ startMemberDocPrefixItem()

void LatexGenerator::startMemberDocPrefixItem ( )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 275 of file latexgen.h.

275{}

◆ startMemberDocSimple()

void LatexGenerator::startMemberDocSimple ( bool isEnum)
overridevirtual

Implements OutputGenIntf.

Definition at line 2216 of file latexgen.cpp.

2217{
2218 m_codeGen->incUsedTableLevel();
2219 if (isEnum)
2220 {
2221 m_t << "\\begin{DoxyEnumFields}{";
2223 }
2224 else
2225 {
2226 m_t << "\\begin{DoxyFields}{";
2228 }
2229 m_t << "}\n";
2230 m_insideTableEnv=true;
2231}
virtual QCString trEnumerationValues()=0
virtual QCString trCompoundMembers()=0

References docify(), m_codeGen, m_insideTableEnv, OutputGenerator::m_t, and theTranslator.

◆ startMemberGroup()

void LatexGenerator::startMemberGroup ( )
overridevirtual

Implements OutputGenIntf.

Definition at line 2006 of file latexgen.cpp.

2007{
2008}

◆ startMemberGroupDocs()

void LatexGenerator::startMemberGroupDocs ( )
overridevirtual

Implements OutputGenIntf.

Definition at line 1996 of file latexgen.cpp.

1997{
1998 m_t << "{\\em ";
1999}

References OutputGenerator::m_t.

◆ startMemberGroupHeader()

void LatexGenerator::startMemberGroupHeader ( bool hasHeader)
overridevirtual

Implements OutputGenIntf.

Definition at line 1974 of file latexgen.cpp.

1975{
1976 if (hasHeader) m_t << "\\begin{Indent}";
1977 m_t << "\\textbf{ ";
1978 // changed back to rev 756 due to bug 660501
1979 //if (Config_getBool(COMPACT_LATEX))
1980 //{
1981 // m_t << "\\doxysubparagraph*{";
1982 //}
1983 //else
1984 //{
1985 // m_t << "\\doxyparagraph*{";
1986 //}
1987}

References OutputGenerator::m_t.

◆ startMemberHeader()

void LatexGenerator::startMemberHeader ( const QCString & ,
int  )
overridevirtual

Implements OutputGenIntf.

Definition at line 1537 of file latexgen.cpp.

1538{
1539 int l = m_hierarchyLevel + 1;
1540 if (Config_getBool(COMPACT_LATEX))
1541 {
1542 ++l;
1543 }
1544
1545 m_t << "\\doxysub" << QCString("sub").repeat(l) << "section*{";
1547}

References Config_getBool, m_disableLinks, m_hierarchyLevel, OutputGenerator::m_t, QCString::repeat(), and TRUE.

◆ startMemberItem()

void LatexGenerator::startMemberItem ( const QCString & ,
MemberItemType type,
const QCString &  )
overridevirtual

Implements OutputGenIntf.

Definition at line 1826 of file latexgen.cpp.

1827{
1828 //printf("LatexGenerator::startMemberItem(%d)\n",annType);
1829 if (!m_codeGen->insideTabbing())
1830 {
1831 m_t << "\\item \n";
1833 }
1834}
OutputType type() const override
Definition latexgen.h:114

References m_codeGen, OutputGenerator::m_t, m_templateMemberItem, OutputGenerator::Templated, and type().

◆ startMemberList()

void LatexGenerator::startMemberList ( )
overridevirtual

Implements OutputGenIntf.

Definition at line 1956 of file latexgen.cpp.

1957{
1958 if (!m_codeGen->insideTabbing())
1959 {
1960 m_t << "\\begin{DoxyCompactItemize}\n";
1961 }
1962}

References m_codeGen, and OutputGenerator::m_t.

◆ startMemberSections()

void LatexGenerator::startMemberSections ( )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 164 of file latexgen.h.

164{}

◆ startMemberSubtitle()

void LatexGenerator::startMemberSubtitle ( )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 170 of file latexgen.h.

170{}

◆ startMemberTemplateParams()

void LatexGenerator::startMemberTemplateParams ( )
overridevirtual

Implements OutputGenIntf.

Definition at line 1810 of file latexgen.cpp.

1811{
1813 {
1814 m_t << "{\\footnotesize ";
1815 }
1816}

References OutputGenerator::m_t, and m_templateMemberItem.

◆ startPageDoc()

void LatexGenerator::startPageDoc ( const QCString & )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 125 of file latexgen.h.

125{}

◆ startPageRef()

void LatexGenerator::startPageRef ( )
overridevirtual

Implements OutputGenIntf.

Definition at line 1442 of file latexgen.cpp.

1443{
1444 m_t << " \\doxyref{}{";
1445}

References OutputGenerator::m_t.

◆ startParagraph()

void LatexGenerator::startParagraph ( const QCString & classDef)
overridevirtual

Implements OutputGenIntf.

Definition at line 1302 of file latexgen.cpp.

1303{
1304 m_t << "\n" << "\n";
1305}

References OutputGenerator::m_t.

◆ startParameterDefVal()

void LatexGenerator::startParameterDefVal ( const char * s)
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 285 of file latexgen.h.

285{ docify(s); startTypewriter(); }
void startTypewriter() override
Definition latexgen.h:157

References docify(), and startTypewriter().

◆ startParameterExtra()

void LatexGenerator::startParameterExtra ( )
overridevirtual

Implements OutputGenIntf.

Definition at line 2106 of file latexgen.cpp.

2107{
2108 m_t << "{";
2109}

References OutputGenerator::m_t.

◆ startParameterList()

void LatexGenerator::startParameterList ( bool openBracket)
overridevirtual

Implements OutputGenIntf.

Definition at line 2074 of file latexgen.cpp.

2075{
2076 /* start of ParameterType ParameterName list */
2077 if (openBracket) m_t << "(";
2078 m_t << "\\begin{DoxyParamCaption}";
2079}

References OutputGenerator::m_t.

◆ startParameterName()

void LatexGenerator::startParameterName ( bool )
overridevirtual

Implements OutputGenIntf.

Definition at line 2096 of file latexgen.cpp.

2097{
2098 m_t << "{";
2099}

References OutputGenerator::m_t.

◆ startParameterType()

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

Implements OutputGenIntf.

Definition at line 2085 of file latexgen.cpp.

2086{
2087 m_t << "\\item[{";
2088 if (!first && !key.isEmpty()) docify(key);
2089}

References docify(), QCString::isEmpty(), and OutputGenerator::m_t.

◆ startPlainFile()

void LatexGenerator::startPlainFile ( const QCString & name)
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 314 of file latexgen.h.

void startPlainFile(const QCString &name)
Definition outputgen.cpp:32

References OutputGenerator::startPlainFile().

Referenced by startFile(), and writeStyleInfo().

◆ startProjectNumber()

void LatexGenerator::startProjectNumber ( )
overridevirtual

Implements OutputGenIntf.

Definition at line 725 of file latexgen.cpp.

726{
727 m_t << "\\\\[1ex]\\large ";
728}

References OutputGenerator::m_t.

◆ startQuickIndices()

void LatexGenerator::startQuickIndices ( )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 237 of file latexgen.h.

237{}

◆ startSection()

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

Implements OutputGenIntf.

Definition at line 1710 of file latexgen.cpp.

1711{
1712 bool pdfHyperlinks = Config_getBool(PDF_HYPERLINKS);
1713 bool usePDFLatex = Config_getBool(USE_PDFLATEX);
1714 if (usePDFLatex && pdfHyperlinks)
1715 {
1716 m_t << "\\hypertarget{" << stripPath(lab) << "}{}";
1717 }
1718 m_t << "\\";
1719 if (Config_getBool(COMPACT_LATEX))
1720 {
1721 switch(type.level())
1722 {
1723 case SectionType::Page: m_t << "doxysubsection"; break;
1724 case SectionType::Section: m_t << "doxysubsubsection"; break;
1725 case SectionType::Subsection: m_t << "doxysubsubsubsection"; break;
1726 case SectionType::Subsubsection: m_t << "doxysubsubsubsubsection"; break;
1727 case SectionType::Paragraph: m_t << "doxysubsubsubsubsubsection"; break;
1728 case SectionType::Subparagraph: m_t << "doxysubsubsubsubsubsubsection"; break;
1729 case SectionType::Subsubparagraph: m_t << "doxysubsubsubsubsubsubsection"; break;
1730 default: ASSERT(0); break;
1731 }
1732 m_t << "{";
1733 }
1734 else
1735 {
1736 switch(type.level())
1737 {
1738 case SectionType::Page: m_t << "doxysection"; break;
1739 case SectionType::Section: m_t << "doxysubsection"; break;
1740 case SectionType::Subsection: m_t << "doxysubsubsection"; break;
1741 case SectionType::Subsubsection: m_t << "doxysubsubsubsection"; break;
1742 case SectionType::Paragraph: m_t << "doxysubsubsubsubsection"; break;
1743 case SectionType::Subparagraph: m_t << "doxysubsubsubsubsubsection"; break;
1744 case SectionType::Subsubparagraph: m_t << "doxysubsubsubsubsubsubsection"; break;
1745 default: ASSERT(0); break;
1746 }
1747 m_t << "{";
1748 }
1749}
static constexpr int Section
Definition section.h:33
static constexpr int Subsection
Definition section.h:34
static constexpr int Subsubsection
Definition section.h:35
static constexpr int Page
Definition section.h:31
static constexpr int Paragraph
Definition section.h:36
static constexpr int Subsubparagraph
Definition section.h:38
static constexpr int Subparagraph
Definition section.h:37
#define ASSERT(x)
Definition qcstring.h:39

References ASSERT, Config_getBool, OutputGenerator::m_t, SectionType::Page, SectionType::Paragraph, SectionType::Section, stripPath(), SectionType::Subparagraph, SectionType::Subsection, SectionType::Subsubparagraph, SectionType::Subsubsection, and type().

◆ startSmall()

void LatexGenerator::startSmall ( )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 215 of file latexgen.h.

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

References OutputGenerator::m_t.

◆ startTextBlock()

void LatexGenerator::startTextBlock ( bool )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 272 of file latexgen.h.

272{}

◆ startTextLink()

void LatexGenerator::startTextLink ( const QCString & f,
const QCString & anchor )
overridevirtual

Implements OutputGenIntf.

Definition at line 1372 of file latexgen.cpp.

1373{
1374 bool pdfHyperlinks = Config_getBool(PDF_HYPERLINKS);
1375 if (!m_disableLinks && pdfHyperlinks)
1376 {
1377 m_t << "\\mbox{\\hyperlink{";
1378 if (!f.isEmpty()) m_t << stripPath(f);
1379 if (!anchor.isEmpty()) m_t << "_" << anchor;
1380 m_t << "}{";
1381 }
1382 else
1383 {
1384 m_t << "\\textbf{ ";
1385 }
1386}

References Config_getBool, QCString::isEmpty(), m_disableLinks, OutputGenerator::m_t, and stripPath().

◆ startTitle()

void LatexGenerator::startTitle ( )
private

Definition at line 1496 of file latexgen.cpp.

1497{
1498 if (Config_getBool(COMPACT_LATEX))
1499 {
1500 m_t << "\\doxysubsection{";
1501 }
1502 else
1503 {
1504 m_t << "\\doxysection{";
1505 }
1506}

References Config_getBool, and OutputGenerator::m_t.

◆ startTitleHead()

void LatexGenerator::startTitleHead ( const QCString & fileName)
overridevirtual

Implements OutputGenIntf.

Definition at line 1456 of file latexgen.cpp.

1457{
1458 int hierarchyLevel = m_hierarchyLevel;
1459 if (Config_getBool(COMPACT_LATEX))
1460 {
1461 ++hierarchyLevel;
1462 }
1463
1464 if (hierarchyLevel < 0)
1465 m_t << "\\chapter{";
1466 else
1467 m_t << "\\doxy" << QCString("sub").repeat(hierarchyLevel) << "section{";
1468}

References Config_getBool, OutputGenerator::fileName(), m_hierarchyLevel, OutputGenerator::m_t, and QCString::repeat().

◆ startTypewriter()

void LatexGenerator::startTypewriter ( )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 157 of file latexgen.h.

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

References OutputGenerator::m_t.

Referenced by startParameterDefVal().

◆ type()

OutputType LatexGenerator::type ( ) const
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 114 of file latexgen.h.

114{ return OutputType::Latex; }

References Latex.

Referenced by startMemberItem(), and startSection().

◆ writeAnchor()

void LatexGenerator::writeAnchor ( const QCString & fileName,
const QCString & name )
overridevirtual

Implements OutputGenIntf.

Definition at line 1663 of file latexgen.cpp.

1664{
1665 //printf("LatexGenerator::writeAnchor(%s,%s)\n",fName,name);
1666 m_t << "\\label{" << stripPath(name) << "}\n";
1667 bool pdfHyperlinks = Config_getBool(PDF_HYPERLINKS);
1668 bool usePDFLatex = Config_getBool(USE_PDFLATEX);
1669 if (usePDFLatex && pdfHyperlinks)
1670 {
1671 if (!fName.isEmpty())
1672 {
1673 m_t << "\\Hypertarget{" << stripPath(fName) << "_" << stripPath(name) << "}\n";
1674 }
1675 else
1676 {
1677 m_t << "\\Hypertarget{" << stripPath(name) << "}\n";
1678 }
1679 }
1680}

References Config_getBool, QCString::isEmpty(), OutputGenerator::m_t, and stripPath().

◆ writeChar()

void LatexGenerator::writeChar ( char c)
overridevirtual

Implements OutputGenIntf.

Definition at line 1768 of file latexgen.cpp.

1769{
1770 char cs[2];
1771 cs[0]=c;
1772 cs[1]=0;
1773 docify(cs);
1774}

References docify().

◆ writeDoc()

void LatexGenerator::writeDoc ( const IDocNodeAST * node,
const Definition * ctx,
const MemberDef * ,
int id )
overridevirtual

Implements OutputGenIntf.

Definition at line 2134 of file latexgen.cpp.

2135{
2136 const DocNodeAST *astImpl = dynamic_cast<const DocNodeAST*>(ast);
2137 if (astImpl)
2138 {
2139 LatexDocVisitor visitor(m_t,*m_codeList,*m_codeGen,
2140 ctx?ctx->getDefFileExtension():QCString(""),
2142 std::visit(visitor,astImpl->root);
2143 }
2144}
virtual QCString getDefFileExtension() const =0
DocNodeVariant root
Definition docnode.h:1481

References Definition::getDefFileExtension(), m_codeGen, m_codeList, m_hierarchyLevel, OutputGenerator::m_t, and DocNodeAST::root.

◆ writeFooter()

void LatexGenerator::writeFooter ( const QCString & )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 123 of file latexgen.h.

123{}

◆ writeFooterFile()

void LatexGenerator::writeFooterFile ( TextStream & t)
static

Definition at line 688 of file latexgen.cpp.

689{
690 t << "% Latex footer for doxygen " << getDoxygenVersion() << "\n";
691 t << ResourceMgr::instance().getAsString("footer.tex");
692}

References ResourceMgr::getAsString(), and ResourceMgr::instance().

Referenced by readConfiguration().

◆ writeGraphicalHierarchy()

void LatexGenerator::writeGraphicalHierarchy ( DotGfxHierarchyTable & )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 270 of file latexgen.h.

270{}

◆ writeHeaderFile()

void LatexGenerator::writeHeaderFile ( TextStream & t)
static

Definition at line 682 of file latexgen.cpp.

683{
684 t << "% Latex header for doxygen " << getDoxygenVersion() << "\n";
685 t << ResourceMgr::instance().getAsString("header.tex");
686}

References ResourceMgr::getAsString(), and ResourceMgr::instance().

Referenced by readConfiguration().

◆ writeInheritedSectionTitle()

void LatexGenerator::writeInheritedSectionTitle ( const QCString & ,
const QCString & ref,
const QCString & file,
const QCString & anchor,
const QCString & title,
const QCString & name )
overridevirtual

Implements OutputGenIntf.

Definition at line 2293 of file latexgen.cpp.

2297{
2298 if (Config_getBool(COMPACT_LATEX))
2299 {
2300 m_t << "\\doxyparagraph*{";
2301 }
2302 else
2303 {
2304 m_t << "\\doxy" << QCString("sub").repeat(m_hierarchyLevel + 1) << "section*{";
2305 }
2306 m_t << theTranslator->trInheritedFrom(convertToLaTeX(title,m_codeGen->insideTabbing()),
2307 objectLinkToString(ref, file, anchor, name, m_codeGen->insideTabbing(), m_disableLinks));
2308 m_t << "}\n";
2309}
virtual QCString trInheritedFrom(const QCString &members, const QCString &what)=0
static QCString objectLinkToString(const QCString &, const QCString &f, const QCString &anchor, const QCString &text)

References Config_getBool, convertToLaTeX(), m_codeGen, m_disableLinks, m_hierarchyLevel, OutputGenerator::m_t, objectLinkToString(), QCString::repeat(), and theTranslator.

◆ writeLabel()

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

Implements OutputGenIntf.

Definition at line 2283 of file latexgen.cpp.

2284{
2285 m_t << "{\\ttfamily [" << l << "]}";
2286 if (!isLast) m_t << ", ";
2287}

References OutputGenerator::m_t.

◆ writeLatexSpacing()

void LatexGenerator::writeLatexSpacing ( )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 210 of file latexgen.h.

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

References OutputGenerator::m_t.

◆ writeLocalToc()

void LatexGenerator::writeLocalToc ( const SectionRefs & sr,
const LocalToc & lt )
overridevirtual

Implements OutputGenIntf.

Definition at line 2311 of file latexgen.cpp.

2312{
2313 if (localToc.isLatexEnabled())
2314 {
2315 int maxLevel = localToc.latexLevel() + m_hierarchyLevel;
2316 m_t << "\\etocsetnexttocdepth{" << maxLevel << "}\n";
2317 m_t << "\\localtableofcontents\n";
2318 }
2319}

References LocalToc::isLatexEnabled(), LocalToc::latexLevel(), m_hierarchyLevel, and OutputGenerator::m_t.

◆ writeLogo()

void LatexGenerator::writeLogo ( )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 241 of file latexgen.h.

241{}

◆ writeNavigationPath()

void LatexGenerator::writeNavigationPath ( const QCString & )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 240 of file latexgen.h.

240{}

◆ writeNonBreakableSpace()

void LatexGenerator::writeNonBreakableSpace ( int )
overridevirtual

Implements OutputGenIntf.

Definition at line 1873 of file latexgen.cpp.

1874{
1875 //printf("writeNonBreakableSpace()\n");
1876 if (m_codeGen->insideTabbing())
1877 {
1878 m_t << "\\>";
1879 }
1880 else
1881 {
1882 m_t << "~";
1883 }
1884}

References m_codeGen, and OutputGenerator::m_t.

◆ writeObjectLink()

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

Implements OutputGenIntf.

Definition at line 1436 of file latexgen.cpp.

1438{
1439 m_t << objectLinkToString(ref,f,anchor,text,m_codeGen->insideTabbing(),m_disableLinks);
1440}

References m_codeGen, m_disableLinks, OutputGenerator::m_t, and objectLinkToString().

◆ writePageLink()

void LatexGenerator::writePageLink ( const QCString & name,
bool  )
overridevirtual

Implements OutputGenIntf.

Definition at line 1268 of file latexgen.cpp.

1269{
1270 //bool &compactLatex = Config_getBool(COMPACT_LATEX);
1271 // next is remove for bug615957
1272 //if (compactLatex || first) m_t << "\\input" ; else m_t << "\\include";
1273 m_t << "\\input" ;
1274 m_t << "{" << name << "}\n";
1275}

References OutputGenerator::m_t.

Referenced by endIndexSection().

◆ writeQuickLinks()

void LatexGenerator::writeQuickLinks ( HighlightedItem ,
const QCString &  )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 242 of file latexgen.h.

242{}

◆ writeRuler()

void LatexGenerator::writeRuler ( )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 197 of file latexgen.h.

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

References OutputGenerator::m_t.

◆ writeSearchInfo()

void LatexGenerator::writeSearchInfo ( )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 122 of file latexgen.h.

122{}

◆ writeSplitBar()

void LatexGenerator::writeSplitBar ( const QCString & )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 239 of file latexgen.h.

239{}

◆ writeStartAnnoItem()

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

Implements OutputGenIntf.

Definition at line 1334 of file latexgen.cpp.

1336{
1337 m_t << "\\item\\contentsline{section}\\textbf{ ";
1338 if (!path.isEmpty()) docify(path);
1339 docify(name);
1340 m_t << "} ";
1341}

References docify(), QCString::isEmpty(), and OutputGenerator::m_t.

◆ writeString()

void LatexGenerator::writeString ( const QCString & text)
overridevirtual

Implements OutputGenIntf.

Definition at line 1312 of file latexgen.cpp.

1313{
1314 m_t << text;
1315}

References OutputGenerator::m_t.

◆ writeStyleInfo()

void LatexGenerator::writeStyleInfo ( int part)
overridevirtual

an extension of the etoc package is required that is only available in the newer version. Providing the updated version to be used with older versions of LaTeX

Implements OutputGenIntf.

Definition at line 1277 of file latexgen.cpp.

1278{
1279 if (part > 0)
1280 return;
1281
1282 startPlainFile("doxygen.sty");
1284 endPlainFile();
1285
1286 // workaround for the problem caused by change in LaTeX in version 2019
1287 // in the unmaintained tabu package
1288 startPlainFile("tabu_doxygen.sty");
1289 m_t << ResourceMgr::instance().getAsString("tabu_doxygen.sty");
1290 endPlainFile();
1291 startPlainFile("longtable_doxygen.sty");
1292 m_t << ResourceMgr::instance().getAsString("longtable_doxygen.sty");
1293 endPlainFile();
1294 /// an extension of the etoc package is required that is only available in the
1295 /// newer version. Providing the updated version to be used with older versions
1296 /// of LaTeX
1297 startPlainFile("etoc_doxygen.sty");
1298 m_t << ResourceMgr::instance().getAsString("etoc_doxygen.sty");
1299 endPlainFile();
1300}
static void writeDefaultStyleSheet(TextStream &t)
Definition htmlgen.cpp:1388

References endPlainFile(), ResourceMgr::getAsString(), ResourceMgr::instance(), OutputGenerator::m_t, startPlainFile(), and writeDefaultStyleSheet().

◆ writeStyleSheetFile()

void LatexGenerator::writeStyleSheetFile ( TextStream & t)
static

Definition at line 694 of file latexgen.cpp.

695{
696 t << "% stylesheet for doxygen " << getDoxygenVersion() << "\n";
698}

References writeDefaultStyleSheet().

Referenced by readConfiguration().

◆ writeSummaryLink()

void LatexGenerator::writeSummaryLink ( const QCString & ,
const QCString & ,
const QCString & ,
bool  )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 243 of file latexgen.h.

243{}

◆ writeSynopsis()

void LatexGenerator::writeSynopsis ( )
inlineoverridevirtual

Implements OutputGenIntf.

Definition at line 232 of file latexgen.h.

232{}

Member Data Documentation

◆ m_codeGen

◆ m_codeList

std::unique_ptr<OutputCodeList> LatexGenerator::m_codeList
private

Definition at line 327 of file latexgen.h.

Referenced by LatexGenerator(), LatexGenerator(), operator=(), and writeDoc().

◆ m_disableLinks

◆ m_firstDescItem

bool LatexGenerator::m_firstDescItem = true
private

Definition at line 322 of file latexgen.h.

Referenced by LatexGenerator(), and operator=().

◆ m_hierarchyLevel

◆ m_indent

int LatexGenerator::m_indent = 0
private

◆ m_insideTableEnv

bool LatexGenerator::m_insideTableEnv = false
private

Definition at line 329 of file latexgen.h.

Referenced by addLabel(), endMemberDocSimple(), startDoxyAnchor(), and startMemberDocSimple().

◆ m_relPath

QCString LatexGenerator::m_relPath
private

◆ m_templateMemberItem

bool LatexGenerator::m_templateMemberItem = false
private

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