Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

1

Why blockAlignment doesn't work in rml stylesheet definition ?

By
PY
on 3/6/14, 4:40 AM 889 views

Hi,

This tag seems not to work. Here's how I use it :

<blockTableStyle id="default">
  <lineStyle kind="GRID" colorName="grey" thickness="0.1"/>
  <blockValign value="MIDDLE"/>
  <blockAlign value="RIGHT"/>
</blockTableStyle>

Thanks !

1
PY
On 3/6/14, 4:55 AM

Ok, I'm such a stupid guy... the answer is here :

One other thing to be aware of is that if you use a para inside a table, it will ignore the text attributes you have used for that table and instead use the attributes for paragraphs. This can be a plus, (since it allows you to use already defined paragraph styles) but can take you by surprise if weren't expecting it.

From :

http://www.reportlab.com/docs/rml2pdf-userguide.pdf

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

Asked: 3/6/14, 4:40 AM
Seen: 889 times
Last updated: 3/16/15, 8:10 AM