Class StiSubReportsHelper
java.lang.Object
com.stimulsoft.report.engine.engineV2.StiSubReportsHelper
A class helps to render SubReport and DataBand components which are places in containers. These containers are placed on bands.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StiDataBandGetMasterDataBand(StiContainer parent) Returns DataBand which is one of Parent components of the specified container.static StiBandGetParentBand(StiContainer parent) Returns Band which is one of Parent components of the specified container.static voidRenderDataBandsInContainer(StiContainer containerOfDataBands, StiContainer container) Prints a group of bands from the specified container into the container of destination.static voidRenderDataBandsInContainer(StiContainer containerOfDataBands, StiContainer container, boolean skipStaticBands) Prints a group of bands from the specified container into the container of destination.static voidRenderSubReport(StiContainer containerOfSubReport, StiSubReport subReport) Prints SubReport component into the specified container.
-
Field Details
-
SpecialSubReportHeight
public static final double SpecialSubReportHeight- See Also:
-
-
Constructor Details
-
StiSubReportsHelper
public StiSubReportsHelper()
-
-
Method Details
-
GetMasterDataBand
Returns DataBand which is one of Parent components of the specified container. -
GetParentBand
Returns Band which is one of Parent components of the specified container. -
RenderSubReport
Prints SubReport component into the specified container.- Parameters:
containerOfSubReport- A container in what the SubReport should be printed.subReport- SubReport that should be printed in the specified container.
-
RenderDataBandsInContainer
public static void RenderDataBandsInContainer(StiContainer containerOfDataBands, StiContainer container) Prints a group of bands from the specified container into the container of destination.- Parameters:
container- A container that contains a group of bands.containerOfSubReport- A container in what printing is done.
-
RenderDataBandsInContainer
public static void RenderDataBandsInContainer(StiContainer containerOfDataBands, StiContainer container, boolean skipStaticBands) Prints a group of bands from the specified container into the container of destination.- Parameters:
container- A container that contains a group of bands for printing.skipStaticBands- If true then static bands will not be rendered. It is used to render cross-tabs which are placed on static bands.containerOfSubReport- A container in what printing is done.
-