My first thought on reading this is to copy a section of code (formatted as you desire) into a normal OOWriter document, save it, then look at the content.xml file in it, to see how they compare with your script's output. (My other thought was that it sounds like maybe there is a setting for pre-formatted text that you may need to use.)
Hope that helps.
In reply to Re: OODoc Document Formatting Problems
by atcroft
in thread OODoc Document Formatting Problems
by Bruce32903
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |