table 中的 RML ReportaLab 左右填充
RML ReportaLab left and right padding in a table
我正在 openerp v7 中处理一份报告,我需要去掉 table 上的左右填充:
这里是 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"/>
提前致谢
我解决了!诀窍是:
<blockTableStyle id="Detalle">
<blockAlignment value="LEFT"/>
<blockValign value="TOP"/>
<blockLeftPadding length="0.5mm"/>
<blockRightPadding length="0.5mm"/>
</blockTableStyle>
blockRightPadding 属性
rightIndent="0.5mm"
leftIndent="0.5mm"
这将适用于 parastyle 标签。
我正在 openerp v7 中处理一份报告,我需要去掉 table 上的左右填充:
这里是 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"/>
提前致谢
我解决了!诀窍是:
<blockTableStyle id="Detalle">
<blockAlignment value="LEFT"/>
<blockValign value="TOP"/>
<blockLeftPadding length="0.5mm"/>
<blockRightPadding length="0.5mm"/>
</blockTableStyle>
blockRightPadding 属性
rightIndent="0.5mm" leftIndent="0.5mm"
这将适用于 parastyle 标签。