kukeltje |
Newbie |
|
Amersfoort (NL) |
|
|
None Specified |
|
Monday, November 2, 2009 |
Monday, November 2, 2009 12:51:06 PM |
1 [0.01% of all post / 0.00 posts per day] |
|
This is becomming much more interesting with the rise of ,Flying Saucer, a project within SUN that delivers a great way of generating a PDF from XHTML (thanks for this support in 2010, saves me a 'correction') It supports lots of things from CSS3. E.g. with
Code:.pageFooter { position: running(pageFooter); }
@page { @bottom-right { content: element(footer) element(pageFooter) ; } }
You get a great footer on each page if you generate the PDF from xhtml OR if you print the HTML from the browser (if the browser supports this)
So putting the footer (and headers) in a div when generating the XHTML would be very interesting. Now I have to include a separate div assign specific classes to it.
Btw, pagenumbering also works:
Code:.pagenumber:before { content: counter( page ); }
.pagecount:before { content: counter( pages ); }
So translating the
Code:<field [type="..."]/> from the sps files to divs with id's and include these css things would be very, very interesting.
edit: used code tags for the code
|
|