RE: Long Table repeat header
Isn't it true that fo:retrieve-marker can only be used within a fo:static-content? If so, how will this work? Are there any other options? Thank you. Prakash --- Sascha Schmidt [EMAIL PROTECTED] wrote: Hi, fo:marker and fo:retrieve-marker are your best friends here. Example: fo:flow fo:marker marker-class-name=continued/fo:marker ... fo:table fo:table-header fo:table-row fo:table-cellHeader fo:retrieve-marker retrieve-class-name=continued//fo:table-cell /fo:table-row /fo:table-header fo:table-body fo:table-row fo:table-cell fo:marker marker-class-name=continuedcont./fo:marker content... /fo:table-row /fo:table-body /fo:table /fo:flow Cheers, Sascha -Original Message- From: Prakash R [mailto:[EMAIL PROTECTED] Sent: Saturday, November 19, 2005 8:23 AM To: fop-users@xmlgraphics.apache.org Subject: Long Table repeat header I have a document (FO-PDF) made up of multiple tables. Some of these tables are long and span multiple pages. I want to be able to repeat the header on the next page. But at the same time I want to add the word continued for any subsequent pages. i.e. col1 col2 col3 TABLE HEADER --- jjf jflkds jflkds fjs jflsda jklfds jjf jflkds jflkds fjs jflsda jklfds jjf jflkds jflkds fjs jflsda jklfds --- page break col1 col2 col3 TABLE HEADER (CONTD) --- fjs jflsda jklfds fjs jflsda jklfds col1 col2 col3 TABLE HEADER2 --- fjs jflsda jklfds fjs jflsda jklfds fjs jflsda jklfds --- page break col1 col2 col3 TABLE HEADER3 --- fjs jflsda jklfds fjs jflsda jklfds fjs jflsda jklfds Is there anything in FO that will allow repeating of table header and also modification of table header in subsequent pages? Thank you. Prakash - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Long Table repeat header
Isn't it true that fo:retrieve-marker can only be used within a fo:static-content? If so, how will this work? Are there any other options? Thank you. Prakash --- Sascha Schmidt [EMAIL PROTECTED] wrote: Hi, fo:marker and fo:retrieve-marker are your best friends here. Example: fo:flow fo:marker marker-class-name=continued/fo:marker ... fo:table fo:table-header fo:table-row fo:table-cellHeader fo:retrieve-marker retrieve-class-name=continued//fo:table-cell /fo:table-row /fo:table-header fo:table-body fo:table-row fo:table-cell fo:marker marker-class-name=continuedcont./fo:marker content... /fo:table-row /fo:table-body /fo:table /fo:flow Cheers, Sascha -Original Message- From: Prakash R [mailto:[EMAIL PROTECTED] Sent: Saturday, November 19, 2005 8:23 AM To: fop-users@xmlgraphics.apache.org Subject: Long Table repeat header I have a document (FO-PDF) made up of multiple tables. Some of these tables are long and span multiple pages. I want to be able to repeat the header on the next page. But at the same time I want to add the word continued for any subsequent pages. i.e. col1 col2 col3 TABLE HEADER --- jjf jflkds jflkds fjs jflsda jklfds jjf jflkds jflkds fjs jflsda jklfds jjf jflkds jflkds fjs jflsda jklfds --- page break col1 col2 col3 TABLE HEADER (CONTD) --- fjs jflsda jklfds fjs jflsda jklfds col1 col2 col3 TABLE HEADER2 --- fjs jflsda jklfds fjs jflsda jklfds fjs jflsda jklfds --- page break col1 col2 col3 TABLE HEADER3 --- fjs jflsda jklfds fjs jflsda jklfds fjs jflsda jklfds Is there anything in FO that will allow repeating of table header and also modification of table header in subsequent pages? Thank you. Prakash - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Long Table repeat header
Hi, Yes, you are right, the specification says An fo:retrieve-marker is only permitted as the descendant of an fo:static-content.. But nevertheless it works with FOP 0.20.5. ;-) But maybe the FOP extension (already mentioned by Pascal Sancho) is a cleaner solution: http://xmlgraphics.apache.org/fop/0.20.5/extensions.html#table-continue-labe l I wonder, why fo:retrieve-marker is restricted to static content and not allowed in the flow. Does anybody has an explanation? Cheers, Sascha -Original Message- From: Prakash R [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 22, 2005 6:46 PM To: fop-users@xmlgraphics.apache.org Subject: RE: Long Table repeat header Isn't it true that fo:retrieve-marker can only be used within a fo:static-content? If so, how will this work? Are there any other options? Thank you. Prakash --- Sascha Schmidt [EMAIL PROTECTED] wrote: Hi, fo:marker and fo:retrieve-marker are your best friends here. Example: fo:flow fo:marker marker-class-name=continued/fo:marker ... fo:table fo:table-header fo:table-row fo:table-cellHeader fo:retrieve-marker retrieve-class-name=continued//fo:table-cell /fo:table-row /fo:table-header fo:table-body fo:table-row fo:table-cell fo:marker marker-class-name=continuedcont./fo:marker content... /fo:table-row /fo:table-body /fo:table /fo:flow Cheers, Sascha -Original Message- From: Prakash R [mailto:[EMAIL PROTECTED] Sent: Saturday, November 19, 2005 8:23 AM To: fop-users@xmlgraphics.apache.org Subject: Long Table repeat header I have a document (FO-PDF) made up of multiple tables. Some of these tables are long and span multiple pages. I want to be able to repeat the header on the next page. But at the same time I want to add the word continued for any subsequent pages. i.e. col1 col2 col3 TABLE HEADER --- jjf jflkds jflkds fjs jflsda jklfds jjf jflkds jflkds fjs jflsda jklfds jjf jflkds jflkds fjs jflsda jklfds --- page break col1 col2 col3 TABLE HEADER (CONTD) --- fjs jflsda jklfds fjs jflsda jklfds col1 col2 col3 TABLE HEADER2 --- fjs jflsda jklfds fjs jflsda jklfds fjs jflsda jklfds --- page break col1 col2 col3 TABLE HEADER3 --- fjs jflsda jklfds fjs jflsda jklfds fjs jflsda jklfds Is there anything in FO that will allow repeating of table header and also modification of table header in subsequent pages? Thank you. Prakash - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Long Table repeat header
static-content is usually layed out after the region-body. Only after a region-body is fully processed do you know which elements are on the page and therefore which markers apply. Since markers can contain content of variable height, different content would have an influence on the layout in the region-body and could then trigger a relayout of the region-body, possibly causing changes in active markers etc. etc. The worst case is an infinite loop. :-) On 22.11.2005 21:44:01 Sascha Schmidt wrote: I wonder, why fo:retrieve-marker is restricted to static content and not allowed in the flow. Does anybody has an explanation? Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Long Table repeat header
There's a nice new critter in XSL 1.1, fo:retrieve-table-marker[1][2], that appears to be the legal way of doing what is wanted here. But that will need to wait for implementation in the new version. Glen [1] http://www.w3.org/TR/xsl11/#fo_retrieve-table-marker [2] http://www.w3.org/TR/xsl11/#d0e14560 Jeremias Maerki wrote: static-content is usually layed out after the region-body. Only after a region-body is fully processed do you know which elements are on the page and therefore which markers apply. Since markers can contain content of variable height, different content would have an influence on the layout in the region-body and could then trigger a relayout of the region-body, possibly causing changes in active markers etc. etc. The worst case is an infinite loop. :-) On 22.11.2005 21:44:01 Sascha Schmidt wrote: I wonder, why fo:retrieve-marker is restricted to static content and not allowed in the flow. Does anybody has an explanation? Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]