Adobe InCopy CS6 (8.0) Object Model JS: StyleExportTagMap

InCopy CS6

Class

StyleExportTagMap

 A mapping object that maps an export type to an export tag.

QuickLinks

addEventListener, getElements, remove, removeEventListener, toSource, toSpecifier

Hierarchy

CharacterStyle | ParagraphStyle
StyleExportTagMap
Event | EventListener | MutationEvent

Properties

PropertyTypeAccessDescription
eventListenersEventListeners EventListener readonlyA collection of event listeners.
eventsEvents Event readonlyA collection of events.
exportAttributesstring r/wThe attributes to map.
exportClassstring r/wThe class to map.
exportTagstring r/wThe tag to map.
exportTypestring readonlyThe type of export.
indexnumber readonlyThe index of the StyleExportTagMap within its containing object.
isValidbool readonlyReturns true if the object specifier resolves to valid objects.
parentCharacterStyleParagraphStyle readonlyThe parent of the StyleExportTagMap (a CharacterStyle or ParagraphStyle).
propertiesObject r/wA property that allows setting of several properties at the same time.
splitDocumentbool r/wSplit Document (EPUB only)

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 StyleExportTagMap getElements ()
Resolves the object specifier, creating an array of object references.

void remove ()
Deletes the StyleExportTagMap.

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 StyleExportTagMap.

string toSpecifier ()
Retrieves the object specifier.

Used in:

StyleExportTagMap StyleExportTagMaps.nextItem (obj: StyleExportTagMap)

StyleExportTagMap StyleExportTagMaps.previousItem (obj: StyleExportTagMap)

Return

Array of StyleExportTagMap StyleExportTagMap.getElements ()

StyleExportTagMap StyleExportTagMaps.[] (index: number)

StyleExportTagMap StyleExportTagMaps.add (exportType: string, exportTag: string, exportClass: string, exportAttributes: string[, withProperties: Object])

StyleExportTagMap StyleExportTagMaps.anyItem ()

Array of StyleExportTagMap StyleExportTagMaps.everyItem ()

StyleExportTagMap StyleExportTagMaps.firstItem ()

StyleExportTagMap StyleExportTagMaps.item (index: varies)

Array of StyleExportTagMap StyleExportTagMaps.itemByRange (from: varies, to: varies)

StyleExportTagMap StyleExportTagMaps.lastItem ()

StyleExportTagMap StyleExportTagMaps.middleItem ()

StyleExportTagMap StyleExportTagMaps.nextItem (obj: StyleExportTagMap)

StyleExportTagMap StyleExportTagMaps.previousItem (obj: StyleExportTagMap)

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