16#ifndef LATEXDOCVISITOR_H
17#define LATEXDOCVISITOR_H
40 LatexDocVisitor(TextStream &t,OutputCodeList &ci,LatexCodeGenerator &lcg,
41 const QCString &langExt,
int hierarchyLevel = 0);
115 for (
const auto &child : t.children())
117 std::visit(*
this, child);
137 void filter(
const QCString &str,
const bool retainNewLine =
false);
138 void startLink(
const QCString &ref,
const QCString &file,
139 const QCString &anchor,
bool refToTable=
false,
bool refToSection=
false);
140 void endLink(
const QCString &ref,
const QCString &file,
141 const QCString &anchor,
bool refToTable=
false,
bool refToSection=
false, SectionType sectionType =
SectionType::Anchor);
143 void startDotFile(
const QCString &fileName,
const QCString &width,
144 const QCString &height,
bool hasCaption,
145 const QCString &srcFile,
int srcLine);
148 void startMscFile(
const QCString &fileName,
const QCString &width,
149 const QCString &height,
bool hasCaption,
150 const QCString &srcFile,
int srcLine);
152 void writeMscFile(
const QCString &fileName,
const DocVerbatim &s);
154 void startDiaFile(
const QCString &fileName,
const QCString &width,
155 const QCString &height,
bool hasCaption,
156 const QCString &srcFile,
int srcLine);
158 void writeDiaFile(
const QCString &fileName,
const DocVerbatim &s);
161 const QCString &height,
bool hasCaption,
162 const QCString &srcFile,
int srcLine);
Generator for LaTeX code fragments.
QCString escapeMakeIndexChars(const char *s)
void writeDiaFile(const QCString &fileName, const DocVerbatim &s)
std::stack< TableState > m_tableStateStack
void setCurrentColumn(size_t col)
static const int maxIndentLevels
void endLink(const QCString &ref, const QCString &file, const QCString &anchor, bool refToTable=false, bool refToSection=false, SectionType sectionType=SectionType::Anchor)
void endDotFile(bool hasCaption)
void operator()(const DocWord &)
void setInColSpan(bool b)
void visitCaption(const DocNodeList &children)
void addRowSpan(ActiveRowSpan &&span)
void setNumCols(size_t num)
void startLink(const QCString &ref, const QCString &file, const QCString &anchor, bool refToTable=false, bool refToSection=false)
LatexDocVisitor(TextStream &t, OutputCodeList &ci, LatexCodeGenerator &lcg, const QCString &langExt, int hierarchyLevel=0)
size_t currentColumn() const
void writePlantUMLFile(const QCString &fileName, const DocVerbatim &s)
void filter(const QCString &str, const bool retainNewLine=false)
void endMscFile(bool hasCaption)
void startDotFile(const QCString &fileName, const QCString &width, const QCString &height, bool hasCaption, const QCString &srcFile, int srcLine)
void startPlantUmlFile(const QCString &fileName, const QCString &width, const QCString &height, bool hasCaption, const QCString &srcFile, int srcLine)
LatexListItemInfo m_listItemInfo[maxIndentLevels]
RowSpanList m_emptyRowSpanList
void endDiaFile(bool hasCaption)
std::vector< ActiveRowSpan > RowSpanList
const char * getSectionName(int level) const
void writeMscFile(const QCString &fileName, const DocVerbatim &s)
void endPlantUmlFile(bool hasCaption)
void startMscFile(const QCString &fileName, const QCString &width, const QCString &height, bool hasCaption, const QCString &srcFile, int srcLine)
void setInRowSpan(bool b)
void visitChildren(const T &t)
LatexCodeGenerator & m_lcg
void startDiaFile(const QCString &fileName, const QCString &width, const QCString &height, bool hasCaption, const QCString &srcFile, int srcLine)
Class representing a list of different code generators.
static constexpr int Anchor
Text streaming class that buffers data.
@ TEX
called through texorpdf as TeX (first) part
@ PDF
called through texorpdf as PDF (second) part
@ NO
not called through texorpdf
ActiveRowSpan(const DocHtmlCell &c, size_t rs, size_t cs, size_t col)