[reportlab-users] css like stylesheet

Robin Becker robin at reportlab.com
Tue May 5 10:09:05 EDT 2015


On 05/05/2015 14:51, Juan Marquez wrote:
> Hi. I'm working with OpenERP and it uses RML to create reports.
>
> Is there any way to use a common style sheet definition. One single file
> with the <stylesheet> ... </stylesheet> tag and include it in all reports?.
> I found this reference
> <http://librocket.com/wiki/documentation/RML/StyleSheets> but not sure it
> will work.
>
......
so far as I know this won't work in our RML language.


> RML Element
>
> All Rocket documents begin with the RML element. The element should contain two children, HEAD and BODY.
>
> HEAD Element
>
> The HEAD element contains information about the current document, such as its title, style and template information is references. No information in the header is rendered.
>
> TITLE Element
>
> The TITLE element contains the title of the document. This is often used for the specifying the contents of the title bar of a game window.
>
> LINK Element

so far as I know these tags don't appear in our spec, but they may be part of 
the rocket document spec. We use preppy on top of rml to do document structuring 
using templates; preppy can do includes.
-- 
Robin Becker


More information about the reportlab-users mailing list