{"id":20,"date":"2006-11-29T13:23:39","date_gmt":"2006-11-29T11:23:39","guid":{"rendered":"http:\/\/blog.ansuz.nl\/index.php\/2006\/11\/29\/dompdf-experiment-pt1-tables\/"},"modified":"2006-11-29T15:55:57","modified_gmt":"2006-11-29T13:55:57","slug":"dompdf-experiment-pt1-tables","status":"publish","type":"post","link":"http:\/\/blog.ansuz.nl\/index.php\/2006\/11\/29\/dompdf-experiment-pt1-tables\/","title":{"rendered":"dompdf experiment pt1 &#8211; tables"},"content":{"rendered":"<p>In order to make nice pdf documents from html pages I stumbled upon <a title=\"the dompdf website\" target=\"_blank\" href=\"http:\/\/www.digitaljunkies.ca\/dompdf\/\">dompdf<\/a>. This tool can actually read a html page and output it as a pdf file. The problem with the tool right now is that it doesn&#8217;t support &#8216;div&#8217; positioning (yet), so you have to &#8220;layout&#8221; everything with tables.<br \/>\nThe first test is making a bit more complex table and have that outputted the right way. For now only the rowspan attribute doesn&#8217;t seem to work correctly.<\/p>\n<ul>\n<li>the html: <a target=\"_blank\" href=\"http:\/\/vilarricatest.nl.php5.nognietonline.eu\/test\/dompdf\/www\/test\/vilarrica\/viltest01.html\">click<\/a><\/li>\n<li>the result: <a target=\"_blank\" href=\"http:\/\/vilarricatest.nl.php5.nognietonline.eu\/test\/dompdf\/dompdftest01.php\">click<\/a><\/li>\n<li>thread @ sourceforge: <a target=\"_blank\" href=\"http:\/\/sourceforge.net\/forum\/forum.php?thread_id=1611334&#038;forum_id=440392\">ignored rowspan<\/a><\/li>\n<\/ul>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>In order to make nice pdf documents from html pages I stumbled upon dompdf. This tool can actually read a html page and output it as a pdf file. The problem with the tool right now is that it doesn&#8217;t &hellip; <a href=\"http:\/\/blog.ansuz.nl\/index.php\/2006\/11\/29\/dompdf-experiment-pt1-tables\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><!-- AddThis Advanced Settings generic via filter on get_the_excerpt --><!-- AddThis Share Buttons generic via filter on get_the_excerpt --><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,3],"tags":[],"class_list":["post-20","post","type-post","status-publish","format-standard","hentry","category-html","category-php"],"_links":{"self":[{"href":"http:\/\/blog.ansuz.nl\/index.php\/wp-json\/wp\/v2\/posts\/20","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.ansuz.nl\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.ansuz.nl\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.ansuz.nl\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.ansuz.nl\/index.php\/wp-json\/wp\/v2\/comments?post=20"}],"version-history":[{"count":0,"href":"http:\/\/blog.ansuz.nl\/index.php\/wp-json\/wp\/v2\/posts\/20\/revisions"}],"wp:attachment":[{"href":"http:\/\/blog.ansuz.nl\/index.php\/wp-json\/wp\/v2\/media?parent=20"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.ansuz.nl\/index.php\/wp-json\/wp\/v2\/categories?post=20"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.ansuz.nl\/index.php\/wp-json\/wp\/v2\/tags?post=20"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}