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.void
setCellFontColor
(String cellFontColor) void
setCellFontSize
(String cellFontSize) void
setCellFontStyle
(String cellFontStyle) void
setFacetBgColor
(String facetBgColor) void
setFacetFontColor
(String facetFontColor) void
setFacetFontSize
(String facetFontSize) void
setFacetFontStyle
(String facetFontStyle) void
setFontName
(String fontName) void
setOrientation
(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:
getFacetFontStyle
in interfaceExporterOptions
-
setFacetFontStyle
-
getFacetFontColor
- Specified by:
getFacetFontColor
in interfaceExporterOptions
-
setFacetFontColor
-
getFacetBgColor
- Specified by:
getFacetBgColor
in interfaceExporterOptions
-
setFacetBgColor
-
getFacetFontSize
- Specified by:
getFacetFontSize
in interfaceExporterOptions
-
setFacetFontSize
-
getCellFontStyle
- Specified by:
getCellFontStyle
in interfaceExporterOptions
-
setCellFontStyle
-
getCellFontColor
- Specified by:
getCellFontColor
in interfaceExporterOptions
-
setCellFontColor
-
getCellFontSize
- Specified by:
getCellFontSize
in interfaceExporterOptions
-
setCellFontSize
-
getFontName
- Specified by:
getFontName
in 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
-