Questions tagged [rml]

RML is the Report Markup Language - a member of the XML family of languages, and the XML dialect used by rml2pdf to produce documents in Adobe's Portable Document Format (PDF).

RML is the Report Markup Language - a member of the XML family of languages, and the XML dialect used by rml2pdf to produce documents in Adobe's Portable Document Format (PDF).

RML documents can be written automatically by a program or manually using any word processor that can output text files (e.g. using a "Save as Text" option from the save menu). Since RML documents are basic text files, they can be created on the fly by scripts in Python, Perl, or almost any other language.

RML makes creating documents in PDF as simple as creating a basic web page - RML is as easy to write as HTML, and uses "tags" just like HTML. It is much easier than trying to write PDF programmatically.

http://www.reportlab.com/software/documentation/

120 questions
2
votes
0 answers

how to let the iterator work to generate a pdf in a RML template by using z3c.rml

views.py from django.http import HttpResponse, HttpResponseRedirect from django.shortcuts import render_to_response,render from test.models import Order,Product import preppy from z3c.rml import rml2pdf testToGeneratePDF(request): testList =…
Macfee Joe
  • 21
  • 2
2
votes
2 answers

RML ReportaLab left and right padding in a table

I am working on a report in openerp v7 and I need to get rid of left and right padding on a table: Here's the definition of the blockTable:
nicoan
  • 93
  • 5
2
votes
1 answer

Replaying SQL Server Trace for SqlBulkCopy Command

We are using RML Utilities (Ostress.exe) for replaying our trace workload, recently we found a query (insert bulk) - [1] in that trace file which is failing to replay since the data being inserted is not present in the captured trace file. After…
anivohra
  • 221
  • 2
  • 8
2
votes
1 answer

Navigation using in Librocket's RSS (CSS-ish)

I'm a complete RSS/CSS noobie, and I'm having some trouble getting this code to work. Basically what I want to do is the following: have a navigation bar using the tabset element from Librocket (for an option screen). I'm having trouble maintaining…
2
votes
1 answer

Dynamic generation of report using RML in OpenERP

How to generate dynamic columns using RML report?
Abhishek Mehta
  • 173
  • 1
  • 13
1
vote
1 answer

How can I create a DjRF API endpoint that returns a RML-generated PDF?

Django documentation has the following example for ReportLab. from reportlab.pdfgen import canvas from django.http import HttpResponse def some_view(request): # Create the HttpResponse object with the appropriate PDF headers. response =…
medley56
  • 1,181
  • 1
  • 14
  • 29
1
vote
4 answers

adding images dynamically to an openerp rml report file

I want to do something like this in a openerp report, how would I need to go about to create this file path: Are there ways to create variables in rml that I could then feed to the file= attribute. I…
mahatmanich
  • 10,791
  • 5
  • 63
  • 82