Hi,

ok fine,

This code does not work anymore :

ODPackage outputDocument = new ODPackage(new File("styles.odt"));
contentDom = outputDocument.toSingle();
final Paragraph paragraph = new Paragraph();
contentDom.add(paragraph);

What is the correct way to do it in version 1.3 ?

kind regards

willy

On 24/07/13 09:36, Sylvain Cuaz wrote:
Le 23/07/2013 21:49, yambo a écrit :
Hi,

When I try to compile src/org/jopendocument/examples/SimpleOdt2.java with
the version 1.3 this fails, compiling with 1.2 seems to work.
I am using java 1.7.0.17.
What am I doing wrong ?

Nothing, as stated on http://www.jopendocument.org/doc_benchmark.html the code was used against 1.2 and it wasn't updated.

Cheers,
Sylvain


--

--- You received this message because you are subscribed to the Google Groups "jOpenDocument" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to