hi !

i'm using fop version 20.1.

here is my fo:table code:

<fo:table width="100%" height="132mm" border-top-style="solid"
border-top-width="0.4mm"
          border-bottom-style="none" border-bottom-width="0mm"
          border-left-style="solid" border-left-width="0.4mm"
          border-right-style="solid" border-right-width="0.4mm"
          table-omit-header-at-break="false"
table-omit-footer-at-break="false">
        <fo:table-column column-width="18mm"/>
                <fo:table-column column-width="60mm"/>
                <fo:table-column column-width="17.5mm"/>
                <fo:table-column column-width="88.5mm"/>

        <fo:table-header>
         <fo:table-row>
                <fo:table-cell number-columns-spanned="4">
                        <fo:table width="100%">
                                <fo:table-column column-width="53mm"/>
                                <fo:table-column column-width="42.5mm"/>
                                <fo:table-column column-width="35.5mm"/>
                                <fo:table-column column-width="53mm"/>

                  <fo:table-body font-size="13pt" font-family="Arial">
                                <fo:table-row height="15mm">
                                <fo:table-cell border-width="0.1mm" 
border-style="solid"
padding-before="15pt"
                                                padding-start="2pt" padding-end="3pt" 
padding-after="3pt">
                                                <fo:block font-family="Arial" 
font-size="13pt" font-weight="bold">

<!-- This line is too long and exceeds the table-cell -->

                                                ERSATZTEILLISTE für Tracktor 500
                                        </fo:block>
                                        </fo:table-cell>
                                        <fo:table-cell border-width="0.1mm" 
border-style="solid"
padding-before="15pt"
                                                padding-start="2pt" padding-end="3pt" 
padding-after="3pt">
                                                <fo:block font-family="Arial" 
font-size="13pt" font-weight="bold">

<!-- This line is too long and exceeds the table-cell -->

                                                TRACKTOR 400 - Steyr
                                                </fo:block>
                                                <fo:block font-family="Arial" 
font-size="6pt">
                                                        Maschine
                                        </fo:block>
                                        </fo:table-cell>
                                        <fo:table-cell border-width="0.1mm" 
border-style="solid"
padding-before="15pt"
                                                padding-start="2pt" padding-end="3pt" 
padding-after="3pt">
                                                <fo:block font-family="Arial" 
font-size="13pt" font-weight="bold">
                                                92342789.783
                                        </fo:block>
                                                <fo:block font-family="Arial" 
font-size="6pt">
                                                        Baugruppe
                                        </fo:block>
                                </fo:table-cell>
                                <fo:table-cell border-width="0.1mm" 
border-style="solid"
padding-before="5pt"
                                                padding-start="2pt" padding-end="3pt" 
padding-after="3pt">
                                                <fo:block text-align="center">
                                                <fo:external-graphic 
src="file:logo.tif"/>
                                                </fo:block>
                                        </fo:table-cell>
                                </fo:table-row>
                        </fo:table-body>
                </fo:table>
        </fo:table-cell>
</fo:table-row>
<fo:table-row>
        <fo:table-cell number-columns-spanned="4">
                <fo:table width="100%">
                        <fo:table-column column-width="18mm"/>
                        <fo:table-column column-width="60mm"/>
                        <fo:table-column column-width="17.5mm"/>
                        <fo:table-column column-width="88.5mm"/>

                  <fo:table-body font-size="13pt" font-family="Arial">
                                <fo:table-row height="5mm">
                             <fo:table-cell border-left-style="none"
border-bottom-style="none" border-width="0.1mm"
border-style="solid" padding-top="3pt" padding-before="3pt" padding-start=
"3pt" padding-end="3pt" padding-after="3pt">
                                            <fo:block font-family="Arial" 
font-weight="bold" font-size="8pt"
text-align="center">
                                                Pos
                                            </fo:block>
                             </fo:table-cell>
                                     <fo:table-cell border-bottom-style="none" 
border-width="0.1mm"
border-style="solid"                                                              
padding-top="3pt" padding-before="3pt"
padding-start="3pt" padding-end=                                                       
   "3pt" padding-after="3pt">
                                      <fo:block font-family="Arial" font-weight="bold"
