REPORTS IN RML

Asked by Pravitha V

i happen to go through the sale orders report and i found these two line given below does anyone know what these two lines indicate...
Code:
<paraStyle name="Index" fontName="Helvetica"/>
<paraStyle name="List" fontName="Helvetica" spaceBefore="0.0" spaceAfter="6.0"/>

_________________
Regards,
Nightfury

Question information

Language:
English Edit question
Status:
Answered
For:
Odoo Server (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
mzunino (emezeta) said :
#1

Lesson 4: First steps in styling fixed and flowing text

El día 31 de marzo de 2012 08:35, Nightfury
<email address hidden> escribió:
> New question #192230 on OpenERP Server:
> https://answers.launchpad.net/openobject-server/+question/192230
>
> i happen to go through the sale orders report and i found these two line given below does anyone know what these two lines indicate...
> Code:
> <paraStyle name="Index" fontName="Helvetica"/>
> <paraStyle name="List" fontName="Helvetica" spaceBefore="0.0" spaceAfter="6.0"/>
>

Despite of doc title, this can be useful. Is is a kind of memento
sheet for working in rml reports.
See "Lesson 4: First steps in styling fixed and flowing text" I guess
it'd be only a matter of styles.

http://www.reportlab.com/docs/rml-for-idiots.pdf

hoping this helps!

--
   Marcelo Zunino
   skype:  marcelozunino
   phone:+598 98681250

   www.infoprimo.com

Revision history for this message
Pravitha V (pravithavarghese1) said :
#2

thankyou for your reply ...sir i know its style defining line but my doubt is what does that index and list refers to...can it be used for bullets and numbering purposes etc.........

Revision history for this message
mzunino (emezeta) said :
#3

El 2 de abril de 2012 01:20, Nightfury
<email address hidden> escribió:
>
> Question #192230 on OpenERP Server changed:
> https://answers.launchpad.net/openobject-server/+question/192230
>
>    Status: Answered => Open
>
> Nightfury is still having a problem:
> thankyou for your reply ...sir i know its style defining line but my
> doubt is what does that index and list refers to...can it be used for
> bullets and numbering purposes etc.........
>

Oh, is this Question #192230 a part of another thread o question?
If so, please let me note, else ¿could you post the entire rml file
and give a bit reach context? Thank you.

[=)]
  Finally, His Honor, I if my blunt and coarse insolence has rudely
offended you my sweet Lord, could I humbly ask for your merciful
forgiveness?

  Kindly, yours

  Dayquiet.
[/=)]

Revision history for this message
mzunino (emezeta) said :
#4

El día 2 de abril de 2012 13:41, Marcelo Zunino
<email address hidden> escribió:
> Question #192230 on OpenERP Server changed:
> https://answers.launchpad.net/openobject-server/+question/192230
>
>    Status: Open => Answered
>
> Marcelo Zunino proposed the following answer:
> El 2 de abril de 2012 01:20, Nightfury
> <email address hidden> escribió:
>>

I was wrong. If the issue is on addons/sale/report/sale_order.rml
as I can see, no 'List' or 'Index' styles are never used.

Revision history for this message
mzunino (emezeta) said :
#5

not for its definition, then the styles are not used in the report
You're right! forget my "answers".

Revision history for this message
mzunino (emezeta) said :
#6

El día 2 de abril de 2012 14:01, Marcelo Zunino
<email address hidden> escribió:
> Question #192230 on OpenERP Server changed:
> https://answers.launchpad.net/openobject-server/+question/192230
>
> Marcelo Zunino posted a new comment:
> not for its definition, then the styles are not used in the report
> You're right! forget my "answers".
>

Also, none of my addons/* folders for version 6.1 contains a file
which in turn invoke such "List" or "Index" styles. Only styles
definitions remains.

at least nothing comes out from:
 $ for i in $(find -L ./addons/ -name *.rml -exec egrep -l
'List|Index' \{\} \; | xargs egrep -l 'fontName="Helvetica"
spaceBefore="0.0" spaceAfter="6.0"') ; do egrep -l
'style=\"List|style=\"Index' $i; done

--
   Marcelo Zunino
   skype:  marcelozunino
   phone:+598 98681250

   www.infoprimo.com

Can you help with this problem?

Provide an answer of your own, or ask Pravitha V for more information if necessary.

To post a message you must log in.