RE: [xsl] FO page width size according to print settings

Subject: RE: [xsl] FO page width size according to print settings
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 15 Jan 2004 07:02:45 -0500
Have you tried using a content-width="100%" or content-width="scale-to-fit" property? This is applied to the image, not to the viewport in which the image is placed.

I hope this helps.

...................... Ken

At 2004-01-15 09:41 +0000, Andrew Welch wrote:
> If you have an A4-sized PDF file, what size would you like it
> to be in your
> A3 page?  When you say "resizing its contents", to which size
> would you
> like it resized?

Thanks for the info Ken,

When I choose to print my html page, the contents will be resized to fit
the page size specified in the page setup.  So an image specified like
this:

<img style="width:100%" src="foo.gif"/>

Will be the full width of the page, whether it is A4 or A3.

How do I achieve the same funcionality in xsl:fo?


--
North America (Washington, DC): 3-day XSLT/2-day XSL-FO 2004-03-15
Instructor-led on-site corporate, government & user group training
for XSLT and XSL-FO world-wide:  please contact us for the details

G. Ken Holman                 mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/s/
Box 266, Kars, Ontario CANADA K0A-2E0    +1(613)489-0999 (F:-0995)
ISBN 0-13-065196-6                       Definitive XSLT and XPath
ISBN 0-13-140374-5                               Definitive XSL-FO
ISBN 1-894049-08-X   Practical Transformation Using XSLT and XPath
ISBN 1-894049-11-X               Practical Formatting Using XSL-FO
Member of the XML Guild of Practitioners:     http://XMLGuild.info
Male Breast Cancer Awareness  http://www.CraneSoftwrights.com/s/bc


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread