2013-08-05 16 views
0

openerp7의보고 언어로 rml을 사용하고 있습니다. 거기에 텍스트 뒤에 페이지 나누기가 필요합니다.RML의 조건부 페이지 나누기

<!-- 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> 

이 친절하게 저를 명확히 아래

내 코드입니다. 시간 내 줘서 고마워.

답변

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> 

덜 실수로 제공했습니다.