aboutsummaryrefslogtreecommitdiffstats
path: root/test/resources/fop/svg/link.fo
blob: 4af5d363aa3235879ffd277bb9783858d94cf754 (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
<?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="simple"
                  page-height="29.7cm" 
                  page-width="21cm"
                  margin-top="1cm" 
                  margin-bottom="2cm" 
                  margin-left="2.5cm" 
                  margin-right="2.5cm">
      <fo:region-body margin-top="3cm"/>
      <fo:region-before extent="3cm"/>
      <fo:region-after extent="1.5cm"/>
    </fo:simple-page-master>
  </fo:layout-master-set>

  <fo:page-sequence master-reference="simple">

    <fo:flow flow-name="xsl-region-body">

      <fo:block space-after.optimum="40pt">                
        Embedded/Image SVG
      </fo:block>

      <fo:block>                
<fo:external-graphic src="link.svg"/>
      </fo:block>

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