You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@openoffice.apache.org by Prabhakaran Subramanian <pr...@gmail.com> on 2018/04/21 03:00:47 UTC

HTML to PDF Conversion using OpenOffice 4.x

Hi,

We recently upgraded to OpenOffice 4.x, getting failed task error when i try to convert html to PDF. Any help would be appreciated.
Not able to see this issue in OpenOffice 3.x

Logs:
org.artofsolving.jodconverter.office.OfficeException: task failed

stack trace:org.artofsolving.jodconverter.office.OfficeException: task failed
at org.artofsolving.jodconverter.office.PooledOfficeManager.execute(PooledOfficeManager.java:96)
at org.artofsolving.jodconverter.office.ProcessPoolOfficeManager.execute(ProcessPoolOfficeManager.java:78)
at org.artofsolving.jodconverter.OfficeDocumentConverter.convert(OfficeDocumentConverter.java:78)
at org.artofsolving.jodconverter.OfficeDocumentConverter.convert(OfficeDocumentConverter.java:69)
Caused by: java.util.concurrent.CancellationException
at java.util.concurrent.FutureTask.report(FutureTask.java:121)
at java.util.concurrent.FutureTask.get(FutureTask.java:206)
at org.artofsolving.jodconverter.office.PooledOfficeManager.execute(PooledOfficeManager.java:85)
... 131 more

Thanks,
PS.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@openoffice.apache.org
For additional commands, e-mail: users-help@openoffice.apache.org


Re: HTML to PDF Conversion using OpenOffice 4.x

Posted by Johnny Rosenberg <gu...@gmail.com>.
2018-04-21 5:00 GMT+02:00 Prabhakaran Subramanian <
prabhakaran.subramanian@gmail.com>:

> Hi,
>
> We recently upgraded to OpenOffice 4.x, getting failed task error when i
> try to convert html to PDF. Any help would be appreciated.
> Not able to see this issue in OpenOffice 3.x
>

Did you try the exact same file with Apache OpenOffice 3? Maybe the file is
corrupted.
Is it important that you can do this in Apache OpenOffice? There are other
tools for it, such as wkhtmltopdf, which I've used a lot in the past, when
some companies sent me invoices or bills in html or mht format, which they
don't seem to do anymore, though.



Kind regards

Johnny Rosenberg



>
> Logs:
> org.artofsolving.jodconverter.office.OfficeException: task failed
>
> stack trace:org.artofsolving.jodconverter.office.OfficeException: task
> failed
> at org.artofsolving.jodconverter.office.PooledOfficeManager.
> execute(PooledOfficeManager.java:96)
> at org.artofsolving.jodconverter.office.ProcessPoolOfficeManager.execute(
> ProcessPoolOfficeManager.java:78)
> at org.artofsolving.jodconverter.OfficeDocumentConverter.convert(
> OfficeDocumentConverter.java:78)
> at org.artofsolving.jodconverter.OfficeDocumentConverter.convert(
> OfficeDocumentConverter.java:69)
> Caused by: java.util.concurrent.CancellationException
> at java.util.concurrent.FutureTask.report(FutureTask.java:121)
> at java.util.concurrent.FutureTask.get(FutureTask.java:206)
> at org.artofsolving.jodconverter.office.PooledOfficeManager.
> execute(PooledOfficeManager.java:85)
> ... 131 more
>
> Thanks,
> PS.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: users-help@openoffice.apache.org
>
>