Class
Anchored object default settings. Base Class: Preference
addEventListener, getElements, removeEventListener, toSource, toSpecifier
AnchoredObjectDefault
QuickLinks
Hierarchy
Properties
| Property | Type | Access | Description |
|---|---|---|---|
| anchorContent | ContentType: ContentType.UNASSIGNED ContentType.GRAPHIC_TYPE ContentType.TEXT_TYPE |
r/w | The initial frame type of a new anchored object. |
| anchoredObjectStyle | ObjectStyle | r/w | The initial object style of a new anchored object. |
| anchoredParagraphStyle | ParagraphStyle | r/w | The initial paragraph style of a new anchored object. Note: Valid when anchor content is text. |
| eventListeners | EventListeners | readonly | A collection of event listeners. |
| events | Events | readonly | A collection of events. |
| initialAnchorHeight | Measurement Unit (Number or String) | r/w | The initial height of a new anchored object. |
| initialAnchorWidth | Measurement Unit (Number or String) | r/w | The initial width of a new anchored object. |
| isValid | bool | readonly | Returns true if the object specifier resolves to valid objects. |
| parent | Application Document |
readonly | The parent of the AnchoredObjectDefault (a Application or Document). |
| properties | Object | r/w | A property that allows setting of several properties at the same time. |
Methods
Instances
EventListener addEventListener (eventType:
string, handler:
varies[, captures:
bool=false])
Adds an event listener.
| Parameter | Type | Description |
|---|---|---|
| eventType | string | The event type. |
| handler | File JavaScript Function | The event handler. Can accept: File or JavaScript Function. |
| captures | bool | This parameter is obsolete. (Optional) (default: false) |
Array
of AnchoredObjectDefault getElements ()
Resolves the object specifier, creating an array of object references.
bool removeEventListener (eventType:
string, handler:
varies[, captures:
bool=false])
Removes the event listener.
| Parameter | Type | Description |
|---|---|---|
| eventType | string | The registered event type. |
| handler | File JavaScript Function | The registered event handler. Can accept: File or JavaScript Function. |
| captures | bool | This parameter is obsolete. (Optional) (default: false) |
string toSource ()
Generates a string which, if executed, will return the AnchoredObjectDefault.
Element of
Application.anchoredObjectDefaults
Document.anchoredObjectDefaults
Return
Array of AnchoredObjectDefault AnchoredObjectDefault.getElements ()
| Jongware, 23-Mar-2011 v3.0.3d | Contents :: Index |