You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Alexander Lohse <al...@webjazz.de> on 2004/08/06 08:28:48 UTC

table-row height

Hi,

I am search for a way to correctly print on address-labels, which have 
fixed sizes.
Is there a way to stop FOP from resizing a table-row, when the content 
would need more height than specified?
Here is my code:

	<xsl:template match="address">
		<fo:table-row height="40mm">
			<fo:table-cell border-width="0.1pt" border-color="#000000" 
border-style="solid">
				<fo:block white-space-collapse="false" 
linefeed-treatment="preserve" font-size="10pt" margin="5mm">
					<xsl:value-of select="." />
				</fo:block>
			</fo:table-cell>
		</fo:table-row>
	</xsl:template>

I thought maybe my problem can be solved by creating a SVG-Graphic for 
each label?
Can may be anyone give me an example, how to create and embed a simple, 
fixed-sized, text-based svg?

Thank you very much in advance,

Alex


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


Re: table-row height

Posted by "J.Pietschmann" <j3...@yahoo.de>.
Alexander Lohse wrote:
> is there any way to do that in the current FOP version?

To do what?
Methods for hiding overflow vary depending on the problem
at hand. Appraches include using another absolutely
positioned block container with non-transparent background,
graphics, especially SVG graphics, exploiting table cell
overflows and region overlaps.

J.Pietschmann


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


Re: table-row height

Posted by Alexander Lohse <al...@webjazz.de>.
Hi,

is there any way to do that in the current FOP version?

Regards,

Alex

Am 06.08.2004 um 22:24 schrieb J.Pietschmann:

> Alexander Lohse wrote:
>> I am search for a way to correctly print on address-labels, which 
>> have fixed sizes.
>> Is there a way to stop FOP from resizing a table-row, when the 
>> content would need more height than specified?
>
> No. You have to resort to an absolutely placed block-container.
> There's still no clipping, you'll need some means to hide overflow.
>
> J.Pietschmann
–––––––––––––––––––––––––––––––––––––––
Alexander Lohse
(Entwicklungsleitung & Projektmanagement)

WebJazz Internet Suite
Human Touch Medienproduktion GmbH
Am See 1
17440 Klein Jasedow
Deutschland

Tel 		(0049) 38374-752-11		
Fax 		(0049) 38374-752-23
e-mail 	al@webjazz.de
Internet	http://www.webjazz.de
–––––––––––––––––––––––––––––––––––––––


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


Re: table-row height

Posted by "J.Pietschmann" <j3...@yahoo.de>.
Alexander Lohse wrote:
> I am search for a way to correctly print on address-labels, which have 
> fixed sizes.
> Is there a way to stop FOP from resizing a table-row, when the content 
> would need more height than specified?

No. You have to resort to an absolutely placed block-container.
There's still no clipping, you'll need some means to hide overflow.

J.Pietschmann

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