aboutsummaryrefslogtreecommitdiff
path: root/mammoth/documents.py
diff options
context:
space:
mode:
Diffstat (limited to 'mammoth/documents.py')
-rw-r--r--mammoth/documents.py7
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)