Databaseconnectionclasses
0.5.3
|
represents the data of a field within a section. More...
#include <hk_reportdata.h>
Public Member Functions | |
void | set_data (const hk_string &d, bool registerchange=true) |
hk_string | data (void) |
void | set_beforedata (const hk_string &b, bool registerchange=true) |
void | set_afterdata (const hk_string &a, bool registerchange=true) |
hk_string | beforedata () |
hk_string | afterdata () |
hk_string | actual_string (void) |
void | count (void) |
void | set_runningcount (bool c=true, bool registerchange=true) |
bool | runningcount (void) |
virtual hk_font | font (void) |
void | set_datacountfunction (const hk_string &f, bool registerchange) |
hk_string | datacountfunctionstring (void) |
reportdatacounttype * | datacountfunction (void) |
void | set_topline (bool l=true, bool registerchange=true) |
void | set_bottomline (bool l=true, bool registerchange=true) |
void | set_leftline (bool l=true, bool registerchange=true) |
void | set_rightline (bool l=true, bool registerchange=true) |
void | set_diagonalluro (bool l=true, bool registerchange=true) |
void | set_diagonalloru (bool l=true, bool registerchange=true) |
bool | diagonalloru (void) |
bool | topline (void) |
bool | bottomline (void) |
bool | leftline (void) |
bool | rightline (void) |
bool | diagonalluro (void) |
void | set_frame (bool l=true, bool registerchange=true) |
void | set_linebreak (bool b=true, bool registerchange=true) |
bool | linebreak (void) |
void | set_dynamic_height (bool dynamic, bool registerchange=true) |
bool | dynamic_height (void) const |
void | set_configurefunction (const hk_string &f, bool registerchange=true) |
data_configurefunctiontype * | configurefunction (void) |
hk_string | configurefunctionstring (void) |
virtual void | savedata (ostream &s, bool userdefined=false) |
virtual void | loaddata (xmlNodePtr definition, bool userdefined=false) |
void | neutralize_definition (bool registerchange) |
void | set_replacefunction (const hk_string &f, bool registerchange=true) |
void | reset_count () |
hk_report * | report (void) |
hk_reportsection * | section (void) |
virtual void | lower_widget (bool registerchange=true) |
virtual void | raise_widget (bool registerchange=true) |
void | set_on_print_action (const hk_string &, bool registerchange=true) |
hk_string | on_print_action (void) |
list< hk_string > * | value_in_lines () |
unsigned int | height (void) |
bool | data_fully_printed (void) |
void | reset_data_fully_printed (void) |
int | pagescount (void) |
virtual hk_string | tag_value (int tagnumber, bool &ok) |
virtual hk_string | column_value (const hk_string &colname, bool &ok) |
void | set_is_image (bool, bool registerchange=true) |
bool | is_image (void) |
![]() | |
hk_dsdatavisible (hk_presentation *p=NULL) | |
void | set_columnname (const hk_string &c, bool registerchange=true) |
void | set_columnname (const hk_string &c, bool registerchange, int coloccurance) |
hk_column * | column (void) |
hk_string | columnname (void) const |
virtual void | set_datasource (hk_datasource *d) |
hk_datasource * | datasource (void) |
virtual void | savedata (ostream &s) |
virtual void | loaddata (xmlNodePtr definition) |
bool | use_defaultvalue (void) |
void | set_defaultvalue (const hk_string &def, bool registerchange=true) |
hk_string | raw_defaultvalue (void) |
hk_string | defaultvalue (void) |
void | reset_default (bool registerchange=true) |
void | set_numberformat (bool use_numberseparator=false, int commadigits=-1, bool registerchange=true) |
void | set_numberformat (bool use_numberseparator, int commadigits, bool registerchange, bool force_setting) |
bool | use_numberseparator (void) |
int | commadigits (void) |
int | precision (void) |
virtual hk_string | value_at (unsigned long row) |
virtual hk_string | value (void) |
virtual void | set_value (const hk_string &) |
unsigned int | find (unsigned int from, unsigned int to, const hk_string &searchtext, bool wholephrase=false, bool casesensitive=false, bool backwards=false) |
unsigned int | find (const hk_string &searchtext, bool wholephrase=false, bool casesensitive=false, bool backwards=false) |
void | set_on_valuechanged_action (const hk_string &, bool registerchange=true, bool force_setting=true) |
hk_string | on_valuechanged_action (void) |
virtual bool | action_on_valuechanged (void) |
bool | set_filtervalue (const hk_string &) |
hk_string | filtervalue (bool withcolumnnames=false) const |
virtual void | update_filter (void) |
![]() | |
hk_dsvisible (hk_presentation *presentation=NULL) | |
virtual bool | set_presentationdatasource (long n, bool registerchange=true) |
long | presentationdatasource (void) |
hk_datasource * | datasource (void) |
virtual void | savedata (ostream &s, bool savedatasource, bool saveall) |
void | set_readonly (bool readonly) |
bool | is_readonly (void) const |
void | set_before_row_change_action (const hk_string &, bool registerchange=true, bool force_setting=true) |
hk_string | before_row_change_action (void) |
void | set_after_row_change_action (const hk_string &, bool registerchange=true, bool force_setting=true) |
hk_string | after_row_change_action (void) |
void | set_before_update_action (const hk_string &, bool registerchange=true, bool force_setting=true) |
hk_string | before_update_action (void) |
void | set_after_update_action (const hk_string &, bool registerchange=true, bool force_setting=true) |
hk_string | after_update_action (void) |
void | set_before_delete_action (const hk_string &, bool registerchange=true, bool force_setting=true) |
hk_string | before_delete_action (void) |
void | set_after_delete_action (const hk_string &, bool registerchange=true, bool force_setting=true) |
hk_string | after_delete_action (void) |
void | set_before_insert_action (const hk_string &, bool registerchange=true, bool force_setting=true) |
hk_string | before_insert_action (void) |
void | set_after_insert_action (const hk_string &, bool registerchange=true, bool force_setting=true) |
hk_string | after_insert_action (void) |
virtual void | action_before_store_changed_data (void) |
virtual void | action_after_store_changed_data (void) |
virtual void | action_before_row_change (void) |
virtual void | action_after_row_change (void) |
virtual void | action_before_delete (void) |
virtual void | action_after_delete (void) |
virtual void | action_before_insert (void) |
virtual void | action_after_insert (void) |
![]() | |
hk_visible (hk_presentation *p=NULL) | |
void | set_x (unsigned int px, bool registerchange=true) |
void | set_y (unsigned int py, bool registerchange=true) |
void | set_width (unsigned int w, bool registerchange=true) |
void | set_height (unsigned int h, bool registerchange=true) |
unsigned int | x (void) const |
unsigned int | y (void) const |
unsigned int | width (void) const |
unsigned int | height (void) |
void | set_size (unsigned int x, unsigned int y, unsigned int w, unsigned int h, bool registerchange=true) |
void | set_size (unsigned int x, unsigned int y, unsigned int w, unsigned int h, bool registerchange, bool force_setting) |
void | set_size (unsigned int width, unsigned int height, bool registerchange=true) |
void | set_position (unsigned int x, unsigned int y, bool registerchange=true) |
void | set_label (const hk_string &l, bool registerchange=true) |
void | set_label (const hk_string &l, bool registerchange, bool force_setting) |
hk_string | label (void) |
bool | set_identifier (const hk_string &, bool registerchange=true, enum_interaction=interactive) |
hk_string | identifier (void) const |
enum_visibletype | type (void) |
void | set_font (const hk_string &font, int size, bool registerchange=true) |
void | set_font (const hk_string &font, int size, bool registerchange, bool force_setting) |
void | set_font (const hk_font &font, bool registerchange=true) |
void | set_font (const hk_font &font, bool registerchange, bool force_setting) |
void | set_foregroundcolour (const hk_colour &colour, bool registerchange=true) |
void | set_foregroundcolour (const hk_colour &colour, bool registerchange, bool force_setting) |
hk_colour | foregroundcolour (void) |
void | set_backgroundcolour (const hk_colour &colour, bool registerchange=true) |
void | set_backgroundcolour (const hk_colour &colour, bool registerchange, bool force_setting) |
hk_colour | backgroundcolour (void) |
void | set_neverregisterchange (bool n) |
void | set_neverregisterchange (bool n, bool force_setting) |
bool | neverregisterchange (void) |
long | presentationnumber (void) const |
void | set_datetimeformat (const hk_string &datetime, const hk_string &date, const hk_string &time) |
void | set_datetimeformat (const hk_string &datetime, const hk_string &date, const hk_string &time, bool force_setting) |
hk_string | datetimeformat (void) |
hk_string | dateformat (void) |
hk_string | timeformat (void) |
void | set_counts_as (unsigned long int c) |
virtual void | set_counts_as (unsigned long int c, bool force_setting) |
virtual unsigned long int | counts_as (void) |
virtual hk_string | replace (const hk_string &where) |
hk_presentation * | presentation (void) |
void | set_load_presentationnumber (bool l) |
void | set_load_presentationnumber (bool l, bool force_setting) |
bool | load_presentationnumber (void) |
void | set_alignment (alignmenttype a, bool registerchange=true) |
void | set_alignment (alignmenttype a, bool registerchange, bool force_setting) |
alignmenttype | alignment (void) |
void | set_tooltip (const hk_string &, bool registerchange=true, bool force_setting=false) |
hk_string | tooltip (void) |
virtual void | show_widget (void) |
virtual void | hide_widget (void) |
virtual bool | close_widget (void) |
void | set_on_click_action (const hk_string &, bool registerchange=true, bool force_setting=true) |
hk_string | on_click_action (void) |
void | set_on_doubleclick_action (const hk_string &, bool registerchange=true, bool force_setting=true) |
hk_string | on_doubleclick_action (void) |
void | set_on_open_action (const hk_string &, bool registerchange=true, bool force_setting=true) |
hk_string | on_open_action (void) |
void | set_on_close_action (const hk_string &, bool registerchange=true, bool force_setting=true) |
hk_string | on_close_action (void) |
void | set_on_getfocus_action (const hk_string &, bool registerchange=true, bool force_setting=true) |
hk_string | on_getfocus_action (void) |
void | set_on_loosefocus_action (const hk_string &, bool registerchange=true, bool force_setting=true) |
hk_string | on_loosefocus_action (void) |
void | set_on_key_action (const hk_string &, bool registerchange=true, bool force_setting=true) |
hk_string | on_key_action (void) |
void | set_key (const hk_key &) |
hk_key * | key () const |
void | set_enabled (bool enabled, bool registerchange=true, bool force_setting=false) |
bool | is_enabled () |
virtual bool | action_on_click (void) |
virtual bool | action_on_doubleclick (void) |
virtual bool | action_on_close (void) |
virtual bool | action_on_open (void) |
virtual bool | action_on_getfocus (void) |
virtual bool | action_on_loosefocus (void) |
virtual bool | action_on_key (void) |
bool | in_tabvisible (void) const |
void | set_buddylabel (long int labelid, bool registerchange=true, bool force_setting=false) |
long int | buddylabel (void) const |
void | set_movebuddylabel (bool) |
bool | move_buddylabel (void) const |
int | tag_number (const hk_string &) |
hk_string | tag_value (const hk_string &, bool &ok) |
int | register_tag (const hk_string &) |
![]() | |
void | hkclassname (const hk_string &n) |
hk_string | hkclassname (void) const |
void | hkdebug (const hk_string &d) const |
void | hkdebug (const hk_string &d, const hk_string &e) const |
void | hkdebug (const hk_string &d, int i) const |
void | hkdebug (const hk_string &d, double i) const |
void | wanna_debug (bool d) |
bool | wanna_debug (void) const |
bool | generaldebug (void) |
Static Public Member Functions | |
static void | add_configurefunctiontype (const hk_string &name, data_configurefunctiontype *f) |
static list< hk_string > * | configurefunctionlist (void) |
static void | add_datacountfunctiontype (const hk_string &name, reportdatacounttype *f) |
static list< hk_string > * | datacountfunctionlist (void) |
static void | add_datareplacefunctiontype (const hk_string &name, data_replacefunctiontype *f) |
static list< hk_string > * | datareplacefunctionlist (void) |
![]() | |
static void | set_defaultnumberformat (bool use_thousandsseparator, int precision) |
static bool | defaultuse_numberseparator (void) |
static int | defaultprecision (void) |
static bool | parsed_value (hk_string &v, hk_connection *c) |
![]() | |
static void | set_defaulttextalignment (alignmenttype a) |
static alignmenttype | defaulttextalignment (void) |
static void | set_defaultnumberalignment (alignmenttype a) |
static alignmenttype | defaultnumberalignment (void) |
static void | set_open_maximized_windows (bool m) |
static bool | open_maximized_windows (void) |
![]() | |
static void | set_generaldebug (bool d) |
static hk_string | hk_translate (const hk_string &t) |
static void | show_warningmessage (const hk_string &m) |
static void | set_warningmessage (messagewindowtype *m) |
static bool | show_yesnodialog (const hk_string &m, bool default_value) |
static void | set_yesnodialog (yesno_dialogtype *d) |
static hk_string | show_stringvaluedialog (const hk_string &t) |
static void | set_stringvaluedialog (stringvalue_dialogtype *t) |
static void | set_translatefunction (translatefunctiontype *t) |
static void | set_filedialog (file_dialogtype *f) |
static hk_string | show_filedialog (const hk_string &f="", enum_operationmode m=file_open) |
static void | set_directorydialog (stringvalue_dialogtype *f) |
static hk_string | show_directorydialog (const hk_string &f="") |
static void | set_showpedantic (bool s) |
static bool | showpedantic (void) |
static void | set_measuresystem (enum_measuresystem) |
static enum_measuresystem | measuresystem (void) |
static xmlNodePtr | get_tagvalue (xmlNodePtr where, const hk_string &tag, hk_string &value, int position=1, enum_tagtype tagtype=normaltag) |
static xmlNodePtr | get_tagvalue (xmlNodePtr where, const hk_string &tag, unsigned long &value, int position=1) |
static xmlNodePtr | get_tagvalue (xmlNodePtr where, const hk_string &tag, unsigned int &value, int position=1) |
static xmlNodePtr | get_tagvalue (xmlNodePtr where, const hk_string &tag, long &value, int position=1) |
static xmlNodePtr | get_tagvalue (xmlNodePtr where, const hk_string &tag, int &value, int position=1) |
static xmlNodePtr | get_tagvalue (xmlNodePtr where, const hk_string &tag, bool &value, int position=1) |
static xmlNodePtr | get_tagvalue (xmlNodePtr &where, const hk_string &tag) |
static void | set_tagvalue (ostream &stream, const hk_string &tag, const hk_string &value) |
static void | set_tagvalue (ostream &stream, const hk_string &tag, unsigned long value) |
static void | set_tagvalue (ostream &stream, const hk_string &tag, unsigned int value) |
static void | set_tagvalue (ostream &stream, const hk_string &tag, long value) |
static void | set_tagvalue (ostream &stream, const hk_string &tag, int value) |
static void | set_tagvalue (ostream &stream, const hk_string &tag, bool value) |
static void | start_mastertag (ostream &stream, const hk_string &tag) |
static void | end_mastertag (ostream &stream, const hk_string &tag) |
static void | set_defaultdatetimeformat (const hk_string &timeformat, const hk_string &dateformat, const hk_string &datetimeformat) |
static hk_string | defaultdateformat (void) |
static hk_string | defaulttimeformat (void) |
static hk_string | defaultdatetimeformat (void) |
static void | save_preferences (void) |
static bool | runtime_only (void) |
static void | set_locale (const hk_string &locale) |
static hk_string | locale (void) |
static void | set_defaultdriver (const hk_string &d) |
static hk_string | defaultdriver (void) |
static void | set_default_automatic_data_update (bool) |
static bool | default_automatic_data_update (void) |
Protected Member Functions | |
hk_reportdata (hk_reportsection *) | |
virtual void | new_column_pointer_created (void) |
virtual void | sizetype_changed (void) |
virtual bool | presentationmode_changed (void) |
virtual bool | action_on_print (void) |
![]() | |
void | set_data_has_changed (void) |
virtual bool | datasource_disable (void) |
virtual bool | datasource_enable (void) |
virtual void | datasource_delete (void) |
virtual bool | before_columns_deleted (void) |
virtual void | widget_specific_set_column (void) |
virtual void | widget_specific_numberformat (void) |
virtual void | widget_specific_set_defaultvalue (void) |
virtual void | columndata_has_changed (void) |
virtual void | before_insert_row (void) |
![]() | |
void | row_change (void) |
void | batch_next (void) |
void | batch_previous (void) |
void | insert_mode (void) |
virtual void | widget_specific_insert_mode (void) |
virtual bool | widget_specific_row_change (void) |
virtual void | widget_specific_batch_next (void) |
virtual void | widget_specific_batch_previous (void) |
virtual void | widget_specific_enable_disable (void) |
virtual void | widget_specific_enable (void) |
virtual void | widget_specific_disable (void) |
virtual void | widget_specific_row_added (void) |
virtual void | widget_specific_row_deleted (void) |
virtual void | before_row_change (void) |
virtual void | before_store_changed_data (void) |
virtual void | after_store_changed_data (void) |
virtual void | before_datasource_enables (void) |
virtual void | row_added (void) |
virtual void | row_deleted (void) |
virtual bool | columns_new_created (void) |
virtual void | list_changes (listtype type) |
virtual bool | table_structure_changes (void) |
virtual void | before_source_vanishes (void) |
virtual void | widget_specific_presentationdatasource (long) |
![]() | |
virtual void | widget_specific_form_resizes (void) |
virtual void | widget_specific_font_changed (void) |
virtual void | widget_specific_label_changed (void) |
virtual void | widget_specific_foregroundcolour_changed (const hk_colour &oldcolour) |
virtual void | widget_specific_backgroundcolour_changed (const hk_colour &oldcolour) |
virtual bool | widget_specific_coordinates (unsigned int px, unsigned int py, unsigned int pwidth, unsigned int pheight) |
virtual void | widget_specific_raise_widget (void) |
virtual void | widget_specific_lower_widget (void) |
virtual void | widget_specific_tooltip_changed (void) |
virtual void | widget_specific_enabled_changed (void) |
virtual void | before_presentationmode_changed (void) |
virtual void | widget_specific_alignment (void) |
virtual void | widget_specific_sizetype_changed (void) |
bool | allow_datachanging (bool force_setting) |
void | has_changed (bool registerchange, enum_has_changed force_setting=standard) |
void | set_tabvisible (hk_tabvisible *) |
![]() | |
hk_interpreter * | new_interpreter (const hk_string &interpreter, hk_presentation *) |
Friends | |
class | hk_reportsection |
Additional Inherited Members | |
![]() | |
enum | enum_visibletype { textlabel, button, rowselector, boolean, lineedit, memo, combobox, grid, form, report, reportsection, reportdata, query, subform, image, date, tabvisible, other } |
enum | alignmenttype { alignleft, alignright, aligncenter, aligndefault } |
![]() | |
enum | enum_interaction { noninteractive, interactive } |
enum | enum_measuresystem { cm, inch } |
enum | enum_tagtype { normaltag, mastertag } |
![]() | |
enum | enum_has_changed { standard, forcesetting } |
![]() | |
hk_column * | p_column |
hk_string | p_filterreplacevalue |
hk_string | p_filtervalueend |
![]() | |
hk_datasource * | p_datasource |
hk_datetime | p_date |
hk_string | debug_p_columnname |
![]() | |
hk_presentation * | p_presentation |
enum_visibletype | p_visibletype |
bool | p_setcoordinates |
bool | p_setwidgetcoordinates |
bool | while_init |
![]() | |
static hk_string | p_defaulttimeformat ="h:m:s" |
static hk_string | p_defaultdateformat ="D.M.Y" |
static hk_string | p_defaultdatetimeformat ="D.M.Y h:m:s" |
static bool | p_runtime_only =false |
represents the data of a field within a section.
represents the data of a field within a section
you can use the columnnames delimited by # as variablenames. If a hk_report::recodefunction is set, the values will be recoded.
XPOS% the absolute value of the x-coordinate YPOS% the absolute value of the y-coordinate WIDTH% the absolute value of the width HEIGHT% the absolute value of the height RELXPOS% the relative value of the x-coordinate RELYPOS% the relative value of the y-coordinate RELWIDTH% the relative value of the width RELHEIGHT% the relative value of the height PAGENUMBER% the number of the page ABSOLUTEPAGENUMBER% physical number of the page in file ROWNUMBER% the actual row number of the datasource COLUMNNAME% the name of the column if set DATASOURCENAME% the name of the datasource if set column# the value of the column as shown in the following two examples #field1# the value of the column with the name 'field1' #first_name# the value of the column with the name 'first_name'
If you have set set_columnname you have additionally the following variable names
VALUE% the value of the column defined with set_columnname with hk_report::set_recodefunction FIELDNAME% the name of the column defined with set_columnname COUNT% the number of values
If the column is of type integer or real you have the following variables
SUM% the sum of all values MIN% the minimum value MAX% the maximum value STDDEV% standard deviation STDDEVSAMPLE% standard deviation of a sample AVERAGE% the average of all values
hk_string hk_reportdata::actual_string | ( | void | ) |
The name of a column of the datasource. Will be used for some variables such as COUNT%, SUM%,AVERAGE% and so on. returns the value that will be printed in the section
References hk_class::hkdebug(), hk_report::page_footer(), hk_report::page_header(), and hk_report::rowcount().
void hk_reportdata::count | ( | void | ) |
Will be internally called to create the values for the variables COUNT%,SUM% etc.
References hk_column::asstring(), hk_dsdatavisible::column(), hk_class::hkdebug(), and hk_datasource::row_position().
|
virtual |
if the widget is part of a presentation this widget will be moved into the background
Reimplemented from hk_visible.
|
virtual |
if the widget is part of a presentation this widget will be moved into the front
Reimplemented from hk_visible.
hk_report * hk_reportdata::report | ( | void | ) |
returns the report this datafield belongs to
hk_reportsection * hk_reportdata::section | ( | void | ) |
returns the section this datafield belongs to
void hk_reportdata::set_bottomline | ( | bool | l = true , |
bool | registerchange = true |
||
) |
if true a line should be painted under the data
See set_configurefunction for details
void hk_reportdata::set_configurefunction | ( | const hk_string & | f, |
bool | registerchange = true |
||
) |
in this function you have to define how to react on i.e. set_bottomline etc.
References hk_class::hk_translate(), hk_class::hkdebug(), and hk_class::show_warningmessage().
Referenced by hk_reportsection::new_data().
void hk_reportdata::set_data | ( | const hk_string & | d, |
bool | registerchange = true |
||
) |
Set the data that should be printed when the section will be printed You can use all of the above named variables. Usually you connect a report_data part with a column via set_columnname The most easy way is to set the data to VALUE%. A more intermediate way will be shown in the following example
Example:
You want to automatically create links in a html report. For this reason you have a datasource with 2 columns "url", and "name". "url" has the URL, "name" contains a description i.e.
URL name http://www.suse.de SuseLinux http://www.redhat.com RedhatLinux http://www.debian.org Debian *
To create a html link use set_data("<A HREF=\"#url#">#name#");
Referenced by hk_reportsection::new_data().
void hk_reportdata::set_datacountfunction | ( | const hk_string & | f, |
bool | registerchange | ||
) |
needed by hk_report::set_periodic. It is possible to compute as how much a section counts.
f | is a userdefined function that will be called whenever counts_as is called. |
References hk_class::hk_translate(), hk_class::hkdebug(), and hk_class::show_warningmessage().
void hk_reportdata::set_diagonalloru | ( | bool | l = true , |
bool | registerchange = true |
||
) |
if true a diagonal should be painted from _l_inks _o_ben to _r_echts _u_nten (left top to right down)
See set_configurefunction for details
void hk_reportdata::set_diagonalluro | ( | bool | l = true , |
bool | registerchange = true |
||
) |
if true a diagonal should be painted from _l_inks _u_nten to _r_echts _o_ben (left down to right up)
See set_configurefunction for details
void hk_reportdata::set_frame | ( | bool | l = true , |
bool | registerchange = true |
||
) |
if true a frame should be painted around the text (bottomline + topline + leftline + rightline)
See set_configurefunction for details
References hk_class::hkdebug().
void hk_reportdata::set_leftline | ( | bool | l = true , |
bool | registerchange = true |
||
) |
if true a line should be painted left of the data
See set_configurefunction for details
void hk_reportdata::set_linebreak | ( | bool | b = true , |
bool | registerchange = true |
||
) |
if true the textline should be broken if the line is longer than the width
See set_configurefunction for details
void hk_reportdata::set_replacefunction | ( | const hk_string & | f, |
bool | registerchange = true |
||
) |
References hk_class::hk_translate(), hk_class::hkdebug(), and hk_class::show_warningmessage().
void hk_reportdata::set_rightline | ( | bool | l = true , |
bool | registerchange = true |
||
) |
if true a line should be painted right the data
See set_configurefunction for details
void hk_reportdata::set_runningcount | ( | bool | c = true , |
bool | registerchange = true |
||
) |
The values of the variables SUM% COUNT% AVERAGE% STDDEV% etc. can be relatively to the section. i.e. if the section is a uniquesection and it changes all variables can be reset to 0 (default).
c | if true these variables will change to global variables in the report and not be set to 0 when the section changes. |
void hk_reportdata::set_topline | ( | bool | l = true , |
bool | registerchange = true |
||
) |
if true a line should be painted above the data
See set_configurefunction for details