Hi Deepthi, 

First I hope, you did not really include the commented version, since that 
would result not only in incorrect fo, but also in incorrect xml. 
Second, the code I send you (still attached down below) consists of two parts. 
One part defines the markers and attaches them to the table, the second part is 
the footer, which retrieves the last marker on the page and actually displays 
it. If you want to see a complete, working example of a "table continued on 
next page" marker, see the "confusing tables again"-Thread for fo files and 
(just added now) images. But that's just an expanded version of the code donw 
below in this mail.

Regards,
 
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 11:40
An: [email protected]
Betreff: Re: AW: AW: AW: hide <fo:table-footer> in XSL-FO

Hi Georg,
I have included the code as
 
<fo:block line-height="14pt" space-after="8.504pt"> <-- Here starts the whole 
block. Any break in this block should generate a Contd-Text 
            <fo:block line-height="8pt" keep-with-next.within-page="always" 
keep-with-next.within-column="always"> <-- Needed to keep the marker on the 
same page as the content
                <fo:marker marker-class-name="DT-continued"> <-- Here starts 
the first marker
                    <fo:block line-height="8pt" text-indent="127.559pt"> <-- It 
contains a block with the text Contd...
                        <fo:inline font-family="arial unicode ms" 
font-size="8pt" line-height="8pt">Contd...</fo:inline>
                    </fo:block>
                </fo:marker> <-- End of the first marker
            </fo:block>
<fo:table> <---- My table with content
 <fo:block keep-with-previous.within-page="always" 
keep-with-previous.within-column="always"> <-- Again a block to keep on the 
same page
                <fo:marker marker-class-name="DT-continued"> <-- Here starts 
your second marker
                    <fo:block/> <-- The marker is empty
                </fo:marker>
            </fo:block>
        </fo:block>

But this doesn't work. 
 
Regards
Deepthi.


--- On Mon, 26/10/09, Georg Datterl <[email protected]> wrote:



        From: Georg Datterl <[email protected]>
        Subject: AW: AW: AW: hide <fo:table-footer> in XSL-FO
        To: [email protected]
        Date: Monday, 26 October, 2009, 3:58 PM
        
        
        Hi Deepthi, 
        
        You did include the second code snippet, the page footer, didn't you? 
That's where the Contd... will appear. From the PDF I can see the text doesn't 
appear, but I can of course not even guess WHY it doesn't appear...
        
        Regards,
        
        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] 
<http://in.mc87.mail.yahoo.com/mc/[email protected]> ] 
        Gesendet: Montag, 26. Oktober 2009 11:23
        An: [email protected] 
<http://in.mc87.mail.yahoo.com/mc/[email protected]> 
        Betreff: Re: AW: AW: hide <fo:table-footer> in XSL-FO
        
        Hi Georg,
        I have commented the <fo:table-footer> and added the code with your 
marker code before and after the table. But Contd... text was missing. Please 
find the pdf of two pages in the document that got produced at my end.
        
        Regards
        Deepthi.
        
        --- On Mon, 26/10/09, Georg Datterl <[email protected] 
<http://in.mc87.mail.yahoo.com/mc/[email protected]> > wrote:
        
        
        
            From: Georg Datterl <[email protected] 
<http://in.mc87.mail.yahoo.com/mc/[email protected]> >
            Subject: AW: AW: hide <fo:table-footer> in XSL-FO
            To: [email protected] 
<http://in.mc87.mail.yahoo.com/mc/[email protected]> 
            Date: Monday, 26 October, 2009, 2:46 PM
            
            
            Hi Deepthi, 
            
            Actually, my code already contains the marker. Just add your table 
between the markers, where I put an empty <table> tag and enjoy.
            
                <fo:block line-height="14pt" space-after="8.504pt"> <-- Here 
starts the whole block. Any break in this block should generate a Contd-Text 
                    <fo:block line-height="8pt" 
keep-with-next.within-page="always" keep-with-next.within-column="always"> <-- 
Needed to keep the marker on the same page as the content
                        <fo:marker marker-class-name="DT-continued"> <-- Here 
starts the first marker
                            <fo:block line-height="8pt" 
text-indent="127.559pt"> <-- It contains a block with the text Contd...
                                <fo:inline font-family="arial unicode ms" 
font-size="8pt" line-height="8pt">Contd...</fo:inline>
                            </fo:block>
                        </fo:marker> <-- End of the first marker
                    </fo:block> 
                    <fo:table /> <-- Here is your page content. Table, List, 
whatever
                    <fo:block keep-with-previous.within-page="always" 
keep-with-previous.within-column="always"> <-- Again a block to keep on the 
same page
                        <fo:marker marker-class-name="DT-continued"> <-- Here 
starts your second marker
                            <fo:block/> <-- The marker is empty
                        </fo:marker>
                    </fo:block>
                </fo:block>
            
            Regards,
            
            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] 
<http://in.mc87.mail.yahoo.com/mc/[email protected]>  
<http://in.mc87.mail.yahoo.com/mc/[email protected]> ] 
            Gesendet: Montag, 26. Oktober 2009 10:09
            An: [email protected] 
<http://in.mc87.mail.yahoo.com/mc/[email protected]>  
<http://in.mc87.mail.yahoo.com/mc/[email protected]> 
            Betreff: Re: AW: hide <fo:table-footer> in XSL-FO
            
            Hi Georg,
            I dint understand the code where I have to specify to stop 
Contd..Can you specify the marker in <fo:table> like..
            <fo:table>
            ......
            <fo:table-body>
            ....
            ...</fo:table-body>
            </fo:table>
            
            Only in <fo:table-cell>s we use blocks.
            
            Thanks
            Deepthi.
            
            --- On Mon, 26/10/09, Georg Datterl <[email protected] 
<http://in.mc87.mail.yahoo.com/mc/[email protected]>  
<http://in.mc87.mail.yahoo.com/mc/[email protected]> > wrote:
            
            
            
                From: Georg Datterl <[email protected] 
<http://in.mc87.mail.yahoo.com/mc/[email protected]>  
<http://in.mc87.mail.yahoo.com/mc/[email protected]> >
                Subject: AW: hide <fo:table-footer> in XSL-FO
                To: [email protected] 
<http://in.mc87.mail.yahoo.com/mc/[email protected]>  
<http://in.mc87.mail.yahoo.com/mc/[email protected]> 
                Date: Monday, 26 October, 2009, 2:20 PM
                
                
                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] 
<http://in.mc87.mail.yahoo.com/mc/[email protected]>  
<http://in.mc87.mail.yahoo.com/mc/[email protected]>  
<http://in.mc87.mail.yahoo.com/mc/[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] 
<http://in.mc87.mail.yahoo.com/mc/[email protected]>
  
<http://in.mc87.mail.yahoo.com/mc/[email protected]>
  
<http://in.mc87.mail.yahoo.com/mc/[email protected]>
 
                For additional commands, e-mail: 
[email protected] 
<http://in.mc87.mail.yahoo.com/mc/[email protected]>
  
<http://in.mc87.mail.yahoo.com/mc/[email protected]>
  
<http://in.mc87.mail.yahoo.com/mc/[email protected]>
 
                
                
            
            
            ________________________________
            
            Add whatever you love to the Yahoo! India homepage. Try now! 
<http://in.rd.yahoo.com/tagline_metro_3/*http://in.yahoo.com/trynew> 
            
            
---------------------------------------------------------------------
            To unsubscribe, e-mail: 
[email protected] 
<http://in.mc87.mail.yahoo.com/mc/[email protected]>
  
<http://in.mc87.mail.yahoo.com/mc/[email protected]>
 
            For additional commands, e-mail: 
[email protected] 
<http://in.mc87.mail.yahoo.com/mc/[email protected]>
  
<http://in.mc87.mail.yahoo.com/mc/[email protected]>
 
            
            
        
        
        ________________________________
        
        Try the new Yahoo! India Homepage. Click here 
<http://in.rd.yahoo.com/tagline_metro_1/*http://in.yahoo.com/trynew> .
        
        ---------------------------------------------------------------------
        To unsubscribe, e-mail: [email protected] 
<http://in.mc87.mail.yahoo.com/mc/[email protected]>
 
        For additional commands, e-mail: [email protected] 
<http://in.mc87.mail.yahoo.com/mc/[email protected]>
 
        
        


________________________________

Try the new Yahoo! India Homepage. Click here 
<http://in.rd.yahoo.com/tagline_metro_1/*http://in.yahoo.com/trynew> .

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

Reply via email to