[reportlab-users] platypus - rendering template with a right aligned image in the template header as background

luke lukes lordluke80 at yahoo.it
Wed Apr 11 08:44:03 EDT 2012


hi everyone. i'm tryng to use Reportlab to output an invoice on a 
simple Django app. it seems quite difficult to do simple things like 
this. here's my code: 


http://dpaste.de/mSXQm/ 


with this code, my header image is always rendered on page center. i 
want to insert it on the right (like that: http://i.imgur.com/0Ahww.png
or even better having image on the right and text on the left. i've 
tried in many ways (setting the hAlign or oAlign propetry of img, 
inserting image in a ParagraphAndImage flowable) but always i got 
errors or the same alignment. what is the right way? 


i've tried to look at Reportlab documentation but seems not so clear 
to me and poor of code snippets. 


tnx to everyone, 

LuKe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://two.pairlist.net/pipermail/reportlab-users/attachments/20120411/58bb8e68/attachment.htm>


More information about the reportlab-users mailing list