Package org.primefaces.component.export
Class PDFOptions
java.lang.Object
org.primefaces.component.export.PDFOptions
- All Implemented Interfaces:
ExporterOptions
-
Constructor Summary
ConstructorsConstructorDescriptionPDFOptions(String cellFontStyle, String cellFontColor, String cellFontSize) PDFOptions(String facetFontStyle, String facetFontColor, String facetBgColor, String facetFontSize) PDFOptions(String facetFontStyle, String facetFontColor, String facetBgColor, String facetFontSize, String cellFontStyle, String cellFontColor, String cellFontSize) -
Method Summary
Modifier and TypeMethodDescriptionGets the orientation of this PDF either LANDSCAPE or PORTRAIT.voidsetCellFontColor(String cellFontColor) voidsetCellFontSize(String cellFontSize) voidsetCellFontStyle(String cellFontStyle) voidsetFacetBgColor(String facetBgColor) voidsetFacetFontColor(String facetFontColor) voidsetFacetFontSize(String facetFontSize) voidsetFacetFontStyle(String facetFontStyle) voidsetFontName(String fontName) voidsetOrientation(PDFOrientationType orientation) Sets the orientation of this PDF either LANDSCAPE or PORTRAIT.
-
Constructor Details
-
PDFOptions
public PDFOptions() -
PDFOptions
-
PDFOptions
-
PDFOptions
-
-
Method Details
-
getFacetFontStyle
- Specified by:
getFacetFontStylein interfaceExporterOptions
-
setFacetFontStyle
-
getFacetFontColor
- Specified by:
getFacetFontColorin interfaceExporterOptions
-
setFacetFontColor
-
getFacetBgColor
- Specified by:
getFacetBgColorin interfaceExporterOptions
-
setFacetBgColor
-
getFacetFontSize
- Specified by:
getFacetFontSizein interfaceExporterOptions
-
setFacetFontSize
-
getCellFontStyle
- Specified by:
getCellFontStylein interfaceExporterOptions
-
setCellFontStyle
-
getCellFontColor
- Specified by:
getCellFontColorin interfaceExporterOptions
-
setCellFontColor
-
getCellFontSize
- Specified by:
getCellFontSizein interfaceExporterOptions
-
setCellFontSize
-
getFontName
- Specified by:
getFontNamein interfaceExporterOptions
-
setFontName
-
getOrientation
Gets the orientation of this PDF either LANDSCAPE or PORTRAIT.- Returns:
- the PDFOrientation or NULL
-
setOrientation
Sets the orientation of this PDF either LANDSCAPE or PORTRAIT.- Parameters:
orientation- the PDFOrientation to set
-