Re: Table of Contens fo:leader Problem

2007-11-27 Thread Dirk Bromberg

Hey,

thanks for this workaround. I'think it is ok.

Dirk

Jeremias Maerki schrieb:

I can't think of an FO construct that would accomplish this. The only
work-around would be a table but that leaves you with a possible compromise
concerning the leader which cannot come as close to the page number as
you might wish.

fo:table width=100% table-layout=fixed
fo:table-column column-width=95%/
fo:table-column column-width=5%/
fo:table-body
  fo:table-row
fo:table-cell
  fo:block text-align-last=justify1 Demo Demo Demo Demo Demo Demo Demo 
Demo Demo Demo Demo Demo Demo Demo Demo Demo Demo Demo fo:leader

  leader-pattern=rule rule-thickness=0.5pt/
  /fo:block  
/fo:table-cell

fo:table-cell display-align=after
  fo:block text-align=end555/fo:block
/fo:table-cell
  /fo:table-row
/fo:table-body
  /fo:table

I guess, we'd need a text-indent-last or something.

Jeremias Maerki



On 26.11.2007 12:46:43 Dirk Bromberg wrote:
  

Hi Users,

i've a small problem with the usage of a leader.

When i will render a TOC, i use this code:

fo:block text-align-last=justify1 Demo Demo Demo Demo Demo Demo Demo 
Demo Demo Demo Demo Demo Demo Demo Demo Demo Demo Demo fo:leader

leader-pattern=rule rule-thickness=0.5pt/ 555
/fo:block

The problem: When the text Demo is too long for the page then it 
breaks above the pagenumber and starts in a new line under the start of 
the first line. Is there way to create a style like:


---
1 Demo Demo Demo BREAK
   Demo Demo  555



Thanks.

Dirk




-
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]



Table of Contens fo:leader Problem

2007-11-26 Thread Dirk Bromberg

Hi Users,

i've a small problem with the usage of a leader.

When i will render a TOC, i use this code:

fo:block text-align-last=justify1 Demo Demo Demo Demo Demo Demo Demo 
Demo Demo Demo Demo Demo Demo Demo Demo Demo Demo Demo fo:leader

   leader-pattern=rule rule-thickness=0.5pt/ 555
   /fo:block

The problem: When the text Demo is too long for the page then it 
breaks above the pagenumber and starts in a new line under the start of 
the first line. Is there way to create a style like:


---
1 Demo Demo Demo BREAK
  Demo Demo  555



Thanks.

Dirk

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