com.stimulsoft.report.engine.engineV2
Class StiPrintAtBottom
java.lang.Object
com.stimulsoft.report.engine.engineV2.StiPrintAtBottom
public class StiPrintAtBottom
- extends java.lang.Object
A class helps to output bands which should be output on the bottom of a page.
Method Summary |
void |
Add(StiContainer container)
Adds a collection of containers which will be output on the bottom of a page. |
boolean |
CanProcess(StiBand band)
Returns true if the specified band is a band that should be output on the bottom of a page. |
void |
Render(StiContainer outContainer,
int startIndex,
StiContainer markerContainer)
Finds all elements from the specified container of output and outputs them on a new page. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
engine
public StiEngine engine
StiPrintAtBottom
public StiPrintAtBottom(StiEngine engine)
CanProcess
public final boolean CanProcess(StiBand band)
- Returns true if the specified band is a band that should be output on the bottom of a page.
- Parameters:
band
- A band for cheking.
- Returns:
Add
public final void Add(StiContainer container)
- Adds a collection of containers which will be output on the bottom of a page.
- Parameters:
container
- A container for adding into the collection.
Render
public final void Render(StiContainer outContainer,
int startIndex,
StiContainer markerContainer)
- Finds all elements from the specified container of output and outputs them on a new page.
Outputs elements which are found before the container-marker. The rest of elements will be
moved on the next page. All elements should be found in a previously compiled list of bands
which are output on the bottom of a page. When processing, a new vertical position on the
bottom of a page is set.
- Parameters:
outContainer
- A container in what bands should be output.startIndex
- The Index starting with what it is necessary to find a container-marker. The Index
is specified because there is no need to process again previously output clumns on
a page.markerContainer
- A container-marker after what all containers will be moved on the next page.