[xep-support] Text shrank in table cell

Alejandro Masino alejandro.masino at gmail.com
Wed Sep 19 16:36:28 PDT 2007


I have a table with a fixed column width; the block text in the cell
usually wraps, but when there is a long word that goes beyond the column
width (in my case, "NumberNumberNumber"), the work is compacted to fit
into the fixed width.

            <fo:table width="100%">
               <fo:table-column column-number="1"
column-width="proportional-column-width(1)"/>
               <fo:table-column column-number="2"
column-width="proportional-column-width(5)"/>
               <fo:table-header font-size="9pt" border-style="solid"
border-width="0.5pt" border-color="black"
                                padding="0.04in"
                                font-weight="bold"
                                background-color="rgb(85%,85%,85%)">
                  <fo:table-row>
                      <fo:table-cell font-size="9pt"
border-style="solid" border-width="0.5pt" border-color="black"
                                    padding="0.04in"
                                    display-align="center">
                        <fo:block-container overflow="visible">
                           <fo:block space-before="3pt"
space-after="3pt">NumberNumberNumber Number</fo:block>
                        </fo:block-container>
                     </fo:table-cell>
                     <fo:table-cell font-size="9pt" border-style="solid"
border-width="0.5pt" border-color="black"
                                    padding="0.04in"
                                    display-align="center">
                        <fo:block-container overflow="visible">
                           <fo:block space-before="3pt"
space-after="3pt">Description</fo:block>
                        </fo:block-container>
                     </fo:table-cell>
                  </fo:table-row>
               </fo:table-header>
               <fo:table-body>
...
               </fo:table-body>
            </fo:table>

I tried with both overflow="visible" and "hidden", but with no result,
perhaps I misunderstood the meaning of this property.

Is there any way to force a word to wrap and not shrink in a cell?


Thanks in advance,
Alejandro
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3359 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20070919/d447f0bd/attachment.bin>


More information about the Xep-support mailing list