Adobe InCopy CS5.5 (7.5) Object Model JS: PDFLayoutExportPreference

InCopy CS5.5

Class

PDFLayoutExportPreference

 PDF layout export preferences. Base Class: Preference

QuickLinks

addEventListener, getElements, removeEventListener, toSource, toSpecifier

Hierarchy

Application
Preference
PDFLayoutExportPreference
Event | EventListener | MutationEvent

Properties

PropertyTypeAccessDescription
acrobatCompatibilityAcrobatCompatibility:
AcrobatCompatibility.ACROBAT_4
AcrobatCompatibility.ACROBAT_5
AcrobatCompatibility.ACROBAT_6
AcrobatCompatibility.ACROBAT_7
AcrobatCompatibility.ACROBAT_8
r/wThe exported PDF document's Acrobat compatibility.
changeSecurityPasswordstring r/wChanges 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.
disallowChangingbool r/wIf true, users cannot fill in forms, sign, extract pages, or add comments in the PDF document. Valid only when use security is true.
disallowCopyingbool r/wIf true, users cannot copy and paste text, images, or other content from the PDF document. Valid only when use security is true.
disallowDocumentAssemblybool r/wIf true, users cannot insert, delete, or rotate pages in the PDF document. Valid only when use security is true.
disallowExtractionForAccessibilitybool r/wIf true, users cannot extract content from the PDF document using software tools for the visually impaired. Valid only when use security is true.
disallowFormFillInbool r/wIf true, users cannot change form fields in the PDF document. Valid only when use security is true.
disallowHiResPrintingbool r/wIf true, users cannot print high-resolution copies of the PDF document. Valid only when use security is true.
disallowNotesbool r/wIf 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.
disallowPlaintextMetadatabool r/wIf 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.
disallowPrintingbool r/wIf true, users cannot print the PDF document. Valid only when use security is true.
eventListenersEventListeners EventListener readonlyA collection of event listeners.
eventsEvents Event readonlyA collection of events.
exportReaderSpreadsbool r/wIf true, each spread in the exported document is combined into a single page that has spread's original width.
generateThumbnailsbool r/wIf true, generates thumbnail images for each page or spread.
includeNotesbool r/wIf true, includes inline notes in the exported PDF document.
interactiveElementsOptionInteractiveElementsOptions:
InteractiveElementsOptions.DO_NOT_INCLUDE
InteractiveElementsOptions.APPEARANCE_ONLY
r/wHow to draw interactive elements.
isValidbool readonlyReturns true if the object specifier resolves to valid objects.
openDocumentPasswordstring r/wThe 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.
optimizePDFbool r/wIf true, optimizes the exported PDF document for faster viewing in a web browser. Note: Compresses text and line art, regardless of specified compression settings.
pageInformationMarksbool r/wIf true, adds crop marks, bleed marks, and other printer's marks to the exported PDF document.
pageRangePageRange
String
r/wThe 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.
parentApplication readonlyThe parent of the PDFLayoutExportPreference (a Application).
propertiesObject r/wA property that allows setting of several properties at the same time.
subsetFontsBelownumber (range: 0 - 100) r/wSets 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).
useSecuritybool r/wIf true, activates security controls for the PDF document.
viewPDFbool r/wIf true, automatically opens the PDF file after exporting.

Methods

Instances

EventListener addEventListener (eventType: string, handler: varies[, captures: bool=false])
Adds an event listener.

ParameterTypeDescription
eventTypestringThe event type.
handlerFile
JavaScript Function
The event handler. Can accept: File or JavaScript Function.
capturesboolThis 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.

ParameterTypeDescription
eventTypestringThe registered event type.
handlerFile
JavaScript Function
The registered event handler. Can accept: File or JavaScript Function.
capturesboolThis parameter is obsolete. (Optional) (default: false)

string toSource ()
Generates a string which, if executed, will return the PDFLayoutExportPreference.

string toSpecifier ()
Retrieves the object specifier.

Element of

Application.layoutPDFExportPreferences

Return

Array of PDFLayoutExportPreference PDFLayoutExportPreference.getElements ()

Jongware, 29-Apr-2012 v3.0.3iContents :: Index