如何更改RML文件中表格的对齐方式? [英] How to change the alignment of table in RML file?
本文介绍了如何更改RML文件中表格的对齐方式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在与OpenOffice Designer一起编辑OpenERP报告,将表的对齐方式设置为左对齐或右对齐,然后保存并发送到服务器.当我打印发票报告时,表格始终位于中间.所以我要从RML文件中编辑它,但我不知道该怎么做.请帮助我.
I am working with OpenOffice designer to edit OpenERP reports, I set the alignment of table to left or right and I save and send to server. When I print the invoice report, the table is always in the center. So I am going to edit it from RML file but I don't know how to do this Please help me.
推荐答案
只需将alignment="RIGHT"
属性添加到要对齐的元素
Simply add alignment="RIGHT"
attribute to the element you want to align
例如:
<paraStyle name="addressBox"
fontName="Arial"
fontSize="12"
alignment="RIGHT"
/>
如果您需要更多详细信息,请查看 RML用户指南
If you need further details, check the RML User Guide
这篇关于如何更改RML文件中表格的对齐方式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文