2

While I am converting .html to .pdf using LibreOffice in java. It is removing css style from the html file. it is considering inline css rather than css class.

Thanks in advance.

Shivam
  • 674
  • 1
  • 4
  • 25
  • Does this answer help? https://stackoverflow.com/a/47721836/5100564 – Jim K Dec 15 '17 at 13:58
  • Thanks for advice but answer is using WKHTML but i am using LibreOffice for conversion in my case WKHTML is working fine if have idea of Libreoffice then plz share. – Shivam Dec 18 '17 at 05:37
  • To this date, libreoffice (version 7.5.1.2 fcbaee479e84c6cd81291587d2ee68cba099e129) goes on ignoring styles when converting from html to pdf, even in command line. – VBobCat Jun 01 '23 at 17:12

0 Answers0