News for hackers. Stuff that matters.
Re:I made a native Python module for MS Word docx by marcinw on Wednesday December 30, 2009 @12:40PM (#1022770)
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...

Re:I made a native Python module for MS Word docx by nailer on Wednesday December 30, 2009 @01:25PM (#1022892)
Awesome! 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

* Unit tests are handled with nose / coverage