Extends
Instance Properties
Name | Description | Access |
---|---|---|
convertBulletsAndNumbersToText | bool If true, bullets and numbers will be converted to embedded characters during import. If false, bullets and numbers will be rendered by InDesign. | read-write |
convertPageBreaks | ConvertPageBreaks The option for handling manual page breaks. | read-write |
convertTablesTo | ConvertTablesOptions The policy for converting tables whose formatting has been removed. Note: Valid when remove formatting is true. | read-write |
eventListeners | EventListeners A collection of event listeners. | read-only |
events | Events A collection of events. | read-only |
importEndnotes | bool If true, imports endnotes. | read-write |
importFootnotes | bool If true, imports footnotes. | read-write |
importIndex | bool If true, imports the index. | read-write |
importTOC | bool If true, imports the table of contents. | read-write |
importUnusedStyles | bool If true, imports unused styles. | read-write |
isValid | bool Returns true if the object specifier resolves to valid objects. | read-only |
parent | Application The parent of the WordRTFImportPreference (a Application). | read-only |
preserveGraphics | bool If true, preserves inline graphics. | read-write |
preserveLocalOverrides | bool If true, maintains character formatting in text whose formatting has been removed. Note: Valid when remove formatting is true. | read-write |
preserveTrackChanges | bool If true, preserves comments and edits in the imported file. | read-write |
properties | Object A property that allows setting of several properties at the same time. | read-write |
removeFormatting | bool If true, removes text and table formatting. | read-write |
resolveCharacterStyleClash | ResolveStyleClash The option for handling style name conflicts. | read-write |
resolveParagraphStyleClash | ResolveStyleClash The option for resolving conflicts that arise when paragraph styles have matching names. | read-write |
useTypographersQuotes | bool If true, convert straight quotes and apostrophes in the imported text to typographic quotation marks and apostrophes. | read-write |
Methods
addEventListener( | eventType, handler [, captures]) |
→ EventListener |
removeEventListener( | eventType, handler [, captures]) |
→ bool |
toSource( | ) |
→ string |
toSpecifier( | ) |
→ string |
-
addEventListener( eventType, handler [, captures=false])→ EventListener -
Adds an event listener.
eventType
string The event type. handler
The event handler. Can accept: File or JavaScript Function. captures
bool This parameter is obsolete. (Optional) -
getElements( )→ WordRTFImportPreference -
Resolves the object specifier, creating an array of object references.
-
removeEventListener( eventType, handler [, captures=false])→ bool -
Removes the event listener.
eventType
string The registered event type. handler
The registered event handler. Can accept: File or JavaScript Function. captures
bool This parameter is obsolete. (Optional) -
toSource( )→ string -
Generates a string which, if executed, will return the WordRTFImportPreference.
-
toSpecifier( )→ string -
Retrieves the object specifier.