Class StiSubReportsHelper

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

public class StiSubReportsHelper extends Object
A class helps to render SubReport and DataBand components which are places in containers. These containers are placed on bands.
  • Field Details

    • SpecialSubReportHeight

      public static final double SpecialSubReportHeight
      See Also:
  • Constructor Details

    • StiSubReportsHelper

      public StiSubReportsHelper()
  • Method Details

    • 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:
      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.