http://www.perlmonks.org?node_id=899194


in reply to OODoc Document Formatting Problems

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.

Replies are listed 'Best First'.
Re^2: OODoc Document Formatting Problems
by Bruce32903 (Scribe) on Apr 13, 2011 at 14:24 UTC
    I basically have tried that. When I view/edit the odt file I can type a line with 3 leading spaces. After saving, closing and opening the file the three leading spaces that I typed are still there and the 3 spaces I imported are not present on the screen but are present in the content.xml file.

    Thanks,
    Bruce