blob: 58e4f6b31babfae53c0ea9000fd58805e01008b2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
import collections
def paragraph(children, style_name=None):
return Paragraph(children, style_name)
Document = collections.namedtuple("Document", ["children"])
Paragraph = collections.namedtuple("Paragraph", ["children", "style_name"])
Run = collections.namedtuple("Run", ["children"])
Text = collections.namedtuple("Text", ["value"])
|