keep-with-.. property

2002-06-25 Thread Hahn Kurt (CHA)
I've read a lot in the archives about the different keep-with property; what
I understood is that some of them are not implemented yet, but that
keep-with-next should work on table rows. Is there another reason why my
example here doesn't keep the rows together?



- fo:table-row keep-with-next=always font-weight=bold font-size=10pt
- fo:table-cell
- fo:block
- fo:table font-size=10pt border-style=solid
  fo:table-column column-width=1.2cm / 
  fo:table-column column-width=15.8cm / 
- fo:table-body
- fo:table-row
- fo:table-cell
  fo:block10/fo:block 
  /fo:table-cell
- fo:table-cell
  fo:blockRAPPORTS DE LA COMMISSION DE GRACE/fo:block 
  /fo:table-cell
  /fo:table-row
- fo:table-row font-weight=normal
  fo:table-cell / 
- fo:table-cell
  fo:block / 
  /fo:table-cell
  /fo:table-row
  /fo:table-body
  /fo:table
  /fo:block
  /fo:table-cell
  /fo:table-row
  fo:table-row keep-with-next=always height=30pt / 
  !-- 
I'm trying to avoid a page-break here, but no
success so far...

--
- fo:table-row font-weight=bold font-size=10pt
- fo:table-cell
- fo:block
- fo:table font-size=10pt border-style=none
  fo:table-column column-width=1.2cm / 
  fo:table-column column-width=2.3cm / 
  fo:table-column column-width=13.5cm / 
- fo:table-body
- fo:table-row
  fo:table-cell / 
  fo:table-cell / 
- fo:table-cell text-align=left
  fo:block7 rapports, préavis adoptés./fo:block 
  /fo:table-cell
  /fo:table-row
- fo:table-row
  fo:table-cell / 
  fo:table-cell / 
- fo:table-cell text-align=left
  fo:block / 
  /fo:table-cell
  /fo:table-row
  /fo:table-body
  /fo:table
  /fo:block
  /fo:table-cell
  /fo:table-row


Re: keep-with-.. property

2002-06-25 Thread Bertrand Delacretaz
On Tuesday 25 June 2002 08:58, Hahn Kurt (CHA) wrote:
. . .
 Is there another reason why my
 example here doesn't keep the rows together?

I don't know exactly what is supposed to work or not, but here we've been 
successfully using the following constructs with FOP 0.20.3rc:

fo:table-row keep-with-previous=always keep-together=always
fo:table-row keep-with-next=always keep-together=always
fo:table-row keep-with-previous=always

Note however that bug 7449 is not fixed yet: rows that do not fit on one page 
cause infinite loops (http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7449)

-Bertrand


RE: keep-with-.. property

