aboutsummaryrefslogtreecommitdiff
path: root/mammoth/document_matchers.py
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2013-12-14 16:16:51 +0000
committerMichael Williamson <mike@zwobble.org>2013-12-14 16:16:51 +0000
commit94638afbc228c9005e302ab6bc3d16c4e3e32b1d (patch)
treebbde2adf4a67f177711e7ddef2f9704473dd88c3 /mammoth/document_matchers.py
parent47c7a524e001bd0d9aef872b4a12c0b8efd0d6ff (diff)
Add conversion of paragraphs using styles
Diffstat (limited to 'mammoth/document_matchers.py')
-rw-r--r--mammoth/document_matchers.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mammoth/document_matchers.py b/mammoth/document_matchers.py
index 5cfe92d..e7cd12c 100644
--- a/mammoth/document_matchers.py
+++ b/mammoth/document_matchers.py
@@ -6,6 +6,7 @@ def paragraph(style_name=None, numbering=None):
ParagraphMatcher = collections.namedtuple("ParagraphMatcher", ["style_name", "numbering"])
+ParagraphMatcher.element_type = "paragraph"
def run(style_name=None):