Re: [jopendocument] Unable to save odt format to pdf

2017-02-24 Thread Guillaume Maillard
Hi,

Isn't this sentence clear enough ?

This class is *only *for ODS files


Regards,
Guillaume

2017-02-23 16:08 GMT+01:00 Ranjan :

> 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.
>

-- 

--- 
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.


[jopendocument] Unable to save odt format to pdf

2017-02-24 Thread Ranjan
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.