diff options
| author | Michael Williamson <mike@zwobble.org> | 2016-07-03 12:16:50 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2016-07-03 12:16:50 +0100 |
| commit | 05d9ac1031dcf83c6d99fa2218ee45a6d7b4d746 (patch) | |
| tree | c03911389cf037c2f71c55cf450647939e7710b4 /mammoth/documents.py | |
| parent | af8cdba7bd607c85a67148af99231975a892f5e2 (diff) | |
Add reader for comments.xml
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 index 36e3458..ea376d4 100644 --- a/mammoth/documents.py +++ b/mammoth/documents.py @@ -173,4 +173,11 @@ class NoteReference(Element): note_reference = NoteReference +@cobble.data +class Comment(object): + comment_id = cobble.field() + body = cobble.field() + +comment = Comment + ElementVisitor = cobble.visitor(Element) |
