source: OpenRLabs-Git/deploy/rlabs-docker/web2py-rlabs/gluon/contrib/pyrtf/__init__.py

main
Last change on this file was 42bd667, checked in by David Fuertes <dfuertes@…>, 4 years ago

Historial Limpio

  • Property mode set to 100755
File size: 316 bytes
Line 
1from .PropertySets import  *
2from .Elements import  *
3from .Styles import  *
4from .Renderer import  *
5from .Constants import PY2
6
7if PY2:
8    from cStringIO import StringIO as BytesIO
9else:
10    from io import BytesIO
11
12def dumps(doc):
13    s = BytesIO()
14    r = Renderer()
15    r.Write(doc, s)
16    return s.getvalue()
17
Note: See TracBrowser for help on using the repository browser.