InDesign Server2025
API 20.5.0.49
Object

WordRTFImportPreference

Word RTF import preferences.

Preference WordRTFImportPreference
Hierarchy

Application

WordRTFImportPreference

Properties

NameType AccessDescription
Boolean read/write If true, bullets and numbers will be converted to embedded characters during import. If false, bullets and numbers will be rendered by InDesign.
ConvertPageBreaks
read/write The option for handling manual page breaks.
ConvertTablesOptions
read/write The policy for converting tables whose formatting has been removed. Note: Valid when remove formatting is true.
EventListeners<EventListener> readonly A collection of event listeners.
Events<Event> readonly A collection of events.
Boolean read/write If true, imports endnotes as static text. Else live endnotes
Boolean read/write If true, imports endnotes.
Boolean read/write If true, imports footnotes.
Boolean read/write If true, imports the index.
Boolean read/write If true, imports the table of contents.
Boolean read/write If true, imports unused styles.
Boolean readonly Returns true if the object specifier resolves to valid objects.
Application readonly The parent of the WordRTFImportPreference (a Application).
Boolean read/write If true, preserves inline graphics.
Boolean read/write If true, maintains character formatting in text whose formatting has been removed. Note: Valid when remove formatting is true.
Boolean read/write If true, preserves comments and edits in the imported file.
Object read/write A property that allows setting of several properties at the same time.
Boolean read/write If true, removes text and table formatting.
ResolveStyleClash
read/write The option for handling style name conflicts.
ResolveStyleClash
read/write The option for resolving conflicts that arise when paragraph styles have matching names.
Boolean read/write If true, convert straight quotes and apostrophes in the imported text to typographic quotation marks and apostrophes.

Methods

EventListener

Adds an event listener.

eventType String The event type.
handler File | JavaScriptFunction The event handler. Can accept: File or JavaScript Function.
captures? Boolean This parameter is obsolete.
WordRTFImportPreference[]

Resolves the object specifier, creating an array of object references.

Boolean

Removes the event listener.

eventType String The registered event type.
handler File | JavaScriptFunction The registered event handler. Can accept: File or JavaScript Function.
captures? Boolean This parameter is obsolete.
String

Generates a string which, if executed, will return the WordRTFImportPreference.

String

Retrieves the object specifier.

Object of 4

Properties elsewhere that hold a WordRTFImportPreference.

Return 1

Methods that return a WordRTFImportPreference.