13 #include "hk_definitions.h"
14 #include "hk_dsdatavisible.h"
99 void set_data(
const hk_string& d,
bool registerchange=
true);
100 hk_string data(
void);
101 void set_beforedata(
const hk_string& b,
bool registerchange=
true);
102 void set_afterdata(
const hk_string& a,
bool registerchange=
true);
103 hk_string beforedata();
104 hk_string afterdata();
123 void set_runningcount(
bool c=
true,
bool registerchange=
true);
124 bool runningcount(
void);
130 void set_datacountfunction(
const hk_string& f,
bool registerchange);
131 hk_string datacountfunctionstring(
void);
133 reportdatacounttype* datacountfunction(
void);
140 void set_topline(
bool l=
true,
bool registerchange=
true);
146 void set_bottomline(
bool l=
true,
bool registerchange=
true);
153 void set_leftline(
bool l=
true,
bool registerchange=
true);
160 void set_rightline(
bool l=
true,
bool registerchange=
true);
168 void set_diagonalluro(
bool l=
true,
bool registerchange=
true);
175 void set_diagonalloru(
bool l=
true,
bool registerchange=
true);
176 bool diagonalloru(
void);
178 bool bottomline(
void);
180 bool rightline(
void);
181 bool diagonalluro(
void);
187 void set_frame(
bool l=
true,
bool registerchange=
true);
193 void set_linebreak(
bool b=
true,
bool registerchange=
true);
194 bool linebreak(
void);
195 void set_dynamic_height(
bool dynamic,
bool registerchange=
true);
196 bool dynamic_height(
void)
const;
201 void set_configurefunction(
const hk_string& f,
bool registerchange=
true);
202 data_configurefunctiontype* configurefunction(
void);
203 hk_string configurefunctionstring(
void);
205 virtual void savedata(ostream& s,
bool userdefined=
false);
206 virtual void loaddata(xmlNodePtr definition,
bool userdefined=
false);
207 void neutralize_definition(
bool registerchange);
209 static void add_configurefunctiontype(
const hk_string& name,data_configurefunctiontype* f);
210 static list<hk_string>* configurefunctionlist(
void);
212 static void add_datacountfunctiontype(
const hk_string& name,reportdatacounttype* f);
213 static list<hk_string>* datacountfunctionlist(
void);
219 static void add_datareplacefunctiontype(
const hk_string& name,data_replacefunctiontype* f);
220 static list<hk_string>* datareplacefunctionlist(
void);
231 virtual void lower_widget(
bool registerchange=
true);
232 virtual void raise_widget(
bool registerchange=
true);
233 void set_on_print_action(
const hk_string&,
bool registerchange=
true);
234 hk_string on_print_action(
void);
235 list<hk_string>* value_in_lines();
237 unsigned int height(
void) ;
238 bool data_fully_printed(
void);
239 void reset_data_fully_printed(
void);
240 int pagescount(
void);
241 virtual hk_string tag_value(
int tagnumber,
bool& ok);
242 virtual hk_string column_value(
const hk_string& colname,
bool& ok);
243 void set_is_image(
bool,
bool registerchange=
true );
249 virtual void new_column_pointer_created(
void);
250 virtual void sizetype_changed(
void);
251 virtual bool presentationmode_changed(
void);
252 virtual bool action_on_print(
void);
255 void clear_counting(
void);
257 typedef map<hk_string,data_configurefunctiontype*,less<hk_string> > reportdataconfigurelisttype ;
258 static reportdataconfigurelisttype p_reportdataconfigurefunctions;
259 static list<hk_string> p_reportdataconfigurelist;
264 typedef map<hk_string,reportdatacounttype*,less<hk_string> > datacountlisttype ;
265 static datacountlisttype p_datacountfunctions;
266 static list<hk_string> p_datacountfunctionlist;
268 typedef map<hk_string,data_replacefunctiontype*,less<hk_string> > datareplacelisttype ;
269 static datareplacelisttype p_datareplacefunctions;
270 static list<hk_string> p_datareplacefunctionlist;
void reset_count(void)
Definition: hk_reportsection.cpp:326
represents a font
Definition: hk_font.h:26
represents a section of the report.
Definition: hk_reportsection.h:92
represents the data of a field within a section.
Definition: hk_reportdata.h:75
base class for visible widgets with data connection
Definition: hk_dsdatavisible.h:32
virtual bool actual_string(void)
Definition: hk_reportsection.cpp:420
basic class to create reports
Definition: hk_report.h:52
Definition: hk_reportdata.cpp:24
Definition: hk_reportdata.cpp:69
void set_replacefunction(const hk_string &f, bool registerchange=true)
Definition: hk_reportsection.cpp:265