Article
An article
Go to Property Listing | Method Listing
Methods:
addDocumentContent, addEventListener, extractLabel, getElements, insertLabel, move, remove, removeEventListener, toSource, toSpecifier
Objects:
ArticleMembers, Boolean, EventListeners, Events, Number, Object, String
Property Listing
Property |
Type |
Access |
Description |
---|---|---|---|
read/write |
The export status of the Article |
||
readonly |
A collection of article members. |
||
readonly |
A collection of event listeners. |
||
readonly |
A collection of events. |
||
readonly |
The unique ID of the Article. |
||
readonly |
The index of the Article within its containing object. |
||
readonly |
Returns true if the object specifier resolves to valid objects. |
||
read/write |
A property that can be set to any string. |
||
read/write |
The name of the Article. |
||
readonly |
The parent of the Article (a Document). |
||
read/write |
A property that allows setting of several properties at the same time. |
Method Listing
undefined addDocumentContent ()
Populates the article with all page items in the document.
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) |
String extractLabel (key:String)
Gets the label value associated with the specified key.
Parameter |
Type |
Description |
---|---|---|
key |
The key. |
Article getElements ()
Resolves the object specifier, creating an array of object references.
undefined insertLabel (key:String, value:String)
Sets the label to the value associated with the specified key.
Article move (to:LocationOptions, reference:Article)
Moves the Article to the specified location.
Parameter |
Type |
Description |
---|---|---|
to |
The location relative to the reference object or within the containing object. |
|
reference |
The reference object. Note: Required when the to value specifies before or after. (Optional) |
undefined remove ()
Deletes the Article.
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) |
String toSource ()
Generates a string which, if executed, will return the Article.
String toSpecifier ()
Retrieves the object specifier.
Object of
FormField.allArticles
Button.allArticles
MultiStateObject.allArticles
CheckBox.allArticles
ComboBox.allArticles
ListBox.allArticles
RadioButton.allArticles
TextBox.allArticles
SignatureField.allArticles
Movie.allArticles
Sound.allArticles
PageItem.allArticles
Oval.allArticles
Rectangle.allArticles
GraphicLine.allArticles
Polygon.allArticles
Group.allArticles
Image.allArticles
EPS.allArticles
PDF.allArticles
WMF.allArticles
PICT.allArticles
Graphic.allArticles
SplineItem.allArticles
EPSText.allArticles
ImportedPage.allArticles
SVG.allArticles
MediaItem.allArticles
HtmlItem.allArticles
TextFrame.allArticles
EndnoteTextFrame.allArticles
ArticleMember.parent
Event.parent
EventListener.parent
MutationEvent.parent