|
DynamicPDF by ceTe Software | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cete.dynamicpdf.Template com.cete.dynamicpdf.HeaderFooterTemplate
public class HeaderFooterTemplate
This class can be used to place Header Footer Template on a page.
Licensing:
This class is a DynamicPDF Generator Community Edition feature.
Field Summary | |
---|---|
static int |
HeaderFooterId
|
Constructor Summary | |
---|---|
HeaderFooterTemplate()
Initializes a new instance of the HeaderFooterTemplate class. |
|
HeaderFooterTemplate(java.lang.String footerText)
Initializes a new instance of the HeaderFooterTemplate class. |
|
HeaderFooterTemplate(java.lang.String headerText,
java.lang.String footerText)
Initializes a new instance of the HeaderFooterTemplate class. |
|
HeaderFooterTemplate(java.lang.String headerText,
java.lang.String footerText,
Font font,
float fontsize)
Initializes a new instance of the HeaderFooterTemplate class. |
Method Summary | |
---|---|
void |
draw(PageWriter writer)
Draws the header footer template's page elements to the given PageWriter object. |
HeaderFooterText |
getFooterCenter()
Gets the center footer text for the page. |
HeaderFooterText |
getFooterLeft()
Gets the left footer text for the page. |
HeaderFooterText |
getFooterRight()
Gets the right footer text for the page. |
HeaderFooterText |
getHeaderCenter()
Gets the center header footer text for the page. |
HeaderFooterText |
getHeaderLeft()
Gets the left header text for the page. |
HeaderFooterText |
getHeaderRight()
Gets the right header text for the page. |
void |
setFooterCenter(HeaderFooterText value)
Sets the center footer text for the page. |
void |
setFooterLeft(HeaderFooterText value)
Sets the center footer text for the page. |
void |
setFooterRight(HeaderFooterText value)
Sets the right footer text for the page. |
void |
setHeaderCenter(HeaderFooterText value)
Sets the center header footer text for the page. |
void |
setHeaderLeft(HeaderFooterText value)
Sets the left header text for the page. |
void |
setHeaderRight(HeaderFooterText value)
Sets the right header text for the page. |
Methods inherited from class com.cete.dynamicpdf.Template |
---|
getElements |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static int HeaderFooterId
Constructor Detail |
---|
public HeaderFooterTemplate()
HeaderFooterTemplate
class.
public HeaderFooterTemplate(java.lang.String footerText)
HeaderFooterTemplate
class.
footerText
- Specifies the footer text of the page.public HeaderFooterTemplate(java.lang.String headerText, java.lang.String footerText)
HeaderFooterTemplate
class.
headerText
- Specifies the header text of the page.footerText
- Specifies the footer text of the page.public HeaderFooterTemplate(java.lang.String headerText, java.lang.String footerText, Font font, float fontsize)
HeaderFooterTemplate
class.
headerText
- Specifies the header text of the page.footerText
- Specifies the footer text of the page.font
- Font
Specifies font of the header footer text.fontsize
- Specifies font size of the header footer text.Method Detail |
---|
public HeaderFooterText getHeaderCenter()
public void setHeaderCenter(HeaderFooterText value)
value
- the center header footer text for the page.public HeaderFooterText getHeaderLeft()
public void setHeaderLeft(HeaderFooterText value)
value
- the left header text for the page.public HeaderFooterText getHeaderRight()
public void setHeaderRight(HeaderFooterText value)
value
- the right header text for the page.public HeaderFooterText getFooterCenter()
public void setFooterCenter(HeaderFooterText value)
value
- the center footer text for the page.public HeaderFooterText getFooterLeft()
public void setFooterLeft(HeaderFooterText value)
value
- the center footer text for the page.public HeaderFooterText getFooterRight()
public void setFooterRight(HeaderFooterText value)
value
- the right footer text for the page.public void draw(PageWriter writer)
PageWriter
object.
draw
in class Template
writer
- PageWriter
object to receive the template's output.PageWriter
|
DynamicPDF by ceTe Software | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |