RE: repeating column cell

2005-02-23 Thread Rymasz Jacky
Well thx alot for your help.
I managed to work it out and it's working perfectly ;)

Jack

-Message d'origine-
De : J.Pietschmann [mailto:[EMAIL PROTECTED]
Envoyé : mar. 22 février 2005 21:22
À : [EMAIL PROTECTED]
Objet : Re: repeating column cell


Rymasz Jacky wrote:
 I'm quite new to FOP and I don't really see what you mean by overlapping
 region-before and marker.
 Can you give me a snippet of code so I can see exactly what you mean?
 In the meantime I'm gonna check in the doc what region-before and marker
are
 doing.

Something like
   ...
   fo:simple-page-master margin-...
 fo:region-body/  !-- fill whole page --
 fo:region-before extent=30mm/ !-- overlap
body by 30mm --
   / ...
   ...
   fo:static-content flow-name=xsl-region-before
 fo:table ... 
  ... table suff, duplicate column settings...
 fo:table-row height=30mm !-- match overlap (or not) --
  fo:table-cell border-top=... duplicate border settings ...
... more border settings (left, right, but not bottom )
fo:block
 fo:retrieve-marker retrieve-class-name=repeating-header
 ... more properties .../
/
  /
  ...
   /
   fo:flow ...
 table ...  !-- the real table --
   ...
   fo:table-cell ... spanning etc. ...
 fo:blockfo:marker marker-class-name=repeating-header
The repeating content/fo:marker
   Therepeating content/fo:block
  /...


Sorry, can't be bothered to write a working example right now. The
marker must be inside the block in the cell, it wont work with the
marker as child of the cell or the row (known defect).

HTH
J.Pietschmann

-
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: repeating column cell

2005-02-22 Thread Rymasz Jacky
Thank you very much for answering ;)

I'm quite new to FOP and I don't really see what you mean by overlapping
region-before and marker.
Can you give me a snippet of code so I can see exactly what you mean?
In the meantime I'm gonna check in the doc what region-before and marker are
doing.
Thx again ;)

Jack

PS: I'm using FOP 0.20.5RC2 for info.


-Message d'origine-
De : J.Pietschmann [mailto:[EMAIL PROTECTED]
Envoyé : lun. 21 février 2005 22:10
À : [EMAIL PROTECTED]
Objet : Re: repeating column cell


Rymasz Jacky wrote:
 I've got a table with 2 colums.
 The first colum is a title (kind of header) and the second column contains
a
 lot of text of unknown size.
 The text in the second coloumn can be so big that it can overlap several
 pages.
 I would like to have the title of the first column to repeat itself from
 page to page

The spec doesn't provide a construct for an easy solution
to your problem.
You can try to fake the effect by using an overlapping
region-before and a marker.

J.Pietschmann

-
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: repeating column cell

2005-02-22 Thread J.Pietschmann
Rymasz Jacky wrote:
I'm quite new to FOP and I don't really see what you mean by overlapping
region-before and marker.
Can you give me a snippet of code so I can see exactly what you mean?
In the meantime I'm gonna check in the doc what region-before and marker are
doing.
Something like
  ...
  fo:simple-page-master margin-...
fo:region-body/  !-- fill whole page --
fo:region-before extent=30mm/ !-- overlap
   body by 30mm --
  / ...
  ...
  fo:static-content flow-name=xsl-region-before
fo:table ... 
 ... table suff, duplicate column settings...
fo:table-row height=30mm !-- match overlap (or not) --
 fo:table-cell border-top=... duplicate border settings ...
   ... more border settings (left, right, but not bottom )
   fo:block
fo:retrieve-marker retrieve-class-name=repeating-header
... more properties .../
   /
 /
 ...
  /
  fo:flow ...
table ...  !-- the real table --
  ...
  fo:table-cell ... spanning etc. ...
fo:blockfo:marker marker-class-name=repeating-header
   The repeating content/fo:marker
  Therepeating content/fo:block
 /...

Sorry, can't be bothered to write a working example right now. The
marker must be inside the block in the cell, it wont work with the
marker as child of the cell or the row (known defect).
HTH
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


repeating column cell

2005-02-21 Thread Rymasz Jacky
Hello everyone,

I'm new to this foum so I wish to say hello to everyone ;)

Here is my problem:
I've got a table with 2 colums.
The first colum is a title (kind of header) and the second column contains a
lot of text of unknown size.
The text in the second coloumn can be so big that it can overlap several
pages.
I would like to have the title of the first column to repeat itself from
page to page
Example:
page 1:

title1   | text 1  |

title2   | begining of | 
 |  text 2 |
 | |


page 2:

title2   | end of  |
 | text 2  |

title3   | begining of | 
 | text 3  |
 | |


page 3:

title3   | |
 | middle of   | 
 | text 3  |
 | |


page 4:

title3   | end of  |
 | text 3  |

title4   | text 4  |

etc..


How cab I do that?

thx to all ;)

Jack

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: repeating column cell

2005-02-21 Thread J.Pietschmann
Rymasz Jacky wrote:
I've got a table with 2 colums.
The first colum is a title (kind of header) and the second column contains a
lot of text of unknown size.
The text in the second coloumn can be so big that it can overlap several
pages.
I would like to have the title of the first column to repeat itself from
page to page
The spec doesn't provide a construct for an easy solution
to your problem.
You can try to fake the effect by using an overlapping
region-before and a marker.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]