Class
PDF galley export preferences. Base Class: Preference
addEventListener, getElements, removeEventListener, toSource, toSpecifier
PDFGalleyExportPreference
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. |
appliedFont | string | r/w | The name of the font. |
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. |
fontStyle | string | r/w | The name of the font style. |
includeAccurateLineEndings | bool | r/w | If true, exports line endings as they appear in the story. |
includeAllChanges | bool | r/w | If true, exports all tracked changes. If false, exports only visible tracked changes. |
includeAllNotes | bool | r/w | If true, exports both invisible and visible notes. If false, exports only visible notes. |
includeAllStories | bool | r/w | If true, exports all stories. If false, exports only the current story. |
includeLineNumbers | bool | r/w | If true, includes the line numbers column in the exported PDF document. Valid only when include accurate line endings is true. |
includeNotes | bool | r/w | If true, includes inline notes in the exported PDF document. |
includePageInfo | bool | r/w | If true, includes page information in the exported PDF document. |
includeParagraphStyles | bool | r/w | If true, includes paragraph style information in the exported PDF document. |
includeStoryInfo | bool | r/w | If true, includes story information including document title, author, and description in the exported PDF document. |
includeTrackedChanges | bool | r/w | If true, includes tracked changes in the exported PDF document. |
isValid | bool | readonly | Returns true if the object specifier resolves to valid objects. |
leading | number (range: 100 - 300) | r/w | The default amount of space as a percentage to include between two lines of text. (Range: 100 to 300) |
lineRange | LineRange String |
r/w | The lines to export. . Can return: LineRange enumerator or String. |
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. |
parent | Application | readonly | The parent of the PDFGalleyExportPreference (a Application). |
pointSize | Measurement Unit (Number or String) (range: 4 - 72) | r/w | The default text size (in points). (Range: 4 to 72). |
properties | Object | r/w | A property that allows setting of several properties at the same time. |
showNotesBackgroundsInColor | bool | r/w | If true, exports inline notes in the color assigned to individuals on the project. Valid only when include notes is true. |
showTrackedChangesBackgroundsInColor | bool | r/w | If true, displays tracked changes in the colors assigned to each person who made changes. Valid only when include tracked changes is true. |
storyColumns | number | r/w | The width of columns to export. Valid only when include accurate line endings is true. |
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 PDFGalleyExportPreference 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 PDFGalleyExportPreference.
Element of
Application.galleyPDFExportPreferences
Return
Array of PDFGalleyExportPreference PDFGalleyExportPreference.getElements ()
Jongware, 29-Apr-2012 v3.0.3i | Contents :: Index |