public class PdfOptions
extends java.lang.Object
implements java.io.Serializable
WebForm.generatePdf(PdfOptions).
 | Constructor and Description | 
|---|
| PdfOptions() | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.String | getFilePath()Returns the file path where the PDF will be saved. | 
| Page[] | getPages()Returns the pages to be printed. | 
| java.lang.String | getPopupWindowName()Returns the popup window name. | 
| boolean | isDisplay()Returns the  displayoption. | 
| boolean | isPopup()Returns the  popupoption. | 
| boolean | isReportMode()Returns the  report modeoption. | 
| boolean | isSave()Returns the  saveoption. | 
| void | setDisplay(boolean display)Sets the  displayoption. | 
| void | setFilePath(java.lang.String filePath)Sets the file path used to save the document on the server when option  saveis set to true. | 
| void | setPages(Page[] pages)Sets the pages to be included in the PDF. | 
| void | setPopup(boolean popup)When the  displayoption is set to true, this option controls whether or not the PDF is displayed to the user in a popup window. | 
| void | setPopupWindowName(java.lang.String popupWindowName)When the  popupoption is set to true, this method can be used to specify a named window. | 
| void | setReportMode(boolean reportMode)Sets the  report modeoption. | 
| void | setSave(boolean save)Sets the  saveoption. | 
public void setDisplay(boolean display)
display option. When true, the PDF is displayed to the user. The default is true.display - public void setFilePath(java.lang.String filePath)
save is set to true.
 This can be either a relative or absolute file path. 
 
 If not specified, a generated name is used as follows. The directory is specified with property Ufs.pdfDirectoryName 
 in the UFSSetup.properties file. The filename is automatically generated and is constructed as follows:
 form name-file sequence number.pdf.
filePath - public void setPages(Page[] pages)
pages - public void setPopup(boolean popup)
display option is set to true, this option controls whether or not the PDF is displayed to the user in a popup window.
 When true, method setPopupWindowName(String) can be used to specify a named window. The default for this option is true.popup - public void setPopupWindowName(java.lang.String popupWindowName)
popup option is set to true, this method can be used to specify a named window. 
 There is no default default for this option. If omitted, each PDF will appear in a new popup window.popupWindowName - public void setReportMode(boolean reportMode)
report mode option. When true, all input text and textarea fields, including both form fields and table columns,
 are displayed as if they are display only. This means that the border surrounding each input element is removed, and also
 that all data is shown - the page expands downwards to accommodate this. 
 The default for this option is true.
reportMode - public void setSave(boolean save)
save option. When true, the PDF is saved on the server. 
 The file path is specified with method setFilePath(String).
 The default for this option is false.save - public boolean isDisplay()
display option. See setDisplay(boolean).public boolean isSave()
save option. See setSave(boolean).public boolean isPopup()
popup option. See setPopup(boolean).public Page[] getPages()
setPages(Page[]).public java.lang.String getFilePath()
setFilePath(String).public java.lang.String getPopupWindowName()
setPopupWindowName(String).public boolean isReportMode()
report mode option. See setReportMode(boolean).