> As I explained in this thread I've applied a fix. If you still have a
> problem, you'll have to provide an FO example so we can reproduce.
> Otherwise, we can't fix anything.

I put the fo content at the end of this post cause I don't find 
the way of attaching something with gmane.
 
> TIFF Problem: Please provide an small example TIFF file that exhibits
> the problem and send in a patch against FOP Trunk so I don't have to
> guess at what you've changed. Thanks.

I have created a patch in Bugzilla (Bug 40062) with diff file and TIFF test 
file in attachments. It's maybe not clean (the TIFFFaxDecoder flipTable 
function should be used directly) but it works in my case.

Thanks for help,

Gilles Beaugeais.



<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";>
  <fo:layout-master-set>
    <fo:simple-page-master master-name="page-master" 
                           page-height="11in" page-width="8.5in" 
                           margin-top="0cm" margin-bottom="0cm" 
                           margin-left="0cm" margin-right="0cm">
      <fo:region-body margin-top="2cm" margin-bottom="2cm" 
                      margin-left="1.5cm" margin-right="1.5cm"/>
      <fo:region-before region-name="pages-before" extent="2cm"/>
      <fo:region-after region-name="pages-after" extent="1.5cm"/>
    </fo:simple-page-master>
    <fo:page-sequence-master master-name="pages">
      <fo:repeatable-page-master-reference master-reference="page-master"/>
    </fo:page-sequence-master>
  </fo:layout-master-set>
  <fo:page-sequence master-reference="pages" text-align="justify"
                    font-size="10pt" font-family="Helvetica">
    <fo:static-content flow-name="pages-before">
      <fo:block margin-top="0.2cm" start-indent="1.5cm">header</fo:block>
    </fo:static-content>
    <fo:static-content flow-name="pages-after">
      <fo:block margin-top="0.5cm" start-indent="1.5cm">footer</fo:block>
    </fo:static-content>
    <fo:flow flow-name="xsl-region-body">
      <fo:block padding-bottom="21cm">space to fill page</fo:block>
      <fo:block>
        <fo:list-block provisional-distance-between-starts="1.4cm" 
                       provisional-label-separation="0cm">
<fo:list-item>
  <fo:list-item-label end-indent="label-end()">
    <fo:block>1.</fo:block>
  </fo:list-item-label>
  <fo:list-item-body start-indent="body-start()">
    <fo:block>1st list item</fo:block>
  </fo:list-item-body>
</fo:list-item>
<fo:list-item>
  <fo:list-item-label end-indent="label-end()">
    <fo:block>2.</fo:block>
  </fo:list-item-label>
  <fo:list-item-body start-indent="body-start()">
    <fo:block>2nd list item (containing a table - problem)</fo:block>
    <fo:block start-indent="0cm">
      <fo:table border-collapse="separate" width="100%">
        <fo:table-column column-width="50%"/>
        <fo:table-column column-width="50%"/>
        <fo:table-header font-weight="bold">
          <fo:table-row>
            <fo:table-cell number-columns-spanned="2" 
                           text-align="center">
              <fo:block>Header cell (span)</fo:block>
            </fo:table-cell>
          </fo:table-row>
          <fo:table-row>
            <fo:table-cell>
              <fo:block>Header cell (col 1)</fo:block>
            </fo:table-cell>
            <fo:table-cell>
              <fo:block>Header cell (col 2)</fo:block>
            </fo:table-cell>
          </fo:table-row>
        </fo:table-header>
        <fo:table-body>
          <fo:table-row>
            <fo:table-cell><fo:block>first</fo:block></fo:table-cell>
            <fo:table-cell><fo:block>row</fo:block></fo:table-cell>
          </fo:table-row>
          <fo:table-row>
            <fo:table-cell><fo:block>second</fo:block></fo:table-cell>
            <fo:table-cell><fo:block>row</fo:block></fo:table-cell>
          </fo:table-row>
          <fo:table-row>
            <fo:table-cell><fo:block>third</fo:block></fo:table-cell>
            <fo:table-cell><fo:block>row</fo:block></fo:table-cell>
          </fo:table-row>
          <fo:table-row>
            <fo:table-cell><fo:block>fourth</fo:block></fo:table-cell>
            <fo:table-cell><fo:block>row</fo:block></fo:table-cell>
          </fo:table-row>
          <fo:table-row>
            <fo:table-cell><fo:block>fifth</fo:block></fo:table-cell>
            <fo:table-cell><fo:block>row</fo:block></fo:table-cell>
          </fo:table-row>
          <fo:table-row>
            <fo:table-cell><fo:block>sixth</fo:block></fo:table-cell>
            <fo:table-cell><fo:block>row</fo:block></fo:table-cell>
          </fo:table-row>
        </fo:table-body>
      </fo:table>
    </fo:block>
  </fo:list-item-body>
</fo:list-item>
        </fo:list-block>
      </fo:block>
      <fo:block padding-bottom="16.5cm" 
                padding-top="2cm">space to fill page</fo:block>
      <fo:block>
        <fo:block>simple block (containing a table - OK)</fo:block>
<fo:table border-collapse="separate" width="100%">
  <fo:table-column column-width="50%"/>
  <fo:table-column column-width="50%"/>
  <fo:table-header font-weight="bold">
    <fo:table-row>
      <fo:table-cell number-columns-spanned="2" 
                     text-align="center">
        <fo:block>Header cell (span)</fo:block>
      </fo:table-cell>
    </fo:table-row>
    <fo:table-row>
      <fo:table-cell>
        <fo:block>Header cell (col 1)</fo:block>
      </fo:table-cell>
      <fo:table-cell>
        <fo:block>Header cell (col 2)</fo:block>
      </fo:table-cell>
    </fo:table-row>
  </fo:table-header>
  <fo:table-body>
    <fo:table-row>
      <fo:table-cell><fo:block>first</fo:block></fo:table-cell>
      <fo:table-cell><fo:block>row</fo:block></fo:table-cell>
    </fo:table-row>
    <fo:table-row>
      <fo:table-cell><fo:block>second</fo:block></fo:table-cell>
      <fo:table-cell><fo:block>row</fo:block></fo:table-cell>
    </fo:table-row>
    <fo:table-row>
      <fo:table-cell><fo:block>third</fo:block></fo:table-cell>
      <fo:table-cell><fo:block>row</fo:block></fo:table-cell>
    </fo:table-row>
    <fo:table-row>
      <fo:table-cell><fo:block>fourth</fo:block></fo:table-cell>
      <fo:table-cell><fo:block>row</fo:block></fo:table-cell>
    </fo:table-row>
    <fo:table-row>
      <fo:table-cell><fo:block>fifth</fo:block></fo:table-cell>
      <fo:table-cell><fo:block>row</fo:block></fo:table-cell>
    </fo:table-row>
    <fo:table-row>
      <fo:table-cell><fo:block>sixth</fo:block></fo:table-cell>
      <fo:table-cell><fo:block>row</fo:block></fo:table-cell>
    </fo:table-row>
  </fo:table-body>
</fo:table>
      </fo:block>
    </fo:flow>
  </fo:page-sequence>
</fo:root>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to