Home > Forum > Actions > [Closed] Which html/css elements are unsupported when creating a pdf from an html

[Closed] Which html/css elements are unsupported when creating a pdf from an html
0

MVP

Hi everyone,

does anyone here use the 'Generate a Pdf file' action, to convert a html file to pdf and is aware of limitations?

I just noticed that I couldn't either use counters or the pseudo element ::before is not supported.
h1 {
counter-reset: counterh2 counterh3 counterh4 counterh5;
counter-increment: counterh1;
}
h1::before {
content: counter(counterh1)" ";
}

Do you know any other limitations or are aware what browser configuration I could use to test this?

Best regards,
Daniel

MVP
In reply to: Sebastian Gębuś

Hi Daniel,
It`s just a guess, but based on on the fact that there is a 'wnvhtmlconvert' library in installation files, I assume it can be used for conversion, maybe someone from webcon can confirm that.
I found this online converter - https://www.winnovative-software.com/demo/default.aspx maybe give it a try :)

Hi Sebastian,

you have been right. :)
The online demo did render my html as intended. So I went over to my "Debugging" project, used the version from WEBCON BPS and the chapter numbering was missing. After updating to the latest version of 'Winnovative HTML to PDF Converter' the generated PDF did contain the numbering as in the online demo.

I will create a User Voice entry to plead for updating the version. :)
User voice: https://community.webcon.com/forum/thread/774

In the mean time I have to do some coding to generate the numbers myself.

Best regards,
Daniel