xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pascal Sancho <psancho....@gmail.com>
Subject Re: Fixing the table height
Date Mon, 09 Feb 2015 15:42:02 GMT
hi,

For such question please ask on FOP-users list, FOP-dev list is for
internal dev.

That said, for minimum table height, you should set it on a table-row:
<fo:table table-layout="fixed" width="100%" border="solid red 1pt">
  <fo:table-column column-width="proportional-column-width(1)"/>
  <fo:table-body>
    <fo:table-row block-progression-dimension.minimum="1cm">
      <fo:table-cell>
        <fo:block/>
      </fo:table-cell>
    </fo:table-row>
  </fo:table-body>
</fo:table>

Note that the message you get has nothing to do with table height; it
is related to column count;
On the resulting table grid, you have more cells thant expected.
You should have a look on the resulting XSL-FO to find the issue.
XSLT cannot help here.



HTH,

2015-02-09 12:45 GMT+01:00 fop_ag <nithinurs.venugopalrajurs@arisglobal.com>:
> I upgraded to fop 1.1 from 0.20.5. In older version the table height was
> fixed, but with newer fop version the height of table is limited to amount
> of rows available. I'm using the xsl code provided in attached file -
>
> xsl_sample.txt
> <http://apache-fop.1065347.n5.nabble.com/file/n41697/xsl_sample.txt>
>
> I tried to move the <fo:table-row height="5mm"> after the creation of
> <fo:table-body>, but its giving the following exception -
>
> The column-number or number of cells in the row overflows the number of
> fo:table-columns specified for the table. (See fo:table-row,
> "???????(39994080, ???????????(, ...")
>
>
> Is there any way to have a table of fixed length of 5mm, so that even when
> there is no data, the table should always be of same height.
>
> Thank You.
>
>
>
> --
> View this message in context: http://apache-fop.1065347.n5.nabble.com/Fixing-the-table-height-tp41697.html
> Sent from the FOP - Dev mailing list archive at Nabble.com.



-- 
pascal

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message