SP/web2py/gluon/contrib/pyrtf/__init__.py
Saturneic 064f602b1a Add.
2018-10-25 23:33:13 +08:00

13 lines
250 B
Python

from PropertySets import *
from Elements import *
from Styles import *
from Renderer import *
def dumps(doc):
import cStringIO
s=cStringIO.StringIO()
r=Renderer()
r.Write(doc,s)
return s.getvalue()