Class
PDF layout export preferences. Base Class: Preference
addEventListener, getElements, removeEventListener, toSource, toSpecifier
PDFLayoutExportPreference
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
acrobatCompatibility | AcrobatCompatibility: AcrobatCompatibility.ACROBAT_4 AcrobatCompatibility.ACROBAT_5 AcrobatCompatibility.ACROBAT_6 AcrobatCompatibility.ACROBAT_7 AcrobatCompatibility.ACROBAT_8 |
r/w | The exported PDF document's Acrobat compatibility. |
changeSecurityPassword | string | r/w | Changes the open document password to the specified string. Valid only when use security is true. Note: A script can set but not get this value. |
disallowChanging | bool | r/w | If true, users cannot fill in forms, sign, extract pages, or add comments in the PDF document. Valid only when use security is true. |
disallowCopying | bool | r/w | If true, users cannot copy and paste text, images, or other content from the PDF document. Valid only when use security is true. |
disallowDocumentAssembly | bool | r/w | If true, users cannot insert, delete, or rotate pages in the PDF document. Valid only when use security is true. |
disallowExtractionForAccessibility | bool | r/w | If true, users cannot extract content from the PDF document using software tools for the visually impaired. Valid only when use security is true. |
disallowFormFillIn | bool | r/w | If true, users cannot change form fields in the PDF document. Valid only when use security is true. |
disallowHiResPrinting | bool | r/w | If true, users cannot print high-resolution copies of the PDF document. Valid only when use security is true. |
disallowNotes | bool | r/w | If true, users cannot add or change notes, edit text, or fill in form fields in the PDF document. Valid only when use security is true. |
disallowPlaintextMetadata | bool | r/w | If true and acrobat compatibility is Acrobat 6 or higher, storage systems and search engines cannot access metadata stored in the PDF document. If true and acrobat compatibility is acrobat 5 or higher, users cannot copy and extract content from the document. Valid only when use security is true. |
disallowPrinting | bool | r/w | If true, users cannot print the PDF document. Valid only when use security is true. |
eventListeners | EventListeners EventListener | readonly | A collection of event listeners. |
events | Events Event | readonly | A collection of events. |
exportReaderSpreads | bool | r/w | If true, each spread in the exported document is combined into a single page that has spread's original width. |
generateThumbnails | bool | r/w | If true, generates thumbnail images for each page or spread. |
includeNotes | bool | r/w | If true, includes inline notes in the exported PDF document. |
interactiveElementsOption | InteractiveElementsOptions: InteractiveElementsOptions.DO_NOT_INCLUDE InteractiveElementsOptions.APPEARANCE_ONLY |
r/w | How to draw interactive elements. |
isValid | bool | readonly | Returns true if the object specifier resolves to valid objects. |
openDocumentPassword | string | r/w | The password to enter when opening the PDF document. Valid only when use security is true. Note: A script can set but not get this value. |
optimizePDF | bool | r/w | If true, optimizes the exported PDF document for faster viewing in a web browser. Note: Compresses text and line art, regardless of specified compression settings. |
pageInformationMarks | bool | r/w | If true, adds crop marks, bleed marks, and other printer's marks to the exported PDF document. |
pageRange | PageRange String |
r/w | The pages to print, specified either as an enumeration or a string. To specify a range, separate page numbers in the string with a hyphen (-). To specify separate pages, separate page numbers in the string with a comma (,). Can return: PageRange enumerator or String. |
parent | Application | readonly | The parent of the PDFLayoutExportPreference (a Application). |
properties | Object | r/w | A property that allows setting of several properties at the same time. |
subsetFontsBelow | number (range: 0 - 100) | r/w | Sets the threshold for embedding complete fonts based on how many of the fonts' characters are used in the document. If the percentage of characters used in the document for any given font exceeds the specified value, the font is completely embedded; otherwise, the font is subsetted. (Range: 0 to 100) Notes: Embedding complete fonts increases file size. To completely embed all fonts, use 0 (zero). |
useSecurity | bool | r/w | If true, activates security controls for the PDF document. |
viewPDF | bool | r/w | If true, automatically opens the PDF file after exporting. |
Methods
Instances
EventListener addEventListener (eventType:
string, handler:
varies[, captures:
bool=false])
Adds an event listener.
Parameter | Type | Description |
---|---|---|
eventType | string | The event type. |
handler | File JavaScript Function | The event handler. Can accept: File or JavaScript Function. |
captures | bool | This parameter is obsolete. (Optional) (default: false) |
Array
of PDFLayoutExportPreference getElements ()
Resolves the object specifier, creating an array of object references.
bool removeEventListener (eventType:
string, handler:
varies[, captures:
bool=false])
Removes the event listener.
Parameter | Type | Description |
---|---|---|
eventType | string | The registered event type. |
handler | File JavaScript Function | The registered event handler. Can accept: File or JavaScript Function. |
captures | bool | This parameter is obsolete. (Optional) (default: false) |
string toSource ()
Generates a string which, if executed, will return the PDFLayoutExportPreference.
Element of
Application.layoutPDFExportPreferences
Return
Array of PDFLayoutExportPreference PDFLayoutExportPreference.getElements ()
Jongware, 29-Apr-2012 v3.0.3i | Contents :: Index |