font-size="8pt">Teilenummer                                               </fo:block>
                                </fo:table-cell>
                            <fo:table-cell border-bottom-style="none" 
border-width="0.1mm"
border-style="solid" padding-                                              top="3pt" 
padding-before="3pt"
padding-start="3pt" padding-end="3pt" padding-                                         
    after="3pt">
                                    <fo:block font-family="Arial" font-weight="bold"
font-size="8pt">Menge</fo:block>
                            </fo:table-cell>
                                <fo:table-cell border-bottom-style="none" 
border-width="0.1mm"
border-style="solid" padding-                                              top="3pt" 
padding-before="3pt"
padding-start="3pt" padding-end="3pt" padding-                                         
    after="3pt">
                              <fo:block font-family="Arial" font-weight="bold"
font-size="8pt">Beschreibung</fo:block>
                                </fo:table-cell>
                         </fo:table-row>
                </fo:table-body>
        </fo:table>
      </fo:table-cell>
</fo:table-row>
</fo:table-header>


        <fo:table-body font-size="8pt" font-family="Arial">
           <fo:table-row>
             <fo:table-cell border-width="0.1mm" border-style="solid"
padding-top="3pt" padding-before="3pt"
                        padding-start="3pt" padding-end="3pt" padding-after="3pt">
                    <fo:block font-family="Arial" font-weight="bold" font-size="8pt"
text-align="center">Pos                             </fo:block>
             </fo:table-cell>
           <fo:table-cell border-width="0.1mm" border-style="solid"
padding-top="3pt" padding-before="3pt"
                        padding-start="3pt" padding-end="3pt" padding-after="3pt">
                   <fo:block font-family="Arial" font-weight="bold"
font-size="8pt">Teilenummer</fo:block>
           </fo:table-cell>
           <fo:table-cell border-width="0.1mm" border-style="solid"
padding-top="3pt" padding-before="3pt"
                        padding-start="3pt" padding-end="3pt" padding-after="3pt">
                   <fo:block font-family=\"Arial\" font-weight=\"bold\"
font-size=\"8pt\">Menge</fo:block>
           </fo:table-cell>
           <fo:table-cell border-width="0.1mm" border-style="solid"
padding-top="3pt" padding-before="3pt"
                        padding-start="3pt" padding-end="3pt" padding-after="3pt">
                   <fo:block font-family="Arial" font-weight="bold"
font-size="8pt">Beschreibung</fo:block>
           </fo:table-cell>
        </fo:table-row>
    </fo:table-body>
  </fo:table>


greetings
nick

-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag
von [EMAIL PROTECTED]
Gesendet: Montag, 18. Februar 2002 23:12
An: [EMAIL PROTECTED]
Betreff: Re: tabel cell content bigger than table cell width


Hi Nick,
Normally the text wraps by default. Are you using the latest
"maintenance version" (0.20.3)? What are your column widths? Could you
send your whole fo:table code?

-Karen

Nick Winger wrote:
>
> Hi !
>
> i have a table cell inside a table-row (inside a table) and the text in
that
> table cell
> is exceeds the width of the table-cell. Now it doesn't stop writting the
> text,
> so it appears on the next table-cell. Of course this doesn't look good.
> How can i make the text in the table-cell to break and write it in the
next
> line
> of the table-cell ?
> i've tried (as you can see ) wrap-option="wrap", but that didn't work...
> please help...
> thanks
>
> <fo:table-cell border-width="0.1mm" border-style="solid"
> padding-before="15pt" padding-start="2pt" padding-end="3pt"
> padding-after="3pt">"
>         <fo:block wrap-option="wrap" font-family="Helvetica"
font-size="13pt"
> font-weight="bold">"
>                 Some text that is larger than the table cell
>         </fo:block>"
> </fo:table-cell>"
>
> greetings
>
> Nick Winger
>
> (Software-Developer)
> ==============================
> VANGUARD Software GmbH
> Julius Tandler Platz 8
> 1090 Vienna, AUSTRIA
>
> Phone: +43-1-3195263-20
> Fax:   +43-1-3195263-90
> http://www.vanguard.at
> ==============================
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]

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


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

Reply via email to