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.

th_scope.fo 2.9KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <?xml version="1.0" standalone="no"?>
  2. <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
  3. xmlns:fox="http://xmlgraphics.apache.org/fop/extensions"
  4. font-family="sans-serif">
  5. <fo:layout-master-set>
  6. <fo:simple-page-master master-name="page"
  7. page-height="120pt" page-width="220pt" margin="10pt">
  8. <fo:region-body display-align="center"/>
  9. </fo:simple-page-master>
  10. </fo:layout-master-set>
  11. <fo:page-sequence master-reference="page">
  12. <fo:flow flow-name="xsl-region-body" line-height="10pt" font-size="8pt">
  13. <fo:table width="100%" table-layout="fixed">
  14. <fo:table-column fox:header="true" column-width="proportional-column-width(1)"/>
  15. <fo:table-column column-width="proportional-column-width(1)"/>
  16. <fo:table-column column-width="proportional-column-width(1)"/>
  17. <fo:table-header font-weight="bold">
  18. <fo:table-row>
  19. <fo:table-cell border="1pt solid black" padding-left="1pt">
  20. <fo:block>Table Header</fo:block>
  21. </fo:table-cell>
  22. <fo:table-cell border="1pt solid black" padding-left="1pt">
  23. <fo:block>Column 1</fo:block>
  24. </fo:table-cell>
  25. <fo:table-cell border="1pt solid black" padding-left="1pt">
  26. <fo:block>Column 2</fo:block>
  27. </fo:table-cell>
  28. </fo:table-row>
  29. </fo:table-header>
  30. <fo:table-body>
  31. <fo:table-row>
  32. <fo:table-cell id="Row1" border="1pt solid black" padding-left="1pt" font-weight="bold">
  33. <fo:block>Row 1</fo:block>
  34. </fo:table-cell>
  35. <fo:table-cell border="1pt solid black" padding-left="1pt">
  36. <fo:block>Cell 1.1</fo:block>
  37. </fo:table-cell>
  38. <fo:table-cell border="1pt solid black" padding-left="1pt">
  39. <fo:block>Cell 1.2</fo:block>
  40. </fo:table-cell>
  41. </fo:table-row>
  42. <fo:table-row>
  43. <fo:table-cell border="1pt solid black" padding-left="1pt" font-weight="bold" role="TH">
  44. <fo:block>Row 2</fo:block>
  45. </fo:table-cell>
  46. <fo:table-cell border="1pt solid black" padding-left="1pt">
  47. <fo:block>Cell 2.1</fo:block>
  48. </fo:table-cell>
  49. <fo:table-cell border="1pt solid black" padding-left="1pt">
  50. <fo:block>Cell 2.2</fo:block>
  51. </fo:table-cell>
  52. </fo:table-row>
  53. <fo:table-row>
  54. <fo:table-cell border="1pt solid black" padding-left="1pt" role="TD">
  55. <fo:block>Non-header</fo:block>
  56. </fo:table-cell>
  57. <fo:table-cell border="1pt solid black" padding-left="1pt">
  58. <fo:block>Cell 3.1</fo:block>
  59. </fo:table-cell>
  60. <fo:table-cell border="1pt solid black" padding-left="1pt">
  61. <fo:block>Cell 3.2</fo:block>
  62. </fo:table-cell>
  63. </fo:table-row>
  64. </fo:table-body>
  65. </fo:table>
  66. </fo:flow>
  67. </fo:page-sequence>
  68. </fo:root>