2002-06-25 Thread Hahn Kurt (CHA)
I'm using the same FOP version. If I look at the following code snippet,
this table row should never stand alone at the end of a page, but this is
exactly what happens (and not only once, but in many places over the entire
document. I assume that the property doesn't work in every case, but is
there any other way/solution?

Kurt


- fo:table-row keep-together=always keep-with-next=always height=30pt
font-weight=bold font-size=10pt
- fo:table-cell
- fo:block
- fo:table font-size=10pt border-style=none
  fo:table-column column-width=1.2cm / 
  fo:table-column column-width=15.8cm / 
- fo:table-body
- fo:table-row
- fo:table-cell
  fo:block / 
  /fo:table-cell
- fo:table-cell
  fo:blockJUSTICE, POLICE ET SECURITE* (DJPS)/fo:block 
  /fo:table-cell
  /fo:table-row
- fo:table-row font-weight=normal
  fo:table-cell / 
- fo:table-cell
  fo:block(Titulaire: Mme Spoerri Micheline; suppléant: M. Laurent
Moutinot)/fo:block 
  /fo:table-cell
  /fo:table-row
  /fo:table-body
  /fo:table
  /fo:block
  /fo:table-cell
  /fo:table-row

-Message d'origine-
De : Bertrand Delacretaz [mailto:[EMAIL PROTECTED]
Envoyé : mardi, 25. juin 2002 09:31
À : [EMAIL PROTECTED]; Hahn Kurt (CHA); '[EMAIL PROTECTED]'
Objet : Re: keep-with-.. property


On Tuesday 25 June 2002 08:58, Hahn Kurt (CHA) wrote:
. . .
 Is there another reason why my
 example here doesn't keep the rows together?

I don't know exactly what is supposed to work or not, but here we've been 
successfully using the following constructs with FOP 0.20.3rc:

fo:table-row keep-with-previous=always keep-together=always
fo:table-row keep-with-next=always keep-together=always
fo:table-row keep-with-previous=always

Note however that bug 7449 is not fixed yet: rows that do not fit on one
page 
cause infinite loops
(http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7449)

-Bertrand


RE: keep-with-.. property

2002-06-25 Thread Hahn Kurt (CHA)
I don't exactly know what you mean, but I think that wouldn't fit my needs,
which is, that the table-row shown belown should be on a new page if there's
not enough space to add at least one more row (actually much like the title
of a chapter or a section, which should never stand alone, but doesn't have
necessarily to start a new page everytime)

-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Envoyé : mardi, 25. juin 2002 10:38
À : [EMAIL PROTECTED]
Objet : RE: keep-with-.. property



put it in one block together whith the data that it alsways be shown with
and try bertrands code on the fo:block property...

is a wild guess neva tried this one before :D

but wild guesses  fop has always worked for me :D

Jochen Maes
ICT Development


KBC Securities (kbcsecurities.com)
Havenlaan 12 Avenue du Port SIF 8683
B-1080 Brussels
Belgium

 Tel:  +32 2 429 96 81  

 GSM:  +32 496 57 90 99 

 E-mail :  [EMAIL PROTECTED] 





This message and any attachments hereto are for the named person's use
only. It may contain confidential, proprietary or legally privileged
information. You may not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. If you have received this e-mail message without being
the intended recipient, please notify KBC Securities promptly and delete
this e-mail. Any views expressed in this message are those of the
individual sender, except where the message states otherwise and the sender
is authorised to state them to be the views of KBC Securities. KBC
Securities reserves the right to monitor all e-mail communications through
its networks and any messages addressed to, received or sent by KBC
Securities or its employees are deemed to be professional in nature. The
sender or recipient of any messages to or of KBC Securities agrees that
those may be read by other employees of KBC Securities than the stated
recipient or sender in order to ensure the continuity of work-related
activities and allow supervision thereof. KBC Securities does not accept
liability for the correct and complete transmission of the information, nor
for any delay or interruption of the transmission, nor for damages arising
from the use of, or reliance on, the information.


RE: keep-with-.. property

2002-06-25 Thread Jochen . Maes

in that case i use the table header and table footer function,

in your case i would use the row you never want to be alone as the table
header of the embedded table that follows.
put there in the table tage  keep-together='always'  etc...

is this what you mean...?


Jochen Maes
ICT Development


KBC Securities (kbcsecurities.com)
Havenlaan 12 Avenue du Port SIF 8683
B-1080 Brussels
Belgium

 Tel:  +32 2 429 96 81  

 GSM:  +32 496 57 90 99 

 E-mail :  [EMAIL PROTECTED] 





This message and any attachments hereto are for the named person's use
only. It may contain confidential, proprietary or legally privileged
information. You may not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. If you have received this e-mail message without being
the intended recipient, please notify KBC Securities promptly and delete
this e-mail. Any views expressed in this message are those of the
individual sender, except where the message states otherwise and the sender
is authorised to state them to be the views of KBC Securities. KBC
Securities reserves the right to monitor all e-mail communications through
its networks and any messages addressed to, received or sent by KBC
Securities or its employees are deemed to be professional in nature. The
sender or recipient of any messages to or of KBC Securities agrees that
those may be read by other employees of KBC Securities than the stated
recipient or sender in order to ensure the continuity of work-related
activities and allow supervision thereof. KBC Securities does not accept
liability for the correct and complete transmission of the information, nor
for any delay or interruption of the transmission, nor for damages arising
from the use of, or reliance on, the information.



Is there any alternative to the Keep-together property

2002-04-25 Thread Stéphane REYNIER



As we all know, the following properties still 
don't work with fop 0.20.3:
 keep-together
 keep-with-previous
 keep-with-next

Is there any solution to do it another way 
?

Does someone knowwhen will these functions be 
implemented in FOP ?

Thank you

Stéphane




AW: Is there any alternative to the Keep-together property

2002-04-25 Thread Sam Prokop



You know the 
workaround with fo:table-row keep-with-previous="always" 
keep-with-next="always", i guess.

  -Ursprüngliche Nachricht-Von: Stéphane REYNIER 
  [mailto:[EMAIL PROTECTED]Gesendet: Donnerstag, 25. 
  April 2002 15:40An: Mailing list FOPBetreff: Is there 
  any alternative to the "Keep-together" property
  As we all know, the following properties still 
  don't work with fop 0.20.3:
   keep-together
   
keep-with-previous
   keep-with-next
  
  Is there any solution to do it another way 
  ?
  
  Does someone knowwhen will these functions 
  be implemented in FOP ?
  
  Thank you
  
  Stéphane