15.08.2013 Views

Ektron® eWebEditPro Developer's Reference Guide

Ektron® eWebEditPro Developer's Reference Guide

Ektron® eWebEditPro Developer's Reference Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Conserve Word Formatting<br />

Pros<br />

Cons<br />

Configure<br />

• Convert Word styles to standard HTML where possible.<br />

• Conform to style sheet by discarding some Word styles.<br />

Editing in Microsoft Word<br />

Each method is explained, with their pros and cons and how to configure them.<br />

This approach preserves Word formatting where possible. It is impossible to<br />

retain all formatting because the HTML standards do not support all of Word’s<br />

formatting features. Also, Word uses CSS styles that are not available to the<br />

<strong>eWebEditPro</strong> when copying and pasting from the clipboard.<br />

You will retain more or Word’s formatting if you specify a style sheet file (.css) that<br />

duplicates the styles used in Word. To make this task easier, <strong>eWebEditPro</strong><br />

provides the ektnormal.css file, which is based on MS Word 2000’s Normal.dot<br />

style template.<br />

• Preserves as much Word format as possible<br />

• Word styles may cause problems when the user tries to change formatting in<br />

<strong>eWebEditPro</strong>. For example, if an inline style attribute is used to underline<br />

text, clicking <strong>eWebEditPro</strong>’s underline button has no effect.<br />

• Content is large due to inline style attributes<br />

• Will probably display differently in older browsers<br />

In your configuration XML data (for example, config.xml), set the following<br />

attributes.<br />

<br />

<br />

SPAN<br />

<br />

<br />

<br />

<br />

<br />

Options<br />

Ensure that mswordfilter and autoclean are false. Both attributes may<br />

remove Word formatting. Also, ensure both preserveword attributes are true;<br />

otherwise, Word formatting is lost.<br />

If you want to retain even more HTML tags from Word, set reducetags=<br />

"false".<br />

<strong>Ektron®</strong> <strong>eWebEditPro</strong> Developer’s <strong>Reference</strong> <strong>Guide</strong>, Release 5.1, Revision 1 350

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!