ReportBuilder Pile   version 0.0.1
ReportBuilder pile.
ReportBuilder Class Reference

A report builder. More...

#include <reportbuilder.h>

Public Types

enum  Flags {
  F_NONE = 0x00000000, F_STARTED = 0x00000001, F_INSERT = 0x01000000, F_CODE = 0x02000000,
  F_TABLE = 0x00010000, F_TABLE_HEADER = 0x00020000, F_TABLE_FOOTER = 0x00040000, F_TABLE_ALL = F_TABLE | F_TABLE_HEADER | F_TABLE_FOOTER
}
 

Public Member Functions

 ReportBuilder (const QString &s_file)
 constructor
 
virtual ~ReportBuilder ()
 destructor
 
void setDocumentTitle (const QString &s_title)
 write the header if not already there
 
const QString & errorString ()
 The last error.
 
bool isOK ()
 Everything all right up until this point?
 
void start ()
 write the header if not already there
 
void end ()
 write the footer if not already there
 
void addHLine (int size, quint32 background=0)
 
void addEmptyLine ()
 
void addTitle (const QString &s_value, int level)
 
void addLine (const QString &s_value)
 
void add (const QString &s_value)
 
void addHtml (const QString &s_value)
 
void beginCode ()
 
void endCode ()
 
void beginInsert (const QString &s_label=QString(), quint32 background=0, quint32 foreground=0, int border_size=1)
 
void endInsert ()
 
void beginTable (int rows, int columns, bool with_header=false, bool with_footer=false)
 
void setTableCell (int rows, int columns, const QString &s_value)
 
void endTable ()
 

Detailed Description

A report builder.

Detailed description.


The documentation for this class was generated from the following files: