22#define LATEX_STYLE_EXTENSION ".sty"
35 std::unique_ptr<OutputCodeIntf>
clone()
override {
return std::make_unique<LatexCodeGenerator>(*
this); }
36 void codify(
const QCString &text)
override;
42 const QCString &ref,
const QCString &file,
43 const QCString &anchor,
const QCString &name,
44 const QCString &tooltip)
override;
49 const SourceLinkInfo &,
50 const SourceLinkInfo &
52 void writeLineNumber(
const QCString &,
const QCString &,
const QCString &,
int,
bool)
override;
60 void startFold(
int,
const QCString &,
const QCString &)
override {}
75 const QCString &ref,
const QCString &file,
76 const QCString &anchor,
const QCString &name,
77 const QCString &tooltip);
115 std::unique_ptr<OutputGenIntf>
clone()
override {
return std::make_unique<LatexGenerator>(*
this); }
116 void addCodeGen(OutputCodeList &list)
override;
118 void writeDoc(
const IDocNodeAST *node,
const Definition *ctx,
const MemberDef *,
int id)
override;
119 void startFile(
const QCString &name,
const QCString &manName,
const QCString &title,
int id,
int hierarchyLevel)
override;
134 void endTitleHead(
const QCString &,
const QCString &name)
override;
149 void startIndexItem(
const QCString &ref,
const QCString &file)
override;
150 void endIndexItem(
const QCString &ref,
const QCString &file)
override;
151 void docify(
const QCString &text)
override;
153 const QCString &anchor,
const QCString &name)
override;
155 void startTextLink(
const QCString &,
const QCString &)
override;
203 void lineBreak(
const QCString &style=QCString())
override;
204 void startMemberDoc(
const QCString &,
const QCString &,
const QCString &,
const QCString &,
int,
int,
bool)
override;
206 void startDoxyAnchor(
const QCString &,
const QCString &,
const QCString &,
const QCString &,
const QCString &)
override;
207 void endDoxyAnchor(
const QCString &,
const QCString &)
override;
208 void addLabel(
const QCString &,
const QCString &)
override;
212 const QCString &path,
const QCString &name)
override;
222 const QCString &,
const QCString &,
const QCString &)
override;
227 void startSection(
const QCString &,
const QCString &,SectionType)
override;
228 void endSection(
const QCString &,SectionType)
override;
229 void addIndexItem(
const QCString &,
const QCString &)
override;
234 void endClassDiagram(
const ClassDiagram &,
const QCString &,
const QCString &)
override;
236 void endPageRef(
const QCString &,
const QCString &)
override;
248 void startDescTable(
const QCString &title,
const bool hasInits)
override;
310 void writeLabel(
const QCString &l,
bool isLast)
override;
313 void writeLocalToc(
const SectionRefs &sr,
const LocalToc <)
override;
343 const bool retainNewline =
false);
int usedTableLevel() const
void setStripIndentAmount(size_t amount) override
void setInsideTabbing(bool b)
void startFold(int, const QCString &, const QCString &) override
void endFontClass() override
void writeTooltip(const QCString &, const DocLinkInfo &, const QCString &, const QCString &, const SourceLinkInfo &, const SourceLinkInfo &) override
bool insideTabbing() const
void docify(const QCString &str)
void _writeCodeLink(const QCString &className, const QCString &ref, const QCString &file, const QCString &anchor, const QCString &name, const QCString &tooltip)
void writeLineNumber(const QCString &, const QCString &, const QCString &, int, bool) override
std::unique_ptr< OutputCodeIntf > clone() override
void setTextStream(TextStream *t)
void setSourceFileName(const QCString &sourceFileName)
void setRelativePath(const QCString &path)
void startFontClass(const QCString &) override
void endSpecialComment() override
void stripCodeComments(bool b) override
void startCodeFragment(const QCString &style) override
size_t m_stripIndentAmount
void startCodeLine(int) override
LatexCodeGenerator(TextStream *t, const QCString &relPath, const QCString &sourceFile)
void startSpecialComment() override
void writeCodeAnchor(const QCString &) override
void endCodeFragment(const QCString &style) override
OutputType type() const override
QCString m_sourceFileName
void codify(const QCString &text) override
void endCodeLine() override
void writeCodeLink(CodeSymbolType type, const QCString &ref, const QCString &file, const QCString &anchor, const QCString &name, const QCString &tooltip) override
void endMemberItem(MemberItemType) override
void addCodeGen(OutputCodeList &list) override
void endIndexKey() override
void endInlineMemberDoc() override
void startProjectNumber() override
void endPageRef(const QCString &, const QCString &) override
void endSection(const QCString &, SectionType) override
void startIndexSection(IndexSection) override
void writeSplitBar(const QCString &) override
void endParameterList() override
void endMemberDocList() override
LatexGenerator(LatexGenerator &&)=delete
void endMemberDescription() override
void addWord(const QCString &, bool)
std::unique_ptr< OutputCodeList > m_codeList
void endDirDepGraph(DotDirDeps &g) override
void endCompoundTemplateParams() override
void endDescTable() override
void startParameterType(bool, const QCString &) override
void startMemberGroup() override
void endInlineHeader() override
void endGroupHeader(int) override
void startMemberDoc(const QCString &, const QCString &, const QCString &, const QCString &, int, int, bool) override
void writeChar(char c) override
void endDescTableInit() override
void startParameterName(bool) override
void endMemberTemplateParams(const QCString &, const QCString &) override
void writeFooter(const QCString &) override
void startCenter() override
void endParameterType() override
void startPageRef() override
void writeInheritedSectionTitle(const QCString &, const QCString &, const QCString &, const QCString &, const QCString &, const QCString &) override
void endLabels() override
void startParagraph(const QCString &classDef) override
void endIndexSection(IndexSection) override
void endMemberDocPrefixItem() override
void startMemberDeclaration() override
void startConstraintType() override
void startClassDiagram() override
void startCompoundTemplateParams() override
void writeLatexSpacing() override
void startMemberDocPrefixItem() override
LatexGenerator & operator=(LatexGenerator &&)=delete
void endInlineMemberType() override
void startDescTableTitle() override
void endItemList() override
void writeQuickLinks(HighlightedItem, const QCString &) override
void startSection(const QCString &, const QCString &, SectionType) override
void writeString(const QCString &text) override
void endInclDepGraph(DotInclDepGraph &) override
void writeNonBreakableSpace(int) override
void startMemberGroupDocs() override
void endDescTableTitle() override
void endPageDoc() override
void startInclDepGraph() override
void lastIndexPage() override
void endExamples() override
void endMemberGroupHeader() override
void docify(const QCString &text) override
void startAnonTypeScope(int) override
void endPlainFile() override
void startDoxyAnchor(const QCString &, const QCString &, const QCString &, const QCString &, const QCString &) override
static void writeFooterFile(TextStream &t)
void startParameterList(bool) override
void endMemberDoc(bool) override
void endConstraintType() override
void startDescTableRow() override
void endAnonTypeScope(int) override
void writeSummaryLink(const QCString &, const QCString &, const QCString &, bool) override
void startMemberSections() override
void startMemberHeader(const QCString &, int) override
void endConstraintList() override
void startDotGraph() override
void endParameterExtra(bool last, bool one, bool bracket) override
void endDescTableData() override
void endTypewriter() override
void writeSearchInfo() override
void writeLabel(const QCString &l, bool isLast) override
void startTextLink(const QCString &, const QCString &) override
void startConstraintList(const QCString &) override
void startGroupCollaboration() override
void startLabels() override
void endMemberDeclaration(const QCString &, const QCString &) override
void endDescForItem() override
static void writeStyleSheetFile(TextStream &t)
void endTitleHead(const QCString &, const QCString &name) override
void startContents() override
void startGroupHeader(int) override
void endMemberHeader() override
OutputType type() const override
void endIndexItem(const QCString &ref, const QCString &file) override
void startSmall() override
void startIndexList() override
void startHeaderSection() override
void startDescTable(const QCString &title, const bool hasInits) override
void endConstraintDocs() override
void startPageDoc(const QCString &) override
void startIndexKey() override
void writeRuler() override
void endMemberDocName() override
void writeDoc(const IDocNodeAST *node, const Definition *ctx, const MemberDef *, int id) override
void startBold() override
void startConstraintParam() override
void lineBreak(const QCString &style=QCString()) override
void endInlineMemberName() override
void startMemberTemplateParams() override
void startInlineMemberType() override
void startInlineMemberDoc() override
void endContents() override
void writeAnchor(const QCString &fileName, const QCString &name) override
void startTextBlock(bool) override
void startCallGraph() override
void insertMemberAlignLeft(MemberItemType, bool) override
void endMemberList() override
void setCurrentDoc(const Definition *, const QCString &, bool)
void startExamples() override
void startIndent() override
void writeGraphicalHierarchy(DotGfxHierarchyTable &) override
void writeSynopsis() override
LatexGenerator & operator=(const LatexGenerator &)
void startDirDepGraph() override
void endTextLink() override
void writeStartAnnoItem(const QCString &type, const QCString &file, const QCString &path, const QCString &name) override
void startMemberList() override
void endHeaderSection() override
void startDescTableData() override
void endDescTableRow() override
void startConstraintDocs() override
void endMemberGroupDocs() override
void endClassDiagram(const ClassDiagram &, const QCString &, const QCString &) override
void startDescTableInit() override
void endMemberDocSimple(bool) override
void addIndexItem(const QCString &, const QCString &) override
void endParameterName() override
void startItemList() override
void endIndexValue(const QCString &, bool) override
void writeObjectLink(const QCString &ref, const QCString &file, const QCString &anchor, const QCString &name) override
void startMemberDocSimple(bool) override
void startQuickIndices() override
void startPlainFile(const QCString &name) override
void exceptionEntry(const QCString &, bool) override
void endCallGraph(DotCallGraph &) override
void endGroupCollaboration(DotGroupCollaboration &g) override
void startIndexItem(const QCString &ref, const QCString &file) override
void writeLocalToc(const SectionRefs &sr, const LocalToc <) override
void startFile(const QCString &name, const QCString &manName, const QCString &title, int id, int hierarchyLevel) override
void startTitleHead(const QCString &) override
void startInlineHeader() override
void startMemberDocList() override
void endCenter() override
void endConstraintParam() override
void endParameterDefVal() override
void endDotGraph(DotClassGraph &) override
void writePageLink(const QCString &, bool) override
void writeNavigationPath(const QCString &) override
void endItemListItem() override
void startParameterExtra() override
LatexCodeGenerator * m_codeGen
void endMemberGroup(bool) override
void startParameterDefVal(const char *s) override
void startMemberSubtitle() override
void startDescForItem() override
void startMemberDescription(const QCString &, const QCString &, bool) override
void startMemberItem(const QCString &, MemberItemType, const QCString &) override
void startItemListItem() override
void endQuickIndices() override
static void writeHeaderFile(TextStream &t)
void endProjectNumber() override
void endEmphasis() override
void endParagraph() override
void endIndexListItem() override
void writeLogo() override
void addLabel(const QCString &, const QCString &) override
void endMemberSections() override
void writeStyleInfo(int part) override
void endDoxyAnchor(const QCString &, const QCString &) override
void insertMemberAlign(bool) override
void endIndexList() override
std::unique_ptr< OutputGenIntf > clone() override
void startIndexValue(bool) override
void startMemberDocName(bool) override
void startIndexListItem() override
void endTextBlock(bool) override
void startInlineMemberName() override
void endIndent() override
void startTypewriter() override
void endMemberSubtitle() override
void startMemberGroupHeader(bool) override
void startEmphasis() override
bool m_templateMemberItem
Class representing a list of different code generators.
Abstract interface for output generators.
void startPlainFile(const QCString &name)
QCString fileName() const
This is an alternative implementation of QCString.
Text streaming class that buffers data.
bool insideTable(const DocNodeVariant *n)
QCString latexEscapePDFString(const QCString &s)
void filterLatexString(TextStream &t, const QCString &str, bool insideTabbing, bool insidePre, bool insideItem, bool insideTable, bool keepSpaces, const bool retainNewline=false)
QCString latexFilterURL(const QCString &s)
QCString convertToLaTeX(const QCString &s, bool insideTabbing, bool keepSpaces=FALSE)
void writeExtraLatexPackages(TextStream &t)
QCString latexEscapeIndexChars(const QCString &s)
void writeLatexSpecialFormulaChars(TextStream &t)
QCString latexEscapeLabelName(const QCString &s)