xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tiago Mikhael Pastorello Freire <tiago.fre...@gmail.com>
Subject n00b: scale page background to 100% page width and height
Date Wed, 03 May 2006 19:07:31 GMT
Hi, 
I am getting started to FOP and I am using a very simple testcase:
-----------
<?xml version="1.0" encoding="utf-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
	<fo:layout-master-set>
		<fo:simple-page-master master-name="A4" page-width="210mm"
							   page-height="297mm">
			<fo:region-body region-name="PageBody" margin="10mm" 
background-image="bg.jpg"/>
			
		</fo:simple-page-master>
	</fo:layout-master-set>
	<fo:page-sequence master-reference="A4">
		<fo:flow flow-name="PageBody">
			<fo:block>Hello World</fo:block>
		</fo:flow>
	</fo:page-sequence>
</fo:root>
------------
And I want to scale the background image to the ful page height and width.
How can i accomplish this?

thanks in advance,

Brazilian Joe

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message