https://bugs.documentfoundation.org/show_bug.cgi?id=154438
Bug ID: 154438
Summary: Libreoffice headless exporting html to pdf ignore
canvas html element
Product: LibreOffice
Version: 7.5.1.2 release
Hardware: x86-64 (AMD64)
OS: macOS (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
Description:
I am trying to convert a html file into a pdf using below headless mode command
TO PDF:
soffice --headless --infilter=writerglobal8_HTML --convert-to
pdf:"writer_pdf_Export" --outdir /Users/dspandian-rc/Downloads
/Users/dspandian-rc/Downloads/sample1.html
TO WORD:
soffice --headless --infilter=writerglobal8_HTML --convert-to
pdf:"writer_pdf_Export" --outdir /Users/dsp/Downloads
/Users/dsp/Downloads/sample1.html
Files used are in my one drive. I attached out put files as well.
https://1drv.ms/f/s!As1jbBIP1BYU3ncBTfhSzVcbyVb6?e=0Cm88c
Steps to Reproduce:
1. put sample1.html file in downloads folder
2. run the above command from desc
3. open the generated output file.
Actual Results:
Canvas not displayed
Expected Results:
Canvas should be displayed below the table. open the html in browser and you
will see canvas with border and a line drawn in web page
Reproducible: Always
User Profile Reset: Yes
Additional Info:
it ignored the canvas element. it should have rendered and created a drawing in
docx or pdf too
--
You are receiving this mail because:
You are the assignee for the bug.