https://bugs.freedesktop.org/show_bug.cgi?id=46325

             Bug #: 46325
           Summary: PDF: Converting HTML to PDF using API produces empty
                    document when headless
    Classification: Unclassified
           Product: LibreOffice
           Version: LibO 3.5.0 Release
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
 Status Whiteboard: BSA
          Severity: normal
          Priority: medium
         Component: Writer
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Problem description: 
I am working on a tool similar to JodConverter - a java library that uses 
LibreOffice to convert documents from one type to another.
Conversions are working, except that when I convert from an HTML document to a 
PDF document I find that the PDF is blank.
If I remove the "-headless" option from the command line to LibreOffice the PDF 
is generated correctly.
LibreOffice is using writer/web.

Steps to reproduce:
1. Start LibreOffice with -headless.
2. Use the API to loadComponentFromURL
3. Use the API to storeComponentToURL

Current behavior:
Blank PDF is produced.

Expected behavior:
PDF with content from HTML document is produced.

Platform (if different from the browser): 

Browser: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.11 (KHTML, like 
Gecko) Chrome/17.0.963.56 Safari/535.11

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to