Hello,


I’m a beginner with odf and try to create a small example odf-File using
simple-odf  0.8.1:



import org.odftoolkit.simple.TextDocument;

private TextDocument target;

…

                    target = TextDocument.*newTextDocument*();

                    target.addParagraph("hello world");

                    target.save("C:/temp/odf/test.odt");


When I open this file with MS Word 2010 (or 2007) then I get this message:


​


I press the button „ok“ and get this:



​

When I press „Ja“, it looks good.



​


When I use Apache OpenOffice 4, I don’t get an error and see the line
correct.

How can I avoid this errors?


Our customers will use MS Word. For this reason we try to open it by MS
Word too.

Reply via email to