aboutsummaryrefslogtreecommitdiffstats
path: root/test/xml/bugtests/image.fo
blob: 8c5b3c7c66d1dfb84f3e2586e104d9099013348f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?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="simplePM"
	                  page-height="25cm" 
	                  page-width="10cm"
	                  margin-top="3cm" 
	                  margin-bottom="2cm" 
	                  margin-left="3cm" 
	                  margin-right="2cm">
	      <fo:region-body/>
	    </fo:simple-page-master>
	</fo:layout-master-set>

	<fo:page-sequence master-name="simplePM">
	    <fo:flow flow-name="xsl-region-body">
			<fo:block>
				<fo:external-graphic src="file:../graphics/page.gif"/>
			</fo:block>

			<fo:block>
				<fo:external-graphic height="3in" width="3in" src="file:../graphics/page.gif"/>
				height=3in width=3in
			</fo:block>

			<fo:block>
				<fo:external-graphic height="3in" src="file:../graphics/page.gif"/>
				height="3in"
			</fo:block>
			
			<fo:block>
				<fo:external-graphic width="1.5in" src="file:../graphics/page.gif"/>
				width="1.5in" 
			</fo:block>

			<fo:block>
				<fo:external-graphic height="6in" width="4in" src="file:../graphics/page.gif"/>
				height="6in" width="4in"
			</fo:block>

		</fo:flow>
	</fo:page-sequence>
</fo:root>