Re: conditionality, leaders and page break

2006-02-20 Thread Jeremias Maerki
I don't think it's possible to do that in XSL-FO. If you could place the
text to be repeated on the next page in a static-content you could use
marker/retrieve-marker. But since you want this to appear in the first
normal content line on a page together with normal content, I think
you're out of luck. The only thing you can do is use keep-together on
the rows so they don't get broken over multiple pages.

On 20.02.2006 15:19:41 Olivier wrote:
 Hi,
 
 fo:table-row
 fo:table-cellfo:block text-align-last=justifymy text
 fo:leader leader-alignment=reference-area 
 leader-pattern=dots//fo:block
 /fo:table-cell
 fo:table-cellfo:blockbla bla/fo:block/fo:table-cell
 /fo:table-row
 fo:table-row
 fo:table-cellfo:block text-align-last=justifymy text
 fo:leader leader-alignment=reference-area 
 leader-pattern=dots//fo:block
 /fo:table-cell
 fo:table-cellfo:blockbli bli/fo:block/fo:table-cell
 /fo:table-row
 fo:table-row
 fo:table-cellfo:block text-align-last=justifymy other text
 fo:leader leader-alignment=reference-area 
 leader-pattern=dots//fo:block
 /fo:table-cell
 fo:table-cellfo:blockblo blo/fo:block/fo:table-cell
 /fo:table-row
 give :
 my text...  bla bla
 my text...  bli bli
 my other text.  blo blo
 
 Now, i would like to not print a block content's if the precedent (same
 column, row before) is the same, and fill the block only with leaders, except 
 in case of page break.
 
 expecting result :
 my text...  bla bla
 ..  bli bli
 my other text.  blo blo
 
 expecting result (if page break) :
 my text...  bla bla
 page break
 my text...  bli bli
 my other text.  blo blo
 
 I programmatically create the FO file (no xslt transformation), so i can let
 empty the block of the following row if needed (conditionality in FO file
 prefer), but how can i do for page break (huge row number) ?
 
 Fop's archive fop-0.91beta-bin-jdk1.4.tar.gz on Mac OS x 10.4.5



Jeremias Maerki


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



Re: conditionality, leaders and page break

2006-02-20 Thread Olivier
Jeremias Maerki dev at jeremias-maerki.ch writes:

 
 I don't think it's possible to do that in XSL-FO. If you could place the
 text to be repeated on the next page in a static-content you could use
 marker/retrieve-marker. But since you want this to appear in the first
 normal content line on a page together with normal content, I think
 you're out of luck. The only thing you can do is use keep-together on
 the rows so they don't get broken over multiple pages.
 

I already use keep-together.
I'm really out of luck :-(

Thanks.


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



Re: conditionality, leaders and page break

2006-02-20 Thread Olivier
Jeremias Maerki dev at jeremias-maerki.ch writes:

 
 I don't think it's possible to do that in XSL-FO. If you could place the
 text to be repeated on the next page in a static-content you could use
 marker/retrieve-marker. But since you want this to appear in the first
 normal content line on a page together with normal content, I think
 you're out of luck. The only thing you can do is use keep-together on
 the rows so they don't get broken over multiple pages.
 

Is FOP command line (0.91) always produce a good PDF ?
In error case (minor / major ?) there is no file result, even partial ?


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



Re: conditionality, leaders and page break

2006-02-20 Thread Jeremias Maerki
If there's an exception (=error) the partial file will be deleted. If
there are only warnings a good PDF will be produced but it may not
fully up to your expectations.

On 20.02.2006 19:28:43 Olivier wrote:
 Jeremias Maerki dev at jeremias-maerki.ch writes:
 
  
  I don't think it's possible to do that in XSL-FO. If you could place the
  text to be repeated on the next page in a static-content you could use
  marker/retrieve-marker. But since you want this to appear in the first
  normal content line on a page together with normal content, I think
  you're out of luck. The only thing you can do is use keep-together on
  the rows so they don't get broken over multiple pages.
  
 
 Is FOP command line (0.91) always produce a good PDF ?
 In error case (minor / major ?) there is no file result, even partial ?



Jeremias Maerki


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