Link to home
Start Free TrialLog in
Avatar of coolguy77
coolguy77

asked on

A simple Question on XSL-FO.(Is it possible to increase the cell or column width dynamically based on the value we kept in that cell?)

Hi,


Is it possible to increase the cellwidth or column width using xsl-fo?
(I want to increase the cell width based upon the text, i kept in that cell?)

Hi,


Is it possible to increase the cellwidth or column width using xsl-fo?

I am trying  to increase the cell width based upon the value i kept in that cell?

<fo:table width="18cm" space-after="0.5cm" space-before="0.5cm">
  <fo:table-column column-width="0.1cm" />
  <fo:table-column column-width="2cm" />
      <fo:table-body>
            <fo:table-row height="0.3cm">
                 <fo:table-cell>
             <fo:block padding-bottom="5pt">
                   //here i will display text dynamically.
                         (at this place i wnt to increase/decreas dynamically the width equal   to content widthy)
                     </fo:block>
      </fo:table-cell>
            </fo:table-row>
       </fo:table-body>
</fo-table>



Thank you very much for your answer.

Eagerly waiting for your replys.

regards
coolguy

ASKER CERTIFIED SOLUTION
Avatar of maheshmandave
maheshmandave

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial