Class PdfSaveOptions
Option class for saving PDF file.
-
Constructor Summary
Constructors
-
Method Summary
This dictionary stores border options when exporting PDF.
Gets the document properties of PDF.
boolean
Indicates that whether to replace Excel form controls with PDF form fields.
boolean
Gets 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.
boolean
Returns if the sheet's background image is printed on the page.
boolean
Returns 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.
void
Sets the document properties of PDF.
void
Indicates that whether to replace Excel form controls with PDF form fields.
void
Sets whether to include the automatically merged cells.
void
Set the JavaScript to be execute when the saved PDF file is opened.
void
void
Sets if the sheet's background image is printed on the page.
void
Sets if the transparency of the cell's background color is printed on the page.
void
Sets the the security settings of PDF.
-
Constructor Details
-
PdfSaveOptions
public PdfSaveOptions()
Constructor.
-
Method Details
-
-
-
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
public String 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
public void setOpenActionScript(String openActionScript)
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.
-
-
-
-
getBorderOptions
This dictionary stores border options when exporting PDF.