aboutsummaryrefslogtreecommitdiff
path: root/lib/docx/body-reader.js
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2020-11-05 19:35:33 +0000
committerMichael Williamson <mike@zwobble.org>2020-11-05 19:35:33 +0000
commitf7cfac642bf63fac77c99d4cc30601ded8b2c107 (patch)
tree771fee9fc5c43e54f94a4f6bb7475edec50cda8e /lib/docx/body-reader.js
parente832f604e34d344d996f8101023b6272085f934c (diff)
Add style mapping for all caps
Diffstat (limited to 'lib/docx/body-reader.js')
-rw-r--r--lib/docx/body-reader.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/docx/body-reader.js b/lib/docx/body-reader.js
index ad4f409..77f194b 100644
--- a/lib/docx/body-reader.js
+++ b/lib/docx/body-reader.js
@@ -73,6 +73,7 @@ function BodyReader(options) {
isUnderline: readUnderline(element.first("w:u")),
isItalic: readBooleanElement(element.first("w:i")),
isStrikethrough: readBooleanElement(element.first("w:strike")),
+ isAllCaps: readBooleanElement(element.first("w:caps")),
isSmallCaps: readBooleanElement(element.first("w:smallCaps"))
};
});