aboutsummaryrefslogtreecommitdiff
path: root/mammoth/docx
diff options
context:
space:
mode:
Diffstat (limited to 'mammoth/docx')
-rw-r--r--mammoth/docx/body_xml.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/mammoth/docx/body_xml.py b/mammoth/docx/body_xml.py
index 312e9de..12951c9 100644
--- a/mammoth/docx/body_xml.py
+++ b/mammoth/docx/body_xml.py
@@ -84,6 +84,7 @@ def _create_reader(numbering, content_types, relationships, styles, docx_file, f
is_italic = read_boolean_element(properties.find_child("w:i"))
is_underline = read_boolean_element(properties.find_child("w:u"))
is_strikethrough = read_boolean_element(properties.find_child("w:strike"))
+ is_small_caps = read_boolean_element(properties.find_child("w:smallCaps"))
def add_complex_field_hyperlink(children):
hyperlink_href = current_hyperlink_href()
@@ -103,6 +104,7 @@ def _create_reader(numbering, content_types, relationships, styles, docx_file, f
is_italic=is_italic,
is_underline=is_underline,
is_strikethrough=is_strikethrough,
+ is_small_caps=is_small_caps,
vertical_alignment=vertical_alignment,
font=font,
))