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]
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
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, > > and are your best friends here. > Example: > > >marker-class-name="continued"> > ... > > > > Header retrieve-class-name="continued"/> > > > > > >marker-class-name="continued">cont. > content... > > > > > > 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
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, > > and are your best > friends here. Example: > > >marker-class-name="continued"> > ... > > > > Header retrieve-class-name="continued"/> > > > > > >marker-class-name="continued">cont. > content... > > > > > > 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, > > and are your best > friends here. Example: > > >marker-class-name="continued"> > ... > > > > Header retrieve-class-name="continued"/> > > > > > >marker-class-name="continued">cont. > content... > > > > > > 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 Prakash, If you are using FOP 0.20.x, you will find what you need here: http://xmlgraphics.apache.org/fop/0.20.5/extensions.html#table-continue-label If you are using FOP Trunk, check when this extension will be implemented (at http://xmlgraphics.apache.org/fop/trunk/extensions.html#table-continue-label). Pascal > -Message d'origine- > De : Sascha Schmidt [mailto:[EMAIL PROTECTED] > Envoyé : samedi 19 novembre 2005 14:07 > > and are your best friends > here. Example: > > > > ... > > > > Header retrieve-class-name="continued"/> > > > > > > cont. > content... > > > > > > Cheers, > Sascha > > -Original Message- > From: Prakash R [mailto:[EMAIL PROTECTED] > Sent: Saturday, November 19, 2005 8:23 AM > > 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? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Long Table repeat header
Hi, and are your best friends here. Example: ... Header cont. content... 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]