I would like to create a fo:table inside which a fo:table-cell contain
another fo:table. Everything goes fine while you didn't set border
attributes. When the included table has border attributes , the PDF is not
well suited, the contained table and its border are painted outside the
container table. 

Ii looks like the table class was returning a bad width (the height is
correct).

I suppose the problem is yet referenced, but I didn't read the 8764 mails of
the list.


I'm using Fop-0.19.0-CVS on Solaris and Java 1.3

Did you have any plan to correct the problem ? 


My XSL sample :
...

                  <FO:TABLE BACKGROUND-COLOR="cyan" BORDER="solid"
BORDER-WIDTH="1pt">
                     <FO:TABLE-COLUMN COLUMN-NUMBER="1"
COLUMN-WIDTH="4.5cm"/>
                     <FO:TABLE-COLUMN COLUMN-NUMBER="2" COLUMN-WIDTH="9cm"/>
                     <FO:TABLE-BODY FONT-SIZE="10pt">
                        <FO:TABLE-ROW>
                           <FO:TABLE-CELL>
                              <FO:BLOCK>a cell inside a 45mm
column</FO:BLOCK>
                           </FO:TABLE-CELL>
                           <FO:TABLE-CELL>
                              <FO:BLOCK>another cell inside a 90mm
column</FO:BLOCK>
                           </FO:TABLE-CELL>
                        </FO:TABLE-ROW>
                        <FO:TABLE-ROW>
                           <FO:TABLE-CELL BACKGROUND-COLOR="gray"
COLOR="white">
                              <FO:BLOCK>text inside a cell</FO:BLOCK>
                           </FO:TABLE-CELL>
                           <FO:TABLE-CELL>
                              <FO:BLOCK>
                                 <FO:TABLE BORDER="solid" 
                                                    BORDER-WIDTH="4pt" 
                                                    BACKGROUND-COLOR="pink" 
                                                    COLOR="blue">
                                    <FO:TABLE-COLUMN COLUMN-NUMBER="1"
COLUMN-WIDTH="4cm"/>
                                    <FO:TABLE-COLUMN COLUMN-NUMBER="2"
COLUMN-WIDTH="5cm"/>
                                    <FO:TABLE-HEADER>
                                       <FO:TABLE-ROW COLOR="white" 
 
FONT-WEIGHT="bold" 
 
BACKGROUND-COLOR="blue" 
 
TEXT-ALIGN="start">
                                          <FO:TABLE-CELL>
                                             <FO:BLOCK>a second table
included</FO:BLOCK>
                                          </FO:TABLE-CELL>
                                          <FO:TABLE-CELL/>
                                       </FO:TABLE-ROW>
                                    </FO:TABLE-HEADER>
                                    <FO:TABLE-BODY FONT-SIZE="10pt">
                                       <FO:TABLE-ROW>
                                          <FO:TABLE-CELL COLOR="yellow"
BACKGROUND-COLOR="green">
                                             <FO:BLOCK>1</FO:BLOCK>
                                             <FO:BLOCK>2</FO:BLOCK>
                                             <FO:BLOCK>3</FO:BLOCK>
                                             <FO:BLOCK COLOR="green"
BACKGROUND-COLOR="yellow">4</FO:BLOCK>
                                             <FO:BLOCK>5</FO:BLOCK>
                                             <FO:BLOCK>6</FO:BLOCK>
                                             <FO:BLOCK>7</FO:BLOCK>
                                             <FO:BLOCK>8</FO:BLOCK>
                                             <FO:BLOCK>9</FO:BLOCK>
                                             <FO:BLOCK>10</FO:BLOCK>
                                          </FO:TABLE-CELL>
                                          <FO:TABLE-CELL>
                                             <FO:BLOCK>a cell inside the
second table</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>
...

jcg

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

Reply via email to