IMPORTANT:
this is not a Support Forum! Experienced users might answer from time to time questions posted here. If you need a professional and reliable answer, or if you want to report a bug, please contact Altova Support instead.

Profile: kukeltje
About
User Name: kukeltje
Forum Rank: Newbie
Real Name:
Location Amersfoort (NL)
Occupation:
Interests:
Gender: None Specified
Statistics
Joined: Monday, November 2, 2009
Last Visit: Monday, November 2, 2009 12:51:06 PM
Number of Posts: 1
[0.01% of all post / 0.00 posts per day]
Avatar
Last 10 Posts
Topic: Header/Footer and HTML
Posted: Monday, November 2, 2009 12:41:40 PM
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

Use of the Altova User Forum(s) is governed by the Altova Terms of Use.