- From: Torsten Erler <erlto@net-linx.de>
- Date: Wed, 10 Apr 2002 03:14:00 -0400 (EDT)
- To: <www-xsl-fo@w3.org>
I'm using XALAN Java 2 to translate "xsl" stylesheets to "fo" and the result to "pdf" I have to insert a graphic using URL from xml file <fo:block text-align="center"> <fo:external-graphic height="21cm" width="18cm" scaling="uniform"> <xsl:attribute name="src"> <xsl:value-of select="additional/filePath"/> </xsl:attribute> </fo:external-graphic> </fo:block> This works fine, but all images are scaled to the specified height and width. If I remove this attributes, all images greater than page size (<fo:simple-page-master master-name="A4" page-width="210mm">) produce an infinite loop on translation. I tried to use "max-height" and "max-width", but xalan ignores this and tells me: Warning: property - "max-height" is not implemented yet. Warning: property - "max-width" is not implemented yet. Can anyone tell me another solution to find out whether the image must be scaled to fit the page size or not? ThanX Torsten ------------------------------------------------------------------------- Unless otherwise indicated, this e-mail and any attachments hereto contain information which is confidential and/or protected by intellectual property rights and are intended for the sole use of the recipient(s) named above under terms of confidentiality nd non-use agreements. Any use of the information contained herein (including, but not limited to, total or partial reproduction, communication or distribution in any form) by persons other than the designated recipient(s) or for purposes not permitted by such agreements, is prohibited. If you have received this e-mail in error, please notify the sender either by telephone or by e-mail and delete the material from any computer. Thank you for your cooperation. -------------------------------------------------------------------------
Received on Wednesday, 10 April 2002 08:42:44 UTC