Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

leader-space.xml 2.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Copyright 2005 The Apache Software Foundation
  4. Licensed under the Apache License, Version 2.0 (the "License");
  5. you may not use this file except in compliance with the License.
  6. You may obtain a copy of the License at
  7. http://www.apache.org/licenses/LICENSE-2.0
  8. Unless required by applicable law or agreed to in writing, software
  9. distributed under the License is distributed on an "AS IS" BASIS,
  10. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  11. See the License for the specific language governing permissions and
  12. limitations under the License.
  13. -->
  14. <!-- $Id: text-decoration1.xml 198408 2005-02-09 21:38:31Z jeremias $ -->
  15. <testcase>
  16. <info>
  17. <p>
  18. This test checks leaders with leader-pattern="space"
  19. </p>
  20. </info>
  21. <fo>
  22. <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:svg="http://www.w3.org/2000/svg">
  23. <fo:layout-master-set>
  24. <fo:simple-page-master master-name="normal" page-width="5in" page-height="5in">
  25. <fo:region-body/>
  26. </fo:simple-page-master>
  27. </fo:layout-master-set>
  28. <fo:page-sequence master-reference="normal" white-space-collapse="true">
  29. <fo:flow flow-name="xsl-region-body">
  30. <fo:block>
  31. <fo:leader leader-pattern="space"/>
  32. Default space pattern
  33. </fo:block>
  34. <fo:block>
  35. <fo:leader leader-pattern="space" leader-pattern-width="use-font-metrics"/>
  36. leader-pattern-width="use-font-metrics"
  37. </fo:block>
  38. <fo:block>
  39. <fo:leader leader-pattern="space" leader-length="20mm" leader-pattern-width="5mm"/>
  40. leader-length="20mm" leader-pattern-width="5mm"
  41. </fo:block>
  42. <fo:block>
  43. <fo:leader leader-pattern="space" leader-pattern-width="1pt"/>
  44. leader-pattern-width="1pt"
  45. </fo:block>
  46. <fo:block>
  47. <fo:leader leader-pattern="space" leader-pattern-width="5%"/>
  48. leader-pattern-width="5%"
  49. </fo:block>
  50. </fo:flow>
  51. </fo:page-sequence>
  52. </fo:root>
  53. </fo>
  54. <checks>
  55. </checks>
  56. </testcase>