hk_reportsectionpair Class Reference

contains a header and a footer section More...

#include <hk_reportsectionpair.h>

Inheritance diagram for hk_reportsectionpair:
[legend]
Collaboration diagram for hk_reportsectionpair:
[legend]

List of all members.

Public Member Functions

hk_reportsectionheadersection (void)
hk_reportsectionfootersection (void)
void set_sections (bool header=true, bool footer=true)
void init_sections (void)
void set_columnname (const hk_string &n)
void set_ascending_order (bool asc, bool registerchange=true)
bool ascending_order (void) const
hk_string columnname (void) const
void reset (void)
void clear_countingfields (void)
virtual void savedata (ostream &s, bool userdefined=false)
virtual void loaddata (xmlNodePtr definition, bool userdefined=false)
virtual bool set_presentationdatasource (long n, bool registerchange=true)
long presentationdatasource (void)
void neutralize_definition (bool registerchange)
void bulk_operation (hk_presentation::enum_bulkoperation bulkoperation)

Protected Member Functions

 hk_reportsectionpair (hk_report *)
void remove_section (hk_reportsection *)

Friends

class hk_reportsection
class hk_report


Detailed Description

contains a header and a footer section

contains a header and a footer section

Version:
Revision
1.13
Author:
Horst Knorr (hk_classes@knoda.org)

Member Function Documentation

hk_reportsection * hk_reportsectionpair::headersection ( void   ) 

returns the headersection or NULL if non is set

Referenced by hk_report::new_sectionpair_at(), and hk_reportsection::reset_count().

hk_reportsection * hk_reportsectionpair::footersection ( void   ) 

returns the footersection or NULL if non is set

Referenced by hk_report::new_sectionpair_at(), and hk_reportsection::reset_count().

void hk_reportsectionpair::set_sections ( bool  header = true,
bool  footer = true 
)

sets the sections

Parameters:
header if true a header section will be created else destroyed
footer if true a footer section will be created else destroyed

References hk_class::hkdebug(), init_sections(), hk_reportsection::p_pair, and hk_report::widget_specific_new_section().

void hk_reportsectionpair::init_sections ( void   ) 

brings the section into their initial state to be header or footer section

References hk_class::hkdebug(), hk_report::init_section(), hk_dsdatavisible::set_columnname(), and hk_reportsection::set_unique().

Referenced by set_sections().

void hk_reportsectionpair::set_columnname ( const hk_string &  n  ) 

the column name which should be set for grouping of the reportsections

References hk_dsdatavisible::set_columnname().

void hk_reportsectionpair::clear_countingfields ( void   ) 

calls the reportsections clear_countingfields

References hk_reportsection::clear_countingfields().


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

Generated on Wed Dec 3 10:11:57 2008 for Databaseconnectionclasses by  doxygen 1.5.6