http://xml.apache.org/http://www.apache.org/http://www.w3.org/

Home

About FOP
News
Status
Download
Release Notes
How to get Help

Running FOP
Embedding
Output Formats
Features
TODO
Limitations
Examples

SVG
Extensions
Fonts
Configuration

NEW DESIGN
Getting involved
Compiling
Testing

FAQ
Bugs
Resources
License


Limitations

FOP implements the fo objects and properties listed in features, sometimes it does so only in a limited way.

fo:leader

leader-length.minimum is not used at all


page-number-citation

Only works for table of contents without any problems. The case where the page number doesn't fit on a line isn't handled, and any text on the same line and after the page-number might not appear exactly where you want it to.


Padding

Padding works in conjunction with indents and spaces. It is only implemented for blocks. At the moment padding can't be used to make extra space (indents+spaces must be used), but only to control how much the background-color extends beyond the content rectangle.


Tables

There two limitations for tables: 1) FOP needs you to explicitly specify column widths 2) Cells have to contain block-level FOs. They can't contain straight character data.

A working basic example of a table looks like this:

<fo:table>
 <fo:table-column column-width="150pt"/>
 <fo:table-column column-width="150pt"/>
 <fo:table-body font-size="10pt" font-family="sans-serif">
  <fo:table-row>
   <fo:table-cell>
    <fo:block>text</fo:block>
   </fo:table-cell>
   <fo:table-cell>
    <fo:block>text</fo:block>
   </fo:table-cell>
  </fo:table-row>
  <fo:table-row>
   <fo:table-cell>
    <fo:block>text</fo:block>
   </fo:table-cell>
   <fo:table-cell>
    <fo:block>text</fo:block>
   </fo:table-cell>
  </fo:table-row>
  <fo:table-row>
   <fo:table-cell>
    <fo:block>text</fo:block>
   </fo:table-cell>
   <fo:table-cell>
    <fo:block>text</fo:block>
   </fo:table-cell>
  </fo:table-row>
 </fo:table-body>
</fo:table>




Copyright © 1999-2002 The Apache Software Foundation. All Rights Reserved.