Document
A document.
Go to Property Listing | Method Listing
Methods:
addEventListener, adjustLayout, align, asynchronousExportFile, changeColor, changeComposer, changeGlyph, changeGrep, changeObject, changeText, changeTransliterate, checkIn, clearFrameFittingOptions, close, colorTransform, createAlternateLayout, createEmailQRCode, createFromMathML, createHyperlinkQRCode, createMissingFontObject, createPlainTextQRCode, createTOC, createTextMsgQRCode, createVCardQRCode, deleteAlternateLayout, deleteUnusedTags, distribute, embed, exportFile, exportForCloudLibrary, exportPageItemsSelectionToSnippet, exportPageItemsToSnippet, exportStrokeStyles, extractLabel, findColor, findGlyph, findGrep, findObject, findText, findTransliterate, getAlternateLayoutsForFolio, getElements, getSelectedTextDirection, getStyleConflictResolutionStrategy, handleMathMLMessage, importAdobeSwatchbookProcessColor, importAdobeSwatchbookSpotColor, importDtd, importFormats, importPdfComments, importStyles, importXML, insertLabel, internalMethod, loadConditions, loadMasters, loadSwatches, loadXMLTags, mapStylesToXMLTags, mapXMLTagsToStyles, packageForPrint, place, placeAndLink, placeCloudAsset, print, printBooklet, recompose, redo, removeEventListener, resetAllButtons, resetAllMultiStateObjects, revert, revertToProject, save, saveACopy, saveACopyCloud, saveAsCloud, saveSwatches, saveXMLTags, select, synchronizeWithVersionCue, toSource, toSpecifier, undo, updateCrossReferences
Objects:
AdjustLayoutPreference, AnchoredObjectDefault, AnchoredObjectSetting, Articles, Assignments, BaselineFrameGridOption, Bookmarks, Boolean, ButtonPreference, Buttons, CellStyle, CellStyleGroups, CellStyleMappings, CellStyles, ChapterNumberPreference, CharStyleMappings, CharacterStyle, CharacterStyleGroups, CharacterStyles, CheckBoxes, CjkGridPreference, ColorGroups, ColorSettingsPolicy, Colors, ComboBoxes, CompositeFonts, ConditionSets, ConditionalTextPreference, Conditions, CrossReferenceFormats, CrossReferenceSources, DTDs, DashedStrokeStyles, DataMerge, DataMergeImagePlaceholders, DataMergeOption, DataMergeQrcodePlaceholders, DataMergeTextPlaceholders, DictionaryPreference, DocumentPreference, DottedStrokeStyles, EPSTexts, EPubExportPreference, EPubFixedLayoutExportPreference, EditingState, EndnoteOption, EndnoteTextFrames, EventListeners, Events, ExportForWebPreference, File, Fonts, FootnoteOption, FormFields, FrameFittingOption, GalleyPreference, Gradients, Graphic, GraphicLines, GridPreference, Groups, GuidePreference, Guides, HTMLExportPreference, HTMLFXLExportPreference, HyperlinkExternalPageDestinations, HyperlinkPageDestinations, HyperlinkPageItemSources, HyperlinkTextDestinations, HyperlinkTextSources, HyperlinkURLDestinations, Hyperlinks, HyphenationExceptions, IndexOptions, Indexes, IndexingSortOptions, Inks, KinsokuTables, Languages, Layer, Layers, LayoutGridDataInformation, LayoutWindows, LinkedPageItemOption, LinkedStoryOption, Links, ListBoxes, MarginPreference, MasterSpreads, MathObjects, MetadataPreference, MixedInkGroups, MixedInks, MojikumiTables, MojikumiUiPreference, MotionPresets, MultiStateObjects, NamedGrids, NothingEnum, Number, NumberingLists, Object, ObjectStyle, ObjectStyleGroups, ObjectStyles, Ovals, PDFComments, PageItem, PageItemDefault, PageItems, Pages, ParaStyleMappings, ParagraphDestinations, ParagraphStyle, ParagraphStyleGroups, ParagraphStyles, PasteboardPreference, PlaceGun, Polygons, Preferences, PreflightOption, PreflightProcess, PreflightProfiles, PrintBookletOption, PrintBookletPrintPreference, PrintPreference, PublishExportPreference, RadioButtons, Rectangles, RenderingIntent, Sections, SignatureFields, SplineItems, Spreads, Stories, StoryGridDataInformation, StoryPreference, StoryWindows, String, StripedStrokeStyles, StrokeStyles, Swatch, Swatches, TOCStyles, TableStyle, TableStyleGroups, TableStyleMappings, TableStyles, TaggedPDFPreference, TextBoxes, TextDefault, TextFramePreference, TextFrames, TextPreference, TextVariables, TextWrapPreference, Tints, TransparencyPreference, TrapPresets, ValidationErrors, VersionState, ViewPreference, WatermarkPreference, Windows, XMLComments, XMLElements, XMLExportMaps, XMLExportPreference, XMLImportMaps, XMLImportPreference, XMLInstructions, XMLItem, XMLItems, XMLPreference, XMLTags, XMLViewPreference, XmlStories
Preferences:
AdjustLayoutPreference, BaselineFrameGridOption, ButtonPreference, ChapterNumberPreference, CjkGridPreference, ConditionalTextPreference, DataMergeOption, DictionaryPreference, DocumentPreference, EPubExportPreference, EPubFixedLayoutExportPreference, EndnoteOption, ExportForWebPreference, FootnoteOption, FrameFittingOption, GalleyPreference, GridPreference, GuidePreference, HTMLExportPreference, HTMLFXLExportPreference, HyphenationExceptions, IndexOptions, IndexingSortOptions, LinkedPageItemOption, LinkedStoryOption, MarginPreference, MetadataPreference, MojikumiUiPreference, PasteboardPreference, Preferences, PreflightOption, PrintBookletOption, PrintBookletPrintPreference, PrintPreference, PublishExportPreference, StoryPreference, TaggedPDFPreference, TextFramePreference, TextPreference, TextWrapPreference, TransparencyPreference, ViewPreference, WatermarkPreference, XMLExportPreference, XMLImportPreference, XMLPreference, XMLViewPreference
Property Listing
Property |
Type |
Access |
Description |
---|---|---|---|
read/write |
If true, uses LAB alternates for spot colors when available. |
||
read/write |
The active layer. Can also accept: String. |
||
readonly |
The active preflight process for this document. |
||
readonly |
Adjust layout preference settings. |
||
read/write |
The rendering intent for colors that result from transparency interactions on the page after blending. |
||
readonly |
All Cell styles |
||
readonly |
Lists all character styles (regardless of their group). |
||
readonly |
Lists all graphics contained by the Document. |
||
Array of ObjectStyle |
readonly |
All object styles contained by the Document. |
|
readonly |
Lists all page items contained by the Document. |
||
readonly |
Lists all paragraph styles (regardless of their group). |
||
Array of TableStyle |
readonly |
All Table styles |
|
readonly |
Anchored object default settings. |
||
readonly |
Anchored object settings. |
||
read/write |
The font size (in points) for Math objects |
||
read/write |
RGB Color applied on the math object specified in 0-255 range. |
||
NothingEnumCanalsoaccept:String |
read/write |
The swatch used for math object color. Also accepts swatch name.(RGB, CMYK, LAB and HSB swatches supported.). Can return: Swatch or NothingEnum enumerator. Can also accept: String. |
|
readonly |
A collection of articles. |
||
readonly |
A collection of assignments. |
||
readonly |
The XML element associated with the Document. |
||
readonly |
Baseline frame grid option settings. |
||
readonly |
A collection of bookmarks. |
||
readonly |
Button preference settings. |
||
readonly |
A collection of buttons. |
||
readonly |
A collection of cell style groups. |
||
readonly |
A collection of cell style mappings. |
||
readonly |
A collection of cell styles. |
||
readonly |
Chapter numbering preferences. |
||
readonly |
A collection of char style mappings. |
||
readonly |
A collection of character style groups. |
||
readonly |
A collection of character styles. |
||
readonly |
A collection of checkboxes. |
||
readonly |
CJK grid preference settings. |
||
readonly |
The cloud path in case of a cloud document. Otherwise it throws error. |
||
read/write |
The policy for handling colors in a CMYK color model, including reading and embedding color profiles, mismatches between embedded color profiles and the working space, and moving colors from one document to another. |
||
read/write |
The current CMYK profile. |
||
readonly |
A list of valid CMYK profiles. |
||
readonly |
A collection of color groups. |
||
readonly |
A collection of colors. |
||
readonly |
A collection of comboboxes. |
||
readonly |
A collection of composite fonts. |
||
readonly |
A collection of condition sets for conditional text. |
||
readonly |
Conditional text preferences. |
||
readonly |
A collection of conditions for conditional text. |
||
readonly |
If true, the Document was converted. |
||
readonly |
A collection of cross reference formats. |
||
readonly |
A collection of cross reference text sources. |
||
readonly |
A collection of dashed stroke styles. |
||
readonly |
A collection of data merge image placeholders. |
||
readonly |
The data merge option properties that define the data merge. |
||
readonly |
Data merge properties that define data merge fields and preferences. |
||
readonly |
A collection of data merge QR code placeholders. |
||
readonly |
A collection of data merge text placeholders. |
||
read/write |
The rendering intent for bitmap images. |
||
readonly |
User dictionary preference settings. |
||
readonly |
Document preference settings. |
||
readonly |
A collection of dotted stroke styles. |
||
readonly |
A collection of DTDs. |
||
readonly |
The Version Cue editing state of the file. |
||
readonly |
Endnote option settings. |
||
readonly |
A collection of endnote text frames. |
||
readonly |
EPSTexts |
||
readonly |
EPub export preference settings. |
||
readonly |
EPub fixed layout export preference settings. |
||
readonly |
A collection of event listeners. |
||
readonly |
A collection of events. |
||
readonly |
The default export for web preferences. |
||
readonly |
The full path to the file. |
||
readonly |
A collection of fonts. |
||
readonly |
Footnote option settings. |
||
readonly |
A collection of form fields. |
||
readonly |
The frame fitting option to apply to placed or pasted content. Can be applied to a frame, object style, or document or to the application. |
||
readonly |
The full path to the Document, including the name of the Document. |
||
readonly |
Galley preference settings. |
||
readonly |
A collection of gradients. |
||
readonly |
A collection of graphic lines. |
||
readonly |
Grid preference settings. |
||
readonly |
A collection of groups. |
||
readonly |
Guide preference settings. |
||
readonly |
A collection of guides. |
||
readonly |
HTML export preference settings. |
||
readonly |
HTML FXL export preference settings. |
||
HyperlinkExternalPageDestinations HyperlinkExternalPageDestination |
readonly |
A collection of hyperlink external page destinations. |
|
readonly |
A collection of hyperlink page destinations. |
||
readonly |
A collection of hyperlink page item sources. |
||
readonly |
A collection of hyperlink text destinations. |
||
readonly |
A collection of hyperlink text sources. |
||
readonly |
A collection of hyperlink URL destinations. |
||
readonly |
A collection of hyperlinks. |
||
readonly |
A collection of hyphenation exceptions lists. |
||
readonly |
The unique ID of the Document. |
||
readonly |
The index of the Document within its containing object. |
||
readonly |
The index options properties that define how an index is formatted. |
||
readonly |
A collection of indexes. |
||
readonly |
A collection of indexing sort options. |
||
readonly |
A collection of inks. |
||
readonly |
If true, the document is a cloud document. |
||
readonly |
Returns true if the object specifier resolves to valid objects. |
||
readonly |
A collection of kinsoku tables. |
||
read/write |
A property that can be set to any string. |
||
readonly |
A collection of languages. |
||
readonly |
A collection of layers. |
||
readonly |
Default properties specific to layout grids. |
||
readonly |
A collection of layout windows. |
||
readonly |
Linked Page Item options |
||
readonly |
Linked story options |
||
readonly |
A collection of links. |
||
readonly |
A collection of listboxes. |
||
readonly |
Margin preference settings. |
||
readonly |
A collection of master spreads. |
||
readonly |
A collection of math objects. |
||
readonly |
Metadata preference settings. |
||
readonly |
A collection of mixed ink groups. |
||
readonly |
A collection of mixed inks. |
||
readonly |
If true, the Document has been modified since it was last saved. |
||
readonly |
A collection of mojikumi tables. |
||
readonly |
Mojikumi user interface preference settings. |
||
readonly |
A collection of Motion presets. |
||
readonly |
A collection of multi-state objects. |
||
read/write |
The name of the Document. |
||
readonly |
A collection of named grids. |
||
readonly |
A collection of numbered lists. |
||
readonly |
A collection of object style groups. |
||
readonly |
A collection of object styles. |
||
readonly |
A collection of ellipses. |
||
readonly |
The default page item formatting for the Document. |
||
readonly |
The page items collection, which can be used to process all page items in a container (such as a document, page, or group), regardless of type. |
||
readonly |
A collection of pages. |
||
readonly |
A collection of para style mappings. |
||
readonly |
A collection of paragraph destinations. |
||
readonly |
A collection of paragraph style groups. |
||
readonly |
A collection of paragraph styles. |
||
readonly |
The parent of the Document (a Application). |
||
readonly |
Pasteboard preference settings. |
||
readonly |
A collection of PDF comment objects |
||
readonly |
The place gun. |
||
readonly |
A collection of polygons. |
||
readonly |
A collection of preferences objects. |
||
readonly |
Preflight option settings. |
||
readonly |
A collection of preflight profiles. |
||
readonly |
Booklet printing options. |
||
readonly |
Print booklet preferences. |
||
readonly |
Print preference settings. |
||
read/write |
A property that allows setting of several properties at the same time. |
||
readonly |
Publish export preference settings. |
||
readonly |
A collection of radio buttons. |
||
readonly |
If true, the Document is read-only. |
||
readonly |
If true, the Document was recovered. |
||
readonly |
A collection of rectangles. |
||
readonly |
The names of the items in the redo stack. |
||
readonly |
The name of the action on the top of the redo stack. |
||
read/write |
The policy for handling colors in an RGB color model, including reading and embedding color profiles, handling mismatches between embedded color profiles and the working space, and moving colors from one document to another. |
||
read/write |
The current RGB profile. |
||
readonly |
A list of valid RGB profiles. |
||
readonly |
If true, the Document has been saved since it was created. |
||
readonly |
A collection of sections. |
||
readonly |
The selected page item(s). Can also accept: Object or NothingEnum enumerator. |
||
read/write |
The selected object(s). Can also accept: Object or NothingEnum enumerator. |
||
read/write |
The key object of the selection. Can also accept: NothingEnum enumerator. |
||
readonly |
A collection of signature fields. |
||
read/write |
The rendering intent for all vector art (areas of solid color) in native objects. |
||
readonly |
The spline items collection. |
||
readonly |
A collection of spreads. |
||
readonly |
A collection of stories. |
||
readonly |
Default properties specific to frame grids. |
||
readonly |
Story preference settings. |
||
readonly |
A collection of story windows. |
||
readonly |
A collection of striped stroke styles. |
||
readonly |
A collection of stroke styles. |
||
readonly |
A collection of swatches. |
||
readonly |
A collection of table style groups. |
||
readonly |
A collection of table style mappings. |
||
readonly |
A collection of table styles. |
||
readonly |
Tagged PDF preferences. |
||
readonly |
A collection of text boxes. |
||
readonly |
Text default settings. |
||
readonly |
Text frame preference settings. |
||
readonly |
A collection of text frames. |
||
readonly |
Text preference settings. |
||
readonly |
A collection of text variables. |
||
readonly |
The text wrap preference properties that define the default formatting for wrapping text around objects. |
||
Number (range 0 - 100) |
read/write |
The percent of the base color. (Range: 0 to 100) |
|
readonly |
A collection of tints. |
||
readonly |
A collection of TOC styles. |
||
readonly |
Transparency preference settings. |
||
readonly |
A collection of trap presets. |
||
readonly |
The names of the items in the undo stack. |
||
readonly |
The name of the action on the top of the undo stack. |
||
readonly |
The swatches that are not being used. |
||
readonly |
A collection of XML validation errors. |
||
readonly |
The Version Cue version state of the file. |
||
readonly |
View preference settings. |
||
readonly |
If true, the Document is visible. |
||
readonly |
Watermark preferences |
||
readonly |
A collection of windows. |
||
readonly |
A collection of XML comments. |
||
readonly |
A collection of XML elements. |
||
readonly |
A collection of XML export maps. |
||
readonly |
XML export preference settings. |
||
readonly |
A collection of XML import maps. |
||
readonly |
XML import preference settings. |
||
readonly |
A collection of XML instructions. |
||
readonly |
A collection of XML items. |
||
readonly |
The XML preference settings. |
||
readonly |
A collection of xml stories. |
||
readonly |
A collection of XML tags. |
||
readonly |
XML view preference settings. |
||
read/write |
The ruler origin, specified as page coordinates in the format [x, y]. |
Constants/Events
Name |
Type |
Access |
Description |
---|---|---|---|
readonly |
Dispatched after the Document becomes active. This event bubbles. This event is not cancelable. |
||
readonly |
Dispatched after a Document is exported. This event bubbles. This event is not cancelable. |
||
readonly |
Dispatched after importing a file into a Document. This event bubbles. This event is not cancelable. |
||
readonly |
Dispatched after one or more links in the Document have been added, deleted, or modified. This event bubbles. This event is not cancelable. |
||
readonly |
Dispatched after a Document is created. This event bubbles. This event is not cancelable. |
||
readonly |
Dispatched after a Document is opened. This event bubbles. This event is not cancelable. |
||
readonly |
Dispatched after a Document is printed. This event bubbles. This event is not cancelable. |
||
readonly |
Dispatched after a Document is reverted. This event bubbles. This event is not cancelable. |
||
readonly |
Dispatched after a Document is saved. This event bubbles. This event is not cancelable. |
||
readonly |
Dispatched after a Document is saved under a new name. This event bubbles. This event is not cancelable. |
||
readonly |
Dispatched after a copy of a Document is saved. This event bubbles. This event is not cancelable. |
||
readonly |
Dispatched before a Document is closed. This event bubbles. This event is not cancelable. |
||
readonly |
Dispatched before the Document becomes inactive. This event bubbles. This event is not cancelable. |
||
readonly |
Dispatched before a Document is exported. This event bubbles. This event is cancelable. |
||
readonly |
Dispatched before importing a file into a Document. This event bubbles. This event is cancelable. |
||
readonly |
Dispatched before a Document is printed. This event bubbles. This event is cancelable. |
||
readonly |
Dispatched before a Document is reverted. This event bubbles. This event is cancelable. |
||
readonly |
Dispatched before a Document is saved. This event bubbles. This event is cancelable. |
||
readonly |
Dispatched before a Document is saved under a new name. This event bubbles. This event is cancelable. |
||
readonly |
Dispatched before a copy of a Document is saved. This event bubbles. This event is cancelable. |
||
readonly |
Dispatched after a Document export is canceled or fails. This event bubbles. This event is not cancelable. |
Method Listing
EventListener addEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])
Adds an event listener.
Parameter |
Type |
Description |
---|---|---|
eventType |
The event type. |
|
handler |
JavaScriptFunction |
The event handler. Can accept: File or JavaScript Function. |
captures |
This parameter is obsolete. (Optional) (default: false) |
undefined adjustLayout (adoptTo:Object, affectedPages:Array of Page)
Adjust the existing layout according to new page size, bleed and margin values. The first parameter is a plain object with key value pairs for properties affected. Permissible keys are width, height, bleedInside, bleedTop, bleedOutside, bleedBottom, leftMargin, topMargin, rightMargin, bottomMargin. The values can be specified as decimal numbers in units of Pt or as a string having a measurement value such as '1 in'. Not all properties need to be specified, only the values that need updation. Notice that when dealing with individual pages rather than the whole document, bleed changes has no effect. E.g. - app.activeDocument.adjustLayout({width:'600px', leftMargin: '1in'}), app.activeDocument.adjustLayout({rightMargin:'1in'}, app.activeDocument.spreads[0].pages), app.activeDocument.spreads[0].pages[0].adjustLayout({width:'400px', leftMargin: '10px'})
Parameter |
Type |
Description |
---|---|---|
adoptTo |
Change values - see functin definition for details |
|
affectedPages |
The collection of Page objects to affect (optional). Has no effect if function is called from Page (Optional) |
undefined align (alignDistributeItems:Array of PageItem, alignOption:AlignOptions, alignDistributeBounds:AlignDistributeBounds, reference:PageItem)
Align page items.
Parameter |
Type |
Description |
---|---|---|
alignDistributeItems |
The page items to align or distribute. |
|
alignOption |
The type of alignment to apply. |
|
alignDistributeBounds |
The bounds within which to align or distribute the page items. (Optional) |
|
reference |
The reference or key object to align to distribute relative to. Required when 'align distribute bounds' specifies 'key object'. (Optional) |
BackgroundTask asynchronousExportFile (format:Varies ExportFormat String, to:File, [showingOptions:Boolean=Boolean], using:PDFExportPreset, versionComments:String, [forceSave:Boolean=Boolean])
asynchronously exports the object(s) to a file.
Parameter |
Type |
Description |
---|---|---|
format |
The export format, specified as an enumeration value or as an extension that appears in the Save as type or Format menu in the Export dialog. Can accept: ExportFormat enumerator or String. |
|
to |
The path to the export file. |
|
showingOptions |
If true, displays the export options dialog. (Optional) (default: false) |
|
using |
The export style. (Optional) |
|
versionComments |
The comment for this version. (Optional) |
|
forceSave |
If true, forcibly saves a version. (Optional) (default: false) |
Number changeColor ()
Finds color that matches the find what value and replaces the color with the change to value.
undefined changeComposer ()
Change comoser to optyca
Text changeGlyph (reverseOrder:Boolean)
Finds glyphs that match the find what value and replaces the glyphs with the change to value.
Parameter |
Type |
Description |
---|---|---|
reverseOrder |
If true, returns the results in reverse order. (Optional) |
Text changeGrep (reverseOrder:Boolean)
Finds text that matches the find what value and replaces the text with the change to value.
Parameter |
Type |
Description |
---|---|---|
reverseOrder |
If true, returns the results in reverse order. (Optional) |
PageItem changeObject (reverseOrder:Boolean)
Finds objects that match the find what value and replace the objects with the change to value.
Parameter |
Type |
Description |
---|---|---|
reverseOrder |
If true, returns the results in reverse order. (Optional) |
Text changeText (reverseOrder:Boolean)
Finds text that matches the find what value and replaces the text with the change to value.
Parameter |
Type |
Description |
---|---|---|
reverseOrder |
If true, returns the results in reverse order. (Optional) |
Text changeTransliterate (reverseOrder:Boolean)
Finds text that matches the find character type value and replaces the text with the change character type value.
Parameter |
Type |
Description |
---|---|---|
reverseOrder |
If true, returns the results in reverse order. (Optional) |
undefined checkIn (versionComments:String, [forceSave:Boolean=Boolean])
Check in to Version Cue.
Parameter |
Type |
Description |
---|---|---|
versionComments |
The comment for this version (Optional) |
|
forceSave |
Forcibly save a version (Optional) (default: false) |
undefined clearFrameFittingOptions ()
Removes the frame fittings options and resets it to the initial state.
undefined close ([saving:SaveOptions=SaveOptions], savingIn:File, versionComments:String, [forceSave:Boolean=Boolean])
Close the Document
Parameter |
Type |
Description |
---|---|---|
saving |
Whether to save changes before closing the Document (Optional) (default: SaveOptions.ASK) |
|
savingIn |
The file in which to save the Document (Optional) |
|
versionComments |
The comment for this version (Optional) |
|
forceSave |
Forcibly save a version (Optional) (default: false) |
Number colorTransform (colorValue:Array of Number, sourceColorSpace:ColorSpace, destinationColorSpace:ColorSpace)
Transforms color values
Parameter |
Type |
Description |
---|---|---|
colorValue |
source color value |
|
sourceColorSpace |
source color space |
|
destinationColorSpace |
destination color space |
undefined createAlternateLayout (spreadItems:Array of Spread, name:String, width:Number String, height:Number String, createTextStyles:Boolean, linkTextStories:Boolean, layoutRule:LayoutRuleOptions)
Creates an alternate layout for a given list of spreads.
Parameter |
Type |
Description |
---|---|---|
spreadItems |
The spreads to create an alternate layout for. |
|
name |
The name of the alternate layout. Note: This is used for the named layout for the new section for the duplicated spreads. |
|
width |
The width of the pages created. |
|
height |
The height of the pages created. |
|
createTextStyles |
Whether to create new text styles. |
|
linkTextStories |
Whether to create linked text for duplicated text stories. |
|
layoutRule |
What layout rule to set on the pages. |
undefined createEmailQRCode (emailAddress:String, subject:String, body:String, qrCodeSwatch:Varies Swatch String, withProperties:Array of String)
Create Email QR Code on the page item or document
Parameter |
Type |
Description |
---|---|---|
emailAddress |
QR code Email Address (Optional) |
|
subject |
QR code Email Subject (Optional) |
|
body |
QR code Email Body Message (Optional) |
|
qrCodeSwatch |
Swatch to be applied on generated QR Code Graphic . Can accept: Swatch or String. (Optional) |
|
withProperties |
Initial values for properties of the new Document. Above parameters can also be passed as properties (Optional) |
SVG createFromMathML (mathmlDescription:String, destinationPage:Page, destinationLayer:Layer, placePoint:Array of Number String)
Creates a new object from MathML description.
Parameter |
Type |
Description |
---|---|---|
mathmlDescription |
The MathML description to create the SVG from. |
|
destinationPage |
The page on which to create the object. |
|
destinationLayer |
The layer on which to create the Object. |
|
placePoint |
The point where to place the object (only applicable if you are telling a page or spread to place) |
undefined createHyperlinkQRCode (urlLink:String, qrCodeSwatch:Varies Swatch String, withProperties:Array of String)
Create Hyperlink QR Code on the page item or document
Parameter |
Type |
Description |
---|---|---|
urlLink |
QR code Hyperlink URL (Optional) |
|
qrCodeSwatch |
Swatch to be applied on generated QR Code Graphic . Can accept: Swatch or String. (Optional) |
|
withProperties |
Initial values for properties of the new Document. Above parameters can also be passed as properties (Optional) |
Font createMissingFontObject (fontFamily:String, fontStyleName:String, postscriptName:String)
Create a missing font object.
Parameter |
Type |
Description |
---|---|---|
fontFamily |
The name of the font family |
|
fontStyleName |
The name of the font style. |
|
postscriptName |
The PostScript name of the font. |
undefined createPlainTextQRCode (plainText:String, qrCodeSwatch:Varies Swatch String, withProperties:Array of String)
Create Plain Text QR Code on the page item
Parameter |
Type |
Description |
---|---|---|
plainText |
QR code Plain Text (Optional) |
|
qrCodeSwatch |
Swatch to be applied on generated QR Code Graphic . Can accept: Swatch or String. (Optional) |
|
withProperties |
Initial values for properties of the new Document. Above parameters can also be passed as properties (Optional) |
Story createTOC (using:TOCStyle, [replacing:Boolean=Boolean], fromBook:Book, placePoint:Array of Number String, [includeOverset:Boolean=Boolean], destinationLayer:Layer)
Creates a table of contents.
Parameter |
Type |
Description |
---|---|---|
using |
The TOC style to use to define the content, title, and format of the table of contents. |
|
replacing |
If true, replaces the existing TOC. (Optional) (default: false) |
|
fromBook |
The book whose documents to include in the TOC. (Optional) |
|
placePoint |
The point at which to place the TOC story, specified as page coordinates in the format [x, y]. (Optional) |
|
includeOverset |
If true, includes overset text TOC entries in the TOC. (Optional) (default: false) |
|
destinationLayer |
The layer on which to place the TOC. (Optional) |
undefined createTextMsgQRCode (cellNumber:String, textMessage:String, qrCodeSwatch:Varies Swatch String, withProperties:Array of String)
Create Text Msg QR Code on the page item or document
Parameter |
Type |
Description |
---|---|---|
cellNumber |
QR code Text Phone Number (Optional) |
|
textMessage |
QR code Text Message (Optional) |
|
qrCodeSwatch |
Swatch to be applied on generated QR Code Graphic . Can accept: Swatch or String. (Optional) |
|
withProperties |
Initial values for properties of the new Document. Above parameters can also be passed as properties (Optional) |
undefined createVCardQRCode (firstName:String, lastName:String, jobTitle:String, cellPhone:String, phone:String, email:String, organisation:String, streetAddress:String, city:String, adrState:String, country:String, postalCode:String, website:String, qrCodeSwatch:Varies Swatch String, withProperties:Array of String)
Create Business Card QR Code on the page item or load on document's placegun
Parameter |
Type |
Description |
---|---|---|
firstName |
QR code Business Card First Name (Optional) |
|
lastName |
QR code Business Card Last Name (Optional) |
|
jobTitle |
QR code Business Card Title (Optional) |
|
cellPhone |
QR code Business Card Cell Phone Number (Optional) |
|
phone |
QR code Business Card Phone Number (Optional) |
|
|
QR code Business Card Email Address (Optional) |
|
organisation |
QR code Business Card Organisation (Optional) |
|
streetAddress |
QR code Business Card Street Address (Optional) |
|
city |
QR code Business Card City (Optional) |
|
adrState |
QR code Business Card State (Optional) |
|
country |
QR code Business Card Country (Optional) |
|
postalCode |
QR code Business Card Postal Code (Optional) |
|
website |
QR code Business Card URL (Optional) |
|
qrCodeSwatch |
Swatch to be applied on generated QR Code Graphic . Can accept: Swatch or String. (Optional) |
|
withProperties |
Initial values for properties of the new Document. Above parameters can also be passed as properties (Optional) |
undefined deleteAlternateLayout (name:String)
Deletes an alternate layout.
Parameter |
Type |
Description |
---|---|---|
name |
The name of the alternate layout to delete. |
undefined deleteUnusedTags ()
Deletes unused XML markup tags.
undefined distribute (alignDistributeItems:Array of PageItem, distributeOption:DistributeOptions, alignDistributeBounds:AlignDistributeBounds, useDistributeMeasurement:Boolean, absoluteDistributeMeasurement:Number String, reference:PageItem)
Distribute page items.
Parameter |
Type |
Description |
---|---|---|
alignDistributeItems |
The page items to align or distribute |
|
distributeOption |
The type of distribution to apply. |
|
alignDistributeBounds |
The bounds within which to align or distribute the page items. (Optional) |
|
useDistributeMeasurement |
If true, distribute space between page items. When this property is true, the bounds setting is ignored. (Optional) |
|
absoluteDistributeMeasurement |
The distance to use when distributing page items. Required when 'align distribute bounds' specifies 'key object'. (Optional) |
|
reference |
The reference or key object to align to distribute relative to. Required when 'align distribute bounds' specifies 'key object'. (Optional) |
PreflightProfile embed (using:Varies String PreflightProfile)
Embed this profile to the document.
Parameter |
Type |
Description |
---|---|---|
using |
The preflight profile to embed. Can accept: String or PreflightProfile. |
undefined exportFile (format:Varies ExportFormat String, to:File, [showingOptions:Boolean=Boolean], using:PDFExportPreset, versionComments:String, [forceSave:Boolean=Boolean])
Exports the object(s) to a file.
Parameter |
Type |
Description |
---|---|---|
format |
The export format, specified as an enumeration value or as an extension that appears in the Save as type or Format menu in the Export dialog. Can accept: ExportFormat enumerator or String. |
|
to |
The path to the export file. |
|
showingOptions |
If true, displays the export options dialog. (Optional) (default: false) |
|
using |
The export style. (Optional) |
|
versionComments |
The comment for this version. (Optional) |
|
forceSave |
If true, forcibly saves a version. (Optional) (default: false) |
Boolean exportForCloudLibrary (jsondata:String)
Exports as assets required for cloud library.
Parameter |
Type |
Description |
---|---|---|
jsondata |
JSON encoded information about the export. |
undefined exportPageItemsSelectionToSnippet (to:File)
Exports selected page items to snippet on the destination file path.
Parameter |
Type |
Description |
---|---|---|
to |
The path to the export file. |
undefined exportPageItemsToSnippet (to:File, pageItemIds:Array of Number)
Exports input page item ids to snippet on the destination file path.
Parameter |
Type |
Description |
---|---|---|
to |
The path to the export file. |
|
pageItemIds |
The array of the page item ids. |
undefined exportStrokeStyles (to:File, strokeStyleList:Array of StrokeStyle, versionComments:String, [forceSave:Boolean=Boolean])
Exports stroke styles or presets.
Parameter |
Type |
Description |
---|---|---|
to |
The file to save to |
|
strokeStyleList |
Array of StrokeStyle |
The list of stroke styles to save |
versionComments |
The comment for this version (Optional) |
|
forceSave |
Forcibly save a version (Optional) (default: false) |
String extractLabel (key:String)
Gets the label value associated with the specified key.
Parameter |
Type |
Description |
---|---|---|
key |
The key. |
Number findColor ()
Finds color that matches the find what value.
Text findGlyph (reverseOrder:Boolean)
Finds glyphs that match the find what value.
Parameter |
Type |
Description |
---|---|---|
reverseOrder |
If true, returns the results in reverse order. (Optional) |
Text findGrep (reverseOrder:Boolean)
Finds text that matches the find what value.
Parameter |
Type |
Description |
---|---|---|
reverseOrder |
If true, returns the results in reverse order. (Optional) |
PageItem findObject (reverseOrder:Boolean)
Finds objects that match the find what value.
Parameter |
Type |
Description |
---|---|---|
reverseOrder |
If true, returns the results in reverse order. (Optional) |
Text findText (reverseOrder:Boolean)
Finds text that matches the find what value.
Parameter |
Type |
Description |
---|---|---|
reverseOrder |
If true, returns the results in reverse order. (Optional) |
Text findTransliterate (reverseOrder:Boolean)
Finds text that matches the find character type value.
Parameter |
Type |
Description |
---|---|---|
reverseOrder |
If true, returns the results in reverse order. (Optional) |
Varies getAlternateLayoutsForFolio (resolveMaster:Boolean)
This will return an array of structs containing information about the alternate layouts.
Parameter |
Type |
Description |
---|---|---|
resolveMaster |
Resolves layout policy if setting is "use master" - default is true. (Optional) |
Document getElements ()
Resolves the object specifier, creating an array of object references.
TextDirection getSelectedTextDirection ()
Selected text direction
Varies getStyleConflictResolutionStrategy (charOrParaStyle:StyleType)
Get the resolution strategy for style conflict, false if the user cancels
Parameter |
Type |
Description |
---|---|---|
charOrParaStyle |
Style type to look at. (Optional) |
undefined handleMathMLMessage (resyncData:String)
Internal Use Only
Parameter |
Type |
Description |
---|---|---|
resyncData |
Internal Use Only |
Color importAdobeSwatchbookProcessColor (name:String)
Imports a process color swatch from a preloaded Adobe color book.
Parameter |
Type |
Description |
---|---|---|
name |
The process color to load. |
Color importAdobeSwatchbookSpotColor (name:String)
Imports a spot color swatch from an Adobe color book.
Parameter |
Type |
Description |
---|---|---|
name |
The spot color to load. |
undefined importDtd (from:File)
Imports a DTD to use for validation.
Parameter |
Type |
Description |
---|---|---|
from |
The path to the DTD file. |
undefined importFormats (from:File)
Imports the cross reference formats from specified file.
Parameter |
Type |
Description |
---|---|---|
from |
The file whose formats to import. |
undefined importPdfComments (from:File, withProperties:Object)
Import Commemnts from PDF
Parameter |
Type |
Description |
---|---|---|
from |
The PDF File from which you want to import comments. |
|
withProperties |
Initial values for properties of the new Document (Optional) |
undefined importStyles (format:ImportFormat, from:File, [globalStrategy:GlobalClashResolutionStrategy=GlobalClashResolutionStrategy])
Imports the specified styles.
Parameter |
Type |
Description |
---|---|---|
format |
The types of styles to import. |
|
from |
The file containing the styles you want to import. |
|
globalStrategy |
The resolution strategy to employ for imported styles that have the same names as existing styles. (Optional) (default: GlobalClashResolutionStrategy.LOAD_ALL_WITH_OVERWRITE) |
undefined importXML (from:File)
Imports the specified XML file into an InDesign document.
Parameter |
Type |
Description |
---|---|---|
from |
The XML file. |
undefined insertLabel (key:String, value:String)
Sets the label to the value associated with the specified key.
String internalMethod (internalParameter1:String, internalParameter2:String)
Internal use only: a black box method for use by InDesign Engineering team only.
Parameter |
Type |
Description |
---|---|---|
internalParameter1 |
The first internal parameter |
|
internalParameter2 |
The second internal parameter |
undefined loadConditions (from:File, loadConditionSets:Boolean)
Load conditions from the specified file.
Parameter |
Type |
Description |
---|---|---|
from |
The path to the file that contains the conditions. |
|
loadConditionSets |
If true, load the condition sets as well. (Optional) |
undefined loadMasters (from:File, [globalStrategyForMasterPage:GlobalClashResolutionStrategyForMasterPage=GlobalClashResolutionStrategyForMasterPage])
Load masterpages from an InDesign file.
Parameter |
Type |
Description |
---|---|---|
from |
The InDesign file to load the masters from. |
|
globalStrategyForMasterPage |
the global clash resolution strategy for load master page (Optional) (default: GlobalClashResolutionStrategyForMasterPage.LOAD_ALL_WITH_OVERWRITE) |
undefined loadSwatches (from:File)
Load swatches from the specified file.
Parameter |
Type |
Description |
---|---|---|
from |
The swatch file or InDesign document. |
undefined loadXMLTags (from:File)
Loads a set of XML markup tags from the specified file.
Parameter |
Type |
Description |
---|---|---|
from |
The path to the file that contains the tags. |
undefined mapStylesToXMLTags ()
Auto tag the document based on the style to tag mappings
undefined mapXMLTagsToStyles ()
Auto style the document based on the tag to style mappings
Boolean packageForPrint (to:File, copyingFonts:Boolean, copyingLinkedGraphics:Boolean, copyingProfiles:Boolean, updatingGraphics:Boolean, includingHiddenLayers:Boolean, ignorePreflightErrors:Boolean, creatingReport:Boolean, includeIdml:Boolean, includePdf:Boolean, pdfStyle:String, useDocumentHyphenationExceptionsOnly:Boolean, versionComments:String, [forceSave:Boolean=Boolean])
Packages the document.
Parameter |
Type |
Description |
---|---|---|
to |
The folder, alias, or path in which to place the packaged files. |
|
copyingFonts |
If true, copies fonts used in the document to the package folder. |
|
copyingLinkedGraphics |
If true, copies linked graphics files to the package folder. |
|
copyingProfiles |
If true, copies color profiles to the package folder. |
|
updatingGraphics |
If true, updates graphics links to the package folder. |
|
includingHiddenLayers |
If true, copies fonts and links from hidden layers to the package. |
|
ignorePreflightErrors |
If true, ignores preflight errors and proceeds with the packaging. If false, cancels the packaging when errors exist. |
|
creatingReport |
If true, creates a package report that includes printing instructions, print settings, lists of fonts, links and required inks, and other information. |
|
includeIdml |
If true, generates and includes IDML in the package folder. (Optional) |
|
includePdf |
If true, generates and includes PDF in the package folder. (Optional) |
|
pdfStyle |
If specified and PDF is to be included, use this style for PDF export if it is valid, otherwise use the last used PDF preset. (Optional) |
|
useDocumentHyphenationExceptionsOnly |
If this option is selected, InDesign flags this document so that it does not reflow when someone else opens or edits it on a computer that has different hyphenation and dictionary settings. (Optional) |
|
versionComments |
The comments for the version. (Optional) |
|
forceSave |
If true, forcibly saves a version. (Optional) (default: false) |
undefined place (fileName:Array of Varies File Files., [showingOptions:Boolean=Boolean], withProperties:Object)
Place one or more files following the behavior of the place menu item. This may load the place gun or replace the selected object, depending on current preferences.
Parameter |
Type |
Description |
---|---|---|
fileName |
Array of Files. |
One or more files to place. Can accept: File or Array of Files. |
showingOptions |
Whether to display the import options dialog (Optional) (default: false) |
|
withProperties |
Initial values for properties of the placed object(s) (Optional) |
undefined placeAndLink (parentStory:Story, [showingOptions:Boolean=Boolean])
Deprecated: Use ContentPlacerObject load method. Original Description: Place following the behavior of the place and link story menu item. This will load the place gun.
Parameter |
Type |
Description |
---|---|---|
parentStory |
The story to place and link from. |
|
showingOptions |
Whether to display the link options dialog (Optional) (default: false) |
undefined placeCloudAsset (jsondata:String)
place a cloud asset on the document
Parameter |
Type |
Description |
---|---|---|
jsondata |
JSON data containing metadata about the cloud asset |
undefined print (printDialog:Boolean, using:Varies PrinterPresetTypes PrinterPreset)
Prints the Document(s).
Parameter |
Type |
Description |
---|---|---|
printDialog |
Whether to invoke the print dialog (Optional) |
|
using |
Printer preset to use. Can accept: PrinterPresetTypes enumerator or PrinterPreset. (Optional) |
undefined printBooklet ([printBookletDialog:Boolean=Boolean], using:Varies PrinterPresetTypes PrinterPreset)
Print the Booklet using current document and Booklet and Print settings in the document
Parameter |
Type |
Description |
---|---|---|
printBookletDialog |
Whether to invoke the print booklet dialog (Optional) (default: false) |
|
using |
Printer preset to use. Can accept: PrinterPresetTypes enumerator or PrinterPreset. (Optional) |
undefined recompose ()
Recomposes the text in the Document.
undefined redo ()
Redoes the last action.
Boolean removeEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])
Removes the event listener.
Parameter |
Type |
Description |
---|---|---|
eventType |
The registered event type. |
|
handler |
JavaScriptFunction |
The registered event handler. Can accept: File or JavaScript Function. |
captures |
This parameter is obsolete. (Optional) (default: false) |
undefined resetAllButtons ()
Resets all the buttons to their Normal state.
undefined resetAllMultiStateObjects ()
Resets all the multi-state objects to their first state.
Boolean revert ()
Reverts the document to its state at the last save operation.
undefined revertToProject ([forceRevert:Boolean=Boolean])
Reverts to the version of the document in Version Cue.
Parameter |
Type |
Description |
---|---|---|
forceRevert |
Forcibly reverts to the project version. (Optional) (default: false) |
Document save (to:File, [stationery:Boolean=Boolean], versionComments:String, [forceSave:Boolean=Boolean])
Save the document
Parameter |
Type |
Description |
---|---|---|
to |
Where to save the document. If the document is already saved, a copy is saved at this path, the original file is closed the new copy is opened (Optional) |
|
stationery |
Whether to save the file as stationery (Optional) (default: false) |
|
versionComments |
The comment for this version (Optional) |
|
forceSave |
Forcibly save a version (Optional) (default: false) |
undefined saveACopy (to:File, [stationery:Boolean=Boolean])
Saves a copy of the document.
Parameter |
Type |
Description |
---|---|---|
to |
The file path for the copy. Note: Leaves the original document open and does not open the copy. (Optional) |
|
stationery |
If true, saves the file as stationery (Mac OS) or as a template (Windows). Note: The file extension for stationery and templates is different than the extension for regular files. (Optional) (default: false) |
Document saveACopyCloud (cloudPath:String)
Save a copy as cloud document
Parameter |
Type |
Description |
---|---|---|
cloudPath |
The cloud path in case of a cloud document |
Document saveAsCloud (cloudPath:String)
Save as a cloud document
Parameter |
Type |
Description |
---|---|---|
cloudPath |
The cloud path in case of a cloud document |
undefined saveSwatches (to:File, swatchList:Array of Swatch, versionComments:String, [forceSave:Boolean=Boolean])
Saves the specified swatch(es) to a swatchbook file.
Parameter |
Type |
Description |
---|---|---|
to |
The swatchbook file to save to. |
|
swatchList |
The swatch(es) to save. |
|
versionComments |
The comment for this version. (Optional) |
|
forceSave |
If true, forcibly saves a version. (Optional) (default: false) |
undefined saveXMLTags (to:File, versionComments:String, [forceSave:Boolean=Boolean])
Saves a set of tags to an external file.
Parameter |
Type |
Description |
---|---|---|
to |
The full path to the file in which to save the tags. |
|
versionComments |
The comment for this version. (Optional) |
|
forceSave |
If true, forcibly saves a version. (Optional) (default: false) |
undefined select (selectableItems:Array of Varies Objects NothingEnum Object SelectAll, [existingSelection:SelectionOptions=SelectionOptions])
Selects the specified object(s).
Parameter |
Type |
Description |
---|---|---|
selectableItems |
Array of Objects |
The objects to select. Can accept: Object, Array of Objects, NothingEnum enumerator or SelectAll enumerator. |
existingSelection |
The selection status of the Document in relation to previously selected objects. (Optional) (default: SelectionOptions.REPLACE_WITH) |
VersionCueSyncStatus synchronizeWithVersionCue ([syncConflictResolution:SyncConflictResolution=SyncConflictResolution], versionComments:String)
Synchronizes the file with the Version Cue project.
Parameter |
Type |
Description |
---|---|---|
syncConflictResolution |
The conflict resolution method to use during synchronization. (Optional) (default: SyncConflictResolution.SKIP_CONFLICTS) |
|
versionComments |
The comments that describe the version. (Optional) |
String toSource ()
Generates a string which, if executed, will return the Document.
String toSpecifier ()
Retrieves the object specifier.
undefined undo ()
Undoes the last action.
undefined updateCrossReferences ()
Updates cross references' text source content in the document.
Object of
Book.styleSourceDocument
Application.activeDocument
AdjustLayoutPreference.parent
AnchoredObjectDefault.parent
AnchoredObjectSetting.parent
Article.parent
Assignment.parent
BaselineFrameGridOption.parent
Bookmark.parent
ButtonPreference.parent
CellStyle.parent
CellStyleGroup.parent
CellStyleMapping.parent
ChapterNumberPreference.parent
CharStyleMapping.parent
CharacterStyle.parent
CharacterStyleGroup.parent
CjkGridPreference.parent
Color.parent
ColorGroup.parent
CompositeFont.parent
Condition.parent
ConditionSet.parent
ConditionalTextPreference.parent
CrossReferenceFormat.parent
CrossReferenceSource.parent
DTD.parent
DashedStrokeStyle.parent
DataMerge.parent
DataMergeImagePlaceholder.parent
DataMergeOption.parent
DataMergeQrcodePlaceholder.parent
DataMergeTextPlaceholder.parent
DictionaryPreference.parent
DocumentEvent.parent
DocumentPreference.parent
DottedStrokeStyle.parent
EPubExportPreference.parent
EPubFixedLayoutExportPreference.parent
EndnoteOption.parent
Event.parent
EventListener.parent
ExportForWebPreference.parent
Font.parent
FootnoteOption.parent
FrameFittingOption.parent
GalleyPreference.parent
Gradient.parent
GridPreference.parent
GuidePreference.parent
HTMLExportPreference.parent
HTMLFXLExportPreference.parent
Hyperlink.parent
HyperlinkExternalPageDestination.parent
HyperlinkPageDestination.parent
HyperlinkPageItemSource.parent
HyperlinkTextDestination.parent
HyperlinkTextSource.parent
HyperlinkURLDestination.parent
HyphenationException.parent
ImportExportEvent.parent
Index.parent
IndexOptions.parent
IndexingSortOption.parent
Ink.parent
KinsokuTable.parent
Language.parent
Layer.parent
LayoutGridDataInformation.parent
LayoutWindow.parent
LinkedPageItemOption.parent
LinkedStoryOption.parent
MarginPreference.parent
MasterSpread.parent
MetadataPreference.parent
MixedInk.parent
MixedInkGroup.parent
MojikumiTable.parent
MojikumiUiPreference.parent
MotionPreset.parent
MutationEvent.parent
NamedGrid.parent
NumberingList.parent
ObjectStyle.parent
ObjectStyleGroup.parent
PDFComment.parent
PageItemDefault.parent
ParaStyleMapping.parent
ParagraphDestination.parent
ParagraphStyle.parent
ParagraphStyleGroup.parent
PasteboardPreference.parent
PlaceGun.parent
Preference.parent
PreflightOption.parent
PreflightProfile.parent
PrintBookletOption.parent
PrintBookletPrintPreference.parent
PrintEvent.parent
PrintPreference.parent
PublishExportPreference.parent
Section.parent
Spread.parent
Story.parent
StoryGridDataInformation.parent
StoryPreference.parent
StoryWindow.parent
StripedStrokeStyle.parent
StrokeStyle.parent
Swatch.parent
TOCStyle.parent
TableStyle.parent
TableStyleGroup.parent
TableStyleMapping.parent
TaggedPDFPreference.parent
TextDefault.parent
TextFramePreference.parent
TextPreference.parent
TextVariable.parent
TextWrapPreference.parent
Tint.parent
TransparencyPreference.parent
TrapPreset.parent
ValidationError.parent
ViewPreference.parent
WatermarkPreference.parent
Window.parent
XMLComment.parent
XMLElement.parent
XMLExportMap.parent
XMLExportPreference.parent
XMLImportMap.parent
XMLImportPreference.parent
XMLInstruction.parent
XMLItem.parent
XMLPreference.parent
XMLTag.parent
XMLViewPreference.parent
XmlStory.parent
PreflightProcess.targetObject