Package org.primefaces.component.export
Class PDFOptions
- java.lang.Object
-
- org.primefaces.component.export.PDFOptions
-
- All Implemented Interfaces:
ExporterOptions
public class PDFOptions extends Object implements ExporterOptions
-
-
Constructor Summary
Constructors Constructor Description PDFOptions()PDFOptions(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCellFontColor()StringgetCellFontSize()StringgetCellFontStyle()StringgetFacetBgColor()StringgetFacetFontColor()StringgetFacetFontSize()StringgetFacetFontStyle()StringgetFontName()PDFOrientationTypegetOrientation()Gets 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.
-
-
-
Method Detail
-
getFacetFontStyle
public String getFacetFontStyle()
- Specified by:
getFacetFontStylein interfaceExporterOptions
-
setFacetFontStyle
public void setFacetFontStyle(String facetFontStyle)
-
getFacetFontColor
public String getFacetFontColor()
- Specified by:
getFacetFontColorin interfaceExporterOptions
-
setFacetFontColor
public void setFacetFontColor(String facetFontColor)
-
getFacetBgColor
public String getFacetBgColor()
- Specified by:
getFacetBgColorin interfaceExporterOptions
-
setFacetBgColor
public void setFacetBgColor(String facetBgColor)
-
getFacetFontSize
public String getFacetFontSize()
- Specified by:
getFacetFontSizein interfaceExporterOptions
-
setFacetFontSize
public void setFacetFontSize(String facetFontSize)
-
getCellFontStyle
public String getCellFontStyle()
- Specified by:
getCellFontStylein interfaceExporterOptions
-
setCellFontStyle
public void setCellFontStyle(String cellFontStyle)
-
getCellFontColor
public String getCellFontColor()
- Specified by:
getCellFontColorin interfaceExporterOptions
-
setCellFontColor
public void setCellFontColor(String cellFontColor)
-
getCellFontSize
public String getCellFontSize()
- Specified by:
getCellFontSizein interfaceExporterOptions
-
setCellFontSize
public void setCellFontSize(String cellFontSize)
-
getFontName
public String getFontName()
- Specified by:
getFontNamein interfaceExporterOptions
-
setFontName
public void setFontName(String fontName)
-
getOrientation
public PDFOrientationType getOrientation()
Gets the orientation of this PDF either LANDSCAPE or PORTRAIT.- Returns:
- the PDFOrientation or NULL
-
setOrientation
public void setOrientation(PDFOrientationType orientation)
Sets the orientation of this PDF either LANDSCAPE or PORTRAIT.- Parameters:
orientation- the PDFOrientation to set
-
-