Adobe InCopy CS5 (7.0) Object Model JS: PDFGalleyExportPreference

InCopy CS5

Class

PDFGalleyExportPreference

 PDF galley export preferences. Base Class: Preference

QuickLinks

addEventListener, getElements, removeEventListener, toSource, toSpecifier

Hierarchy

Application
Preference
PDFGalleyExportPreference
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.
appliedFontstring r/wThe name of the font.
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 readonlyA collection of event listeners.
eventsEvents readonlyA collection of events.
fontStylestring r/wThe name of the font style.
includeAccurateLineEndingsbool r/wIf true, exports line endings as they appear in the story.
includeAllChangesbool r/wIf true, exports all tracked changes. If false, exports only visible tracked changes.
includeAllNotesbool r/wIf true, exports both invisible and visible notes. If false, exports only visible notes.
includeAllStoriesbool r/wIf true, exports all stories. If false, exports only the current story.
includeLineNumbersbool r/wIf true, includes the line numbers column in the exported PDF document. Valid only when include accurate line endings is true.
includeNotesbool r/wIf true, includes inline notes in the exported PDF document.
includePageInfobool r/wIf true, includes page information in the exported PDF document.
includeParagraphStylesbool r/wIf true, includes paragraph style information in the exported PDF document.
includeStoryInfobool r/wIf true, includes story information including document title, author, and description in the exported PDF document.
includeTrackedChangesbool r/wIf true, includes tracked changes in the exported PDF document.
isValidbool readonlyReturns true if the object specifier resolves to valid objects.
leadingnumber (range: 100 - 300) r/wThe default amount of space as a percentage to include between two lines of text. (Range: 100 to 300)
lineRangeLineRange
String
r/wThe lines to export. . Can return: LineRange enumerator or String.
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.
parentApplication readonlyThe parent of the PDFGalleyExportPreference (a Application).
pointSizeMeasurement Unit (Number or String) (range: 4 - 72) r/wThe default text size (in points). (Range: 4 to 72).
propertiesObject r/wA property that allows setting of several properties at the same time.
showNotesBackgroundsInColorbool r/wIf true, exports inline notes in the color assigned to individuals on the project. Valid only when include notes is true.
showTrackedChangesBackgroundsInColorbool r/wIf true, displays tracked changes in the colors assigned to each person who made changes. Valid only when include tracked changes is true.
storyColumnsnumber r/wThe width of columns to export. Valid only when include accurate line endings is true.
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 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.

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 PDFGalleyExportPreference.

string toSpecifier ()
Retrieves the object specifier.

Element of

Application.galleyPDFExportPreferences

Return

Array of PDFGalleyExportPreference PDFGalleyExportPreference.getElements ()

Jongware, 23-Mar-2011 v3.0.3dContents :: Index