IT:AD:DokuWiki:Plugins:ODT
~~ODT~~
Summary
Provides the ability to export pages as ODT – which is therefore compatible with Word.
Notes
A summary of the pros/cons of the tool are: * Advantages:
- Converts elements to styled text, using Word's default styles – instead of all being 'Normal' text, with different Inline Formatting. That's a big time saver. In other words:
- HTML Headers are converted to the Word 'Header 1-6'
- HTML Italics are converted to 'Emphasis'
- HTML Bolds are converted to 'Strong'
- Correctly leaves
codesections.
* Considerations:
- It raises an error when importing…but Word 2013 will render it after accepting to remove stuff it can't understand (whatever it is, it's not causing missing text on the page).
- It's not smart with Images. They are rendered at the full image size – not the image you put them on the page. So you generally have to spend time
- It's not smart enough to handle
<callout icon="true" type="printonly">...</callout>and<callout icon="true" type="noprint">...</callout>which would be great for handling navigation and other messy stuff. - It's not handling bullets correctly. They come in as the wrong symbol. Probably it's a font issue (maybe it's not using Symbol for generating Bullets).
- Text is rendered as 'Body Text' rather than 'Normal'. Which is technically correct, even if most users probably work with 'Normal'.
- Whereas it can handle
codeelements it cannot handlecodeformatting. Bit of a minor bummer (for Requirements documents, for example).
Test Data
As an example, print this page.
This should be styled as 'Text body'.
This is a para
that has a line return in it.
This is a para that has more text in it that will fold at the width of the page when we finally get there which at this point seems like a long long long long long long long way away. We folded, right? About now? Good. And it should still be 'Text body'.
But this inline code should be in visible as something else (this is one part that didn't work in Q4/2016…might work one day).
But the following worked well, being converted to the default 'Source Code' style.
//What about inline code? var a; var b; 2 + 2 = something;
Here is some italic and bold formated text. It should have been converted to 'Emphasis' and 'strong'.
A little table:
| A table | With columns |
|---|---|
| aaa | bbb |
And finally, some bullets:
- This
- is
- a
- list
- that
- should
- be in easily fixable by clicking the Multi-Depth button….
- foo
- bar
- more
- and more
- and more
- and
- that's a wrap.
Now export!