3 ms·
Thanks Mike for providing such a useful module! Some plans I have to add to this module (if you don't plan too already): Add support for: * Pass a font-size,
by marcinw 17y ago
Thanks Mike for providing such a useful module!
Some plans I have to add to this module (if you don't plan too already):
Add support for:
* Pass a font-size, bold, italic, bold+italic and spacing to paragraph method to modify font
* Pass a table row header to table method
* Specify table column widths
* Change text alignment for table rows/headers, etc.
* Change text style in table cells
* Ability to change background color for every other table row
* Create method to insert a page/section break
* Create a method to add an image at a specific position in document page
On one other note:
I'm not 100% positive, but thumbnail.jpg/thumbnail.wmf may result in inadvertent disclosure of sensitive data if using this to generate report documents...
- nailer 17y agoAwesome! I welcome contributions. Could you send me something for page & section breaks? I'm already working on images and 100% nose coverage. I'm intending to do document properties after that. Re: zebra striping for tables, we already have that via the inbuilt styles. But more options to control styles would be useful. Coding style is: * Functional * Google style - http://code.google.com/p/soc/wiki/PythonStyleGuide http://code.google.com/p/soc/wiki/PythonStyleGuide * Unit tests are handled with nose / coverage