You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Nick Winger <ni...@vanguard.at> on 2002/02/18 11:03:45 UTC

tabel cell content bigger than table cell width

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: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Re: Page sequence

Posted by fred redf <po...@yahoo.fr>.
Hi Gilles

Just put a break-after="page" in the last block
intended to be inside each page sequence.
Salut.
Fred.


--- Gilles Beaugeais <be...@syselog.fr> a écrit :
> hello
> 
> I am using fop 0.20.3.
> 
> I have to generate 3 TOCs (table of contents, list 
> of figures, list of tables) and a blank page at the
> end 
> of global 3 TOCs if the 3 TOCs total page count is
> odd.
> 
> The problem is that I have to change header
> depending 
> on the TOC.
> 
> I have defined 3
> 'fo:repeatable-page-master-alternatives' in 
> a 'fo:page-sequence-master' but I don't know how to
> skip 
> from a 'fo:repeatable-page-master-alternatives' to
> another in 
> 'fo:flow'.
> The <fo:block break-before="page"> instruction don't
> make 
> changing the current
> 'fo:repeatable-page-master-alternatives'
> 
> Can someone help ?
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> fop-dev-unsubscribe@xml.apache.org
> For additional commands, email:
> fop-dev-help@xml.apache.org
>  

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Page sequence

Posted by Gilles Beaugeais <be...@syselog.fr>.
hello

I am using fop 0.20.3.

I have to generate 3 TOCs (table of contents, list 
of figures, list of tables) and a blank page at the end 
of global 3 TOCs if the 3 TOCs total page count is odd.

The problem is that I have to change header depending 
on the TOC.

I have defined 3 'fo:repeatable-page-master-alternatives' in 
a 'fo:page-sequence-master' but I don't know how to skip 
from a 'fo:repeatable-page-master-alternatives' to another in 
'fo:flow'.
The <fo:block break-before="page"> instruction don't make 
changing the current 'fo:repeatable-page-master-alternatives'

Can someone help ?


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


AW: tabel cell content bigger than table cell width

Posted by Nick Winger <ni...@vanguard.at>.
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: karen@club-internet.fr [mailto:karen@club-internet.fr]Im Auftrag
von klease@club-internet.fr
Gesendet: Montag, 18. Februar 2002 23:12
An: fop-dev@xml.apache.org
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: fop-dev-unsubscribe@xml.apache.org
> For additional commands, email: fop-dev-help@xml.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Re: tabel cell content bigger than table cell width

Posted by kl...@club-internet.fr.
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: fop-dev-unsubscribe@xml.apache.org
> For additional commands, email: fop-dev-help@xml.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org