HTML到PDF的转换工具(PHP5) dompdf
fmms
13年前
dompdf是一个HTML到PDF的转换工具。它的核心是一个遵循大部份CSS2.1样式的Rendering引擎。dompdf采用样式驱动,它能够下载并读取外部样式,整个样式标签和单个HTML元素的样式属性。它同样支持目当大部份HTML属性。 <br /> <ul> <li>handles most <a href="/misc/goto?guid=4959501004878581466" rel="nofollow">CSS 2.1</a> and a few <a href="/misc/goto?guid=4958534589833675834" rel="nofollow">CSS3 properties</a>, including <a href="/misc/goto?guid=4959501005110583453" rel="nofollow">@import</a>, <a href="/misc/goto?guid=4959501005192984877" rel="nofollow">@media</a> & <a href="/misc/goto?guid=4959501005268940534" rel="nofollow">@page</a> rules </li> <li>supports most presentational HTML 4.0 attributes </li> <li>supports external stylesheets, either local or through http/ftp (via fopen-wrappers) </li> <li>supports complex tables, including row & column spans, separate & collapsed border models, individual cell styling </li> <li>image support (gif, png (8, 24 and 32 bit with alpha channel), bmp & jpeg) </li> <li>no dependencies on external PDF libraries, thanks to the R&OS PDF class </li> <li>inline PHP support </li> </ul> <p><strong>项目主页:</strong><a href="http://www.open-open.com/lib/view/home/1326856848718" target="_blank">http://www.open-open.com/lib/view/home/1326856848718</a></p>