This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Columns spanning Rows in XSL:FO-to-PDF Tables



Does anyone know what I'm doing wrong  - how I can ensure a particular
column spans 2 rows? Using Fop (0.18.1), I get an error message saying

" [2WARNING: Number of cell columns under table-row not equal to number of
table-
columns]"

and the entire row is eliminated in the PDF output. Tried using the Table
test cases on Renderx (table_spans.fo) but still get the same problem.

Would really appreciate any ideas on how to get around this?
Thanks
amit



<fo:table>
     <fo:table-column column-width="5cm"/>
          <fo:table-column column-width="5cm"/>

     <fo:table-row >
               <fo:table-cell number-rows-spanned="2">
                    <fo:block>Column 1</fo:block>
               </fo:table-cell>
               <fo:table-cell number-rows-spanned="1">
                    <fo:block>Column 2</fo:block>
               </fo:table-cell>
     </fo:table-row >

     <fo:table-row >
               <fo:table-cell number-rows-spanned="1">
                    <fo:block>Row Data</fo:block>
               </fo:table-cell>
     </fo:table-row >

</fo:table>






 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]