summaryrefslogtreecommitdiff
path: root/mammoth/documents.py
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2016-07-03 12:31:50 +0100
committerMichael Williamson <mike@zwobble.org>2016-07-03 12:31:50 +0100
commit8dce33362f5338953ed2a614e736c197e36b9984 (patch)
treef7ab236ec7ed95f937e5d0b1125dcf4b8e1ff43c /mammoth/documents.py
parentf2db2bcf40c2c497a33b1f087b67111c3351a406 (diff)
Read comment references
Diffstat (limited to 'mammoth/documents.py')
-rw-r--r--mammoth/documents.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/mammoth/documents.py b/mammoth/documents.py
index 93b080c..5d9830e 100644
--- a/mammoth/documents.py
+++ b/mammoth/documents.py
@@ -182,4 +182,10 @@ class Comment(object):
comment = Comment
+@cobble.data
+class CommentReference(Element):
+ comment_id = cobble.field()
+
+comment_reference = CommentReference
+
ElementVisitor = cobble.visitor(Element)