diff options
| author | Michael Williamson <mike@zwobble.org> | 2015-06-17 15:05:19 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2015-06-17 15:05:19 +0100 |
| commit | 147fabb2b2e00f7790304b7a1e1f40cdb564cb4f (patch) | |
| tree | fcd72fdbdf3681acd1dff8dd6237143a80914cfa /mammoth/document_matchers.py | |
| parent | 35d3dd58400d5310fe05ebe8e070c96c756edac0 (diff) | |
Support underlines in style map
Diffstat (limited to 'mammoth/document_matchers.py')
| -rw-r--r-- | mammoth/document_matchers.py | 4 |
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" |
