Package | stimulsoft.report.engine.engineV2 |
Class | public class StiBreakableHelper |
Inheritance | StiBreakableHelper ![]() |
Method | Defined By | ||
---|---|---|---|
StiBreakableHelper(engine:StiEngine) | StiBreakableHelper | ||
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. | StiBreakableHelper | ||
isCanBreak(container:StiContainer):Boolean
If a container can be broken into two parts, then returns true for them. | StiBreakableHelper | ||
isNeedBreak(container:StiContainer):Boolean
Returns true, if a container is to be broken and can be broken. | StiBreakableHelper | ||
Checks the specified container on necessity to use the Breakable interface. | StiBreakableHelper | ||
setCanBreak(container:StiContainer):void
Sets the CanBreak property for all components. | StiBreakableHelper |
engine | property |
public var engine:StiEngine = null
StiBreakableHelper | () | Constructor |
breakk | () | method |
public function breakk(originalContainer:StiContainer):StiContainer
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.
Parameters
originalContainer:StiContainer |
StiContainer |
isCanBreak | () | method |
public function isCanBreak(container:StiContainer):Boolean
If a container can be broken into two parts, then returns true for them. True is returned, if the container realizes IStiBreakable interface and CanBreak is true, or ParentBand realizes IStiBreakable interface and CanBreak is true.
Parameters
container:StiContainer |
Boolean |
isNeedBreak | () | method |
public function isNeedBreak(container:StiContainer):Boolean
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.
Parameters
container:StiContainer |
Boolean |
processBreakable | () | method |
public function processBreakable(container:StiContainer):StiContainer
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.
Parameters
container:StiContainer |
StiContainer |
setCanBreak | () | method |
public function setCanBreak(container:StiContainer):void
Sets the CanBreak property for all components. Do not set CanBreak to true for CrossFields and SubReports.
Parameters
container:StiContainer |