Unless of course I'm doing something silly (again).

Using fop1.1I capture the IF from a java program to get the overall page size of tables. I then use that to size the region-before.

For debuging I write the IF to a file and it looks like this

   <?xml version="1.0" encoding="UTF-8"?>
   <areaTree version="2.0">
      <pageSequence>
        <pageViewport bounds="0 0 612000 792000" key="P1" nr="1"
   formatted-nr="1" simple-page-master-name="tables">
          <page>
            <regionViewport ipd="501624" bpd="792000" ipda="501624"
   bpda="792000" bap="0 0 0 0" is-viewport-area="true" rect="110376 0
   501624 792000">
              <regionBody ipd="501624" bpd="792000" ipda="501624"
   bpda="792000" bap="0 0 0 0" is-reference-area="true"
   name="xsl-region-body" ctm="[1.0 0.0 0.0 1.0 110376.0 0.0]">
                <beforeFloat />
                <mainReference ipd="0" bpd="0" bap="0 0 0 0"
   is-reference-area="true">
                  <span ipd="501624" bpd="366400" ipda="501624"
   bpda="366400" bap="0 0 0 0" is-reference-area="true">


Is that format correct for the fop bash script which comes with the source code?

With a local classpath I can run

   fop -xml f.xml -xsl f.xsl -pdf f.pdf

Trying to print just the tables from the IF file like this

   fop -ifin ifin.xml -pdf ifin.pdf

generates a zero-length ifin.pdf.

Turning on --execdebug doesn't give me any insights. It simply show the exec'd command.






Reply via email to