2

我正在编写 openerp v7 中的报告,我需要摆脱桌子上的左右填充:

在此处输入图像描述

下面是块表的定义:

<blockTableStyle id="Detalle">
      <blockAlignment value="LEFT"/>
      <blockValign value="TOP"/>
    <!--      <lineStyle kind="LINEABOVE" colorName="#000000" thickness="1.0" start="0,0" stop="-1,-1" />
      <lineStyle kind="LINEBELOW" colorName="#000000" thickness="1.0" start="0,0" stop="-1,-1" />   -->
 <lineStyle kind="LINEBEFORE" colorName="#000000" thickness="1.0" start="0,0" stop="-1,-1" />
      <lineStyle kind="LINEAFTER" colorName="#000000" thickness="1.0" start="0,0" stop="-1,-1" />
    </blockTableStyle>

这是一段:

<paraStyle name="DetalleRight" fontName="Courier" fontSize="5.5"  leading="3" alignment="RIGHT"/>

提前谢谢

4

2 回答 2

2

我解决了!诀窍是:

<blockTableStyle id="Detalle">
  <blockAlignment value="LEFT"/>
  <blockValign value="TOP"/>
  <blockLeftPadding length="0.5mm"/>
  <blockRightPadding length="0.5mm"/>
</blockTableStyle>

blockRightPadding属性

于 2015-01-23T16:35:55.220 回答
0

rightIndent="0.5mm" leftIndent="0.5mm"

这将适用于 parastyle 标签。

于 2016-02-10T15:04:10.833 回答