I would recommand wordml 2003 over RTF... I did that in the past with lxml once you had get a grip of the name space of the xml format and figure out what the note you need and how to assemble them to make a properly formatted wordml it easy... But things like python-docx where not existing when I did that or I didn't research enough or they were in there infancy so I couldn't rely on them. I remember there where a functional python package for docx but it was a wrapper around OpenOffice lib that does the job, so it was a kind of big/bad dependency to cary...
Good luck On Wed, Jun 15, 2016 at 7:16 PM, Limedrop <[email protected]> wrote: > If you want to produce *simple *documents that can be edited in MS Word, > it might be easier to use the RTF format, which is supported by web2py out > of the box: > > http://www.web2py.com/books/default/chapter/29/10/services#PyRTF > > BUT be warned...my experience with PyRTF is that, while it is easy to > produce simple documents, the more complex documents (eg, lots of different > paragraph styles, tables with borders, etc.) have a very big learning curve. > > > On Wednesday, 15 June 2016 15:46:35 UTC+12, H. Das wrote: >> >> Would it be possible in web2py to create a generic.docx (word document, >> odf, or similar) view that can convert from HTML? Basically it should work >> just like generic.pdf. Thanks, love you guys. >> > -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code) > - https://code.google.com/p/web2py/issues/list (Report Issues) > --- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

