|
| DocbookCodeGenerator (FTextStream &t) |
|
virtual | ~DocbookCodeGenerator () |
|
void | codify (const char *text) |
|
void | writeCodeLink (const char *ref, const char *file, const char *anchor, const char *name, const char *tooltip) |
|
void | writeTooltip (const char *, const DocLinkInfo &, const char *, const char *, const SourceLinkInfo &, const SourceLinkInfo &) |
|
void | startCodeLine (bool) |
|
void | endCodeLine () |
|
void | startFontClass (const char *colorClass) |
|
void | endFontClass () |
|
void | writeCodeAnchor (const char *) |
|
void | writeLineNumber (const char *extRef, const char *compId, const char *anchorId, int l) |
|
void | setCurrentDoc (Definition *, const char *, bool) |
|
void | addWord (const char *, bool) |
|
void | finish () |
|
virtual | ~CodeOutputInterface () |
|
Definition at line 178 of file docbookgen.cpp.
DocbookCodeGenerator::DocbookCodeGenerator |
( |
FTextStream & |
t | ) |
|
|
inline |
virtual DocbookCodeGenerator::~DocbookCodeGenerator |
( |
| ) |
|
|
inlinevirtual |
void DocbookCodeGenerator::addWord |
( |
const char * |
, |
|
|
bool |
|
|
) |
| |
|
inlinevirtual |
void DocbookCodeGenerator::codify |
( |
const char * |
s | ) |
|
|
inlinevirtual |
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 185 of file docbookgen.cpp.
void writeDocbookCodeString(FTextStream &t, const char *s, int &col)
void DocbookCodeGenerator::endCodeLine |
( |
| ) |
|
|
inlinevirtual |
void DocbookCodeGenerator::endFontClass |
( |
| ) |
|
|
inlinevirtual |
void DocbookCodeGenerator::finish |
( |
| ) |
|
|
inline |
void DocbookCodeGenerator::setCurrentDoc |
( |
Definition * |
, |
|
|
const char * |
, |
|
|
bool |
|
|
) |
| |
|
inlinevirtual |
void DocbookCodeGenerator::startCodeLine |
( |
bool |
| ) |
|
|
inlinevirtual |
void DocbookCodeGenerator::startFontClass |
( |
const char * |
clsName | ) |
|
|
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'.
- Parameters
-
clsName | The category name. |
Implements CodeOutputInterface.
Definition at line 231 of file docbookgen.cpp.
234 m_t <<
"<emphasis class=\"" << colorClass <<
"\">";
void DocbookCodeGenerator::writeCodeAnchor |
( |
const char * |
name | ) |
|
|
inlinevirtual |
void DocbookCodeGenerator::writeCodeLink |
( |
const char * |
ref, |
|
|
const char * |
file, |
|
|
const char * |
anchor, |
|
|
const char * |
name, |
|
|
const char * |
tooltip |
|
) |
| |
|
inlinevirtual |
Writes a link to an object in a code fragment.
- Parameters
-
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 190 of file docbookgen.cpp.
void writeDocbookLink(FTextStream &t, const char *, const char *compoundId, const char *anchorId, const char *text, const char *)
void DocbookCodeGenerator::writeLineNumber |
( |
const char * |
ref, |
|
|
const char * |
file, |
|
|
const char * |
anchor, |
|
|
int |
lineNumber |
|
) |
| |
|
inlinevirtual |
Writes the line number of a source listing
- Parameters
-
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 247 of file docbookgen.cpp.
Writes a tool tip definition
- Parameters
-
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.
Definition at line 198 of file docbookgen.cpp.
int DocbookCodeGenerator::m_col |
|
private |
QCString DocbookCodeGenerator::m_external |
|
private |
bool DocbookCodeGenerator::m_insideCodeLine |
|
private |
bool DocbookCodeGenerator::m_insideSpecialHL |
|
private |
int DocbookCodeGenerator::m_lineNumber |
|
private |
The documentation for this class was generated from the following file: