Adobe InDesign CS6 (8.0) Object Model JS: LocationOptions

InDesign CS6

 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

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

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

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

ArticleMember ArticleMembers.add (itemRef: PageItem[, at: LocationOptions=LocationOptions.AT_END][, reference: ArticleMember][, withProperties: Object])

Article Articles.add ([name: string][, articleExportStatus: bool][, at: LocationOptions=LocationOptions.AT_END][, reference: Article][, withProperties: Object])

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

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

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

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

CellStyle CellStyle.move (to: LocationOptions[, reference: varies])

CellStyleGroup CellStyleGroup.move (to: LocationOptions[, reference: varies])

Text Character.duplicate (to: LocationOptions[, reference: varies])

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

CharacterStyle CharacterStyle.move (to: LocationOptions[, reference: varies])

CharacterStyleGroup CharacterStyleGroup.move (to: LocationOptions[, reference: varies])

CheckBox CheckBoxes.add ([layer: Layer][, at: LocationOptions=LocationOptions.UNKNOWN][, reference: varies][, withProperties: Object])

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

ComboBox ComboBoxes.add ([layer: Layer][, at: LocationOptions=LocationOptions.UNKNOWN][, reference: varies][, withProperties: Object])

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

FormField FormFields.add ([layer: Layer][, at: LocationOptions=LocationOptions.UNKNOWN][, reference: varies][, withProperties: Object])

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

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

HtmlItem HtmlItems.add ([layer: Layer][, at: LocationOptions=LocationOptions.UNKNOWN][, reference: varies][, withProperties: Object])

Text InsertionPoint.duplicate (to: LocationOptions[, reference: varies])

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

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

Text Line.duplicate (to: LocationOptions[, reference: varies])

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

ListBox ListBoxes.add ([layer: Layer][, at: LocationOptions=LocationOptions.UNKNOWN][, reference: varies][, withProperties: Object])

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

MenuItem MenuItems.add (associatedMenuAction: MenuAction[, at: LocationOptions=LocationOptions.AT_END][, reference: MenuElement][, withProperties: Object])

MenuSeparator MenuSeparators.add ([at: LocationOptions=LocationOptions.AT_END][, reference: MenuElement][, withProperties: Object])

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

MultiStateObject MultiStateObjects.add ([layer: Layer][, at: LocationOptions=LocationOptions.UNKNOWN][, reference: varies][, withProperties: Object])

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

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

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

ObjectStyleGroup ObjectStyleGroup.move (to: LocationOptions[, reference: varies])

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

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

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

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

Text Paragraph.duplicate (to: LocationOptions[, reference: varies])

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

ParagraphStyle ParagraphStyle.move (to: LocationOptions[, reference: varies])

ParagraphStyleGroup ParagraphStyleGroup.move (to: LocationOptions[, reference: varies])

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

RadioButton RadioButtons.add ([layer: Layer][, at: LocationOptions=LocationOptions.UNKNOWN][, reference: varies][, withProperties: Object])

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

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

SignatureField SignatureFields.add ([layer: Layer][, at: LocationOptions=LocationOptions.UNKNOWN][, reference: varies][, withProperties: Object])

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

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

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

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

Text Story.duplicate (to: LocationOptions[, reference: varies])

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

Submenu Submenus.add (title: string[, at: LocationOptions=LocationOptions.AT_END][, reference: MenuElement][, withProperties: Object])

TableStyle TableStyle.move (to: LocationOptions[, reference: varies])

TableStyleGroup TableStyleGroup.move (to: LocationOptions[, reference: varies])

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

Text Text.duplicate (to: LocationOptions[, reference: varies])

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

TextBox TextBoxes.add ([layer: Layer][, at: LocationOptions=LocationOptions.UNKNOWN][, reference: varies][, withProperties: Object])

Text TextColumn.duplicate (to: LocationOptions[, reference: varies])

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

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

Text TextStyleRange.duplicate (to: LocationOptions[, reference: varies])

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

TextVariableInstance TextVariableInstances.add ([to: LocationOptions=LocationOptions.UNKNOWN][, reference: varies][, withProperties: Object])

TimingGroup TimingGroup.move (to: LocationOptions[, reference: varies])

TimingTarget TimingTarget.move (to: LocationOptions[, reference: varies])

Text Word.duplicate (to: LocationOptions[, reference: varies])

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

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

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

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

Text XmlStory.duplicate (to: LocationOptions[, reference: varies])

Jongware, 28-Apr-2012 v3.0.3hContents :: Index