diff options
Diffstat (limited to 'src/rtfgen.h')
-rw-r--r-- | src/rtfgen.h | 75 |
1 files changed, 8 insertions, 67 deletions
diff --git a/src/rtfgen.h b/src/rtfgen.h index 577cc40..5e39945 100644 --- a/src/rtfgen.h +++ b/src/rtfgen.h @@ -1,6 +1,6 @@ /****************************************************************************** * - * + * $Id$ * * Copyright (C) 1997-2007 by Parker Waechter & Dimitri van Heesch. * @@ -31,9 +31,6 @@ class RTFGenerator : public OutputGenerator static void writeStyleSheetFile(QFile &f); static void writeExtensionsFile(QFile &file); - //OutputGenerator *copy(); - //OutputGenerator *clone() { return new RTFGenerator(*this); } - //void append(const OutputGenerator *o); void enable() { if (genStack->top()) active=*genStack->top(); else active=TRUE; } void disable() { active=FALSE; } @@ -51,8 +48,6 @@ class RTFGenerator : public OutputGenerator void clearBuffer(); void postProcess(QByteArray &); - //void writeIndex(); - void startIndexSection(IndexSections); void endIndexSection(IndexSections); void startProjectNumber(); @@ -110,8 +105,6 @@ class RTFGenerator : public OutputGenerator void endMemberItem(); void startMemberTemplateParams() {} void endMemberTemplateParams() {} - //void memberGroupSpacing(bool) {} - //void memberGroupSeparator() {} void insertMemberAlign(bool) {} void writeRuler() { rtfwriteRuler_thin(); } @@ -119,15 +112,9 @@ class RTFGenerator : public OutputGenerator void writeAnchor(const char *fileName,const char *name); void startCodeFragment(); void endCodeFragment(); - //void startPreFragment() { startCodeFragment(); } - //void endPreFragment() { endCodeFragment(); } - //void startVerbatimFragment() { startCodeFragment(); } - //void endVerbatimFragment() { endCodeFragment(); } void writeLineNumber(const char *,const char *,const char *,int l) { t << l << " "; } void startCodeLine() { col=0; } void endCodeLine() { lineBreak(); } - //void writeBoldString(const char *text) - // { t << "{\\b "; docify(text); t << "}"; } void startEmphasis() { t << "{\\i "; } void endEmphasis() { t << "}"; } void startBold() { t << "{\\b "; } @@ -145,7 +132,6 @@ class RTFGenerator : public OutputGenerator void endCodeAnchor() {}; void writeChar(char c); void writeLatexSpacing() {};//{ t << "\\hspace{0.3cm}"; } - //void writeLatexLabel(const char *scope,const char *anchor); void writeStartAnnoItem(const char *type,const char *file, const char *path,const char *name); void writeEndAnnoItem(const char *name); @@ -157,64 +143,27 @@ class RTFGenerator : public OutputGenerator void endCenter() { t << "}"; } void startSmall() { t << "{\\sub "; } void endSmall() { t << "}"; } - //void startSubscript() { t << "{\\sub " << endl;} - //void endSubscript() { t << "}"; } - //void startSuperscript() { t << "{\\super " << endl;} - //void endSuperscript() { t << "}"; } - //void startTable(bool,int); - //void endTable(bool); - //void startCaption(); - //void endCaption(); - //void nextTableRow(); - //void endTableRow(); - //void nextTableColumn(); - //void endTableColumn(); - //void writeCopyright() { t << "\251"; } - //void writeQuote() { t << "\""; } - //void writeUmlaut(char c); - //void writeAcute(char c); - //void writeGrave(char c); - //void writeCirc(char c); - //void writeTilde(char c); - //void writeRing(char c); - //void writeSharpS() { t << "\337"; } - //void writeCCedil(char c); void startMemberDescription(); void endMemberDescription(); void startDescList(SectionTypes); - //void endDescList(); void startSimpleSect(SectionTypes,const char *,const char *,const char *); void endSimpleSect(); void startParamList(ParamListTypes,const char *); void endParamList(); - //void endDescTitle(); void writeDescItem(); void startSection(const char *,const char *,SectionInfo::SectionType); void endSection(const char *,SectionInfo::SectionType); - //void writeSectionRef(const char *,const char *,const char *,const char *); - //void writeSectionRefItem(const char *,const char *,const char *); - //void writeSectionRefAnchor(const char *,const char *,const char *); void addIndexItem(const char *,const char *); void startIndent(); void endIndent(); void writeSynopsis() {} - //void generateExternalIndex() {} void startClassDiagram(); - void endClassDiagram(ClassDiagram &,const char *filename,const char *name); - //void startColorFont(uchar,uchar,uchar) {} - //void endColorFont() {} + void endClassDiagram(const ClassDiagram &,const char *filename,const char *name); void startPageRef(); void endPageRef(const char *,const char *); - //void startQuickIndexItem(const char *,const char *) {} - //void endQuickIndexItem() {} void writeQuickLinks(bool,HighlightedItem) {} - //void writeFormula(const char *,const char *); void writeNonBreakableSpace(int); - //void startImage(const char *,const char *,bool); - //void endImage(bool); - //void startDotFile(const char *,bool); - //void endDotFile(bool); void startDescTable(); void endDescTable(); @@ -224,16 +173,16 @@ class RTFGenerator : public OutputGenerator void endDescTableData(); void startDotGraph(); - void endDotGraph(DotClassGraph &); + void endDotGraph(const DotClassGraph &); void startInclDepGraph(); - void endInclDepGraph(DotInclDepGraph &); + void endInclDepGraph(const DotInclDepGraph &); void startGroupCollaboration(); - void endGroupCollaboration(DotGroupCollaboration &g); + void endGroupCollaboration(const DotGroupCollaboration &g); void startCallGraph(); - void endCallGraph(DotCallGraph &); + void endCallGraph(const DotCallGraph &); void startDirDepGraph(); - void endDirDepGraph(DotDirDeps &g); - void writeGraphicalHierarchy(DotGfxHierarchyTable &) {} + void endDirDepGraph(const DotDirDeps &g); + void writeGraphicalHierarchy(const DotGfxHierarchyTable &) {} void startMemberGroupHeader(bool); void endMemberGroupHeader(); @@ -270,14 +219,6 @@ class RTFGenerator : public OutputGenerator void startFontClass(const char *) {} void endFontClass() {} - //void startHtmlOnly() {} - //void endHtmlOnly() {} - //void startLatexOnly() {} - //void endLatexOnly() {} - - //void startSectionRefList() {} - //void endSectionRefList() {} - void writeCodeAnchor(const char *) {} void linkableSymbol(int,const char *,Definition *,Definition *) {} |