Re: [jopendocument] Can JOpenDocument convert a odt to PDF?

2021-02-25 Thread Guillaume Maillard
Hi,

To render an odt is like re-coding LibreOffice... so it's not doable, but
we are progressing on odt rendering,
it will be available on next release.

Regards,
Guillaume

Le jeu. 25 févr. 2021 à 17:43, Alfredo Rodriguez Cardoso <
alfredo.rodriguez.c...@gmail.com> a écrit :

> Hi folks!
>
> I'm development a program with JOpenDocument to make (with LibreOffice
> extension) and upload templates to this program, from this generate some
> formats documentos like odt, ods and PDF.
>
> With this example https://www.jopendocument.org/tutorial_pdf.html   I
> tried generate pdf from a odt but when a use this example throw this error:
> v
>
> Exception in thread "main" java.lang.IllegalArgumentException: This class
> is only for ODS files
> at org.jopendocument.model.OpenDocument.loadFrom(Unknown Source)
>
> I understand that example is a ods document, but, Could JOpenDocument
> generate PDF from ODT? If yes, Do you have any example?
>
> Cheers!
>
> --
>
> ---
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jopendocument/8ac6f801-fa31-4552-93e8-c4a47ee89422o%40googlegroups.com
> 
> .
>

-- 

--- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jopendocument/CALhNRbusAooVv9mwYZawAdzsfnAT-Ja6sLmDQcWxU1DHxwOSKw%40mail.gmail.com.


[jopendocument] Can JOpenDocument convert a odt to PDF?

2021-02-25 Thread Alfredo Rodriguez Cardoso
Hi folks!

I'm development a program with JOpenDocument to make (with LibreOffice 
extension) and upload templates to this program, from this generate some 
formats documentos like odt, ods and PDF. 

With this example https://www.jopendocument.org/tutorial_pdf.html   I tried 
generate pdf from a odt but when a use this example throw this error: v

Exception in thread "main" java.lang.IllegalArgumentException: This class 
is only for ODS files
at org.jopendocument.model.OpenDocument.loadFrom(Unknown Source)

I understand that example is a ods document, but, Could JOpenDocument 
generate PDF from ODT? If yes, Do you have any example?

Cheers! 

-- 

--- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jopendocument/8ac6f801-fa31-4552-93e8-c4a47ee89422o%40googlegroups.com.