QtRPT and QtRptDesigner
Main Documents History Download Announcements Customers Sourceforge WebDesigner  
Contents
QtRptName
QtRPT
RptPageObject
RptBandObject
RptFieldObject
 
QtRPT Project API
RptBandObject Class | QtRptProject 1.5

RptBandObject Class

RptBandObject represent band of the report. On RptBandObject the RptFieldObject are placed More...

Header: #include <RptBandObject>

Public Functions

RptBandObject()
~RptBandObject()
void addField(RptFieldObject * field)

Public Variables

QList<RptFieldObject *> fieldList
QString groupingField
int height
int left
QString name
RptPageObject * parentReportPage
int realHeight
int right
bool showInGroup
bool startNewNumeration
bool startNewPage
BandType type
int width

Detailed Description

RptBandObject represent band of the report. On RptBandObject the RptFieldObject are placed

The inner structure of report is following:

QtRPT
  RptPageObject
    RptBandObject
      RptFieldObject

There are possible to have some RptBandObject on the report's page but different type.

Member Function Documentation

RptBandObject::RptBandObject()

Constructs a RptBandObject object.

RptBandObject::~RptBandObject()

Destroys the object, deleting all its child objects.

void RptBandObject::addField(RptFieldObject * field)

Add field to current RptBandObject object.

See also RptFieldObject.

Member Variable Documentation

QList<RptFieldObject *> RptBandObject::fieldList

This variable holds list of fields which are placed on current band.

See also RptFieldObject.

QString RptBandObject::groupingField

This variable holds the name of the field on which the grouping is performed. Used with DataGroupHeader band only.

int RptBandObject::height

This variable holds height of the band, setted by user.

See also realHeight.

int RptBandObject::left

This variable holds left position of the band.

QString RptBandObject::name

This variable holds the name of band.

RptPageObject * RptBandObject::parentReportPage

This variable holds pointer to parent report page.

See also RptPageObject.

int RptBandObject::realHeight

This variable holds real height of the band. Height is adjusted by QtRPT.

See also height.

int RptBandObject::right

This variable holds right position of the band.

bool RptBandObject::showInGroup

This variable holds the value of which is DataGroupHeader will be shown inside or outside of Data group. Used with DataGroupHeader band only.

bool RptBandObject::startNewNumeration

This variable holds the value of which is each group has own numeration. Used with DataGroupHeader band only.

bool RptBandObject::startNewPage

This variable holds the value of which is each group prints on different page. Used with DataGroupHeader band only.

BandType RptBandObject::type

This variable holds type of the band.

See also QtRptName::BandType.

int RptBandObject::width

This variable holds width of the band.