blob: ee04d1bc86fad0adb60317c1e1dee1f913694fbd [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- $Id$ -->
<testcase>
<info>
<p>
This test checks that blocks of texts are re-laid out after a change of the flow ipd.
</p>
</info>
<fo>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:fox="http://xmlgraphics.apache.org/fop/extensions" font-family="Helvetica">
<fo:layout-master-set>
<fo:simple-page-master master-name="PageFront" page-width="210mm" page-height="297mm">
<fo:region-body margin-bottom="22mm" margin-right="80mm" margin-top="100mm" margin-left="20mm" region-name="letterPageBody"/>
</fo:simple-page-master>
<fo:simple-page-master master-name="PageCont" page-width="210mm" page-height="297mm">
<fo:region-body margin-right="30mm" margin-bottom="30mm" margin-top="12mm" margin-left="20mm" region-name="letterPageBody"/>
</fo:simple-page-master>
<fo:page-sequence-master master-name="LetterPages">
<fo:repeatable-page-master-alternatives>
<fo:conditional-page-master-reference page-position="first" master-reference="PageFront"/>
<fo:conditional-page-master-reference page-position="rest" master-reference="PageCont"/>
<fo:conditional-page-master-reference page-position="last" master-reference="PageCont"/>
</fo:repeatable-page-master-alternatives>
</fo:page-sequence-master>
</fo:layout-master-set>
<fo:page-sequence format="1" id="th_default_sequence1" force-page-count="even" initial-page-number="auto" master-reference="LetterPages">
<fo:flow flow-name="letterPageBody">
<fo:block-container height="41mm" overflow="hidden" width="55mm" top="45mm" left="20mm" absolute-position="fixed">
<fo:block>
<fo:block font-family="Arial" font-size="10pt" line-height="13pt">Mr les</fo:block>
</fo:block>
</fo:block-container>
<fo:block>
<fo:list-block start-indent="1pt" space-before="1pt" keep-together.within-page="always" keep-with-previous.within-page="always">
<fo:list-item font-family="Arial" font-size="10pt" space-before="2px">
<fo:list-item-label font-family="ZapfDingbats" font-size="4pt" line-height="10pt">
<fo:block>
<fo:inline>‚óŹ</fo:inline>
</fo:block>
</fo:list-item-label>
<fo:list-item-body font-family="Arial" font-size="10pt" start-indent="4mm" space-before="2px">
<fo:block>Cover summary (all your key policy information)</fo:block>
</fo:list-item-body>
</fo:list-item>
</fo:list-block>
</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>
</fo>
<checks>
<eval expected="Mr" xpath="//pageViewport[1]//flow/block//word"/>
<eval expected="" xpath="//pageViewport[2]//flow/block//word"/>
</checks>
</testcase>