|
Public Types |
| enum | orientationtype { landscape,
portrait
} |
| enum | pageformattype {
A0 = 0,
A1 = 1,
A2 = 2,
A3 = 3,
A4 = 4,
A5 = 5,
A6 = 6,
A7 = 7,
A8 = 8,
A9 = 9,
A10 = 10,
letter = 11,
legal = 12,
executive = 13,
tabloid = 14,
userdefined = 15
} |
Public Member Functions |
| void | set_filename (const hk_string &, bool registerchange=true) |
|
hk_string | filename (void) |
| void | set_use_standard_storagepath (bool s=true) |
|
bool | use_standard_storagepath (void) |
| hk_string | outputfile (void) |
| void | set_begin (const hk_string &, bool registerchange=true) |
|
hk_string | begin (void) |
| void | set_end (const hk_string &, bool registerchange=true) |
|
hk_string | end (void) |
| hk_reportsection * | page_header (void) |
| hk_reportsection * | page_footer (void) |
| hk_reportsection * | report_header (void) |
| hk_reportsection * | report_footer (void) |
| hk_reportsection * | datasection (void) |
| hk_reportsectionpair * | new_sectionpair (bool registerchange=true) |
| hk_reportsectionpair * | new_sectionpair_at (unsigned int position, bool registerchange=true) |
| bool | move_sectionpair (unsigned int actualposition, int steps) |
| bool | execute (void) |
|
bool | while_executing (void) const |
|
virtual bool | set_mode (enum_mode s) |
| void | set_recodefunction (const hk_string &r, bool registerchange=true) |
|
recodefunctiontype * | recodefunction (void) |
|
hk_string | recodefunctionstring (void) |
|
void | new_page (void) |
| void | set_pagedelimiter (const hk_string &d, bool registerchange=true) |
|
hk_string | pagedelimiter (void) |
| vector< hk_reportsectionpair * > * | sectionpairs (void) |
| virtual void | set_multiplefiles (bool m=true, bool registerchange=true) |
|
bool | multiplefiles (void) |
| void | set_fileextension (const hk_string &ext, bool registerchange=true) |
|
hk_string | fileextension (void) |
| void | set_firstpagenumber (long int f, bool registerchange=true) |
|
long int | firstpagenumber (void) |
| void | set_pagenamecolumn (const hk_string &c, bool registerchange=true) |
|
hk_string | pagenamecolumn (void) |
| void | set_filebegin (const hk_string &b, bool registerchange=true) |
|
hk_string | filebegin (void) |
| void | set_fileend (const hk_string &e, bool registerchange=true) |
|
hk_string | fileend (void) |
| void | set_periodic (unsigned long when, const hk_string &what="", bool newpage=false, bool registerchange=true) |
|
unsigned long | periodic_when (void) |
|
hk_string | periodic_what (void) |
|
bool | periodic_newpage (void) |
| ostream * | outputstream (void) |
| void | set_masterreport (hk_report *m) |
|
hk_report * | masterreport (void) |
|
bool | is_subreport (void) const |
|
bool | is_subpresentation (void) |
| void | rowcount (unsigned long) |
|
virtual hk_font | font (void) |
| long | pagenumber (void) |
|
long | absolutepagenumber (void) |
|
unsigned long | rownumber (void) |
|
virtual bool | set_presentationdatasource (long n, bool registerchange=true) |
|
virtual bool | save_report (const hk_string &name="", bool ask=true) |
|
virtual bool | load_report (const hk_string &name="") |
|
virtual void | savedata (ostream &s) |
|
virtual void | loaddata (const hk_string &definition) |
| hk_string | default_reportdata (void) |
|
void | set_default_reportdata (const hk_string &v, bool registerchange=true) |
| hk_string | default_beforereportdata (void) |
|
void | set_default_beforereportdata (const hk_string &v, bool registerchange=true) |
| hk_string | default_afterreportdata (void) |
|
void | set_default_afterreportdata (const hk_string &v, bool registerchange=true) |
|
int | default_reportprecision (void) |
|
void | set_default_reportprecision (int, bool registerchange=true) |
|
bool | default_use_reportseparator (void) |
|
void | set_default_use_reportseparator (bool, bool registerchange=true) |
| void | set_default_reportdataconfigurefunction (const hk_string &f, bool registerchange=true) |
|
hk_string | default_reportdataconfigurefunction (void) |
| void | set_default_reportsectionbegin (const hk_string &e, bool registerchange=true) |
|
hk_string | default_reportsectionbegin (void) |
| void | set_default_reportsectionend (const hk_string &e, bool registerchange=true) |
|
hk_string | default_reportsectionend (void) |
| void | set_default_reportsectionbetweendata (const hk_string &b, bool registerchange=true) |
|
hk_string | default_reportsectionbetweendata (void) |
| void | set_default_reportsectioncountfunction (const hk_string &f, bool registerchange=true) |
|
hk_string | default_reportsectioncountfunction (void) |
| void | set_topline (bool l=true, bool registerchange=true) |
|
bool | topline (void) |
| void | set_bottomline (bool l=true, bool registerchange=true) |
|
bool | bottomline (void) |
| void | set_leftline (bool l=true, bool registerchange=true) |
|
bool | leftline (void) |
| void | set_rightline (bool l=true, bool registerchange=true) |
|
bool | rightline (void) |
| void | set_diagonalluro (bool l=true, bool registerchange=true) |
|
bool | diagonalluro (void) |
| void | set_diagonalloru (bool l=true, bool registerchange=true) |
|
bool | diagonalloru (void) |
| void | set_frame (bool l=true, bool registerchange=true) |
| void | set_borders (unsigned int left=200, unsigned int right=200, unsigned int top=200, unsigned int bottom=300, bool registerchange=true) |
|
unsigned int | border_left (void) |
|
unsigned int | border_right (void) |
|
unsigned int | border_top (void) |
|
unsigned int | border_bottom (void) |
| void | set_orientation (orientationtype o=portrait, bool registerchange=true) |
|
orientationtype | orientation (void) |
| void | set_pageformat (pageformattype t=A4, bool registerchange=true) |
| void | set_pageformat (unsigned int width, unsigned int height, bool registerchange) |
|
pageformattype | pageformat (void) |
| unsigned int | formatwidth (pageformattype t=A4) |
| unsigned int | formatheight (pageformattype t=A4) |
|
void | set_reportconfigurefunction (const hk_string &f, bool registerchange) |
|
void | set_reporttype (const hk_string &, bool registerchange=true) |
|
hk_string | reporttype (void) |
|
void | configure_page (void) |
|
void | neutralize_definition (bool registerchange) |
| void | init_report (void) |
|
void | remove_sectionpair (hk_reportsectionpair *, bool registerchange=true) |
|
list< hk_string > * | neededfonts (void) |
|
list< hk_string > * | usedfonts (void) |
| bool | print_report (bool execute_before_printing=true) |
|
unsigned int | designwidth (void) |
|
unsigned int | designheight (void) |
|
unsigned int | horizontal2relativ (unsigned int h) |
|
unsigned int | vertical2relativ (unsigned int v) |
|
unsigned int | relativ2horizontal (unsigned int r) |
|
unsigned int | relativ2vertical (unsigned int r) |
|
virtual void | bulk_operation (enum_bulkoperation bulkoperation) |
|
hk_reportdata * | get_reportdatavisible (long nr) |
|
hk_reportdata * | get_reportdatavisible (const hk_string &identifier) |
|
void | set_on_new_page_action (const hk_string &, bool registerchange=true) |
|
hk_string | on_new_page_action (void) |
|
void | stop_execution (void) |
|
bool | execution_stopped (void) |
Static Public Member Functions |
|
static void | add_recodetype (const hk_string &name, recodefunctiontype *f) |
|
static list< hk_string > * | recodelist (void) |
| static list< hk_string > * | fontencodinglist (void) |
|
static bool | set_fontencoding (int) |
|
static bool | set_fontencoding (const hk_string &) |
|
static hk_string | fontencodingstring (void) |
|
static int | fontencoding (void) |
|
static void | add_reporttype (const hk_string &name, reporttypefunction *f) |
|
static list< hk_string > * | reporttypelist (void) |
|
static void | add_configurefunctiontype (const hk_string &name, report_configurefunction *f) |
|
static list< hk_string > * | configurefunctionlist (void) |
| static void | set_printcommand (const hk_string &printcommand) |
|
static hk_string | printcommand (void) |
|
static void | setup_reportbasics (void) |
Protected Member Functions |
|
void | remove_section (hk_reportsection *) |
|
virtual hk_string | replace (const hk_string &where) |
|
virtual bool | datasource_disable (void) |
|
virtual bool | before_columns_deleted (void) |
| virtual bool | widget_specific_before_new_page (void) |
| virtual bool | widget_specific_after_new_page (void) |
|
virtual hk_reportsection * | widget_specific_new_section (void) |
|
virtual void | widget_specific_after_loadreport (void) |
|
virtual void | widget_specific_before_execute (void) |
|
virtual void | widget_specific_after_first_outstream_created (void) |
|
virtual void | widget_specific_before_last_outstream_closed (void) |
|
virtual void | widget_specific_after_execute (void) |
|
virtual bool | widget_specific_row_change (void) |
|
virtual void | widget_specific_batch_next (void) |
|
virtual void | widget_specific_batch_previous (void) |
|
void | remove_all_sections (void) |
|
virtual void | sizetype_changed (void) |
|
void | database_delete (void) |
|
virtual bool | action_on_new_page (void) |
Protected Attributes |
|
bool | p_multiplefiles |
|
vector< hk_reportsectionpair * > | p_sectionpairs |
|
hk_string | p_default_data |
|
hk_string | p_default_beforedata |
|
hk_string | p_default_afterdata |
|
hk_string | p_default_dataconfigurefunction |
Friends |
|
class | hk_reportsectionpair |
|
class | hk_reportsection |
With hk_report you can create reports to print all your database data in all userdefined, textbased formats, such as CVS, HTML, XML, Postscript etc. It has all functions you need to create reports in any kind and any format. See also the convenience class hk_reportcvs.