com.stimulsoft.report.engine.engineV2
Class StiPageHelper

java.lang.Object
  extended by com.stimulsoft.report.engine.engineV2.StiPageHelper

public class StiPageHelper
extends java.lang.Object

A class helps to render a page.


Constructor Summary
StiPageHelper()
           
 
Method Summary
static void CreateListOfDataBands(StiPage page, java.util.ArrayList dataBandsOnPage, java.util.ArrayList dataBandsInContainers, java.util.ArrayList subReportsOnPage, java.util.ArrayList crossTabsOnPage)
          Заполняет: коллекцию DataBand's, которые лежит прямо на странице и не имеют MasterComponent (или MasterComponent равен page.MasterDataBand); коллекцию DataBand's, которые лежат в контейнерах расположенных прямо на странице; коллекцию SubReport's, которые расположены прямо на странице.
static StiPage GetPageFromTemplate(StiPage templatePage)
          Creates a new page on base of the page of the template.
static java.util.ArrayList GetReportSummaries(StiPage page)
          Returns the list of ReportSummaryBands.
static java.util.ArrayList GetReportTitles(StiPage page)
          Returns the list of ReportTitleBands.
static void PrepareBookmark(StiPage page)
           
static void preparePointer(StiPage page)
           
static void RenderOverlays(StiPage masterPage, StiPage renderedPage)
           
static void RenderPage(StiPage page)
          Prints the specified page.
static void RenderSimpleComponents(StiPage page, StiContainer outContainer)
          Prints all simple components on a page.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StiPageHelper

public StiPageHelper()
Method Detail

CreateListOfDataBands

public static void CreateListOfDataBands(StiPage page,
                                         java.util.ArrayList dataBandsOnPage,
                                         java.util.ArrayList dataBandsInContainers,
                                         java.util.ArrayList subReportsOnPage,
                                         java.util.ArrayList crossTabsOnPage)
Заполняет: коллекцию DataBand's, которые лежит прямо на странице и не имеют MasterComponent (или MasterComponent равен page.MasterDataBand); коллекцию DataBand's, которые лежат в контейнерах расположенных прямо на странице; коллекцию SubReport's, которые расположены прямо на странице.

Parameters:
page - A page for searching components.
dataBandsOnPage - Коллекция DataBand's, которые лежит прямо на странице (для заполнения).
dataBandsInContainers - Коллекция DataBand's, которые лежат в контейнерах расположенных прямо на странице (для заполнения).
subReportsOnPage - A collection of SubReports which are placed directly on a page (for filling).

GetReportTitles

public static java.util.ArrayList GetReportTitles(StiPage page)
Returns the list of ReportTitleBands. If the TitleBeforeHeader property is true then empty collection is returned, because all ReportTitleBand in this case a statis bands.


GetReportSummaries

public static java.util.ArrayList GetReportSummaries(StiPage page)
Returns the list of ReportSummaryBands.


RenderSimpleComponents

public static void RenderSimpleComponents(StiPage page,
                                          StiContainer outContainer)
Prints all simple components on a page. DataBands and their и их зависимые бэнды не обрабытываются. The result of print is output into the specified container.

Parameters:
page - A page for simple components processing.
outContainer - A container to output the result of printing.

PrepareBookmark

public static void PrepareBookmark(StiPage page)

preparePointer

public static void preparePointer(StiPage page)

RenderPage

public static void RenderPage(StiPage page)
Prints the specified page.


RenderOverlays

public static void RenderOverlays(StiPage masterPage,
                                  StiPage renderedPage)

GetPageFromTemplate

public static StiPage GetPageFromTemplate(StiPage templatePage)
Creates a new page on base of the page of the template.