This element configures the manner in which Ephox EditLive! for Java reacts when text is imported from Microsoft Word.
<editLiveForJava>
<wordImport>
<editLiveForJava> ... <wordImport ... /> ... </editLiveForJava> |
Attribute | Description |
styleOption | This attribute specifies the user prompting and behaviour of
EditLive! for Java upon detecting an import from Microsoft Word.
This attribute has three possible values; user_prompt, merge
or clean.
Note: Styles imported from Microsoft Word will not overwrite styles which already exist within the document. |
The following example demonstrates how to set EditLive! for Java to prompt the user with style import options every time a Microsoft Word import is detected.
<editLiveForJava>
...
<wordImport styleOption="user_prompt" />
...
</editLiveForJava>
The <wordImport> element can appear only once within the <editLiveForJava> element.
The <wordImport> element must be a complete tag, it cannot contain a tag body. Therefore the tag must be closed in the same line. See the example below:
<wordImport styleOption=... />
Copyright © 2001-2004 Ephox Corporation. All Rights Reserved.