Class
Word RTF import preferences. Base Class: Preference
addEventListener, getElements, removeEventListener, toSource, toSpecifier
WordRTFImportPreference
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
convertBulletsAndNumbersToText | bool | r/w | 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.NONE ConvertPageBreaks.PAGE_BREAK ConvertPageBreaks.COLUMN_BREAK |
r/w | The option for handling manual page breaks. |
convertTablesTo | ConvertTablesOptions: ConvertTablesOptions.UNFORMATTED_TABLE ConvertTablesOptions.UNFORMATTED_TABBED_TEXT |
r/w | The policy for converting tables whose formatting has been removed. Note: Valid when remove formatting is true. |
eventListeners | EventListeners | readonly | A collection of event listeners. |
events | Events | readonly | A collection of events. |
importEndnotes | bool | r/w | If true, imports endnotes. |
importFootnotes | bool | r/w | If true, imports footnotes. |
importIndex | bool | r/w | If true, imports the index. |
importTOC | bool | r/w | If true, imports the table of contents. |
importUnusedStyles | bool | r/w | If true, imports unused styles. |
isValid | bool | readonly | Returns true if the object specifier resolves to valid objects. |
parent | Application | readonly | The parent of the WordRTFImportPreference (a Application). |
preserveGraphics | bool | r/w | If true, preserves inline graphics. |
preserveLocalOverrides | bool | r/w | If true, maintains character formatting in text whose formatting has been removed. Note: Valid when remove formatting is true. |
preserveTrackChanges | bool | r/w | If true, preserves comments and edits in the imported file. |
properties | Object | r/w | A property that allows setting of several properties at the same time. |
removeFormatting | bool | r/w | If true, removes text and table formatting. |
resolveCharacterStyleClash | ResolveStyleClash: ResolveStyleClash.RESOLVE_CLASH_USE_EXISTING ResolveStyleClash.RESOLVE_CLASH_AUTO_RENAME ResolveStyleClash.RESOLVE_CLASH_USE_NEW |
r/w | The option for handling style name conflicts. |
resolveParagraphStyleClash | ResolveStyleClash: ResolveStyleClash.RESOLVE_CLASH_USE_EXISTING ResolveStyleClash.RESOLVE_CLASH_AUTO_RENAME ResolveStyleClash.RESOLVE_CLASH_USE_NEW |
r/w | The option for resolving conflicts that arise when paragraph styles have matching names. |
useTypographersQuotes | bool | r/w | If 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.
Parameter | Type | Description |
---|---|---|
eventType | string | The event type. |
handler | File JavaScript Function | The event handler. Can accept: File or JavaScript Function. |
captures | bool | This 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.
Parameter | Type | Description |
---|---|---|
eventType | string | The registered event type. |
handler | File JavaScript Function | The registered event handler. Can accept: File or JavaScript Function. |
captures | bool | 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.
Element of
Application.wordRTFImportPreferences
Return
Array of WordRTFImportPreference WordRTFImportPreference.getElements ()
Jongware, 20-Jun-2010 v3.0.3d | Contents :: Index |