19 #ifndef _LATEXDOCVISITOR_H 20 #define _LATEXDOCVISITOR_H 36 const char *langExt,
bool insideTabbing);
167 const QCString &height,
bool hasCaption);
171 const QCString &height,
bool hasCaption);
176 const QCString &height,
bool hasCaption);
219 delete m_tableStateStack.
pop();
223 return !m_tableStateStack.
isEmpty() ? m_tableStateStack.
top()->currentColumn : 0;
227 if (!m_tableStateStack.
isEmpty()) m_tableStateStack.
top()->currentColumn = col;
231 return !m_tableStateStack.
isEmpty() ? m_tableStateStack.
top()->numCols : 0;
235 if (!m_tableStateStack.
isEmpty()) m_tableStateStack.
top()->numCols =
num;
239 return !m_tableStateStack.
isEmpty() ? m_tableStateStack.
top()->inRowSpan :
FALSE;
243 if (!m_tableStateStack.
isEmpty()) m_tableStateStack.
top()->inRowSpan =
b;
247 return !m_tableStateStack.
isEmpty() ? m_tableStateStack.
top()->inColSpan :
FALSE;
251 if (!m_tableStateStack.
isEmpty()) m_tableStateStack.
top()->inColSpan =
b;
255 return !m_tableStateStack.
isEmpty() ? m_tableStateStack.
top()->firstRow :
FALSE;
259 if (!m_tableStateStack.
isEmpty()) m_tableStateStack.
top()->firstRow =
b;
267 if (!m_tableStateStack.
isEmpty()) m_tableStateStack.
top()->rowSpans.append(span);
271 return !m_tableStateStack.
isEmpty();
void writePlantUMLFile(const QCString &fileName, DocVerbatim *s)
span(IterB &&b, IterE &&e, Adaptor &&adaptor) -> span< decltype(adaptor(std::forward< IterB >(b))), decltype(adaptor(std::forward< IterE >(e))) >
void setInColSpan(bool b)
void endMscFile(bool hasCaption)
void startMscFile(const QCString &fileName, const QCString &width, const QCString &height, bool hasCaption)
void startLink(const QCString &ref, const QCString &file, const QCString &anchor, bool refToTable=FALSE)
LatexDocVisitor(FTextStream &t, CodeOutputInterface &ci, const char *langExt, bool insideTabbing)
Simplified and optimized version of QTextStream.
void startDotFile(const QCString &fileName, const QCString &width, const QCString &height, bool hasCaption)
Concrete visitor implementation for LaTeX output.
Abstract visitor that participates in the visitor pattern.
void visitPre(DocAutoList *)
CodeOutputInterface & m_ci
void visitPost(DocAutoList *)
int currentColumn() const
void writeDiaFile(const QCString &fileName, DocVerbatim *s)
void setInRowSpan(bool b)
void endDotFile(bool hasCaption)
void endDiaFile(bool hasCaption)
void endLink(const QCString &ref, const QCString &file, const QCString &anchor)
QCString escapeMakeIndexChars(const char *s)
const RowSpanList & rowSpans()
void filter(const char *str)
std::vector< std::string > column
void setCurrentColumn(int col)
QList< ActiveRowSpan > RowSpanList
void writeMscFile(const QCString &fileName, DocVerbatim *s)
RowSpanList m_emptyRowSpanList
void setAutoDelete(bool enable)
ActiveRowSpan(DocHtmlCell *c, int rs, int cs, int col)
void startDiaFile(const QCString &fileName, const QCString &width, const QCString &height, bool hasCaption)
void addRowSpan(ActiveRowSpan *span)
QStack< TableState > m_tableStateStack