AW: [xep-support] page height/width according to image size

Wagner, Paul, VF-DE paul.wagner at vodafone.com
Wed Dec 1 08:32:45 PST 2004


I would like to make my PDFs in this way (I don't know how big or small my image is before!):

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
	<fo:layout-master-set>
		<fo:simple-page-master master-name="autopage" page-height="auto" page-width="auto">
// But I don't want get A4-Page-Format here!!!!!
			<fo:region-body region-name="body"/>
		</fo:simple-page-master>
	</fo:layout-master-set>
	<!-- Service Restriction Elemente -->
	<fo:page-sequence master-reference="autopage">
		<fo:flow flow-name="body">
			<fo:block>
				<fo:external-graphic>
					<xsl:attribute name="src">url(<xsl:value-of select="GRAPH"/>)</xsl:attribute>
				</fo:external-graphic>
			</fo:block>
		</fo:flow>
	</fo:page-sequence>
</fo:root>

-----Ursprüngliche Nachricht-----
Von: owner-xep-support at renderx.com [mailto:owner-xep-support at renderx.com] Im Auftrag von David Priest
Gesendet: Mittwoch, 1. Dezember 2004 16:58
An: xep-support at renderx.com
Betreff: [xep-support] image height/width according to page size

And vice-versa, I want to make an image have the same size as the page (or, rather, the region-body area), without knowing the region-body dimensions.  I believe it's going to take some combination of block-container h/w and content-h/w, block h/w and content h/w, and image h/w and content h/w.  I've yet to strike upon the magic combination...


On Wed, 1 Dec 2004 16:15:18 +0100, Wagner, Paul, VF-DE <paul.wagner at vodafone.com> wrote:

> Hi,
>
> I try to generate PDF-Document that includes only one SVF-graph.
> Page-height and page-width must have the same size as the image.
> How can I solve this problem? (like ampel.pdf)
>
> Best regards
>
> Paul Wagner
> Technical Operations - Services
>
> E-Mail:  paul.wagner at vodafone.com
>
> Vodafone D2 GmbH
> Am Seestern 1
> D-40547 Düsseldorf



--
David Priest -- 250 542-5208
WritersBlock Technical Communications
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html



-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html



More information about the Xep-support mailing list