Package com.grapecity.documents.excel
Class PdfSaveOptions
java.lang.Object
com.grapecity.documents.excel.SaveOptionsBase
com.grapecity.documents.excel.PdfSaveOptions
Option class for saving PDF file.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThis dictionary stores border options when exporting PDF.Gets the document properties of PDF.booleanIndicates that whether to replace Excel form controls with PDF form fields.booleanGets whether to include the automatically merged cells.Get the JavaScript to be execute when the saved PDF file is opened.Occurs when a page was printed.Occurs before printing a page.booleanReturns if the sheet's background image is printed on the page.booleanReturns if the transparency of the cell's background color is printed on the page.Gets the the security settings of PDF.The settings about performing shrink to fit on the wrapped text.voidSets the document properties of PDF.voidsetFormFields(boolean value) Indicates that whether to replace Excel form controls with PDF form fields.voidsetIncludeAutoMergedCells(boolean value) Sets whether to include the automatically merged cells.voidsetOpenActionScript(String openActionScript) Set the JavaScript to be execute when the saved PDF file is opened.voidsetPDFRenderEngin(IPDFRenderEngine pdfPrinter) voidsetPrintBackgroundPicture(boolean value) Sets if the sheet's background image is printed on the page.voidsetPrintTransparentCell(boolean value) Sets if the transparency of the cell's background color is printed on the page.voidSets the the security settings of PDF.toString()Methods inherited from class com.grapecity.documents.excel.SaveOptionsBase
getFileFormat, setFileFormat
-
Constructor Details
-
PdfSaveOptions
public PdfSaveOptions()Constructor.
-
-
Method Details
-
getPDFRenderEngin
-
setPDFRenderEngin
-
getPrintBackgroundPicture
public boolean getPrintBackgroundPicture()Returns if the sheet's background image is printed on the page. -
setPrintBackgroundPicture
public void setPrintBackgroundPicture(boolean value) Sets if the sheet's background image is printed on the page. -
getPrintTransparentCell
public boolean getPrintTransparentCell()Returns if the transparency of the cell's background color is printed on the page. -
setPrintTransparentCell
public void setPrintTransparentCell(boolean value) Sets if the transparency of the cell's background color is printed on the page. -
getShrinkToFitSettings
The settings about performing shrink to fit on the wrapped text. -
getDocumentProperties
Gets the document properties of PDF. -
setDocumentProperties
Sets the document properties of PDF. -
getOpenActionScript
Get the JavaScript to be execute when the saved PDF file is opened.- Returns:
- The JavaScript to be executed when the saved PDF file is opened.
-
setOpenActionScript
Set the JavaScript to be execute when the saved PDF file is opened.- Parameters:
openActionScript- The JavaScript to be executed when the saved PDF file is opened.
-
getSecurityOptions
Gets the the security settings of PDF. -
setSecurityOptions
Sets the the security settings of PDF. -
getIncludeAutoMergedCells
public boolean getIncludeAutoMergedCells()Gets whether to include the automatically merged cells. The default value is false. -
setIncludeAutoMergedCells
public void setIncludeAutoMergedCells(boolean value) Sets whether to include the automatically merged cells. The default value is false. -
getPagePrintingEvent
Occurs before printing a page. -
getPagePrintedEvent
Occurs when a page was printed. -
toString
-
getFormFields
public boolean getFormFields()Indicates that whether to replace Excel form controls with PDF form fields. Not all controls and properties are supported.- Returns:
Trueif Excel form controls will be exported as PDF form fields.Otherwise,false. The default value isfalse.
-
setFormFields
public void setFormFields(boolean value) Indicates that whether to replace Excel form controls with PDF form fields. Not all controls and properties are supported.- Parameters:
value-Trueif Excel form controls will be exported as PDF form fields.Otherwise,false. The default value isfalse.
-
getBorderOptions
This dictionary stores border options when exporting PDF.
-