OpenOffice2TWikiAddOn? Stress Test
This document contains various different formatting styles to be used as a stress test when converting documents from
OpenOffice? to TWiki markup.
Level 1 heading
Level 2 heading
Level 3 heading
Level 4 heading
Level 5 heading
Level 6 heading
Level 7 heading (TWiki won't render it but
TWiki:Plugins/GenPDFAddOn will!)
Text styles
This line has
bold text
This line has
italic text
This line has
bolditalic text
This line has
underlined text
This line has
bold underlined text
This line has
italic underlined text
This line has
bolditalic underlined text
This line has
strike through text
This line has
monospaced text
This line has
bold monospaced text
This line has
super and
sub text
This line has
bold, italic, bolditalic, underlined, strike through, monospaced, super and
sub text
List Styles
Bullet lists
- Item
- Item
- Sub-list item
With a broken line
- Sub-list item
- Sub-list item
- Numbered item 1
- Numbered item 2
- Item
Number lists
- Item 1
- Item 2
- Sub-list item 2.1
With a broken line
- Sub-list item 2.2
- Sub-list item 2.3
- Item 3
Text Alignment
Text alignment is not normally possible with TWiki markup but there is usually a good reason for re-aligning text. This line is justified.
This line is left aligned
This line is centered
This line is right aligned
Tables
- Number 1
- Number 2.1
- Number 2.2
- Number 3
|
|
| Some_wide_justified_text |
|
Empty cell comes after this one |
|
Be careful when using vertically merged cells. It actually inserts sub-tables that can't be deleted – you need to split the table and copy the remaining cells back if you want to get rid of a vertically merged cell.
| Heading |
Heading |
Heading |
| Normal |
Normal |
| Normal |
This cell covers the next two |
| Heading |
This is actually one row. The 2 cells to the right are a 2 row sub-table |
Normal |
| Normal |
| Normal |
Normal |
Normal |
Normal |
| Header |
Header |
Header |
| |
Merged |
Normal |
Normal 2 |
| |
|
| |
|
| |
|
| |
|
Miscellaneous Formatting
Horizontal line:
Some text with a
line break.
Preformatted text paragraph:
<!-- line breaks -->
<xsl:template match="//text:line-break">
<xsl:text disable-output-escaping="yes"> %BR%</xsl:text>
</xsl:template>
Bookmarks:
Back to top or go to the list styles section
above
What's not complete yet?
- Vertically merged table cells (see above)
When you start using vertically merged cells, it introduces sub-tables which break the normal table formatting. Vertically merged cells only work correctly when the merged cells are on the left hand side of the table.
- Drawings using the draw functions of the word processor, like the example table drawing below.
What can't TWiki do that OpenOffice? can?
- Horizontal lines created by typing 3 dashes (---[Enter]) like this:
- Headers and footers
What can't OpenOffice? do that TWiki can?
- Vertically merged cells that cover the same row
Note: Could not convert this drawing
example TWiki code:
| some text || *Heading* |
| *Heading* | some text |^|
|^| more text ||
This topic: Sandbox
> RickTopic > ODT2FosWikiTest
Topic revision:
13 Jan 2009, StefanKremer
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. 
