Beispiel #1
0
/** Finishes the current page of the report */
void MReportEngine::endPage(MPageCollection *pages)
{
  // Draw the report footer
  drawReportFooter(pages);
  // Draw the page footer
  drawPageFooter(pages);
}
Beispiel #2
0
/** Finishes the current page and adds a new page */
void MReportEngine::newPage( MPageCollection * pages, int levelAddOn ) {
  // Draw the page footer
  drawPageFooter( pages );

  // Stop the painter
  p->painter()->end();

  // Start a new page
  startPage( pages, levelAddOn );
}