From 147fabb2b2e00f7790304b7a1e1f40cdb564cb4f Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Wed, 17 Jun 2015 15:05:19 +0100 Subject: Support underlines in style map --- mammoth/document_matchers.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mammoth/document_matchers.py') diff --git a/mammoth/document_matchers.py b/mammoth/document_matchers.py index 222ee73..07d5be2 100644 --- a/mammoth/document_matchers.py +++ b/mammoth/document_matchers.py @@ -15,3 +15,7 @@ def run(style_id=None, style_name=None): RunMatcher = collections.namedtuple("RunMatcher", ["style_id", "style_name"]) RunMatcher.element_type = "run" + + +class underline(object): + element_type = "underline" -- cgit v1.2.3