com.stimulsoft.report.engine.engineV2
Class StiSubReportsHelper

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

public class StiSubReportsHelper
extends java.lang.Object

A class helps to render SubReport and DataBand components which are places in containers. These containers are placed on bands.


Field Summary
static double SpecialSubReportHeight
           
 
Constructor Summary
StiSubReportsHelper()
           
 
Method Summary
static StiDataBand GetMasterDataBand(StiContainer parent)
          Returns DataBand which is one of Parent components of the specified container.
static StiBand GetParentBand(StiContainer parent)
          Returns Band which is one of Parent components of the specified container.
static void RenderDataBandsInContainer(StiContainer containerOfDataBands, StiContainer container)
          Prints a group of bands from the specified container into the container of destination.
static void RenderDataBandsInContainer(StiContainer containerOfDataBands, StiContainer container, boolean skipStaticBands)
          Prints a group of bands from the specified container into the container of destination.
static void RenderSubReport(StiContainer containerOfSubReport, StiSubReport subReport)
          Prints SubReport component into the specified container.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SpecialSubReportHeight

public static final double SpecialSubReportHeight
See Also:
Constant Field Values
Constructor Detail

StiSubReportsHelper

public StiSubReportsHelper()
Method Detail

GetMasterDataBand

public static StiDataBand GetMasterDataBand(StiContainer parent)
Returns DataBand which is one of Parent components of the specified container.


GetParentBand

public static StiBand GetParentBand(StiContainer parent)
Returns Band which is one of Parent components of the specified container.


RenderSubReport

public static void RenderSubReport(StiContainer containerOfSubReport,
                                   StiSubReport subReport)
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:
containerOfSubReport - A container in what printing is done.
container - A container that contains a group of bands.

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:
containerOfSubReport - A container in what printing is done.
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.