|
Public Types |
enum | enum_presentationtype {
general,
form,
report,
qbe,
referentialintegrity
} |
enum | enum_bulkoperation { bulkfont,
bulkforeground,
bulkbackground
} |
enum | enum_sizetype { relative,
absolute
} |
Public Member Functions |
| hk_presentation (void) |
virtual | ~hk_presentation (void) |
void | set_database (hk_database *db) |
hk_database * | database (void) const |
enum_presentationtype | presentationtype (void) const |
void | set_name (const hk_string &n) |
hk_string | name (void) const |
virtual bool | set_mode (enum_mode s) |
list< hk_datasource * > * | datasources (void) const |
long | new_datasource (const hk_string &name, datasourcetype dt=dt_table) |
hk_datasource * | get_datasource (long nr) |
hk_datasource * | get_datasource (const hk_string &description) |
hk_datasource * | get_datasource_by_shortname (const hk_string &description) |
hk_string | unique_datasourcename (long nr) |
hk_string | unique_shortdatasourcename (long nr) |
virtual void | savedata (ostream &s) |
virtual void | loaddata (const hk_string &definition) |
void | clear_datasourcelist (void) |
void | set_designsize (unsigned int width, unsigned int height, bool registerchange=true) |
virtual void | set_presentationsize (unsigned int, unsigned int) |
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 | register_object (hk_visible *) |
void | set_automatic_enable_datasources (bool) |
bool | automatic_enable_datasources (void) |
virtual void | bulk_operation (enum_bulkoperation bulkoperation) |
void | set_sizetype (enum_sizetype type, bool registerchange=true) |
enum_sizetype | sizetype (void) |
hk_interpreter * | interpreter (void) |
virtual void | script_error (hk_visible *, hk_interpreter::enum_action) |
void | set_interpretername (const hk_string &, bool registerchange=true) |
hk_string | interpretername (void) const |
void | enable_datasources (bool enable, hk_datasource::enum_accessmode mode=hk_datasource::standard) |
virtual bool | is_subpresentation (void) |
virtual bool | while_loading (void) |
Static Public Member Functions |
static void | set_defaultsizetype (enum_sizetype type) |
static enum_sizetype | defaultsizetype (void) |
static void | set_snap2gridx (int) |
static int | snap2gridx (void) |
static void | set_snap2gridy (int) |
static int | snap2gridy (void) |
Protected Member Functions |
void | remove_datasource (long nr, bool registerchange=true) |
virtual void | widget_specific_presentationresize (void) |
virtual void | widget_specific_fieldresize (hk_visible *) |
void | database_delete (void) |
virtual void | database_has_vanished (void) |
void | before_source_vanishes (void) |
bool | ask_name (void) |
virtual void | raise_widget (hk_visible *) |
virtual void | lower_widget (hk_visible *) |
virtual void | sizetype_changed (void) |
Protected Attributes |
enum_presentationtype | p_presentationtype |
unsigned int | p_actualwidth |
unsigned int | p_actualheight |
bool | p_while_errorhandling |
Friends |
class | hk_datasource |
class | hk_database |
class | hk_dsvisible |
class | hk_visible |