0

我使用 rml 作为 openerp7 的报告语言。在那里我需要在文本之后放置一个分页符。

我的代码如下

   <!-- Here i am printing a table which consumes half of the page -->
   <b> This is the first page Text. After this all should come in the second page </b>

   <blockTable style="Table4">
   <condPageBreak height="8cm"/> <!--This doesn't work. even if i give any value to the height attribute -->
      <tr>
        <td>
          <para style="P26"> Text as a paragraph   </para>
        </td>
     </tr>
    </blockTable>

请澄清我。谢谢你的时间。

4

1 回答 1

2

这对我来说很好。

  <!-- Here i am printing a table which consumes half of the page -->
  <b> This is the first page Text. After this all should come in the second page </b>

<condPageBreak height="9cm"/>
  <blockTable style="Table4">
  <tr>
    <td>
      <para style="P26"> Text as a paragraph   </para>
    </td>
 </tr>
</blockTable>

少给它是一个错误。

于 2013-08-05T10:35:07.117 回答