# class hk_reportsectionpair

contains a header and a footer section. More...

Definition | `#include <hk_classes/hk_classes/hk_reportsectionpair.h>`
Inherits | hk_class [public ]
List of all Methods

Annotated List
Files
Globals
Hierarchy
Index

#### Public Methods

- ~hk_reportsectionpair (void)
- hk_reportsection* headersection (void)
- hk_reportsection* footersection (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 (const hk_string& 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 Methods

- hk_reportsectionpair (hk_report*)
- void remove_section (hk_reportsection*)

## Detailed Description

contains a header and a footer section

~hk_reportsectionpair (void)

### ~hk_reportsectionpair

hk_reportsection* headersection (void)

### headersection

returns the headersection or NULL if non is set

hk_reportsection* footersection (void)

### footersection

returns the footersection or NULL if non is set

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

### set_sections

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

void init_sections (void)

### init_sections

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

void set_columnname (const hk_string& n)

### set_columnname

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

void set_ascending_order (bool asc, bool registerchange=true)

### set_ascending_order

bool ascending_order (void)

### ascending_order

[const]

hk_string columnname (void)

### columnname

[const]

void reset (void)

### reset

void clear_countingfields (void)

### clear_countingfields

calls the reportsections clear_countingfields

void savedata (ostream& s,bool userdefined=false)

### savedata

[virtual]

Reimplemented from hk_class.

void loaddata (const hk_string& definition,bool userdefined=false)

### loaddata

[virtual]

Reimplemented from hk_class.

bool set_presentationdatasource (long n, bool registerchange=true)

### set_presentationdatasource

[virtual]

long presentationdatasource (void)

### presentationdatasource

void neutralize_definition (bool registerchange)

### neutralize_definition

void bulk_operation (hk_presentation::enum_bulkoperation bulkoperation)

### bulk_operation

hk_reportsectionpair (hk_report*)

### hk_reportsectionpair

[protected]

void remove_section (hk_reportsection*)

### remove_section

[protected]

- Version: $Revision: 1.10 $
- Author: Horst Knorr (hk_classes@knoda.org)
- Generated: horst on horstnotebook on Tue Mar 30 19:06:43 2004, using kdoc 2.0a54.