SP/web2py/gluon/contrib/pyrtf/__init__.py

13 lines
250 B
Python
Raw Normal View History

2018-10-25 15:33:07 +00:00
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()