You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

list-mountjoy.fo 13KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
  3. <!-- defines the layout master -->
  4. <fo:layout-master-set>
  5. <fo:simple-page-master master-name="first"
  6. page-height="29.7cm" page-width="21cm"
  7. margin-top="1cm"
  8. margin-bottom="2cm"
  9. margin-left="2.5cm"
  10. margin-right="2.5cm">
  11. <fo:region-body margin-top="3cm"/>
  12. <fo:region-before extent="3cm"/>
  13. <fo:region-after extent="1.5cm"/>
  14. </fo:simple-page-master>
  15. </fo:layout-master-set>
  16. <!-- starts actual layout -->
  17. <fo:page-sequence master-name="first">
  18. <!-- Inserts a header with the page number -->
  19. <fo:static-content flow-name="xsl-region-before">
  20. <fo:block text-align="end" font-size="10pt" font-family="serif" line-height="14pt">
  21. XSL-FO Example: simple list - p. <fo:page-number/>
  22. </fo:block>
  23. </fo:static-content>
  24. <fo:flow flow-name="xsl-region-body">
  25. <!-- title -->
  26. <fo:block font-size="14pt"
  27. font-family="sans-serif"
  28. line-height="18pt"
  29. space-before.optimum="3pt"
  30. space-after.optimum="3pt"
  31. font-weight="bold"
  32. start-indent="15pt">
  33. Validity Constraint: Standalone Document Declaration
  34. </fo:block>
  35. <!-- normal text -->
  36. <fo:block font-size="12pt"
  37. font-family="sans-serif"
  38. line-height="15pt"
  39. space-after.optimum="3pt" >
  40. The standalone document declaration must have the value "no" if
  41. any external markup declarations contain declarations of:
  42. </fo:block>
  43. <!-- list -->
  44. <fo:list-block>
  45. <!-- list item -->
  46. <fo:list-item>
  47. <!-- insert a bullet -->
  48. <fo:list-item-label end-indent="label-end()">
  49. <fo:block>&#x2022;</fo:block>
  50. </fo:list-item-label>
  51. <!-- list text -->
  52. <fo:list-item-body start-indent="body-start()">
  53. <fo:block>
  54. attributes with default values, if elements to which these attributes apply appear in the document without specifications of values for these attributes, or
  55. </fo:block>
  56. </fo:list-item-body>
  57. </fo:list-item>
  58. <!-- list item -->
  59. <fo:list-item>
  60. <!-- insert a bullet -->
  61. <fo:list-item-label end-indent="label-end()">
  62. <fo:block>&#x2022;</fo:block>
  63. </fo:list-item-label>
  64. <!-- list text -->
  65. <fo:list-item-body start-indent="body-start()">
  66. <fo:block>
  67. entities (other than amp, lt, gt, apos, quot), if references to those entities appear in the document, or
  68. </fo:block>
  69. </fo:list-item-body>
  70. </fo:list-item>
  71. <!-- list entry -->
  72. <fo:list-item>
  73. <!-- insert a bullet -->
  74. <fo:list-item-label end-indent="label-end()">
  75. <fo:block>&#x2022;</fo:block>
  76. </fo:list-item-label>
  77. <!-- list text -->
  78. <fo:list-item-body start-indent="body-start()">
  79. <fo:block>
  80. attributes with values subject to normalization, where the attribute appears in the document with a value which will
  81. </fo:block>
  82. </fo:list-item-body>
  83. </fo:list-item>
  84. <!-- list entry -->
  85. <fo:list-item>
  86. <!-- insert a bullet -->
  87. <fo:list-item-label end-indent="label-end()">
  88. <fo:block>&#x2022;</fo:block>
  89. </fo:list-item-label>
  90. <!-- list text -->
  91. <fo:list-item-body start-indent="body-start()">
  92. <fo:block>
  93. change as a result of normalization, or
  94. </fo:block>
  95. </fo:list-item-body>
  96. </fo:list-item>
  97. <!-- list entry -->
  98. <fo:list-item>
  99. <!-- insert a bullet -->
  100. <fo:list-item-label end-indent="label-end()">
  101. <fo:block>&#x2022;</fo:block>
  102. </fo:list-item-label>
  103. <!-- list text -->
  104. <fo:list-item-body start-indent="body-start()">
  105. <fo:block>
  106. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white spaceadsfadsfsssssssssssssss thin any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white spaceadsfadsfssssssssthin any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white spaceadsfadsfssssssssthin any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white spaceadsfadsfssssssssthin any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white spaceadsfadsfssssssss
  107. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. elementtance of those types. sfg sfd gdg d d
  108. </fo:block>
  109. </fo:list-item-body>
  110. </fo:list-item>
  111. <fo:list-item>
  112. <fo:list-item-label end-indent="label-end()"> <fo:block/></fo:list-item-label>
  113. <fo:list-item-body start-indent="body-start()">
  114. <fo:list-block>
  115. <!-- list item -->
  116. <fo:list-item>
  117. <!-- insert a bullet -->
  118. <fo:list-item-label end-indent="label-end()">
  119. <fo:block>&#x2022;</fo:block>
  120. </fo:list-item-label>
  121. <!-- list text -->
  122. <fo:list-item-body start-indent="body-start()">
  123. <fo:block>
  124. attributes with default values, if elements to which these attributes apply appear in the document without specifications of values for these attributes, or
  125. </fo:block>
  126. </fo:list-item-body>
  127. </fo:list-item>
  128. <!-- list item -->
  129. <fo:list-item>
  130. <!-- insert a bullet -->
  131. <fo:list-item-label end-indent="label-end()">
  132. <fo:block>&#x2022;</fo:block>
  133. </fo:list-item-label>
  134. <!-- list text -->
  135. <fo:list-item-body start-indent="body-start()">
  136. <fo:block>
  137. attributes with default values, if elements to which these attributes apply appear in the document without specifications of values for these attributes, or
  138. </fo:block>
  139. </fo:list-item-body>
  140. </fo:list-item>
  141. <!-- list item -->
  142. <fo:list-item>
  143. <!-- insert a bullet -->
  144. <fo:list-item-label end-indent="label-end()">
  145. <fo:block>&#x2022;</fo:block>
  146. </fo:list-item-label>
  147. <!-- list text -->
  148. <fo:list-item-body start-indent="body-start()">
  149. <fo:block>
  150. attributes with default values, if elements to which these attributes apply appear in the document without specifications of values for these attributes, or
  151. </fo:block>
  152. </fo:list-item-body>
  153. </fo:list-item>
  154. <!-- list item -->
  155. <fo:list-item>
  156. <!-- insert a bullet -->
  157. <fo:list-item-label end-indent="label-end()">
  158. <fo:block>&#x2022;</fo:block>
  159. </fo:list-item-label>
  160. <!-- list text -->
  161. <fo:list-item-body start-indent="body-start()">
  162. <fo:block>
  163. attributes with default values, if elements to which these attributes apply appear in the document without specifications of values for these attributes, or
  164. </fo:block>
  165. </fo:list-item-body>
  166. </fo:list-item>
  167. </fo:list-block>
  168. </fo:list-item-body>
  169. </fo:list-item>
  170. <!-- list entry -->
  171. <fo:list-item>
  172. <!-- insert a bullet -->
  173. <fo:list-item-label end-indent="label-end()">
  174. <fo:block>&#x2022;</fo:block>
  175. </fo:list-item-label>
  176. <!-- list text -->
  177. <fo:list-item-body start-indent="body-start()">
  178. <fo:block>
  179. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. elementtance of those types.
  180. </fo:block>
  181. </fo:list-item-body>
  182. </fo:list-item>
  183. <!-- list entry -->
  184. <fo:list-item>
  185. <!-- insert a bullet -->
  186. <fo:list-item-label end-indent="label-end()">
  187. <fo:block>&#x2022;</fo:block>
  188. </fo:list-item-label>
  189. <!-- list text -->
  190. <fo:list-item-body start-indent="body-start()">
  191. <fo:block>
  192. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. elementtance of those types.
  193. </fo:block>
  194. </fo:list-item-body>
  195. </fo:list-item>
  196. <!-- list entry -->
  197. <fo:list-item>
  198. <!-- insert a bullet -->
  199. <fo:list-item-label end-indent="label-end()">
  200. <fo:block>&#x2022;</fo:block>
  201. </fo:list-item-label>
  202. <!-- list text -->
  203. <fo:list-item-body start-indent="body-start()">
  204. <fo:block>
  205. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. elementtance of those types.
  206. </fo:block>
  207. </fo:list-item-body>
  208. </fo:list-item>
  209. </fo:list-block>
  210. </fo:flow>
  211. </fo:page-sequence>
  212. </fo:root>