Adobe InCopy CS6 (8.0) Object Model JS: NumberingRestartPolicy

InCopy CS6

Class

NumberingRestartPolicy

 Numbering restart policy. Base Class: Preference

QuickLinks

addEventListener, getElements, removeEventListener, toSource, toSpecifier

Hierarchy

ChangeGrepPreference | ChangeTextPreference | Character | FindGrepPreference | FindTextPreference | InsertionPoint | Line | Paragraph | ParagraphStyle | Story | Text | TextColumn | TextDefault | TextStyleRange | Word | XmlStory
Preference
NumberingRestartPolicy
Event | EventListener | MutationEvent

Properties

PropertyTypeAccessDescription
eventListenersEventListeners EventListener readonlyA collection of event listeners.
eventsEvents Event readonlyA collection of events.
isValidbool readonlyReturns true if the object specifier resolves to valid objects.
numberingLowerLevelnumber r/wThe lower numbering level for a numbered list.
numberingPolicyRestartPolicy:
RestartPolicy.ANY_PREVIOUS_LEVEL
RestartPolicy.AFTER_SPECIFIC_LEVEL
RestartPolicy.RANGE_OF_LEVELS
r/wThe numbering restart policy to use.
numberingUpperLevelnumber r/wThe upper numbering level for a numbered list.
parentChangeGrepPreference
ChangeTextPreference
Character
FindGrepPreference
FindTextPreference
InsertionPoint
Line
Paragraph
ParagraphStyle
Story
Text
TextColumn
TextDefault
TextStyleRange
Word
XmlStory
readonlyThe parent of the NumberingRestartPolicy (a TextDefault, ParagraphStyle, Text, InsertionPoint, TextStyleRange, Paragraph, TextColumn, Line, Word, Character, Story, XmlStory, FindTextPreference, ChangeTextPreference, FindGrepPreference or ChangeGrepPreference).
propertiesObject r/wA 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.

ParameterTypeDescription
eventTypestringThe event type.
handlerFile
JavaScript Function
The event handler. Can accept: File or JavaScript Function.
capturesboolThis parameter is obsolete. (Optional) (default: false)

Array of NumberingRestartPolicy getElements ()
Resolves the object specifier, creating an array of object references.

bool removeEventListener (eventType: string, handler: varies[, captures: bool=false])
Removes the event listener.

ParameterTypeDescription
eventTypestringThe registered event type.
handlerFile
JavaScript Function
The registered event handler. Can accept: File or JavaScript Function.
capturesboolThis parameter is obsolete. (Optional) (default: false)

string toSource ()
Generates a string which, if executed, will return the NumberingRestartPolicy.

string toSpecifier ()
Retrieves the object specifier.

Element of

ChangeGrepPreference.numberingRestartPolicies

ChangeTextPreference.numberingRestartPolicies

Character.numberingRestartPolicies

FindGrepPreference.numberingRestartPolicies

FindTextPreference.numberingRestartPolicies

InsertionPoint.numberingRestartPolicies

Line.numberingRestartPolicies

Paragraph.numberingRestartPolicies

ParagraphStyle.numberingRestartPolicies

Story.numberingRestartPolicies

Text.numberingRestartPolicies

TextColumn.numberingRestartPolicies

TextDefault.numberingRestartPolicies

TextStyleRange.numberingRestartPolicies

Word.numberingRestartPolicies

XmlStory.numberingRestartPolicies

Return

Array of NumberingRestartPolicy NumberingRestartPolicy.getElements ()

Jongware, 29-Apr-2012 v3.0.3iContents :: Index