views:

358

answers:

2

I know about the PDF report generator, but I need to use RTF instead.

+3  A: 

There is PyRTF but it hasn't been updated in a while.

If that doesn't work and you are willing to do some hacking then I can also point you to the GRAMPS Project that has an RTF report generator (look in gramps/docgen/RTFDoc.py). This code is very specific to their genealogy reporting needs, but it is clean and decently documented so could make a good starting point.

Van Gale
+1  A: 

(can't comment yet so I post it as an answer)

There's a fork of PyRTF called pyrtf-ng, it's maintained and has Unicode support. Documentation doesn't exist from what I've seen, but api looks nice, and you can figure out a lot from tests in tests dir.

kurczak