diff options
Diffstat (limited to 'mammoth/document_matchers.py')
| -rw-r--r-- | mammoth/document_matchers.py | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/mammoth/document_matchers.py b/mammoth/document_matchers.py index 1116a07..6f40318 100644 --- a/mammoth/document_matchers.py +++ b/mammoth/document_matchers.py @@ -17,13 +17,17 @@ RunMatcher = collections.namedtuple("RunMatcher", ["style_id", "style_name"]) RunMatcher.element_type = "run" +class bold(object): + element_type = "bold" + + +class italic(object): + element_type = "italic" + + class underline(object): element_type = "underline" class strikethrough(object): element_type = "strikethrough" - - -class bold(object): - element_type = "bold" |
