Package com.grapecity.documents.excel
Class PdfSaveOptions
java.lang.Object
com.grapecity.documents.excel.SaveOptionsBase
com.grapecity.documents.excel.PdfSaveOptions
Option class for saving csv file.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the document properties of pdf.booleanIndicates that whether to replace Excel form controls with PDF form fields.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.voidsetOpenActionScript(String openActionScript) Set the JavaScript to be execute when the saved PDF file is opened.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
-
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:
-
setOpenActionScript
Set the JavaScript to be execute when the saved PDF file is opened.- Parameters:
openActionScript-
-
getSecurityOptions
Gets the the security settings of pdf. -
setSecurityOptions
Sets the the security settings of pdf. -
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.
-