http://qs321.pair.com?node_id=513434


in reply to Re^2: PDF::Template redesign - I want your ideas!
in thread PDF::Template redesign - I want your ideas!

One last thought from me. What about using some subset of DIVs from HTML so that HTML Editors could be used to generate PDF templates? I'm not sure I like that idea much, but using an existing layout scheme has advantages in the forms of existing editors, and disadvantages (like the fact that HTML sucks and we all know it ;) )


___________
Eric Hodges $_='y==QAe=e?y==QG@>@?iy==QVq?f?=a@iG?=QQ=Q?9'; s/(.)/ord($1)-50/eigs;tr/6123457/- \/|\\\_\n/;print;

Replies are listed 'Best First'.
Re^4: PDF::Template redesign - I want your ideas!
by stvn (Monsignor) on Dec 01, 2005 at 21:15 UTC
    What about using some subset of DIVs from HTML so that HTML Editors could be used to generate PDF templates?

    Do you mean WYSIWYG HTML editors?

    The problem I see with this is that HTML DIVs are useless without CSS, which is where things get really messy. It is also worth mentioning that PDFs are very "page" centric, and those pages are of a constrained size, which doesn't match well with HTML and it's "take up as much space as needed" layout approach. Having written plenty of PDF "pagination" code, I know this can be trickier than it seems, and is not always easy to generalize.

    -stvn