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
      1. Numbered item 1
      2. Numbered item 2
  • Item

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
  • Bullet 1
    • Bullet 2
  • Bullet 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
   
   
   
   

Images

Small image anchored as character:

Large image anchored to paragraph:

External link (same picture as the one with a caption below):

Picture with caption:

_
An apple a day..._

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

ALERT! Note: Could not convert this drawing frown

example TWiki code:

| some text || *Heading* |
| *Heading* | some text |^|
|^| more text ||
Topic attachments
I Attachment Action Size Date Who Comment
gifgif 10000000000000640000004BDD3CD5AB.gif manage 4.0 K 2008-02-29 - 18:05 LiXizhi 'Unknown' extracted from 'OpenOffice2TWikiAddOnStressTest.odt'
gifgif 10000000000000E2000000E2459CCEB9.gif manage 32.0 K 2008-02-29 - 18:05 LiXizhi 'Unknown' extracted from 'OpenOffice2TWikiAddOnStressTest.odt'
gifgif 100002000000000E00000007CC5BB5AB.gif manage 0.1 K 2008-02-29 - 18:05 LiXizhi 'Unknown' extracted from 'OpenOffice2TWikiAddOnStressTest.odt'
elseodt OpenOffice2TWikiAddOnStressTest.odt manage 54.9 K 2008-02-29 - 18:05 LiXizhi Original OpenOffice2TWikiAddOnStressTest? .odt document
Topic revision: r2 - 2008-02-29 - 18:05:02 - LiXizhi
 

ParaEngine Developer Network

This site is powered by the TWiki collaboration platformCopyright © 2004-2009 ParaEngine Corporation
Ideas, requests, problems regarding ParaEngine platform Send feedback