Detailed Description
The RptPageObject class allow to construct the QtRPT report from scrutch. RptPageObject represent report's page. On RptPageObject the RptBandObjects are placed
The inner structure of report is following:
QtRPT
RptPageObject
RptBandObject
RptFieldObject
There are possible to have some RptPageObject in the report. It allows combining several reports in one Report.
Member Function Documentation
RptPageObject::RptPageObject()
Constructs a RptPageObject object.
RptPageObject::~RptPageObject()
Destroys the object, deleting all its child objects.
void RptPageObject::addBand(RptBandObject * band)
Add band to current RptBandObject object.
See also RptBandObject.
RptFieldObject * RptPageObject::findFieldObjectByName(QString name)
Find and return RptFieldObject
on this report page the field with the given name.
See also RptFieldObject.
RptBandObject * RptPageObject::getBand(BandType type)
Find and return RptBandObject
on this report page the field by the given type.
See also RptBandObject.
Member Variable Documentation
bool RptPageObject::border
This variable holds sets draw or not border arround the page. Defualt is false.
QColor RptPageObject::borderColor
This variable holds the border's color of report's page. Default is Qt::black.
QString RptPageObject::borderStyle
This variable holds the border's style of report's page. Default value is "solid".
int RptPageObject::borderWidth
This variable holds the border's width of report's page. Default value is 1px.
int RptPageObject::mb
This variable holds the buttom's margin of report's page.
int RptPageObject::ml
This variable holds the left's margin of report's page.
int RptPageObject::mr
This variable holds the girht's margin of report's page.
int RptPageObject::mt
This variable holds the top's margin of report's page.
int RptPageObject::orientation
This variable holds the orientation of report's page.
int RptPageObject::pageNo
This variable holds the number of report's page.
int RptPageObject::ph
This variable holds the height of report's page.
int RptPageObject::pw
This variable holds the width of report's page.