Class StiBreakableHelper
java.lang.Object
com.stimulsoft.report.engine.engineV2.StiBreakableHelper
A class that helps to work with the IStiBreakable interface.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal StiContainerBreak(StiContainer originalContainer) Breaks the specified container in two parts which are "Continued" and "Breaked", where the "Continued" is a container, which should be output on the next page and "Breaked" is a container which will be output on the current page.final booleanIsCanBreak(StiContainer container) If a container can be broken into two parts, then returns true for the.final booleanIsNeedBreak(StiContainer container) Returns true, if a container is to be broken and can be broken.final StiContainerProcessBreakable(StiContainer container) Checks the specified container on necessity to use the Breakable interface.final voidSetCanBreak(StiContainer container) Sets the CanBreak property for all components.
-
Field Details
-
engine
-
-
Constructor Details
-
StiBreakableHelper
-
-
Method Details
-
IsCanBreak
If a container can be broken into two parts, then returns true for the. True is returned, if the container realizes IStiBreakable interface and CanBreak is true, or ParentBand realizes IStiBreakable interface and CanBreak is true. -
IsNeedBreak
Returns true, if a container is to be broken and can be broken. A container may need in breaking, if it is higher than free space available for output. The ability of break is checked with the IsCanBreak method. -
Break
Breaks the specified container in two parts which are "Continued" and "Breaked", where the "Continued" is a container, which should be output on the next page and "Breaked" is a container which will be output on the current page. A container passed as the originalContainer method parameter contains the "Breaked" container. This method returns the "Continued" container. -
SetCanBreak
Sets the CanBreak property for all components. Do not set CanBreak to true for CrossFields and SubReports.- Parameters:
container-
-
ProcessBreakable
Checks the specified container on necessity to use the Breakable interface. Until a container cannot be placed completely on a page (and it can be broken) it is broken and output on pages.
-