Jump to content

Archived

This topic is now archived and is closed to further replies.

johnnyhaff

convert html tags to pdflib code

Recommended Posts

I'm trying to parse html tags in php from a tinymce textarea into code that i can use to output on a pdflib document.

 

for example i have the following html code being passed from my form:

<p><strong>asdfasdf </strong><em>test  </em><span style="text-decoration: underline;">undderline</span> <strong> </strong><span style="text-decoration: underline;"><strong>bold& underline</strong></span></p>

 

and i'd like to generate code for pdflib such that the formatting stays the same when output to pdflib?

Share this post


Link to post
Share on other sites

Hi,

use the class fpdf.php extending the class you can change the property values ....

and the formatting issue defintely it will work when you generate the pdf file

Share this post


Link to post
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.