Re: Table continuation headers

2012-07-02 Thread gavin bowe
Aha, of course. Thank you. It would probably be better that I ask my 
other questions in a more appropriate forum.


On 01/07/2012 15:50, Glenn Adams wrote:
better to use text-align=start instead of left for correct 
handling of both lr and rl writing modes


On Sun, Jul 1, 2012 at 8:36 AM, gavin bowe gavin.b...@oracle.com 
mailto:gavin.b...@oracle.com wrote:


Thanks Craig,

That's a handy workaround - although you can only use
fo:retrieve-marker within static content as far as I understand
such things. It would be good to know how to access the formal
table number (shown as $tabNum in the extract below).

The XSL for the continuation text would also need to be
internationalized and new localized entries created in the
customization layer files for each supported language. I'm not
quite sure how to implement the I18n bit - any key pointers
would be welcome. I expect that the placement of the text might
also need to be internationalized to support languages that don't
read from top left to bottom right.

Gavin

On 26/06/2012 23:47, Craig Christophersen wrote:

There is a way to accomplish this currently using
retrieve-markers.
In fo:page-sequence element
fo:static-content flow-name=xsl-region-before
fo:table table-layout=fixed width=100%
border-bottom-style=solid height=18mm
fo:table-column column-width=70mm/
fo:table-column column-width=118mm/
fo:table-body
fo:table-row height=6mm
fo:table-cell
fo:block font-size=11pt text-align=left font-weight=bold

/fo:block
/fo:table-cell
fo:table-cell

/fo:table-cell
/fo:table-row
fo:table-row height=6mm
fo:table-cell number-columns-spanned=2
fo:block font-size=11pt text-align=left font-weight=bold
xsl:value-of select=$pmc/
/fo:block
/fo:table-cell
/fo:table-row

/fo:table-body
/fo:table

fo:block font-size=10pt font-style=italic
padding-before=2mm  padding-after=2mm text-align=center
fo:retrieve-marker retrieve-class-name=tab_continued
retrieve-position=first-starting-within-page
retrieve-boundary=page/

/fo:block


/fo:static-content

Then in fo:table-header element:
xsl:for-each select=row
fo:table-row
fo:table-cell
fo:marker marker-class-name=tab_continued
fo:block font-size=10pt text-indent=5mm
font-style=italic text-align=center
keep-with-next=always padding-before=1mm padding-after=1mm

fo:inline border-bottom-style=solid  border-width=.5pt
 
  Tablexsl:value-of

select=$tabNum/#xa0; (Continued)
/fo:inline

/fo:block
/fo:marker
/fo:table-cell
/fo:table-row
fo:table-row   Then formatting for other rows.

Then in fo:table-body element:

xsl:for-each select=row

xsl:if test=not(parent::tbody/preceding-sibling::thead)
fo:table-row padding-after=2mm
fo:table-cell padding-after=2mm
fo:marker marker-class-name=tab_continued
fo:block font-size=10pt text-indent=5mm
font-style=italic text-align=center
keep-with-next=always padding-before=1mm padding-after=2mm

fo:inline border-bottom-style=solid  border-width=.5pt
 
 
Tablexsl:value-of select=$tabNum/#xa0;

(Continued)
/fo:inline

/fo:block
/fo:marker
/fo:table-cell
/fo:table-row
/xsl:if
fo:table-row !-- other row formatting --

It takes a bit getting this to work, but it does work.  Here
is a link that helps:
http://www.dpawson.co.uk/xsl/sect3/markers.html#d14055e100
Also there is more info out there if you search.  Might even
be some on this in users forum.

Hope it helps, Craig


-
To unsubscribe, e-mail:
fop-users-unsubscr...@xmlgraphics.apache.org
mailto:fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail:
fop-users-h...@xmlgraphics.apache.org
mailto:fop-users-h...@xmlgraphics.apache.org




RE: Table continuation headers

2012-07-02 Thread Craig Christophersen
The value for variable $tabNum is achievied by using xsl:number and count 
attribute to count the tables in the source xml, from whatever node you want to 
count from relative to the current table node.

 

