Donate Share

HTML 2 PDF - a PHP script

File Release Notes and Changelog

Release Name: HTML 2 PDF - a PHP script (3.0beta)

Notes:
- Redone structural parts of the code in order to allow alignment to work without the previous' versions restrictions.
- Fixed several bugs, include many of those reported on this site's forum
- Local/relative/absolute links are now supported! It even reads remote file - changed gif.php!
- Tried to make the code more developer-friendly (less spaghetti-like and with more comments)
- Better table support! Now accepts form elements and text with different styles and alignments.
- Better internal link recognition, now adds bookmark to each anchor-link combo.
- Other things I forgot to include in this list.
- CSS now supports inline style as well
- OL/UL list now correctly implemented
- Better html/value-entity support
- ConvertColor improved: now understands several colornames (all obtained from w3schools

Changes: - New tags: <TT>,<SAMP>,<KBD>,<H1>..<H6> (now correctly supported), <PAGE_BREAK>/<NEWPAGE> custom tag - calls AddPage() when they are found in the HTML code, Meta-tags (keywords,author,description) add content to PDF file, hr (now fully implemented), <SPAN>, <OUTLINE> custom tag - adds outline CSS2 style to text (not yet supported by the browsers), <OPTION> - New attributes (html and custom ones) supported: . inside <table>: repeat_header - in order to allow table header (first row) to be printed in the beginning of the other pages . inside <option>: selected=selected . inside <input>: type='password' - works like type='text' but its content is turned into * (stars). . inside <img>: border=1 - now works! - New functions: . ShowNOIMG_GIF() - in order to mimic browser behavior when an image is not found. . UseTableHeader() - does the same as adding the repeat_header=1 attribute to every table in the HTML