|
[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
FW: Problem with fo:marker/fo:retrieve-marker (Repost)
Subject: FW: Problem with fo:marker/fo:retrieve-marker (Repost)
From: "Arun Sinha" <arunsinha666@xxxxxxxxxxx>
Date: Thu, 02 Dec 2004 10:56:34 +0000
|

Hi,
Here is the problem I am facing :-
(1) When I used a syntax
<fo:retrieve-marker marker-class-name="stdfooter" />
FOP didn't report any error or warning. And the marker isn't getting
printed in the footer. Even if the document is of more than 1 page.
(2) Then I realised that
<fo:retrieve-marker marker-class-name="stdfooter" />
should be
<fo:retrieve-marker retrieve-class-name="stdfooter" />
Now if the document is of one page then it is not getting printed and
if it is of 2 pages then it is getting printed on second page only.
Here is the part of the code that I am using for transformation and format.
The simple page master is :-
<fo:simple-page-master
master-name="rest-page"
page-height ="297mm"
page-width ="210mm"
margin-left ="2mm"
margin-right ="2mm">
<fo:region-body margin-top="118mm" margin-bottom="50mm" />
<fo:region-before region-name="pageheader" extent="116mm"/>
<fo:region-after region-name="pagefooter" extent="48mm"/>
</fo:simple-page-master>
The page sequence master is :-
<fo:page-sequence-master master-name="podoc">
<fo:repeatable-page-master-reference master-reference="rest-page" />
</fo:page-sequence-master>
Then the page sequence is :-
<fo:page-sequence master-reference="podoc">
<fo:static-content flow-name="pageheader">
.........
.........
.........
</fo:static-content>
<fo:static-content flow-name="pagefooter">
.........
.........
<fo:retrieve-marker retrieve-class-name="stdfooter" />
</fo:static-content>
<fo:flow flow-name="xsl-region-body">
<fo:marker marker-class-name="stdfooter">
<fo:block text-align="right">Continued on next page
...</fo:block>
</fo:marker>
.......
.......
</fo:flow>
</fo:page-sequence>
Something wrong here?
Thanks in advance.
Arun
_________________________________________________________________
Protect your PC! Call in the experts! http://www.msn.co.in/security/ Click
here now!
_________________________________________________________________
Chat with thousands of singles.
http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?74 Only on
BharatMatrimony.com's Instant Messenger.

|
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format
| RSS 2.0 |
|
| Atom 0.3 |
|
|