Adobe InDesign CS5 (7.0) Object Model JS: WordRTFImportPreference

InDesign CS5

Class

WordRTFImportPreference

 Word RTF import preferences. Base Class: Preference

QuickLinks

addEventListener, getElements, removeEventListener, toSource, toSpecifier

Hierarchy

Application
Preference
WordRTFImportPreference
Event | EventListener | MutationEvent

Properties

PropertyTypeAccessDescription
convertBulletsAndNumbersToTextbool r/wIf true, bullets and numbers will be converted to embedded characters during import. If false, bullets and numbers will be rendered by InDesign.
convertPageBreaksConvertPageBreaks:
ConvertPageBreaks.NONE
ConvertPageBreaks.PAGE_BREAK
ConvertPageBreaks.COLUMN_BREAK
r/wThe option for handling manual page breaks.
convertTablesToConvertTablesOptions:
ConvertTablesOptions.UNFORMATTED_TABLE
ConvertTablesOptions.UNFORMATTED_TABBED_TEXT
r/wThe policy for converting tables whose formatting has been removed. Note: Valid when remove formatting is true.
eventListenersEventListeners readonlyA collection of event listeners.
eventsEvents readonlyA collection of events.
importEndnotesbool r/wIf true, imports endnotes.
importFootnotesbool r/wIf true, imports footnotes.
importIndexbool r/wIf true, imports the index.
importTOCbool r/wIf true, imports the table of contents.
importUnusedStylesbool r/wIf true, imports unused styles.
isValidbool readonlyReturns true if the object specifier resolves to valid objects.
parentApplication readonlyThe parent of the WordRTFImportPreference (a Application).
preserveGraphicsbool r/wIf true, preserves inline graphics.
preserveLocalOverridesbool r/wIf true, maintains character formatting in text whose formatting has been removed. Note: Valid when remove formatting is true.
preserveTrackChangesbool r/wIf true, preserves comments and edits in the imported file.
propertiesObject r/wA property that allows setting of several properties at the same time.
removeFormattingbool r/wIf true, removes text and table formatting.
resolveCharacterStyleClashResolveStyleClash:
ResolveStyleClash.RESOLVE_CLASH_USE_EXISTING
ResolveStyleClash.RESOLVE_CLASH_AUTO_RENAME
ResolveStyleClash.RESOLVE_CLASH_USE_NEW
r/wThe option for handling style name conflicts.
resolveParagraphStyleClashResolveStyleClash:
ResolveStyleClash.RESOLVE_CLASH_USE_EXISTING
ResolveStyleClash.RESOLVE_CLASH_AUTO_RENAME
ResolveStyleClash.RESOLVE_CLASH_USE_NEW
r/wThe option for resolving conflicts that arise when paragraph styles have matching names.
useTypographersQuotesbool r/wIf true, convert straight quotes and apostrophes in the imported text to typographic quotation marks and apostrophes.

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

string toSpecifier ()
Retrieves the object specifier.

Element of

Application.wordRTFImportPreferences

Return

Array of WordRTFImportPreference WordRTFImportPreference.getElements ()

Jongware, 20-Jun-2010 v3.0.3dContents :: Index