euphoria83
euphoria83

Reputation: 15136

Does any one know of an RTF report generator in Django?

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

Upvotes: 3

Views: 1637

Answers (3)

David Thielen
David Thielen

Reputation: 32926

Windward Reports has a very nice RTF generator. And you create the template in Word so very easy to use. (Disclaimer - I'm the CTO at Windward.) And yes the Java engine is callable from Python.

Upvotes: 0

kurczak
kurczak

Reputation: 1521

(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.

Upvotes: 2

Van Gale
Van Gale

Reputation: 43912

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.

Upvotes: 3

Related Questions