This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


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

RE: FOP as PDF processor for DocBook


Title: RE: DOCBOOK-APPS: FOP as PDF processor for DocBook

>>Has anyone experience of using FOP to render DocBook conformant documents to
>>PDF using Norman's stylesheets?

>>FOP renders the table without a frame and with all the entries overprinted
>>on the left hand side of the page. Basically the table layout doesn't seem
>>to work at all.

I ran into the same problem, too, but while using FOP 0.16. If you go into the FO file and change the <fo:table/> elements so that they do not use proportional-column-width(), you'll get better results.

For example:

BEFORE:
<fo:table-column column-number="1" column-width="proportional-column-width()"/><fo:table-column column-number="2" column-width="proportional-column-width()"/>

AFTER:
<fo:table-column column-number="1" column-width="150pt"/>
<fo:table-column column-number="2" column-width="150pt"/>

There's probably a better way of doing this than futzing with the FO file (fancy the alliteration?), but I'm not sure how (and would like to know).

I'd also like to know how to fix the lack of borders around the table.

--Beth Fischi



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