#include <ASCIIReporter.h>
Inheritance diagram for ASCIIReporter::

Public Methods | |
| ASCIIReporter (Os os) | |
| ASCIIReporter (const String &filename) | |
| virtual | ~ASCIIReporter () |
| virtual Reporter& | header (const String &title, const String &author, bool fullpage=true, bool singlefile=true, const char *purpose=NULL) |
| virtual Reporter& | trailer () |
| virtual String | getSectionRef () |
| virtual Reporter& | section (const String &txt) |
| virtual Reporter& | section (const String &txt, const String &label) |
| virtual Reporter& | subsection (const String &txt) |
| virtual Reporter& | subsection (const String &txt, const String &label) |
| virtual Reporter& | subsubsection (const String &txt) |
| virtual Reporter& | subsubsection (const String &txt, const String &label) |
| virtual Reporter& | pagebreak () |
| virtual Reporter& | linebreak () |
| virtual Reporter& | eject (int n=1) |
| virtual Reporter& | drawline () |
| virtual String | cellpad (const String &s) |
| virtual Reporter& | centerline (const String &txt) |
| virtual Reporter& | insertDocument (const String &basename) |
| virtual Reporter& | insertVerbatim (const String &file) |
| virtual Reporter& | beginCenter () |
| virtual Reporter& | endCenter () |
| virtual Reporter& | beginTabular (int ncols, const String &col_format) |
| virtual Reporter& | endTabular () |
| virtual Reporter& | beginTable (int ncols, const String &col_format) |
| virtual Reporter& | endTable (const String &caption, const String &label) |
| virtual Reporter& | beginItemize () |
| virtual Reporter& | endItemize () |
| virtual Reporter& | beginEnumerate () |
| virtual Reporter& | endEnumerate () |
| virtual Reporter& | beginFigure (const String &psfilename, real cmWidth=10.0) |
| virtual Reporter& | endFigure (const String &caption, const String &label) |
| virtual Reporter& | beginDispmath () |
| virtual Reporter& | endDispmath () |
| virtual String | makeLabelRef (const String &label) |
| virtual void | process (bool postscript=true) |
| virtual void | print (bool postscript=true) |
| virtual void | preview (bool postscript=true) |
Protected Methods | |
| virtual void | putTextline (const String &txt) |
| virtual void | putTabularline (const String &txt) |
| virtual void | putTableline (const String &txt) |
| virtual void | putItemline (const String &txt) |
| virtual void | putEnumline (const String &txt) |
| virtual void | putFigureline (const String &txt) |
| virtual void | putDispmathline (const String &txt) |
| virtual void | putCenterline (const String &txt) |
| void | fill (const char c='', const int n=1) |
| void | space (const int n=1) |
NAME: ASCIIReporter - a report manager based on plain ASCII files
DESCRIPTION:
This class offers an interface to report generation in plain ASCII format, suitable for printing by "mpage" or similar formatting utilities. Note that there is no support for PostScript figures in an ASCII report.
|
|
See class "Reporter". |
|
|
See documentation of one of the overloaded constructor. |
|
|
|
|
|
Start a centered block of displayed text. All "put" operations before the next call to "endCenter" will be produce text that is centered on the line. Reimplemented from Reporter. |
|
|
Starts a block of displayed text in math mode. This block is ended by a call to "endDispmath". Usually, it is more convenient to use a single call to "displaymath". Reimplemented from Reporter. |
|
|
Similar to the itemize environment, except that all items are numbered 1,2,...,n. Reimplemented from Reporter. |
|
|
Starts a figure block which inserts the PostScript illustration given by "psfilename". The figure is scaled to have a width of "cmWidth" centimeters. This environment must be ended by a call to "endFigure". Usually, we perform these actions by a single call to the function "figure". Note that inclusion of figures may not be possible for all types of report classes. In these cases, the figure environment is neglected and its use result in a warning message. The parameters "caption" and "label" in "endTable" are used to generate a table caption and adding a label for easy reference. Reimplemented from Reporter. |
|
|
Start a block of itemized text. All "put" operations before using "endItemized" result in an item on the list. Reimplemented from Reporter. |
|
|
Table entries are forced to be left justified, i.e., the argument "col_format" is neglected. In order to get the table entries lined up properly, the user is encouraged to apply the "put" functions that operate on array structures. If it is preferable to use the simple "String"-based "put", the function "cellpad" is usually needed to obtain a satisfactory result. This is clearly illustrated when running the example program from the "Reporter" documentation in ASCII mode. Reimplemented from Reporter. |
|
|
As "beginTable" without caption and labelling. This environment is closed by "endTabular". Reimplemented from Reporter. |
|
|
Utility for easy formatting of table cells, see "beginTable". Reimplemented from Reporter. |
|
|
Print a centered line without extra spacing. Reimplemented from Reporter. |
|
|
Just that, draw a line across the full pagewidth. However, when used within a table environment it is meant to be a line across the full table. Reimplemented from Reporter. |
|
|
Produce n blank lines (that actually shows up in final printing). Reimplemented from Reporter. |
|
|
Reimplemented from Reporter. |
|
|
Reimplemented from Reporter. |
|
|
Reimplemented from Reporter. |
|
|
Reimplemented from Reporter. |
|
|
Reimplemented from Reporter. |
|
|
Reimplemented from Reporter. |
|
|
Reimplemented from Reporter. |
|
|
|
|
|
Returns a "String" containing the current section reference. Reimplemented from Reporter. |
|
|
Create titles for the first page. The arguments "fullpage" and "singlefile" decides whether a separate titlepage is generated and whether the present file will hold one or many reports. The "purpose" string leads to a comment in the header about the purpose of the report (if it is a "NULL" string, which is default, no such comment appears). Usually, "header" is the initial call to a function in a reporter. The function "trailer" provides its counterpart for use at the end of a report. Reimplemented from Reporter. |
|
|
Insert a document in the report. The argument should reflect the basename of the document's name, without extensions such as ".ps" or ".tex". In ASCII reports, insertion of documents is impossible, `\`LaTeX`\` reports appends the extension ".tex" to the basename and includes that document, while HTML reports append ".ps" to the basename, assumes that it is a PostScript file and make a hyperlink to this file. Reimplemented from Reporter. |
|
|
Insert a document as is (verbatim mode). Reimplemented from Reporter. |
|
|
Start a new line. Reimplemented from Reporter. |
|
|
Receives a string previously used as "label" argument in a figure or table environment. The function returns a valid label reference based on the cross-refererencing mechanisms of the underlying report format. Reimplemented from Reporter. |
|
|
Start a new page. Reimplemented from Reporter. |
|
|
Reimplemented from Reporter. |
|
|
Reimplemented from Reporter. |
|
|
System defaults may be overruled by the environment variables "ASCIIRep_CLEANUP_CMD", "ASCIIRep_PROCESS_TXT_CMD", "ASCIIRep_PROCESS_PS_CMD", "ASCIIRep_PRINT_TXT_CMD", "ASCIIRep_PRINT_PS_CMD", "ASCIIRep_PREVIEW_TXT_CMD", "ASCIIRep_PREVIEW_PS_CMD". See the file "ReporterSysCmd.h" for examples. Reimplemented from Reporter. |
|
|
Reimplemented from Reporter. |
|
|
Reimplemented from Reporter. |
|
|
Reimplemented from Reporter. |
|
|
Reimplemented from Reporter. |
|
|
Reimplemented from Reporter. |
|
|
Reimplemented from Reporter. |
|
|
Reimplemented from Reporter. |
|
|
Reimplemented from Reporter. |
|
|
See documentation of one of the overloaded functions. Reimplemented from Reporter. |
|
|
Start a new section. An overloaded version of the function equips the section with a label. This enables easy reference to sections in LaTeX documents and hyperlinks in HTML documents. See also the "putLabel" function. Reimplemented from Reporter. |
|
|
|
|
|
See documentation of one of the overloaded functions. Reimplemented from Reporter. |
|
|
Start a new subsection (numbered within the current section). An overloaded version enables marking the subsection with a label, see the comments for the "section" function. Reimplemented from Reporter. |
|
|
Reimplemented from Reporter. |
|
|
Reimplemented from Reporter. |
|
|
Close a report, see "header". Reimplemented from Reporter. |