diff options
author | PJ Fanning <fanningpj@apache.org> | 2024-08-16 12:06:41 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2024-08-16 12:06:41 +0000 |
commit | b0c67177ffbaf0faa7361dea4e49a90ed055b23f (patch) | |
tree | 6bdb8df2eb1d89178e6266b89ba9a91da1a59bd0 /poi-ooxml | |
parent | c2945d86f92f668a632acbf20f834e74e2990753 (diff) | |
download | poi-b0c67177ffbaf0faa7361dea4e49a90ed055b23f.tar.gz poi-b0c67177ffbaf0faa7361dea4e49a90ed055b23f.zip |
[github-673] Add word10.xsd to poi-ooxml-full. Thanks to fangd1997. This closes #673
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919929 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi-ooxml')
-rw-r--r-- | poi-ooxml/src/main/java/org/apache/poi/ooxml/POIXMLTypeLoader.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/poi-ooxml/src/main/java/org/apache/poi/ooxml/POIXMLTypeLoader.java b/poi-ooxml/src/main/java/org/apache/poi/ooxml/POIXMLTypeLoader.java index 6e070b1252..e848e383cd 100644 --- a/poi-ooxml/src/main/java/org/apache/poi/ooxml/POIXMLTypeLoader.java +++ b/poi-ooxml/src/main/java/org/apache/poi/ooxml/POIXMLTypeLoader.java @@ -68,6 +68,8 @@ public class POIXMLTypeLoader { map.put(MS_EXCEL_URN, "x"); map.put(MS_WORD_URN, "w10"); map.put(MS_VML_URN, "v"); + map.put("http://schemas.microsoft.com/office/word/2010/wordml", "w14"); + map.put("http://schemas.microsoft.com/office/word/2012/wordml", "w15"); map.put("http://schemas.microsoft.com/office/drawing/2012/chart", "c15"); DEFAULT_XML_OPTIONS.setSaveSuggestedPrefixes(Collections.unmodifiableMap(map)); } |