[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Graphics scaling on XSLFO - need suggestions

Subject: RE: Graphics scaling on XSLFO - need suggestions
From: ms <mina_hurray@xxxxxxxxx>
Date: Wed, 14 Feb 2007 15:54:46 -0800 (PST)
RE:  Graphics scaling on XSLFO - need suggestions
Hi Angela:

Here is my page and body margin information.

	<fo:simple-page-master master-name="Graphics"
page-height="11in" page-width="8.5in" margin-top="5mm"
margin-bottom="5mm" margin-left="5mm"
margin-right="5mm">
					<fo:region-body
region-name="Graphics-region-body" margin-top="39mm"
margin-bottom="30mm" margin-left="8mm"
margin-right="8mm"/>
					<fo:region-before
region-name="Graphics-region-before" extent="44mm"/>
					<fo:region-after
region-name="Graphics-region-after" extent="50mm"
display-align="after"/>

</fo:simple-page-master>

I have tried playing with the margins and set them to
0.5in for both the page and region-body. Then I set
the content-height and content-width values to
"scale-to-fit". 

This again says "no space for element to recover".

Thanks for all your hlp.

--- Angela Williams
<Angela.Williams@xxxxxxxxxxxxxxxxxx> wrote:

> Mina,
> 
> I don't believe the extent matters.  The way I
> understand it (someone
> please correct me if I'm wrong), the extent just
> tells us how far into
> the page the margin content will be displayed - it
> ignores the page and
> body margins.  Anything that 'lives' inside the
> extent area can overlap
> the margin areas. The page margins tell us where the
> container that
> holds the body can live, and the body margins give
> us the size of the
> body 'box', relative to the page margin.
> 
> It is the margin values we need to address.  What
> are your page margins
> and body margins values?
> 
> Angela
> 
> -----Original Message-----
> From: ms [mailto:mina_hurray@xxxxxxxxx] 
> Sent: Monday, February 12, 2007 5:39 PM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: RE:  Graphics scaling on XSLFO - need
> suggestions
> 
> Hi Angela:
> 
> Thank you for your detailed email. I tried resetting
> the margins to what you mentioned and removed the
> actual "height" and "width" attributes on the
> graphic
> itself but it again says "no space for element to
> recover".
> 
> The region-before extent is set to 37mm and the
> region-after to 17mm. Is there anything that I am
> doing wrong here?
> 
> 



 
____________________________________________________________________________________
Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
http://videogames.yahoo.com/platform?platform=120121

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2011 All Rights Reserved.