Adobe InDesign CS2 (4.0) Object Model JS: LocationOptions

InDesign CS2

 Options for specifying location relative to the reference object or within the containing object.

Value

NameDescriptionValue
LocationOptions.AFTERPlaces the object after the reference object.1634104421 = 'afte'
LocationOptions.AT_BEGINNINGPlaces the object at the beginning of the containing object.1650945639 = 'bgng'
LocationOptions.AT_ENDPlaces the object at the end of the containing object.1701733408 = 'end '
LocationOptions.BEFOREPlaces the object before the reference object.1650812527 = 'befo'
LocationOptions.UNKNOWNNo location specified.1433299822 = 'Unkn'

Usage

In function

AssignedStory AssignedStory.move ([to: LocationOptions=LocationOptions.AT_END][, reference: any])

BookContent BookContent.move ([to: LocationOptions=LocationOptions.AT_END][, reference: BookContent])

Bookmark Bookmark.move ([to: LocationOptions=LocationOptions.AT_END][, reference: any])

Button Buttons.add ([layer: Layer][, at: LocationOptions=LocationOptions.UNKNOWN][, reference: any][, withProperties: Object])

Text Character.move (to: LocationOptions[, reference: any])

any Columns.add ([at: LocationOptions=LocationOptions.UNKNOWN][, reference: any][, withProperties: Object])

Footnote Footnotes.add ([at: LocationOptions=LocationOptions.UNKNOWN][, reference: any][, withProperties: Object])

GraphicLine GraphicLines.add ([layer: Layer][, at: LocationOptions=LocationOptions.UNKNOWN][, reference: any][, withProperties: Object])

Group Groups.add (groupItems: Array of PageItem[, layer: Layer][, at: LocationOptions=LocationOptions.UNKNOWN][, reference: any][, withProperties: Object])

Text InsertionPoint.move (to: LocationOptions[, reference: any])

Layer Layer.move (to: LocationOptions[, reference: Layer])

Text Line.move (to: LocationOptions[, reference: any])

any MasterSpread.duplicate ([to: LocationOptions=LocationOptions.AT_END][, reference: any])

Movie Movies.add ([layer: Layer][, at: LocationOptions=LocationOptions.UNKNOWN][, reference: any][, withProperties: Object])

Note Note.move (to: LocationOptions[, reference: any])

Note Notes.add ([at: LocationOptions=LocationOptions.UNKNOWN][, reference: any][, withProperties: Object])

ObjectStyle ObjectStyle.move (to: LocationOptions[, reference: ObjectStyle])

Oval Ovals.add ([layer: Layer][, at: LocationOptions=LocationOptions.UNKNOWN][, reference: any][, withProperties: Object])

Page Page.duplicate ([to: LocationOptions=LocationOptions.AT_END][, reference: any])

Page Page.move ([to: LocationOptions=LocationOptions.AT_END][, reference: any][, binding: BindingOptions=BindingOptions.DEFAULT_VALUE])

Page Pages.add ([at: LocationOptions=LocationOptions.UNKNOWN][, reference: any][, withProperties: Object])

Text Paragraph.move (to: LocationOptions[, reference: any])

Polygon Polygons.add ([layer: Layer][, numberOfSides: number][, insetPercentage: number][, at: LocationOptions=LocationOptions.UNKNOWN][, reference: any][, withProperties: Object])

Rectangle Rectangles.add ([layer: Layer][, at: LocationOptions=LocationOptions.UNKNOWN][, reference: any][, withProperties: Object])

any Rows.add ([at: LocationOptions=LocationOptions.UNKNOWN][, reference: any][, withProperties: Object])

Sound Sounds.add ([layer: Layer][, at: LocationOptions=LocationOptions.UNKNOWN][, reference: any][, withProperties: Object])

any Spread.duplicate ([to: LocationOptions=LocationOptions.AT_END][, reference: any])

Spread Spread.move ([to: LocationOptions=LocationOptions.AT_END][, reference: any])

Spread Spreads.add ([at: LocationOptions=LocationOptions.UNKNOWN][, reference: any][, withProperties: Object])

Text Story.move (to: LocationOptions[, reference: any])

Table Tables.add ([to: LocationOptions=LocationOptions.UNKNOWN][, reference: any][, withProperties: Object])

Text Text.move (to: LocationOptions[, reference: any])

Text TextColumn.move (to: LocationOptions[, reference: any])

TextFrame TextFrames.add ([layer: Layer][, at: LocationOptions=LocationOptions.UNKNOWN][, reference: any][, withProperties: Object])

Text TextStyleRange.move (to: LocationOptions[, reference: any])

Text Word.move (to: LocationOptions[, reference: any])

XMLComment XMLComment.move (to: LocationOptions[, reference: any])

XMLElement XMLElement.move (to: LocationOptions[, reference: any])

XMLInstruction XMLInstruction.move (to: LocationOptions[, reference: any])

Jongware, 27-Jun-2010 v3.0.3dContents :: Index