Hi fabio,

This is now a well known behaviour of FOP 0.95 and later, since the 
implementation of inline keep properties:

keep-* properties are shorthands for:
keep-*.within-page,
keep-*.within-column,
and keep-*.within-line.

If you want a different value for the latter, you should expand your property, 
by specifying:
keep-*.within-page="always"

Pascal

> -----Message d'origine-----
> De : fabio76 [mailto:[EMAIL PROTECTED] 
> Envoyé : mardi 18 novembre 2008 10:06
> À : [email protected]
> Objet : Text-align with keep-together="always" problem
> 
> 
> Hi all,
> I have the same problem. 
> I have a table : 
>  <fo:block>
>       <fo:table table-layout="fixed" width="500pt">
>               <fo:table-column column-width="15pt"/>
>               <fo:table-column column-width="58pt"/>
>               <fo:table-column column-width="427pt"/>
>               <fo:table-body>
>                       <fo:table-row keep-with-next="always">
>                               <fo:table-cell 
> number-columns-spanned="2">
>                                       <fo:block> </fo:block>
>                               </fo:table-cell>
>                               <fo:table-cell>
>                                       <fo:block id="ref" 
> text-align="center" font-style="italic">TABLE OF
> TEST</fo:block>
>                               </fo:table-cell>
>                       </fo:table-row>
>                       <fo:table-row>
>                               <fo:table-cell 
> padding-before="2pt" number-columns-spanned="3">
>                                       <fo:block>
>                                               <fo:table 
> width="500pt" table-layout="fixed">
>                                                       
> <fo:table-column column-width="73pt"/>
>                                                       
> <fo:table-column column-width="195pt"/>
>                                                       
> <fo:table-column column-width="232pt"/>
>                                                       <fo:table-body>
>                                                               
> <fo:table-row keep-together="always">
>                                                               
>       <fo:table-cell border="0.1pt solid red" padding-before="2pt">
>                                                               
>               <fo:block> </fo:block>
>                                                               
>       </fo:table-cell>
>                                                               
>       <fo:table-cell border="0.1pt solid red" padding-left="2pt">
>                                                               
>               <fo:block color="blue" text-align="left"></fo:block>
>                                                               
>       </fo:table-cell>
>                                                               
>       <fo:table-cell text-align="justify" border="0.1pt solid red">
>                                                               
>               <fo:block>bla bla bla bla bla bla bla bla bla 
> bla bla blabla bla
> </fo:block>
>                                                               
>       </fo:table-cell>
>                                                               
> </fo:table-row>
>                                                               
> <fo:table-row keep-together="always">
>                                                               
>       <fo:table-cell border="0.1pt solid red" padding-before="2pt">
>                                                               
>               <fo:block> </fo:block>
>                                                               
>       </fo:table-cell>
>                                                               
>       <fo:table-cell border="0.1pt solid red" padding-left="2pt">
>                                                               
>               <fo:block color="blue" text-align="left"></fo:block>
>                                                               
>       </fo:table-cell>
>                                                               
>       <fo:table-cell text-align="justify" border="0.1pt solid red">
>                                                               
>               <fo:block>bla bla bla bla bla bla bla bla bla 
> bla bla blabla bla
> </fo:block>
>                                                               
>       </fo:table-cell>
>                                                               
> </fo:table-row>
>                                                               
> <fo:table-row keep-together="always">
>                                                               
>       <fo:table-cell border="0.1pt solid red" padding-before="2pt">
>                                                               
>               <fo:block> </fo:block>
>                                                               
>       </fo:table-cell>
>                                                               
>       <fo:table-cell border="0.1pt solid red" padding-left="2pt">
>                                                               
>               <fo:block color="blue" text-align="left"></fo:block>
>                                                               
>       </fo:table-cell>
>                                                               
>       <fo:table-cell text-align="justify" border="0.1pt solid red">
>                                                               
>               <fo:block>bla bla bla bla bla bla bla bla bla 
> bla bla blabla bla
> </fo:block>
>                                                               
>       </fo:table-cell>
>                                                               
> </fo:table-row>
>                                                       </fo:table-body>
>                                               </fo:table>
>                                       </fo:block>
>                               </fo:table-cell>
>                       </fo:table-row>
>               </fo:table-body>
>       </fo:table>
> </fo:block>
> 
> With Fop0.94 the text in each table cell is well formatted, 
> instead with Fop
> 0.95 there are overflows in each table cell. Have you any 
> ideas about this
> problem?
> I attached the files used in this example.
> http://www.nabble.com/file/p20555779/Test.zip Test.zip 
> Best Regards
> Fabio


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

Reply via email to