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

Subject: Re: [xsl] FO page width size according to print settings
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 15 Jan 2004 10:08:28 GMT
> When I choose to print my html page, the contents will be resized to fit
> the page size specified in the page setup....

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

You need to specify the width in the FO file.

an FO file is designed to encapsulate a layout of a generic unformatted
(eg HTML) document, with many (but not all) the layout decisions having
been made. You can't really start the layout until you know the page
width. Of course there is nothing to stop an XSL-FO system offering a
file/print or file/page-setup menu that lets you change these things,
makes the appropriate changes to the FO and re-renders the document, but
that would be an application/GUI issue not specifically an FO one.

David


________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

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


Current Thread