|
View:
New views
9 Messages
—
Rating Filter:
Alert me
|
|
|
hide <fo:table-footer> in XSL-FO
Connect more, do more and share more with Yahoo! India Mail. Learn more. --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscribe@... For additional commands, e-mail: fop-users-help@... |
|
|
|
AW: hide <fo:table-footer> in XSL-FOHi 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:kdeepsmca@...] 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: fop-users-unsubscribe@... For additional commands, e-mail: fop-users-help@... |
|
|
|
Re: AW: hide <fo:table-footer> in XSL-FO
Add whatever you love to the Yahoo! India homepage. Try now! |
|
|
|
AW: AW: hide <fo:table-footer> in XSL-FOHi 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:kdeepsmca@...] Gesendet: Montag, 26. Oktober 2009 10:09 An: fop-users@... 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 <georg.datterl@...> wrote: From: Georg Datterl <georg.datterl@...> Subject: AW: hide <fo:table-footer> in XSL-FO To: fop-users@... 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:kdeepsmca@... <http://in.mc87.mail.yahoo.com/mc/compose?to=kdeepsmca@...> ] 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: fop-users-unsubscribe@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-unsubscribe@...> For additional commands, e-mail: fop-users-help@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-help@...> ________________________________ 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: fop-users-unsubscribe@... For additional commands, e-mail: fop-users-help@... |
|
|
|
Re: AW: AW: hide <fo:table-footer> in XSL-FO
Keep up with people you care about with Yahoo! India Mail. Learn how. |
|
|
|
|
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
|
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.
|
| Free embeddable forum powered by Nabble | Forum Help |