diff options
| author | Michael Williamson <mike@zwobble.org> | 2013-12-01 01:15:25 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2013-12-01 01:15:25 +0000 |
| commit | 68047ef381cb08cf43e5a30ca9dd6e40ccde8cdd (patch) | |
| tree | dcf862340c7c5d65f94264ddb28dde62aa1c1d5e /mammoth/documents.py | |
| parent | 25706255c4a746b6c14afe2d9dd45cf50c2d2208 (diff) | |
Add basic conversion to HTML
Diffstat (limited to 'mammoth/documents.py')
| -rw-r--r-- | mammoth/documents.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mammoth/documents.py b/mammoth/documents.py new file mode 100644 index 0000000..50b5e65 --- /dev/null +++ b/mammoth/documents.py @@ -0,0 +1,7 @@ +import collections + + +Document = collections.namedtuple("Document", ["children"]) +Paragraph = collections.namedtuple("Paragraph", ["children"]) +Run = collections.namedtuple("Run", ["children"]) +Text = collections.namedtuple("Text", ["value"]) |
