Posted by Andy Dingley on 06/08/06 09:39
travismcmahan wrote:
> I am working on a project that requires me to paginate a dynamic length
> html document so I can then in turn send each page to a PDF conversion
> component.
Don't paginate HTML, it sucks at doing it. HTML has no concept of
pages, and the CSS that does isn't well or widely supported.
You'd be better looking at taking your HTML into XML and XSL:FO, then
controlling the pagination in XSL:FO (which is good at it). XSL:FO to
PDF is trivial (lots of tools already around for it - look at Apache
Fop)
[Back to original message]
|