public class HeaderFooterOptions extends Object
PdfDocument
during rendering or at any other time.
See: HtmlHeaderFooter
See: TextHeaderFooter
Constructor and Description |
---|
HeaderFooterOptions()
Instantiates a new Header footer options.
|
Modifier and Type | Method and Description |
---|---|
int |
getFirstPageNumber()
Gets first page number.First number used in {page} merge fields on the first page of the PDF.
|
String |
getHtmlTitle()
Gets html title.
|
int |
getMarginBottomMm()
Gets margin bottom mm.
|
int |
getMarginLeftMm()
Gets margin left mm.
|
int |
getMarginRightMm()
Gets margin right mm.
|
int |
getMarginTopMm()
Gets margin top mm.
|
String |
getPdfTitle()
Gets pdf title.
|
CssMediaType |
getRenderPdfCssMediaType()
Gets render pdf css media type.
|
void |
setFirstPageNumber(int firstPageNumber)
Sets first page number.
|
void |
setHtmlTitle(String htmlTitle)
Sets html title.
|
void |
setMarginBottomMm(int marginBottomMm)
Sets margin bottom mm.
|
void |
setMarginLeftMm(int marginLeftMm)
Sets margin left mm.
|
void |
setMarginRightMm(int marginRightMm)
Sets margin right mm.
|
void |
setMarginTopMm(int marginTopMm)
Sets margin top mm.
|
void |
setPdfTitle(String pdfTitle)
Sets pdf title.
|
void |
setRenderPdfCssMediaType(CssMediaType renderPdfCssMediaType)
Sets render pdf css media type.
|
public HeaderFooterOptions()
public int getMarginLeftMm()
public void setMarginLeftMm(int marginLeftMm)
marginLeftMm
- the margin left mmpublic int getMarginRightMm()
public void setMarginRightMm(int marginRightMm)
marginRightMm
- the margin right mmpublic int getMarginTopMm()
public void setMarginTopMm(int marginTopMm)
marginTopMm
- the margin top mmpublic int getMarginBottomMm()
public void setMarginBottomMm(int marginBottomMm)
marginBottomMm
- the margin bottom mmpublic int getFirstPageNumber()
public void setFirstPageNumber(int firstPageNumber)
firstPageNumber
- the first page numberpublic CssMediaType getRenderPdfCssMediaType()
public void setRenderPdfCssMediaType(CssMediaType renderPdfCssMediaType)
renderPdfCssMediaType
- the render pdf css media typepublic String getPdfTitle()
public void setPdfTitle(String pdfTitle)
pdfTitle
- the pdf titlepublic String getHtmlTitle()
public void setHtmlTitle(String htmlTitle)
htmlTitle
- the html titleCopyright © 2022–2023 Iron Software. All rights reserved.