Hi Deepthi,

It's me again. :-) Table footer is not quite the correct component. What you 
really would like are table-marker. But table marker is not implemented, so 
what you can use is an ordinary marker to place the "Contd..." in the page 
footer. Basically what you do is: At the beginning of your table, you define a 
marker saying "Contd...". At the end of your table you define an empty marker. 
In your footer you retrieve the last marker on the page. If the table is 
completely on the page, the last marker is empty, otherwise you get the 
"Contd..." marker. Take care you don't run into a page break between your 
content and your marker. I had a situation where the last visible content was 
on the first page, but the marker block was on the second page which resulted 
in the wrong marker being displayed. 

Example for table with "Contd..." text:

<fo:block line-height="14pt" space-after="8.504pt">
        <fo:block line-height="8pt" keep-with-next.within-page="always" 
keep-with-next.within-column="always">
                <fo:marker marker-class-name="DT-continued">
                        <fo:block line-height="8pt" text-indent="127.559pt">
                                <fo:inline font-family="arial unicode ms" 
font-size="8pt" line-height="8pt">Contd...</fo:inline>
                        </fo:block>
                </fo:marker>
        </fo:block>
        <fo:table />
        <fo:block keep-with-previous.within-page="always" 
keep-with-previous.within-column="always">
                <fo:marker marker-class-name="DT-continued">
                        <fo:block/>
                </fo:marker>
        </fo:block>
</fo:block>

Example for footer:

<fo:static-content flow-name="left_page_01footer">
        <fo:block-container absolute-position="absolute" left="37.984pt">
                <fo:block>
                        <fo:retrieve-marker retrieve-class-name="DT-continued" 
retrieve-position="last-starting-within-page"/>
                </fo:block>
        </fo:block-container>
</fo:static-content>


Mit freundlichen Grüßen
 
Georg Datterl
 
------ Kontakt ------
 
Georg Datterl
 
Geneon media solutions gmbh
Gutenstetter Straße 8a
90449 Nürnberg
 
HRB Nürnberg: 17193
Geschäftsführer: Yong-Harry Steiert 

Tel.: 0911/36 78 88 - 26
Fax: 0911/36 78 88 - 20
 
www.geneon.de
 
Weitere Mitglieder der Willmy MediaGroup:
 
IRS Integrated Realization Services GmbH:    www.irs-nbg.de 
Willmy PrintMedia GmbH:                            www.willmy.de
Willmy Consult & Content GmbH:                 www.willmycc.de 
-----Ursprüngliche Nachricht-----
Von: k deepthi [mailto:[email protected]] 
Gesendet: Montag, 26. Oktober 2009 08:39
An: FOP Users
Betreff: hide <fo:table-footer> in XSL-FO

Hi Team,
I have a requirement to display Contd...text at the footer, if the table data 
overflows to the next page. But when I am setting <fo:table-footer> with text 
Contd..., it is displaying the same thing at the footer even if table data is 
ended. Please suggest me how to specify a footer that will not repeat at the 
end of table content. Also find the attachment for the footer issue.
 
 
Regards
Deepthi.

________________________________

Connect more, do more and share more with Yahoo! India Mail. Learn more 
<http://in.rd.yahoo.com/tagline_galaxy_3/*http://in.overview.mail.yahoo.com/> .

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to