Think it works only for "*.ods" files.

OpenDocument doc = new OpenDocument(new File("invoice_template.odt"));

throws an exception
Exception in thread "main" java.lang.IllegalArgumentException: This class 
is only for ODS files

How do I go about fixing the issue?

Regards

-- 

--- 
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 jopendocument+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to