Hi!

When rendering a table in pdf (via fo naturally) I get overlapping header titles. See the attached png image (The word "DES" is written on the word "COMPARTMENT").


I thought this might have something to do w/ using numbers as col names, so I tried the following style:

<colspec colnum="1" colname="c1" align="left"/>

  but it did not change anything.



Environment: docbook xsl 1.73.2, fop 0.95beta, java 1.6.0_06, win xp sp 2, saxon 655

  Using fo/docbook.xsl w/ params
use.extensions=1
fop1.extensions=1
tablecolumns.extension=1


  Docbook xml to reproduce the problem:

<?xml version="1.0" encoding="UTF-8"?>
<book xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="C:\work\napa\jnapa\reporting\resources\schemas\docbook\docbook.xsd">
        <title>
</title>
        <bookinfo>
                <date>2008-05-30</date>
                <authorinitials>AK</authorinitials>
                <corpname>Antti Karanta</corpname>
                <productname>D-CONT072</productname>
        </bookinfo>
        <!-- -->
        <preface>
                <title> </title>
                <para> </para>
        </preface>
        <chapter>
                <title>LOADING CONDITIONS</title>
                <sect1>
                        <title>Loading condition LC.FULL_D2</title>
                        <sect2>
                                <title>List of loads</title>
                                <literallayout class="monospaced">
           Loading condition LC.FULL_D2 - Full load, departure
</literallayout>
                                <informaltable frame="none" colsep="0" 
rowsep="0">
                                        <tgroup cols="9">
                                                <?dbhtml cellspacing="0" ?>
                                                <?dbhtml cellpadding="1" ?>
                                                <colspec colname="1" 
align="left"/>
                                                <colspec colname="2" 
align="left"/>
                                                <colspec colname="3" 
align="right"/>
                                                <colspec colname="4" 
align="right"/>
                                                <colspec colname="5" 
align="right"/>
                                                <colspec colname="6" 
align="right"/>
                                                <colspec colname="7" 
align="right"/>
                                                <colspec colname="8" 
align="right"/>
                                                <colspec colname="9" 
align="right"/>
                                                <thead>
                                                        <row rowsep="1">
                                                                <entry namest="1" nameend="9" 
align="center"> </entry>
                                                        </row>
                                                        <row>
                                                                
<entry>COMPARTMENT</entry>
                                                                
<entry>DES</entry>
                                                                
<entry>WEIGHT</entry>
                                                                
<entry>FILL</entry>
                                                                
<entry>S.G</entry>
                                                                
<entry>XM</entry>
                                                                
<entry>YM</entry>
                                                                
<entry>ZM</entry>
                                                                
<entry>FRSM</entry>
                                                        </row>
                                                        <row rowsep="1">
                                                                <entry> </entry>
                                                                <entry> </entry>
                                                                <entry>t</entry>
                                                                <entry>%</entry>
                                                                
<entry>t/m3</entry>
                                                                <entry>m</entry>
                                                                <entry>m</entry>
                                                                <entry>m</entry>
                                                                
<entry>tm</entry>
                                                        </row>
                                                </thead>
                                                <tbody>
                                                        <row>
                                                                <entry namest="1" nameend="9" 
align="center"> </entry>
                                                        </row>
                                                        <row>
<entry namest="1" nameend="9" align="left">CONTENTS=CONTAINER HOLD</entry>
                                                        </row>
                                                        <row>
                                                                <entry namest="1" 
nameend="9" align="center">
</entry>
                                                        </row>
                                                        <row>
                                                                
<entry>R0202</entry>
                                                                <entry>Container Hold 
10</entry>
                                                                
<entry>0.0</entry>
                                                                
<entry>0.0</entry>
                                                                
<entry>1.000</entry>
                                                                
<entry>0.00</entry>
                                                                
<entry>0.00</entry>
                                                                
<entry>0.00</entry>
                                                                
<entry>0.00</entry>
                                                        </row>
                                                        <row rowsep="1">
                                                                <entry namest="1" nameend="9" 
align="center"> </entry>
                                                        </row>
                                                        <row>
                                                                
<entry>SUBTOTAL</entry>
                                                                <entry> </entry>
                                                                
<entry>21142.0</entry>
                                                                <entry> </entry>
                                                                <entry> </entry>
                                                                
<entry>97.26</entry>
                                                                
<entry>0.00</entry>
                                                                
<entry>15.58</entry>
                                                                
<entry>0.00</entry>
                                                        </row>
                                                </tbody>
                                        </tgroup>
                                </informaltable>
                                
                                
                        </sect2>
                </sect1>
        </chapter>
</book>


  Any help will be greatly appreciated.



      -::Antti::-



<<attachment: overlapping_table_headers.png>>

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

Reply via email to