WordRTFImportPreference

Word RTF import preferences.

Methods:

addEventListener, getElements, removeEventListener, toSource, toSpecifier

Objects:

Boolean, ConvertPageBreaks, ConvertTablesOptions, EventListeners, Events, Object, ResolveStyleClash

Hierarchy:

Superclass: Preference

Class: WordRTFImportPreference

Property Listing

Property

Type

Access

Description

convertBulletsAndNumbersToText

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

ConvertPageBreaks

ConvertPageBreaks.COLUMN_BREAK

ConvertPageBreaks.NONE

ConvertPageBreaks.PAGE_BREAK

read/write

The option for handling manual page breaks.

convertTablesTo

ConvertTablesOptions

ConvertTablesOptions.UNFORMATTED_TABBED_TEXT

ConvertTablesOptions.UNFORMATTED_TABLE

read/write

The policy for converting tables whose formatting has been removed. Note: Valid when remove formatting is true.

eventListeners

EventListeners EventListener

readonly

A collection of event listeners.

events

Events Event

readonly

A collection of events.

importAsStaticEndnotes

Boolean

read/write

If true, imports endnotes as static text. Else live endnotes

importEndnotes

Boolean

read/write

If true, imports endnotes.

importFootnotes

Boolean

read/write

If true, imports footnotes.

importIndex

Boolean

read/write

If true, imports the index.

importTOC

Boolean

read/write

If true, imports the table of contents.

importUnusedStyles

Boolean

read/write

If true, imports unused styles.

isValid

Boolean

readonly

Returns true if the object specifier resolves to valid objects.

parent

Application

readonly

The parent of the WordRTFImportPreference (a Application).

preserveGraphics

Boolean

read/write

If true, preserves inline graphics.

preserveLocalOverrides

Boolean

read/write

If true, maintains character formatting in text whose formatting has been removed. Note: Valid when remove formatting is true.

preserveTrackChanges

Boolean

read/write

If true, preserves comments and edits in the imported file.

properties

Object

read/write

A property that allows setting of several properties at the same time.

removeFormatting

Boolean

read/write

If true, removes text and table formatting.

resolveCharacterStyleClash

ResolveStyleClash

ResolveStyleClash.RESOLVE_CLASH_AUTO_RENAME

ResolveStyleClash.RESOLVE_CLASH_USE_EXISTING

ResolveStyleClash.RESOLVE_CLASH_USE_NEW

read/write

The option for handling style name conflicts.

resolveParagraphStyleClash

ResolveStyleClash

ResolveStyleClash.RESOLVE_CLASH_AUTO_RENAME

ResolveStyleClash.RESOLVE_CLASH_USE_EXISTING

ResolveStyleClash.RESOLVE_CLASH_USE_NEW

read/write

The option for resolving conflicts that arise when paragraph styles have matching names.

useTypographersQuotes

Boolean

read/write

If true, convert straight quotes and apostrophes in the imported text to typographic quotation marks and apostrophes.

Method Listing

EventListener addEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])

Adds an event listener.

Parameter

Type

Description

eventType

String

The event type.

handler

File

JavaScriptFunction

The event handler. Can accept: File or JavaScript Function.

captures

Boolean

This parameter is obsolete. (Optional)

(default: false)

WordRTFImportPreference getElements ()

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

Boolean removeEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])

Removes the event listener.

Parameter

Type

Description

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. (Optional)

(default: false)

String toSource ()

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

String toSpecifier ()

Retrieves the object specifier.

Object of

Event.parent

EventListener.parent

MutationEvent.parent

Application.wordRTFImportPreferences

Return

WordRTFImportPreference.getElements()