xsl-list
[Top] [All Lists]

FW: Problem with fo:marker/fo:retrieve-marker (Repost)

2004-12-02 03:56:34
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!


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


_________________________________________________________________
Chat with thousands of singles. http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?74 Only on BharatMatrimony.com's Instant Messenger.


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>
  • FW: Problem with fo:marker/fo:retrieve-marker (Repost), Arun Sinha <=