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

Number lists

  1. Item 1
  2. Item 2
    1. Sub-list item 2.1
      With a broken line
    2. Sub-list item 2.2
    3. Sub-list item 2.3
      • Bullet 1
      • Bullet 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

Header Cell A1 Header Cell B1 Header Cell C1 Header Cell D1
Row 1 (left) This line has bold, italic, bolditalic, underlined, strike through, monospaced, super and sub text Some lines
with line breaks
between them
 
Row 2 (centre) This cell covers the next two
Row 3 (right) Lists:
  1. Number 1
    1. Number 2.1
    2. Number 2.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?

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.

What can't TWiki do that OpenOffice? can?

What can't OpenOffice? do that TWiki can?

ALERT! Note: Could not convert this drawing frown

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. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads