Page 1 of 1

op.htmlToDoc.HtmlInput = true vs op.htmlToDoc.HtmlInput = false

Posted: Thu Jun 05, 2025 7:47 am
by zarkogajic
Hi Support,

I'm converting HTML to PDF and all ok so far ...

I've noticed non-expected differences when HtmlInput is html string vs html file.

In case of HtmlInput = false, and Input (array) has a string pointing to a file on file system ... all ok.

But, in case of HtmlInput = true, and Input has a string containing the html ... rendering looks slightly different (css embedded in html), but more importantly "<a href..>'s are NOT converted to URI links.

I guess the reason is related to how you create URI value and when HtmlInput= true, the path cannot be determined: viewtopic.php?t=46577

-žarko

Re: op.htmlToDoc.HtmlInput = true vs op.htmlToDoc.HtmlInput = false

Posted: Thu Jun 05, 2025 11:24 am
by Stefan - PDF-XChange
Hello zarkogajic,

I've asked our devs to take a look here and assist! We will post further in this topic when I've heard back from them!

Kind regards,
Stefan

Re: op.htmlToDoc.HtmlInput = true vs op.htmlToDoc.HtmlInput = false  SOLVED

Posted: Mon Jun 16, 2025 1:55 pm
by zarkogajic
Hi,

I'll close the topic as "solved" because this probably has to do with: viewtopic.php?p=194160#p194160

-žarko

op.htmlToDoc.HtmlInput = true vs op.htmlToDoc.HtmlInput = false

Posted: Mon Jun 16, 2025 5:42 pm
by Daniel - PDF-XChange
:)