Raja Raman Sundararajan wrote: > Hello, > I have been playing around with pyRTF module for generating rtf > documents. > Its a very nice tool that fits my basic needs. However I have a problem > controlling cells in > a table. > > I am not able to > 1. do an align right of contents inside a cell > 2. set backgroundcolor of a cell > 3. I wonder if there is a property to set cell height (?) > > Do you guys have any input on this?
Yes. The correct approach is to: a) do a Google search on "RTF specification", find the latest version of the RTF specs, and read through them to determine whether what you want to do is supported by RTF itself. If it is, then: b) Ask Simon Cusack, the author of PyRTF, whether PyRTF supports these attributes or if not, the best way to go about adding support for them, or c) just add the features yourself to PyRTF and send Simon a copy of your modified code. Cheers, Tim C -- http://mail.python.org/mailman/listinfo/python-list