我正在使用openerp v7编写一个报告,我需要摆脱桌面上的左右填充:
这是blockTable的定义:
<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"/>
事先提前
答案 0 :(得分:2)
我解决了!诀窍是:
<blockTableStyle id="Detalle">
<blockAlignment value="LEFT"/>
<blockValign value="TOP"/>
<blockLeftPadding length="0.5mm"/>
<blockRightPadding length="0.5mm"/>
</blockTableStyle>
blockRightPadding 属性
答案 1 :(得分:0)
<强> rightIndent = “0.5毫米” leftindent上= “0.5毫米”强>
这适用于parastyle标签。