Ask Your Question

Missing images in PDF generated by LibreOffice

asked 2017-01-18 14:56:15 +0200

sayonarastv gravatar image

updated 2017-01-18 14:59:01 +0200

LibreOffice cannot fetch a file from a server which is configured with HTTPs.

I'm using these steps:

  1. On Windows 7, I'm configuring a local Apache Tomcat server with HTTPs (created a self-signed certificate, added it to Tomcat's keystore), place a HTML document on it, which contains img elements which refer to images on the server.

  2. I start OpenOffice on the command line in "headless" mode, which listens on port 8100: soffice -headless -accept="socket,host=,port=8100;urp;" -nofirststartwizard

  3. When I issue OpenOffice to connect to the server and convert the HTML document to PDF, it creates the PDF, but the images are missing.

If the server is not configured with HTTPs, OpenOffice can fetch the images and then place those images into the generated PDF.

I assume OpenOffice considers the local server's certificate untrusted, and will refuse to connect to it.

I'm using a Windows system, and according to this wiki article, OpenOffice will use certificates from the personal key store.

I added the certificate to the personal key store, but the issue still persists.

Any help is much appreciated!

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2017-01-18 17:49:59 +0200

JohnHa gravatar image

Embed the images instead of linking them.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2017-01-18 14:56:15 +0200

Seen: 379 times

Last updated: Jan 18 '17