Thanks! I thought upon first reading the ReportLab docs that the library would automatically split up an XML document with <para> elements into paragraph objects. After some digging, I found that the <para> element accepts some style attributes. For more information, refer to page 64 of the ReportLab userguide.pdf.
The invoice idea should work very well -- ReportLab supports tables in their PLATYPUS module. Let us know how it goes. It seems that every programmer everywhere is faced with generating invoices at some point in their career. :-) Tim Christopher Arndt wrote: > Timothy Freund schrieb: >> I wrote a tutorial on how to generate PDF documents using TurboGears, >> Cheetah, and ReportLab. I just figured out how to do this for a client, >> so a write up seemed appropriate. > > Nice article! Might come in handy when I have to implement generating > invoices for the app I'm working on atm. > > And an excellent idea to put the paragraphs in a pseudo XML document and > use ElmentTree to parse it and turn them into Paragraph objects! > > Chris > > > -- Timothy Freund http://digital-achievement.com http://edodyssey.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

