#define BPS_PRIVATE(Class)
Declare pointer to private object in a public class.
Definition: bpsglobals.h:102
A report page will typically be created by calling BpsReport::addPage() from within the report script...
Definition: bpsreportpage.h:18
void insertSection(int aPosition, BpsReportSection *aSection)
Inserts a new section at an arbitrary position of the page.
BpsReportPage(BpsReport *aParent)
The constructor.
BpsReportSection * sectionAt(int aPosition) const
Get a section from a certain position.
void draw(QGraphicsScene *aScene, int aResolution)
Draws the page on the provided graphics scene.
int sectionCount() const
Get the number of sections in the page.
qreal printHeight() const
Get the sum of all section print heights.
void appendSection(BpsReportSection *aSection)
Appends a new section to the end of the page.