Packagestimulsoft.report.engine.engineV2
Classpublic class StiSubReportsHelper
InheritanceStiSubReportsHelper Inheritance Object

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



Public Methods
 MethodDefined By
  
[static] Returns DataBand which is one of Parent components of the specified container.
StiSubReportsHelper
  
[static] Returns Band which is one of Parent components of the specified container.
StiSubReportsHelper
  
renderDataBandsInContainer(containerOfDataBands:StiContainer, container:StiContainer, skipStaticBands:Boolean = false):void
[static] Prints a group of bands from the specified container into the container of destination.
StiSubReportsHelper
  
renderSubReport(containerOfSubReport:StiContainer, subReport:StiSubReport):void
[static] Prints SubReport component into the specified container.
StiSubReportsHelper
Method Detail
getMasterDataBand()method
public static function getMasterDataBand(parent:StiContainer):StiDataBand

Returns DataBand which is one of Parent components of the specified container.

Parameters

parent:StiContainer

Returns
StiDataBand
getParentBand()method 
public static function getParentBand(parent:StiContainer):StiBand

Returns Band which is one of Parent components of the specified container.

Parameters

parent:StiContainer

Returns
StiBand
renderDataBandsInContainer()method 
public static function renderDataBandsInContainer(containerOfDataBands:StiContainer, container:StiContainer, skipStaticBands:Boolean = false):void

Prints a group of bands from the specified container into the container of destination. "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.

Parameters

containerOfDataBands:StiContainer
 
container:StiContainer
 
skipStaticBands:Boolean (default = false)

renderSubReport()method 
public static function renderSubReport(containerOfSubReport:StiContainer, subReport:StiSubReport):void

Prints SubReport component into the specified container. "containerOfSubReport" > A container in what the SubReport should be printed. "subReport" > SubReport that should be printed in the specified container.

Parameters

containerOfSubReport:StiContainer
 
subReport:StiSubReport