[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XSL-FO/FOP : Getting an error when I define table

Subject: Re: XSL-FO/FOP : Getting an error when I define table and column width in percentages
From: Gowri Ratakonda <gratakonda@xxxxxxxxx>
Date: Tue, 11 Apr 2006 10:18:21 -0700 (PDT)
fop column width
Thanks, Mukul!

Gowri

--- Mukul Gandhi <gandhi.mukul@xxxxxxxxx> wrote:

> FOP 0.20.5 does'nt support table column-width in
> percentage. You must
> explicitly specify column widths (like
> <fo:table-column
> column-width="50pt"/>).
> 
> Regarding how to handle long text that overflows
> into the next cell,
> you can use hyphenate property of fo:table-cell.
> 
> Like
> <fo:table-cell hyphenate="true" language="en">
>   
>
<fo:block>hiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii</fo:block>
> </fo:table-cell>
> 
> Regards,
> Mukul
> 
> On 4/11/06, Gowri Ratakonda <gratakonda@xxxxxxxxx>
> wrote:
> >
> > The table definition in my XSLT style sheet looks
> like
> > this:
> >
> > <fo:table width="100%">
> > <fo:table-column-width="10%">
> > <fo:table-column-width="80%">
> > <fo:table-column-width="10%">
> > <fo:table-body>
> > .......
> > </fo:table-body>
> > </fo:table>
> >
> > When I generate the PDF using FOP-0.20.5, I get
> this
> > error:
> > [ERROR] Error in column-width property value
> '10%':
> > org.apache.fop.fo.expr.PropertyException: No
> > conversion defined
> >
> > Doesn't FOP support column-width in percentage?
> > Should I define the width in absolute units like
> > mm/cm?
> > If I go with units, how should I handle the the
> long
> > text that overflows into the next cell?
> >
> > Thanks,
> > Gowri
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.