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]

Re: Re: Consecutive page numbering using XSL:FO-to-PDF



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>



                                                                                                     
                    "Letitia and Drew Hodge"                                                         
                    <ldhodge@home.com>                 To:     <XSL-List@lists.mulberrytech.com>     
                    Sent by:                           cc:                                           
                    owner-xsl-list@lists.mulber        Subject:     [xsl] Re: Consecutive page       
                    rytech.com                         numbering using XSL:FO-to-PDF                 
                                                                                                     
                                                                                                     
                    08/01/2001 07:06 PM                                                              
                    Please respond to xsl-list                                                       
                                                                                                     
                                                                                                     



Thank you (Wendell Piez and Frank Chen) for the suggestions.

You were right Frank, there is a problem with FOP version 0.19.  As Wendell
suggested, I tried another processor -- FOP version 0.18 -- and the page
numbering is perfect.  So, it looks like the problem is with the latest
stable version of FOP.

I've used both XEP and XSL Formatter from Antenna House over the last
couple
of months, and both perform well.  Using XSL Formatter to produce PDF,
though, involves the extra step of printing to a PS file and then using
Distiller to generate PDF from Postscript.

All three processors (FOP, XEP, and XSL Formatter) produce slightly
different results and I had to choose one of them for my "proof of concept"
project -- I chose FOP.  Apart from the page numbering problem (and some
challenges with positioning page numbers and chapter headings at opposite
sides of the page in odd and even footers), FOP 0.19 has met all my needs
to
date.

Thanks again for the prompt and helpful advice.

Drew


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






 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]