From: gavin bowe [mailto:gavin.b...@oracle.com] 
Sent: Monday, July 02, 2012 1:10 AM
To: fop-users@xmlgraphics.apache.org
Subject: Re: Table continuation headers

 

Aha, of course. Thank you. It would probably be better that I ask my other 
questions in a more appropriate forum. 

On 01/07/2012 15:50, Glenn Adams wrote: 

better to use text-align=start instead of left for correct handling of both 
lr and rl writing modes

On Sun, Jul 1, 2012 at 8:36 AM, gavin bowe gavin.b...@oracle.com wrote:

Thanks Craig,

That's a handy workaround - although you can only use fo:retrieve-marker 
within static content as far as I understand such things. It would be good to 
know how to access the formal table number (shown as $tabNum in the extract 
below).

The XSL for the continuation text would also need to be internationalized and 
new localized entries created in the customization layer files for each 
supported language. I'm not quite sure how to implement the I18n bit - any 
key pointers would be welcome. I expect that the placement of the text might 
also need to be internationalized to support languages that don't read from top 
left to bottom right.

Gavin

On 26/06/2012 23:47, Craig Christophersen wrote:

There is a way to accomplish this currently using retrieve-markers.
In fo:page-sequence element
fo:static-content flow-name=xsl-region-before
fo:table table-layout=fixed 
width=100% border-bottom-style=solid height=18mm
fo:table-column 
column-width=70mm/
fo:table-column 
column-width=118mm/
fo:table-body
fo:table-row 
height=6mm
fo:table-cell

fo:block font-size=11pt text-align=left font-weight=bold


/fo:block
/fo:table-cell
fo:table-cell

/fo:table-cell
/fo:table-row
fo:table-row 
height=6mm
fo:table-cell 
number-columns-spanned=2

fo:block font-size=11pt text-align=left font-weight=bold

xsl:value-of select=$pmc/

/fo:block
/fo:table-cell
/fo:table-row

/fo:table-body
/fo:table

fo:block font-size=10pt 
font-style=italic padding-before=2mm  padding-after=2mm 
text-align=center
fo:retrieve-marker 
retrieve-class-name=tab_continued 
retrieve-position=first-starting-within-page retrieve-boundary=page/

/fo:block


/fo:static-content

Then in fo:table-header element:
xsl:for-each select=row
fo:table-row

fo:table-cell

fo:marker marker-class-name=tab_continued

fo:block font-size=10pt text-indent=5mm 
font-style=italic text-align=center keep-with-next=always 
padding-before=1mm padding-after=1mm



fo:inline border-bottom-style=solid  
border-width=.5pt

Re: Table continuation headers

2012-07-01 Thread gavin bowe

Thanks Craig,

That's a handy workaround - although you can only use 
fo:retrieve-marker within static content as far as I understand such 
things. It would be good to know how to access the formal table number 
(shown as $tabNum in the extract below).


The XSL for the continuation text would also need to be 
internationalized and new localized entries created in the customization 
layer files for each supported language. I'm not quite sure how to 
implement the I18n bit - any key pointers would be welcome. I expect 
that the placement of the text might also need to be internationalized 
to support languages that don't read from top left to bottom right.


Gavin

On 26/06/2012 23:47, Craig Christophersen wrote:

There is a way to accomplish this currently using retrieve-markers.
In fo:page-sequence element
fo:static-content flow-name=xsl-region-before
fo:table table-layout=fixed width=100% 
border-bottom-style=solid height=18mm
fo:table-column 
column-width=70mm/
fo:table-column 
column-width=118mm/
fo:table-body
fo:table-row 
height=6mm
fo:table-cell
fo:block font-size=11pt 
text-align=left font-weight=bold


/fo:block
/fo:table-cell
fo:table-cell

/fo:table-cell
/fo:table-row
fo:table-row 
height=6mm
fo:table-cell 
number-columns-spanned=2
fo:block font-size=11pt 
text-align=left font-weight=bold

xsl:value-of select=$pmc/

/fo:block
/fo:table-cell
/fo:table-row

/fo:table-body
/fo:table

