generic_list.rml 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. <?xml version="1.0"?>
  2. <document filename="test.pdf">
  3. <template pageSize="(842.0,595.0)" title="Test" author="Martin Simon" allowSplitting="20">
  4. <pageTemplate id="first">
  5. <frame id="first" x1="28.0" y1="28.0" width="786" height="539"/>
  6. </pageTemplate>
  7. </template>
  8. <stylesheet>
  9. <blockTableStyle id="Standard_Outline">
  10. <blockAlignment value="LEFT"/>
  11. <blockValign value="TOP"/>
  12. </blockTableStyle>
  13. <blockTableStyle id="Tabla1">
  14. <blockAlignment value="LEFT"/>
  15. <blockValign value="TOP"/>
  16. <lineStyle kind="LINEBELOW" colorName="#000000" start="0,-1" stop="0,-1"/>
  17. <lineStyle kind="LINEBELOW" colorName="#000000" start="1,-1" stop="1,-1"/>
  18. <lineStyle kind="LINEBELOW" colorName="#000000" start="2,-1" stop="2,-1"/>
  19. <lineStyle kind="LINEBELOW" colorName="#000000" start="3,-1" stop="3,-1"/>
  20. <lineStyle kind="LINEBELOW" colorName="#000000" start="4,-1" stop="4,-1"/>
  21. <lineStyle kind="LINEBELOW" colorName="#000000" start="5,-1" stop="5,-1"/>
  22. <lineStyle kind="LINEBELOW" colorName="#000000" start="6,-1" stop="6,-1"/>
  23. <lineStyle kind="LINEBELOW" colorName="#000000" start="7,-1" stop="7,-1"/>
  24. <lineStyle kind="LINEBELOW" colorName="#000000" start="8,-1" stop="8,-1"/>
  25. <lineStyle kind="LINEBELOW" colorName="#000000" start="9,-1" stop="9,-1"/>
  26. <lineStyle kind="LINEBELOW" colorName="#000000" start="10,-1" stop="10,-1"/>
  27. <lineStyle kind="LINEBELOW" colorName="#000000" start="11,-1" stop="11,-1"/>
  28. </blockTableStyle>
  29. <blockTableStyle id="Tabla3">
  30. <blockAlignment value="LEFT"/>
  31. <blockValign value="TOP"/>
  32. <lineStyle kind="LINEBELOW" colorName="#808080" start="0,-1" stop="0,-1"/>
  33. <lineStyle kind="LINEBELOW" colorName="#808080" start="1,-1" stop="1,-1"/>
  34. <lineStyle kind="LINEBELOW" colorName="#808080" start="2,-1" stop="2,-1"/>
  35. <lineStyle kind="LINEBELOW" colorName="#808080" start="3,-1" stop="3,-1"/>
  36. <lineStyle kind="LINEBELOW" colorName="#808080" start="4,-1" stop="4,-1"/>
  37. <lineStyle kind="LINEBELOW" colorName="#808080" start="5,-1" stop="5,-1"/>
  38. <lineStyle kind="LINEBELOW" colorName="#808080" start="6,-1" stop="6,-1"/>
  39. <lineStyle kind="LINEBELOW" colorName="#808080" start="7,-1" stop="7,-1"/>
  40. <lineStyle kind="LINEBELOW" colorName="#808080" start="8,-1" stop="8,-1"/>
  41. <lineStyle kind="LINEBELOW" colorName="#808080" start="9,-1" stop="9,-1"/>
  42. <lineStyle kind="LINEBELOW" colorName="#808080" start="10,-1" stop="10,-1"/>
  43. <lineStyle kind="LINEBELOW" colorName="#808080" start="11,-1" stop="11,-1"/>
  44. </blockTableStyle>
  45. <initialize>
  46. <paraStyle name="all" alignment="justify"/>
  47. </initialize>
  48. <paraStyle name="P1" fontName="Helvetica" alignment="CENTER"/>
  49. <paraStyle name="P2" fontName="Helvetica" fontSize="2.0" leading="3"/>
  50. <paraStyle name="Standard" fontName="Helvetica"/>
  51. <paraStyle name="Heading" fontName="Helvetica" fontSize="14.0" leading="17" spaceBefore="12.0" spaceAfter="6.0"/>
  52. <paraStyle name="Text body" fontName="Helvetica" spaceBefore="0.0" spaceAfter="6.0"/>
  53. <paraStyle name="List" fontName="Helvetica" spaceBefore="0.0" spaceAfter="6.0"/>
  54. <paraStyle name="Caption" fontName="Helvetica" fontSize="12.0" leading="15" spaceBefore="6.0" spaceAfter="6.0"/>
  55. <paraStyle name="Index" fontName="Helvetica"/>
  56. <paraStyle name="Table Contents" fontName="Helvetica"/>
  57. <paraStyle name="Table Heading" fontName="Helvetica" alignment="CENTER"/>
  58. <images/>
  59. </stylesheet>
  60. <story>
  61. <para style="P1">TOP LIST</para>
  62. <para style="Standard">
  63. <font color="white"> </font>
  64. </para>
  65. <blockTable colWidths="65.0,65.0,65.0,65.0,66.0,65.0,65.0,65.0,65.0,65.0,65.0,66.0" style="Tabla1">
  66. <tr>
  67. <td>
  68. <para style="Table Contents">Ref.</para>
  69. </td>
  70. <td>
  71. <para style="Table Contents">Operation</para>
  72. </td>
  73. <td>
  74. <para style="Table Contents">Type</para>
  75. </td>
  76. <td>
  77. <para style="Table Contents">Subtype</para>
  78. </td>
  79. <td>
  80. <para style="Table Contents">Zone</para>
  81. </td>
  82. <td>
  83. <para style="Table Contents">Location</para>
  84. </td>
  85. <td>
  86. <para style="Table Contents">Address</para>
  87. </td>
  88. <td>
  89. <para style="Table Contents">M2</para>
  90. </td>
  91. <td>
  92. <para style="Table Contents">Floor</para>
  93. </td>
  94. <td>
  95. <para style="Table Contents">Stair</para>
  96. </td>
  97. <td>
  98. <para style="Table Contents">Rent</para>
  99. </td>
  100. <td>
  101. <para style="Table Contents">Sale</para>
  102. </td>
  103. </tr>
  104. </blockTable>
  105. <section>
  106. <para style="Standard">[[repeatIn(objects,'o')]]</para>
  107. <blockTable colWidths="65.0,66.0,65.0,66.0,65.0,65.0,67.0,67.0,64.0,65.0,65.0,65.0" style="Tabla3">
  108. <tr>
  109. <td>
  110. <para style="Table Contents">[[ o.name ]]</para>
  111. </td>
  112. <td>
  113. <para style="Table Contents">[[ o.operation_getselectionval() ]]</para>
  114. </td>
  115. <td>
  116. <para style="Table Contents">[[ o.type ]]</para>
  117. </td>
  118. <td>
  119. <para style="Table Contents">[[ o.subtype.name ]]</para>
  120. </td>
  121. <td>
  122. <para style="Table Contents">[[ o.zone.name ]]</para>
  123. </td>
  124. <td>
  125. <para style="Table Contents">[[ o.city_id.name ]]</para>
  126. </td>
  127. <td>
  128. <para style="Table Contents">[[ o.address ]]</para>
  129. </td>
  130. <td>
  131. <para style="Table Contents">[[ o.m2 ]]</para>
  132. </td>
  133. <td>
  134. <para style="Table Contents">[[ o.floor ]]</para>
  135. </td>
  136. <td>
  137. <para style="Table Contents">[[ o.stair ]]</para>
  138. </td>
  139. <td>
  140. <para style="Table Contents">[[ o.rent_price ]]</para>
  141. </td>
  142. <td>
  143. <para style="Table Contents">[[ o.sale_price ]]</para>
  144. </td>
  145. </tr>
  146. </blockTable>
  147. <para style="P2">
  148. <font color="white"> </font>
  149. </para>
  150. </section>
  151. <para style="Standard">
  152. <font color="white"> </font>
  153. </para>
  154. </story>
  155. </document>