aboutsummaryrefslogtreecommitdiff
path: root/mammoth/document_matchers.py
diff options
context:
space:
mode:
Diffstat (limited to 'mammoth/document_matchers.py')
-rw-r--r--mammoth/document_matchers.py4
1 files changed, 4 insertions, 0 deletions
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"