fo:block font-size=10pt font-style=italic 
padding-before=2mm  padding-after=2mm text-align=center
fo:retrieve-marker 
retrieve-class-name=tab_continued retrieve-position=first-starting-within-page 
retrieve-boundary=page/

/fo:block


/fo:static-content

Then in fo:table-header element:
xsl:for-each select=row
fo:table-row
  
  fo:table-cell

fo:marker marker-class-name=tab_continued
fo:block font-size=10pt 
text-indent=5mm font-style=italic text-align=center keep-with-next=always padding-before=1mm 
padding-after=1mm


  
  fo:inline border-bottom-style=solid  border-width=.5pt

Tablexsl:value-of select=$tabNum/#xa0; (Continued)
  
  /fo:inline


  
  /fo:block
  
  /fo:marker
  
  /fo:table-cell
   

Re: Table continuation headers

2012-07-01 Thread Glenn Adams
better to use text-align=start instead of left for correct handling of
both lr and rl writing modes

On Sun, Jul 1, 2012 at 8:36 AM, gavin bowe gavin.b...@oracle.com wrote:

 Thanks Craig,

 That's a handy workaround - although you can only use fo:retrieve-marker
 within static content as far as I understand such things. It would be good
 to know how to access the formal table number (shown as $tabNum in the
 extract below).

 The XSL for the continuation text would also need to be internationalized
 and new localized entries created in the customization layer files for each
 supported language. I'm not quite sure how to implement the I18n bit - any
 key pointers would be welcome. I expect that the placement of the text
 might also need to be internationalized to support languages that don't
 read from top left to bottom right.

 Gavin

 On 26/06/2012 23:47, Craig Christophersen wrote:

 There is a way to accomplish this currently using retrieve-markers.
 In fo:page-sequence element
 fo:static-content flow-name=xsl-region-before
 fo:table table-layout=fixed
 width=100% border-bottom-style=solid height=18mm
 fo:table-column
 column-width=70mm/
 fo:table-column
 column-width=118mm/
 fo:table-body
 fo:table-row
 height=6mm

 fo:table-cell

 fo:block font-size=11pt text-align=left font-weight=bold


 /fo:block

 /fo:table-cell

 fo:table-cell


 /fo:table-cell
 /fo:table-row
 fo:table-row
 height=6mm

 fo:table-cell number-columns-spanned=2

 fo:block font-size=11pt text-align=left font-weight=bold

   xsl:value-of select=$pmc/

 /fo:block

 /fo:table-cell
 /fo:table-row

 /fo:table-body
 /fo:table

 fo:block font-size=10pt
 font-style=italic padding-before=2mm  padding-after=2mm
 text-align=center

 fo:retrieve-marker retrieve-class-name=tab_**continued
 retrieve-position=first-**starting-within-page
 retrieve-boundary=page/

 /fo:block


 /fo:static-content

 Then in fo:table-header element:
 xsl:for-each select=row
 fo:table-row

   fo:table-cell

   fo:marker marker-class-name=tab_**continued

   fo:block font-size=10pt text-indent=5mm
 font-style=italic text-align=center keep-with-next=always
 padding-before=1mm padding-after=1mm



   fo:inline
 border-bottom-style=solid  border-width=.5pt

   Tablexsl:value-of select=$tabNum/#xa0;
 (Continued)

   /fo:inline



   /fo:block

   /fo:marker

   /fo:table-cell

   /fo:table-row
 fo:table-row   Then formatting for other rows.

 Then in fo:table-body element:

 xsl:for-each select=row



   xsl:if test=not(parent::tbody/**
 preceding-sibling::thead)

   fo:table-row padding-after=2mm

   fo:table-cell padding-after=2mm

   fo:marker marker-class-name=tab_*
 *continued

   fo:block font-size=10pt
 text-indent=5mm font-style=italic text-align=center
 keep-with-next=always padding-before=1mm padding-after=2mm



   fo:inline
 border-bottom-style=solid  border-width=.5pt


 Tablexsl:value-of select=$tabNum/#xa0; (Continued)

   /fo:inline



   /fo:block

   /fo:marker

   /fo:table-cell

   /fo:table-row

   /xsl:if

   fo:table-row  !-- other row formatting --

 It takes a bit getting this to work, but it does work.  Here is a link
 that helps:
 http://www.dpawson.co.uk/xsl/**sect3/markers.html#d14055e100http://www.dpawson.co.uk/xsl/sect3/markers.html#d14055e100
 Also there is more info out there if you search.  Might even be some on
 this in users forum.

 Hope it helps, Craig


 --**--**-
 To unsubscribe, e-mail: 
 fop-users-unsubscribe@**xmlgraphics.apache.orgfop-users-unsubscr...@xmlgraphics.apache.org
 For additional commands, e-mail: 
 fop-users-help@xmlgraphics.**apache.orgfop-users-h...@xmlgraphics.apache.org




Re: Table continuation headers

2012-06-29 Thread Chris Bowditch

On 28/06/2012 14:21, Stefan Hinz wrote:

Hi Luis,


Hi Stefan,




Incidentally I started looking at this recently but it will be a couple
of months before I am able to show some code. I haven't written anything
so far but I found there is already some code in FOP for table markers.
So we don't need to start from zero.


So does this mean that table continuation headers *are* on the 
roadmap, or at least on the radar?


Yes. Table-marker support is on the roadmap, but other bugs/issues keep 
getting in the way of implementing them, so we can't give you a firm ETA 
on when they will be supported.


Thanks,

Chris


-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: Table continuation headers

2012-06-29 Thread Stefan Hinz

Thanks, Chris! Good to hear this is on the radar!

Stefan

On 29.06.2012 17:47, Chris Bowditch wrote:

On 28/06/2012 14:21, Stefan Hinz wrote:

Hi Luis,


Hi Stefan,




Incidentally I started looking at this recently but it will be a couple
of months before I am able to show some code. I haven't written anything
so far but I found there is already some code in FOP for table markers.
So we don't need to start from zero.


So does this mean that table continuation headers *are* on the
roadmap, or at least on the radar?


Yes. Table-marker support is on the roadmap, but other bugs/issues keep
getting in the way of implementing them, so we can't give you a firm ETA
on when they will be supported.

Thanks,

Chris


-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org




--
Cheers,

Stefan Hinz stefan.h...@oracle.com, MySQL Documentation Manager

Phone: +49-30-82702940, Fax: +49-30-82702941, http://dev.mysql.com/doc

ORACLE Deutschland B.V.  Co. KG
Registered Office: Riesstr. 25, 80992 Muenchen, Germany
Commercial Register: Local Court Of Munich, HRA 95603
Managing Director: Jürgen Kunz

General Partner: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Register Of Chamber Of Commerce: Midden-Niederlande, No. 30143697
Managing Directors: Alexander van der Ven, Astrid Kepper, Val Maher



-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: Table continuation headers

2012-06-28 Thread Stefan Hinz
)

fo:table-row padding-after=2mm

fo:table-cell padding-after=2mm

fo:marker marker-class-name=tab_continued
fo:block 
font-size=10pt text-indent=5mm font-style=italic text-align=center keep-with-next=always 
padding-before=1mm padding-after=2mm 


  
  fo:inline border-bottom-style=solid  
border-width=.5pt

Table xsl:value-of 
select=$tabNum/#xa0; (Continued)
  
  /fo:inline


  
  /fo:block
  
  /fo:marker
  
  /fo:table-cell
  
  /fo:table-row
  
  /xsl:if

fo:table-row  !-- other row formatting --

It takes a bit getting this to work, but it does work.  Here is a link that 
helps:
http://www.dpawson.co.uk/xsl/sect3/markers.html#d14055e100
Also there is more info out there if you search.  Might even be some on this in 
users forum.

Hope it helps, Craig



-Original Message-
From: Luis Bernardo [mailto:lmpmberna...@gmail.com]
Sent: Tuesday, June 26, 2012 3:34 PM
To: fop-users@xmlgraphics.apache.org
Subject: Re: Table continuation headers


Incidentally I started looking at this recently but it will be a couple of 
months before I am able to show some code. I haven't written anything so far 
but I found there is already some code in FOP for table markers.
So we don't need to start from zero.


On 6/25/12 4:34 PM, Stefan Hinz wrote:

Thanks for confirming, Glenn!

Cheers,

Stefan

On 25.06.2012 16:17, Glenn Adams wrote:


On Mon, Jun 25, 2012 at 4:06 AM, Stefan Hinz stefan.h...@oracle.com
mailto:stefan.h...@oracle.com wrote:

 Below is an explanation sent on behalf of my colleague Gavin who's
 just joined this list. He's mostly citing from Bob's fine book.
:-)


Thanks for Gavin's input, which is accurate to my knowledge.

 My understanding is that FOP 1.0 does not support the use of the
 |retrieve-table-marker| property with tables, and is unlikely to do
 so in the near future. See
 http://xmlgraphics.apache.org/fop/compliance.html, which implies
 that the property will likely not be supported in 1.1(?). A modified
 table header isn't an ideal solution - I'd prefer to insert a
 modified table title as in the XEP |rx:table-omit-initial-header|
 extension - but it would be better than nothing.


Correct, FOP does not currently support retrieve-table-marker. There
has been no activity on implementing this feature, so it definitely
will not be in FOP 1.1. I can't say when a patch or a volunteer will
materialize to work on this, so it will remain TBD until that time.

G.








-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org


-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org




--
Cheers,

Stefan Hinz stefan.h...@oracle.com, MySQL Documentation Manager

Phone: +49-30-82702940, Fax: +49-30-82702941, http://dev.mysql.com/doc

ORACLE Deutschland B.V.  Co. KG
Registered Office: Riesstr. 25, 80992 Muenchen, Germany
Commercial Register: Local Court Of Munich, HRA 95603
Managing Director: Jürgen Kunz

General Partner: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Register Of Chamber Of Commerce: Midden-Niederlande

Re: Table continuation headers

2012-06-28 Thread Stefan Hinz

Hi Luis,


Incidentally I started looking at this recently but it will be a couple
of months before I am able to show some code. I haven't written anything
so far but I found there is already some code in FOP for table markers.
So we don't need to start from zero.


So does this mean that table continuation headers *are* on the roadmap, 
or at least on the radar?


--
Cheers,

Stefan Hinz stefan.h...@oracle.com, MySQL Documentation Manager

Phone: +49-30-82702940, Fax: +49-30-82702941, http://dev.mysql.com/doc

ORACLE Deutschland B.V.  Co. KG
Registered Office: Riesstr. 25, 80992 Muenchen, Germany
Commercial Register: Local Court Of Munich, HRA 95603
Managing Director: Jürgen Kunz

General Partner: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Register Of Chamber Of Commerce: Midden-Niederlande, No. 30143697
Managing Directors: Alexander van der Ven, Astrid Kepper, Val Maher



-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: Table continuation headers

2012-06-26 Thread Luis Bernardo


Incidentally I started looking at this recently but it will be a couple 
of months before I am able to show some code. I haven't written anything 
so far but I found there is already some code in FOP for table markers. 
So we don't need to start from zero.



On 6/25/12 4:34 PM, Stefan Hinz wrote:

Thanks for confirming, Glenn!

Cheers,

Stefan

On 25.06.2012 16:17, Glenn Adams wrote:


On Mon, Jun 25, 2012 at 4:06 AM, Stefan Hinz stefan.h...@oracle.com
mailto:stefan.h...@oracle.com wrote:

Below is an explanation sent on behalf of my colleague Gavin who's
just joined this list. He's mostly citing from Bob's fine book. :-)


Thanks for Gavin's input, which is accurate to my knowledge.

My understanding is that FOP 1.0 does not support the use of the
|retrieve-table-marker| property with tables, and is unlikely to do
so in the near future. See
http://xmlgraphics.apache.org/fop/compliance.html, which implies
that the property will likely not be supported in 1.1(?). A modified
table header isn't an ideal solution - I'd prefer to insert a
modified table title as in the XEP |rx:table-omit-initial-header|
extension - but it would be better than nothing.


Correct, FOP does not currently support retrieve-table-marker. There has
been no activity on implementing this feature, so it definitely will not
be in FOP 1.1. I can't say when a patch or a volunteer will materialize
to work on this, so it will remain TBD until that time.

G.








-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



RE: Table continuation headers

2012-06-26 Thread Craig Christophersen

fo:table-cell padding-after=2mm

fo:marker marker-class-name=tab_continued

fo:block font-size=10pt 
text-indent=5mm font-style=italic text-align=center 
keep-with-next=always padding-before=1mm padding-after=2mm 



fo:inline 
border-bottom-style=solid  border-width=.5pt

Table xsl:value-of 
select=$tabNum/#xa0; (Continued)

/fo:inline



/fo:block

/fo:marker

/fo:table-cell

/fo:table-row

/xsl:if

fo:table-row  !-- other row formatting --

It takes a bit getting this to work, but it does work.  Here is a link that 
helps:
http://www.dpawson.co.uk/xsl/sect3/markers.html#d14055e100
Also there is more info out there if you search.  Might even be some on this in 
users forum.

Hope it helps, Craig



-Original Message-
From: Luis Bernardo [mailto:lmpmberna...@gmail.com] 
Sent: Tuesday, June 26, 2012 3:34 PM
To: fop-users@xmlgraphics.apache.org
Subject: Re: Table continuation headers


Incidentally I started looking at this recently but it will be a couple of 
months before I am able to show some code. I haven't written anything so far 
but I found there is already some code in FOP for table markers. 
So we don't need to start from zero.


On 6/25/12 4:34 PM, Stefan Hinz wrote:
 Thanks for confirming, Glenn!

 Cheers,

 Stefan

 On 25.06.2012 16:17, Glenn Adams wrote:

 On Mon, Jun 25, 2012 at 4:06 AM, Stefan Hinz stefan.h...@oracle.com 
 mailto:stefan.h...@oracle.com wrote:

 Below is an explanation sent on behalf of my colleague Gavin who's
 just joined this list. He's mostly citing from Bob's fine book. 
 :-)


 Thanks for Gavin's input, which is accurate to my knowledge.

 My understanding is that FOP 1.0 does not support the use of the
 |retrieve-table-marker| property with tables, and is unlikely to do
 so in the near future. See
 http://xmlgraphics.apache.org/fop/compliance.html, which implies
 that the property will likely not be supported in 1.1(?). A modified
 table header isn't an ideal solution - I'd prefer to insert a
 modified table title as in the XEP |rx:table-omit-initial-header|
 extension - but it would be better than nothing.


 Correct, FOP does not currently support retrieve-table-marker. There 
 has been no activity on implementing this feature, so it definitely 
 will not be in FOP 1.1. I can't say when a patch or a volunteer will 
 materialize to work on this, so it will remain TBD until that time.

 G.






-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org


-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: Table continuation headers

2012-06-25 Thread Stefan Hinz

  
  
Hi Glenn,
  
  Below is an explanation sent on behalf of my colleague Gavin who's
  just joined this list. He's mostly citing from Bob's fine book.  :-) 
  
  Apparently, this seems to answer the question I raised, albeit not
  in a way that I'd have preferred. 
  :-\ 
  
  If you're aware of anything different let me know; thanks much!
  
  Cheers,
  
  Stefan
  Quote from DocBookXSL: The Complete Guide 4th edition
by Bob Stayton:
  --- begin---
  
  A "continued" label for long tables is not a standard feature
of XSL-FO 1.0. It is supported in XSL-FO 1.1 using the retrieve-table-marker property. Since
version 1.1 became a standard only in December 2006, support for
its features is gradually being added to XSL-FO processors. You
might check your XSL-FO processor documentation to see if that
property is supported. If so, then a different customization is
needed than the one described here. The DocBook XSL stylesheets
will output 1.1 features when more processors support them.
  However, if you are using the XEP processor from RenderX, then
you can use an extension long provided by that processor. The
extension is in the form of an attribute rx:table-omit-initial-header="true"
that is applied to a layout table that wraps around the table
content, but is inside the fo:block
that contains the table title too.
  This strangely-named attribute's function is to prevent a table
header row from appearing on the first page of a table, and
allowing it to appear on any subsequent pages if the table is
long enough to break across a page boundary. You do not use it
on the table's column headings, but rather on a special table
header that repeats the table title along with the "continued"
label. By omitting it on the first page of the table, you get
the behavior you want.
  The additional table header is not in the original fo:table, but in a wrapper table around
it. The wrapper table has one column, the width of the entire
table, one header cell for the continued title, and one body
cell to contain the original fo:table.
When such a table breaks across the page, the new page will
display the continued title, a repeat of the original table
column headings, and then continue the table rows.
  --- end ---
  
  My understanding is that FOP 1.0 does not support the use of the retrieve-table-marker property with
  tables, and is unlikely to do so in the near future. See http://xmlgraphics.apache.org/fop/compliance.html,
  which implies that the property will likely not be supported in
  1.1(?). A modified table header isn't an ideal solution - I'd
  prefer to insert a modified table title as in the XEP rx:table-omit-initial-header extension -
  but it would be better than nothing.
  
  On 22.06.2012 18:33, Glenn Adams wrote:

Perhaps you could describe what language
  features/extensions that XEP uses to do this?
  
  On Fri, Jun 22, 2012 at 8:59 AM, Stefan
Hinz stefan.h...@oracle.com
wrote:
A colleague
  of mine is working to implement company standards for tables.
  In PDF, those standards require table continuation headers, by
  repeating the table title followed by the string "(Continued)"
  at the top of the page.
  
  XEP supports this, but FOP doesn't. Does anyone know of plans
  to support this in FOP in the future?
  
  -- 
  Cheers,
  
  Stefan Hinz stefan.h...@oracle.com,
  MySQL Documentation Manager
  
  Phone: +49-30-82702940,
  Fax: +49-30-82702941, http://dev.mysql.com/doc
  
  ORACLE Deutschland B.V.  Co. KG
  Registered Office: Riesstr. 25, 80992 Muenchen, Germany
  Commercial Register: Local Court Of Munich, HRA 95603
  Managing Director: Jürgen Kunz
  
  General Partner: ORACLE Deutschland Verwaltung B.V.
  Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
  Register Of Chamber Of Commerce: Midden-Niederlande, No.
  30143697
  Managing Directors: Alexander van der Ven, Astrid Kepper, Val
  Maher
  
  -
  To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
  For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
  

  
  



-- 
Cheers,

Stefan Hinz stefan.h...@oracle.com, MySQL Documentation Manager

Phone: +49-30-82702940, Fax: +49-30-82702941, http://dev.mysql.com/doc

ORACLE Deutschland

Re: Table continuation headers

2012-06-25 Thread Glenn Adams
On Mon, Jun 25, 2012 at 4:06 AM, Stefan Hinz stefan.h...@oracle.com wrote:

  Below is an explanation sent on behalf of my colleague Gavin who's just
 joined this list. He's mostly citing from Bob's fine book. :-)


Thanks for Gavin's input, which is accurate to my knowledge.


 My understanding is that FOP 1.0 does not support the use of the
 retrieve-table-marker property with tables, and is unlikely to do so in
 the near future. See http://xmlgraphics.apache.org/fop/compliance.html,
 which implies that the property will likely not be supported in 1.1(?). A
 modified table header isn't an ideal solution - I'd prefer to insert a
 modified table title as in the XEP rx:table-omit-initial-header extension
 - but it would be better than nothing.


Correct, FOP does not currently support retrieve-table-marker. There has
been no activity on implementing this feature, so it definitely will not be
in FOP 1.1. I can't say when a patch or a volunteer will materialize to
work on this, so it will remain TBD until that time.

G.


Re: Table continuation headers

2012-06-25 Thread Stefan Hinz

Thanks for confirming, Glenn!

Cheers,

Stefan

On 25.06.2012 16:17, Glenn Adams wrote:


On Mon, Jun 25, 2012 at 4:06 AM, Stefan Hinz stefan.h...@oracle.com
mailto:stefan.h...@oracle.com wrote:

Below is an explanation sent on behalf of my colleague Gavin who's
just joined this list. He's mostly citing from Bob's fine book. :-)


Thanks for Gavin's input, which is accurate to my knowledge.

My understanding is that FOP 1.0 does not support the use of the
|retrieve-table-marker| property with tables, and is unlikely to do
so in the near future. See
http://xmlgraphics.apache.org/fop/compliance.html, which implies
that the property will likely not be supported in 1.1(?). A modified
table header isn't an ideal solution - I'd prefer to insert a
modified table title as in the XEP |rx:table-omit-initial-header|
extension - but it would be better than nothing.


Correct, FOP does not currently support retrieve-table-marker. There has
been no activity on implementing this feature, so it definitely will not
be in FOP 1.1. I can't say when a patch or a volunteer will materialize
to work on this, so it will remain TBD until that time.

G.




--
Cheers,

Stefan Hinz stefan.h...@oracle.com, MySQL Documentation Manager

Phone: +49-30-82702940, Fax: +49-30-82702941, http://dev.mysql.com/doc

ORACLE Deutschland B.V.  Co. KG
Registered Office: Riesstr. 25, 80992 Muenchen, Germany
Commercial Register: Local Court Of Munich, HRA 95603
Managing Director: Jürgen Kunz

General Partner: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Register Of Chamber Of Commerce: Midden-Niederlande, No. 30143697
Managing Directors: Alexander van der Ven, Astrid Kepper, Val Maher



-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Table continuation headers

2012-06-22 Thread Stefan Hinz
A colleague of mine is working to implement company standards for 
tables. In PDF, those standards require table continuation headers, by 
repeating the table title followed by the string (Continued) at the 
top of the page.


XEP supports this, but FOP doesn't. Does anyone know of plans to support 
this in FOP in the future?


--
Cheers,

Stefan Hinz stefan.h...@oracle.com, MySQL Documentation Manager

Phone: +49-30-82702940, Fax: +49-30-82702941, http://dev.mysql.com/doc

ORACLE Deutschland B.V.  Co. KG
Registered Office: Riesstr. 25, 80992 Muenchen, Germany
Commercial Register: Local Court Of Munich, HRA 95603
Managing Director: Jürgen Kunz

General Partner: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Register Of Chamber Of Commerce: Midden-Niederlande, No. 30143697
Managing Directors: Alexander van der Ven, Astrid Kepper, Val Maher

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: Table continuation headers

2012-06-22 Thread Glenn Adams
Perhaps you could describe what language features/extensions that XEP uses
to do this?

On Fri, Jun 22, 2012 at 8:59 AM, Stefan Hinz stefan.h...@oracle.com wrote:

 A colleague of mine is working to implement company standards for tables.
 In PDF, those standards require table continuation headers, by repeating
 the table title followed by the string (Continued) at the top of the page.

 XEP supports this, but FOP doesn't. Does anyone know of plans to support
 this in FOP in the future?

 --
 Cheers,

 Stefan Hinz stefan.h...@oracle.com, MySQL Documentation Manager

 Phone: +49-30-82702940, Fax: +49-30-82702941, http://dev.mysql.com/doc

 ORACLE Deutschland B.V.  Co. KG
 Registered Office: Riesstr. 25, 80992 Muenchen, Germany
 Commercial Register: Local Court Of Munich, HRA 95603
 Managing Director: Jürgen Kunz

 General Partner: ORACLE Deutschland Verwaltung B.V.
 Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
 Register Of Chamber Of Commerce: Midden-Niederlande, No. 30143697
 Managing Directors: Alexander van der Ven, Astrid Kepper, Val Maher

 --**--**-
 To unsubscribe, e-mail: 
 fop-users-unsubscribe@**xmlgraphics.apache.orgfop-users-unsubscr...@xmlgraphics.apache.org
 For additional commands, e-mail: 
 fop-users-help@xmlgraphics.**apache.orgfop-users-h...@xmlgraphics.apache.org