public abstract class AbstractFixedLineGenerator
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PAGE_TEMPLATE_CURR |
static java.lang.String |
PAGE_TEMPLATE_TOTAL |
| Constructor and Description |
|---|
AbstractFixedLineGenerator(ReportElement footerElement,
PositionOfStaticElements footerOnPages) |
| Modifier and Type | Method and Description |
|---|---|
void |
addFooterToAllPages(PdfReportStructure report,
PdfPageLayout pageConfig)
adds a footer to all pages
|
ReportElement |
getFooterElement() |
PositionOfStaticElements |
getFooterOnPages() |
protected abstract float |
getVerticalPosition(PdfPageLayout pageConfig) |
public static final java.lang.String PAGE_TEMPLATE_CURR
public static final java.lang.String PAGE_TEMPLATE_TOTAL
public AbstractFixedLineGenerator(ReportElement footerElement, PositionOfStaticElements footerOnPages)
public void addFooterToAllPages(PdfReportStructure report, PdfPageLayout pageConfig)
report - the report where the footer should be added.pageConfig - the page layout of the pageprotected abstract float getVerticalPosition(PdfPageLayout pageConfig)
public PositionOfStaticElements getFooterOnPages()
public ReportElement getFooterElement()