Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

flow_changing-ipd_list5.xml 3.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed to the Apache Software Foundation (ASF) under one or more
  4. contributor license agreements. See the NOTICE file distributed with
  5. this work for additional information regarding copyright ownership.
  6. The ASF licenses this file to You under the Apache License, Version 2.0
  7. (the "License"); you may not use this file except in compliance with
  8. the License. You may obtain a copy of the License at
  9. http://www.apache.org/licenses/LICENSE-2.0
  10. Unless required by applicable law or agreed to in writing, software
  11. distributed under the License is distributed on an "AS IS" BASIS,
  12. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. See the License for the specific language governing permissions and
  14. limitations under the License.
  15. -->
  16. <!-- $Id$ -->
  17. <testcase>
  18. <info>
  19. <p>
  20. This test checks that blocks of texts are re-laid out after a change of the flow ipd.
  21. </p>
  22. </info>
  23. <fo>
  24. <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:fox="http://xmlgraphics.apache.org/fop/extensions">
  25. <fo:layout-master-set>
  26. <fo:simple-page-master master-name="PageFront" page-width="8.5in" page-height="11in" margin-bottom="0.2in" margin-right="0.5in" margin-top="0.5in" margin-left="0.5in">
  27. <fo:region-body region-name="letterPageBody1" margin-bottom="0.3in" margin-right="0pt" margin-top="1.6in" margin-left="0pt"/>
  28. <fo:region-before region-name="Header" extent="10.8in"/>
  29. </fo:simple-page-master>
  30. <fo:simple-page-master master-name="PageRest" page-width="8.5in" page-height="11in" margin-bottom="0.1in" margin-right="0.5in" margin-top="0.5in" margin-left="0.5in">
  31. <fo:region-body margin-bottom="0.1in" margin-right="0pt" margin-top="0.4in" margin-left="0pt" column-gap="0.5in" column-count="2" region-name="letterPageBody"/>
  32. </fo:simple-page-master>
  33. <fo:page-sequence-master master-name="LetterPages">
  34. <fo:repeatable-page-master-alternatives>
  35. <fo:conditional-page-master-reference page-position="first" master-reference="PageFront"/>
  36. <fo:conditional-page-master-reference page-position="rest" master-reference="PageRest"/>
  37. <fo:conditional-page-master-reference page-position="last" master-reference="PageRest"/>
  38. </fo:repeatable-page-master-alternatives>
  39. </fo:page-sequence-master>
  40. </fo:layout-master-set>
  41. <fo:page-sequence format="1" id="th_default_sequence1" initial-page-number="auto" force-page-count="auto" master-reference="LetterPages">
  42. <fo:static-content flow-name="Header">
  43. <fo:block>
  44. <fo:list-block font-family="Helvetica" font-size="10pt" line-height="11pt">
  45. <fo:list-item space-after="5pt" space-before="5pt" line-height="11pt">
  46. <fo:list-item-label font-family="Helvetica" font-size="10pt" text-indent="0.1in" line-height="11pt">
  47. <fo:block>1.</fo:block>
  48. </fo:list-item-label>
  49. <fo:list-item-body start-indent="0.325in" font-family="Helvetica" font-size="10pt" line-height="11pt">
  50. <fo:block>
  51. <fo:inline font-weight="bold">Your </fo:inline>name is the name on the attached declaration.</fo:block>
  52. </fo:list-item-body>
  53. </fo:list-item>
  54. </fo:list-block>
  55. </fo:block>
  56. </fo:static-content>
  57. <fo:flow flow-name="letterPageBody">
  58. <fo:block>AGREEMENT</fo:block>
  59. </fo:flow>
  60. </fo:page-sequence>
  61. </fo:root>
  62. </fo>
  63. <checks>
  64. <eval expected="" xpath="//pageViewport[1]//flow/block//word"/>
  65. <eval expected="AGREEMENT" xpath="//pageViewport[2]//flow/block//word"/>
  66. </checks>
  67. </testcase>