com.stimulsoft.report.engine.engineV2
Class StiFootersOnAllPages

java.lang.Object
  extended by com.stimulsoft.report.engine.engineV2.StiFootersOnAllPages

public class StiFootersOnAllPages
extends java.lang.Object

A class helps to output Footers, which should be output on all pages on the bottom of a page.


Field Summary
 StiEngine engine
           
 
Constructor Summary
StiFootersOnAllPages(StiEngine engine)
           
 
Method Summary
 void Add(StiContainer container)
          Adds a container into the collection of containers which will be output on all pages on the bottom of a page.
 boolean CanProcess(StiBand band)
          Returns true, if the specified band is the Footer.
 void Render(StiContainer outContainer, int startIndex, StiContainer markerContainer)
          Производит поиск и вывод внизу страницы, всех Footers из указанного контейнера вывода.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

engine

public StiEngine engine
Constructor Detail

StiFootersOnAllPages

public StiFootersOnAllPages(StiEngine engine)
Method Detail

Add

public final void Add(StiContainer container)
Adds a container into the collection of containers which will be output on all pages on the bottom of a page.

Parameters:
container - Контейнер для добавления в коллекцию.

CanProcess

public final boolean CanProcess(StiBand band)
Returns true, if the specified band is the Footer. The Footer should be output on all pages on the bottom of a page.

Parameters:
band - A band for cheking.
Returns:

Render

public final void Render(StiContainer outContainer,
                         int startIndex,
                         StiContainer markerContainer)
Производит поиск и вывод внизу страницы, всех Footers из указанного контейнера вывода. Выводятся только те элементы, которые будут найдены до контейнера - маркера. Остальные элементы будут перенесены позднее на следующию страницу. Все выводимые элементы должны быть найдены в составленном ранее списке выводимых на всех страницах Footers. При обработке, контейнерам устанавливается новая позиция по вертикали внизу страницы.

Parameters:
outContainer - A container in what Footers should be output.
startIndex - Индекс, начиная с которого, необходимо произвести поиск контейнера-маркера. Индекс указывается для того, чтобы не производить повторную обработку выведенных ранее колонок на странице.
markerContainer - Контейнер - маркер, после которого все контейнеры будут перенесены на следующию страницу.