#include <rtfgen.h>
Static Public Member Functions | |
static void | init () |
static void | writeStyleSheetFile (QFile &f) |
static void | writeExtensionsFile (QFile &file) |
static bool | preProcessFileInplace (const char *path, const char *name) |
Private Member Functions | |
RTFGenerator (const RTFGenerator &) | |
RTFGenerator & | operator= (const RTFGenerator &) |
const char * | rtf_BList_DepthStyle () |
const char * | rtf_CList_DepthStyle () |
const char * | rtf_EList_DepthStyle () |
const char * | rtf_LCList_DepthStyle () |
const char * | rtf_DList_DepthStyle () |
const char * | rtf_Code_DepthStyle () |
void | incrementIndentLevel () |
void | decrementIndentLevel () |
void | beginRTFDocument () |
void | beginRTFChapter () |
void | beginRTFSection () |
void | rtfwriteRuler_doubleline () |
void | rtfwriteRuler_emboss () |
void | rtfwriteRuler_thick () |
void | rtfwriteRuler_thin () |
void | writeRTFReference (const char *label) |
Private Attributes | |
int | col |
bool | m_prettyCode |
bool | m_bstartedBody |
int | m_listLevel |
bool | m_omitParagraph |
int | m_numCols |
QCString | relPath |
Additional Inherited Members | |
Public Types inherited from OutputGenerator | |
enum | OutputType { Html, Latex, Man, RTF, XML, DEF, Perl } |
Public Types inherited from BaseOutputDocInterface | |
enum | ParamListTypes { Param, RetVal, Exception } |
enum | SectionTypes { EnumValues, Examples } |
Protected Attributes inherited from OutputGenerator | |
FTextStream | t |
QFile * | file |
QCString | fileName |
QCString | dir |
bool | active |
QStack< bool > * | genStack |
RTFGenerator::RTFGenerator | ( | ) |
Definition at line 60 of file rtfgen.cpp.
RTFGenerator::~RTFGenerator | ( | ) |
Definition at line 72 of file rtfgen.cpp.
|
private |
|
virtual |
|
inlinevirtual |
|
private |
Definition at line 292 of file rtfgen.cpp.
|
private |
Definition at line 212 of file rtfgen.cpp.
|
private |
Definition at line 312 of file rtfgen.cpp.
void RTFGenerator::clearBuffer | ( | ) |
|
virtual |
Writes an code fragment to the output. This function should keep spaces visible, should break lines at a newline and should convert tabs to the right number of spaces.
Implements CodeOutputInterface.
Definition at line 1787 of file rtfgen.cpp.
|
private |
Definition at line 2045 of file rtfgen.cpp.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
virtual |
Writes an ASCII string to the output. Converts characters that have A special meaning, like &
in html.
Implements BaseOutputDocInterface.
Definition at line 1742 of file rtfgen.cpp.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
End a section of text displayed in bold face.
Implements BaseOutputDocInterface.
Definition at line 135 of file rtfgen.h.
|
virtual |
Implements OutputGenerator.
Definition at line 2498 of file rtfgen.cpp.
|
inlinevirtual |
|
virtual |
Implements OutputGenerator.
Definition at line 1835 of file rtfgen.cpp.
|
virtual |
Ends a source code fragment
Implements BaseOutputDocInterface.
Definition at line 1906 of file rtfgen.cpp.
|
inlinevirtual |
Ends a line of code started with startCodeLine()
Implements CodeOutputInterface.
Definition at line 131 of file rtfgen.h.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
inlinevirtual |
|
virtual |
|
virtual |
Ends an item of a description list and starts the description itself: e.g. </dt>
in HTML.
Implements BaseOutputDocInterface.
Definition at line 1599 of file rtfgen.cpp.
|
virtual |
Ends a description list: e.g. </dl>
in HTML
Implements BaseOutputDocInterface.
Definition at line 1585 of file rtfgen.cpp.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Implements OutputGenerator.
Definition at line 2521 of file rtfgen.cpp.
|
virtual |
Implements OutputGenerator.
Definition at line 2443 of file rtfgen.cpp.
|
virtual |
|
inlinevirtual |
Ends a section of text displayed in italic.
Implements BaseOutputDocInterface.
Definition at line 133 of file rtfgen.h.
|
virtual |
|
inlinevirtual |
Ends a block started with startFontClass()
Implements CodeOutputInterface.
|
virtual |
|
virtual |
|
inlinevirtual |
|
virtual |
Ends a link started by startHtmlLink().
Implements BaseOutputDocInterface.
Definition at line 1091 of file rtfgen.cpp.
|
virtual |
Implements OutputGenerator.
Definition at line 2467 of file rtfgen.cpp.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Implements OutputGenerator.
Definition at line 539 of file rtfgen.cpp.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Writes a list item for a bullet or enumerated list: e.g. </li>
in html
Implements BaseOutputDocInterface.
Definition at line 1036 of file rtfgen.cpp.
|
virtual |
|
inlinevirtual |
|
virtual |
|
virtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
inlinevirtual |
|
virtual |
|
virtual |
|
inlinevirtual |
|
virtual |
|
inlinevirtual |
|
virtual |
Implements BaseOutputDocInterface.
Definition at line 1362 of file rtfgen.cpp.
|
virtual |
|
inlinevirtual |
|
virtual |
|
virtual |
|
virtual |
|
inlinevirtual |
|
virtual |
Implements BaseOutputDocInterface.
Definition at line 1690 of file rtfgen.cpp.
|
virtual |
|
inlinevirtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
inlinevirtual |
|
virtual |
Implements OutputGenerator.
Definition at line 1419 of file rtfgen.cpp.
|
inlinevirtual |
End a section of text displayed in typewriter style.
Implements BaseOutputDocInterface.
Definition at line 95 of file rtfgen.h.
|
virtual |
|
inlinevirtual |
|
private |
Definition at line 2035 of file rtfgen.cpp.
|
static |
Definition at line 166 of file rtfgen.cpp.
|
inlinevirtual |
|
inlinevirtual |
|
virtual |
|
virtual |
void RTFGenerator::newParagraph | ( | ) |
Definition at line 2118 of file rtfgen.cpp.
|
private |
|
static |
This is an API to a VERY brittle RTF preprocessor that combines nested RTF files. This version replaces the infile with the new file
Definition at line 2587 of file rtfgen.cpp.
|
private |
Definition at line 2070 of file rtfgen.cpp.
|
private |
Definition at line 2056 of file rtfgen.cpp.
|
private |
Definition at line 2089 of file rtfgen.cpp.
|
private |
Definition at line 2083 of file rtfgen.cpp.
|
private |
Definition at line 2077 of file rtfgen.cpp.
|
private |
Definition at line 2063 of file rtfgen.cpp.
|
private |
Definition at line 2764 of file rtfgen.cpp.
|
private |
Definition at line 2770 of file rtfgen.cpp.
|
private |
Definition at line 2776 of file rtfgen.cpp.
|
private |
Definition at line 2782 of file rtfgen.cpp.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Changes the text font to bold face. The bold section ends with endBold()
Implements BaseOutputDocInterface.
Definition at line 134 of file rtfgen.h.
|
virtual |
|
inlinevirtual |
|
virtual |
|
virtual |
Starts a source code fragment. The fragment will be fed to the code parser (see code.h) for syntax highlighting and cross-referencing. The fragment ends by a call to endCodeFragment()
Implements BaseOutputDocInterface.
Definition at line 1897 of file rtfgen.cpp.
|
inlinevirtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
inlinevirtual |
|
virtual |
|
virtual |
Starts an item of a description list: e.g. <dt>
in HTML.
Implements BaseOutputDocInterface.
Definition at line 1592 of file rtfgen.cpp.
void RTFGenerator::startDescList | ( | SectionTypes | ) |
Definition at line 1626 of file rtfgen.cpp.
|
virtual |
Starts a description list: e.g. <dl>
in HTML Items are surrounded by startDescItem() and endDescItem()
Implements BaseOutputDocInterface.
Definition at line 1578 of file rtfgen.cpp.
|
virtual |
Implements BaseOutputDocInterface.
Definition at line 1984 of file rtfgen.cpp.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
inlinevirtual |
Changes the text font to italic. The italic section ends with endEmphasis()
Implements BaseOutputDocInterface.
Definition at line 132 of file rtfgen.h.
|
virtual |
|
inlinevirtual |
Starts a block with a certain meaning. Used for syntax highlighting, which elements of the same type are rendered using the same 'font class'.
clsName | The category name. |
Implements CodeOutputInterface.
|
virtual |
|
virtual |
Implements OutputGenerator.
Definition at line 1454 of file rtfgen.cpp.
|
inlinevirtual |
|
virtual |
Starts a (link to an) URL found in the documentation.
url | The URL to link to. |
Implements BaseOutputDocInterface.
Definition at line 1075 of file rtfgen.cpp.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Implements OutputGenerator.
Definition at line 362 of file rtfgen.cpp.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
start enumeration list
end enumeration list
write bullet or enum item
Implements BaseOutputDocInterface.
Definition at line 1018 of file rtfgen.cpp.
|
virtual |
|
inlinevirtual |
|
virtual |
|
virtual |
Implements OutputGenerator.
Definition at line 1481 of file rtfgen.cpp.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
inlinevirtual |
|
virtual |
|
virtual |
Implements OutputGenerator.
Definition at line 1923 of file rtfgen.cpp.
|
inlinevirtual |
|
virtual |
|
inlinevirtual |
|
virtual |
|
virtual |
Starts a new paragraph
Starts a new paragraph
Implements BaseOutputDocInterface.
Definition at line 2128 of file rtfgen.cpp.
|
inlinevirtual |
|
inlinevirtual |
|
virtual |
|
virtual |
|
virtual |
|
inlinevirtual |
|
virtual |
|
virtual |
|
inlinevirtual |
|
virtual |
Implements BaseOutputDocInterface.
Definition at line 1187 of file rtfgen.cpp.
|
virtual |
|
virtual |
|
virtual |
Implements BaseOutputDocInterface.
Definition at line 1293 of file rtfgen.cpp.
|
virtual |
|
virtual |
Implements OutputGenerator.
Definition at line 1411 of file rtfgen.cpp.
|
inlinevirtual |
Changes the text font to fixed size. The section ends with endTypewriter()
Implements BaseOutputDocInterface.
Definition at line 94 of file rtfgen.h.
|
virtual |
Implements BaseOutputDocInterface.
Definition at line 1869 of file rtfgen.cpp.
|
virtual |
Writes a single ASCII character to the output. Converts characters that have a special meaning.
Implements BaseOutputDocInterface.
Definition at line 1822 of file rtfgen.cpp.
|
inlinevirtual |
Write an anchor to a source listing.
name | The name of the anchor. |
Implements CodeOutputInterface.
|
virtual |
Writes a link to an object in a code fragment.
ref | If this is non-zero, the object is to be found in an external documentation file. |
file | The file in which the object is located. |
anchor | The anchor uniquely identifying the object within the file. |
name | The text to display as a placeholder for the link. |
tooltip | The tooltip to display when the mouse is on the link. |
Implements CodeOutputInterface.
Definition at line 1379 of file rtfgen.cpp.
|
virtual |
Implements OutputGenerator.
Definition at line 2756 of file rtfgen.cpp.
|
virtual |
|
static |
Definition at line 113 of file rtfgen.cpp.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
virtual |
|
inlinevirtual |
Implements OutputGenerator.
|
inlinevirtual |
Writes the line number of a source listing
ref | External reference (when imported from a tag file) |
file | The file part of the URL pointing to the docs. |
anchor | The anchor part of the URL pointing to the docs. |
lineNumber | The line number to write |
Implements CodeOutputInterface.
Definition at line 129 of file rtfgen.h.
|
inlinevirtual |
|
inlinevirtual |
|
virtual |
Implements BaseOutputDocInterface.
Definition at line 1917 of file rtfgen.cpp.
|
virtual |
Writes a link to an object in the documentation.
ref | If this is non-zero, the object is to be found in an external documentation file. |
file | The file in which the object is located. |
anchor | The anchor uniquely identifying the object within the file. |
name | The text to display as a placeholder for the link. |
Implements BaseOutputDocInterface.
Definition at line 1323 of file rtfgen.cpp.
|
virtual |
|
inlinevirtual |
|
private |
Definition at line 1890 of file rtfgen.cpp.
|
inlinevirtual |
Writes a horizontal ruler to the output
Implements BaseOutputDocInterface.
Definition at line 124 of file rtfgen.h.
|
inlinevirtual |
|
inlinevirtual |
|
virtual |
|
virtual |
Writes an ASCII string to the output, without converting special characters.
Implements BaseOutputDocInterface.
Definition at line 950 of file rtfgen.cpp.
|
virtual |
|
static |
Definition at line 96 of file rtfgen.cpp.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Writes a tool tip definition
id | unique identifier for the tooltip |
docInfo | Info about the symbol's documentation. |
decl | full declaration of the symbol (for functions) |
desc | brief description for the symbol |
defInfo | Info about the symbol's definition in the source code |
declInfo | Info about the symbol's declaration in the source code |
Implements CodeOutputInterface.