aboutsummaryrefslogtreecommitdiffstats
path: root/test/fotree/testcases/id_auto.fo
blob: 8e8d03b7eab6e94b1fa72ab3d2b0a2740507a382 (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
<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:test="http://xmlgraphics.apache.org/fop/test">
  <test:assert property="id" expected="FO_1" />
  <fo:layout-master-set>
    <test:assert property="id" expected="FO_2" />
    <fo:simple-page-master master-name="simpleA4" page-height="29.7cm" page-width="21cm" margin-top="2cm" margin-bottom="2cm" margin-left="2cm" margin-right="2cm">
      <test:assert property="id" expected="FO_3" />
      <fo:region-body>
        <test:assert property="id" expected="FO_4" />
      </fo:region-body>
    </fo:simple-page-master>
  </fo:layout-master-set>
  <fo:page-sequence master-reference="simpleA4">
    <test:assert property="id" expected="FO_5" />
    <fo:flow flow-name="xsl-region-body">
      <test:assert property="id" expected="FO_6" />
      <fo:block font-size="14pt" id="block">Hello
        <test:assert property="id" expected="block"/>
        <fo:inline> World!
          <test:assert property="id" expected="FO_7" />
        </fo:inline>
      </fo:block>
      <fo:block font-family="ZapfDingbats">&#2702;
        <test:assert property="id" expected="FO_8" />
      </fo:block>
    </fo:flow>
  </fo:page-sequence>
</fo:root>