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
Created attachment 186274 [details] attached sample html docs
Created attachment 186275 [details] output generated by libre as docs
Created attachment 186276 [details] output generated by libre as pdf
You can not confirm your own bugs, but I just did and this is not macOS specific Version: 7.0.4.2 Build ID: 00(Build:2) CPU threads: 8; OS: Linux 5.10; UI render: default; VCL: x11 Locale: en-US (en_US.UTF-8); UI: en-US Debian package version: 1:7.0.4-4+deb11u4 Calc: threaded
The canvas element is a dynamic element: https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API It would need Writer to be able to execute JavaScript and then create drawings based on the result. I don't think this would fly, so I will close.