johnnyhaff Posted February 8, 2013 Share Posted February 8, 2013 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? Quote Link to comment https://forums.phpfreaks.com/topic/274226-convert-html-tags-to-pdflib-code/ Share on other sites More sharing options...
avidev Posted February 19, 2013 Share Posted February 19, 2013 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 Quote Link to comment https://forums.phpfreaks.com/topic/274226-convert-html-tags-to-pdflib-code/#findComment-1413293 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.