aboutsummaryrefslogtreecommitdiffstats
path: root/poi/src/main
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2024-03-27 13:33:57 +0000
committerPJ Fanning <fanningpj@apache.org>2024-03-27 13:33:57 +0000
commitc715f9ee1dd5cb826ce79d116c403fc3cc365691 (patch)
treeae46778dbde9349a817eef308b8ee17ad5be0d6a /poi/src/main
parentbdff72668e409326a1a1b3007030b04046dceb7e (diff)
downloadpoi-c715f9ee1dd5cb826ce79d116c403fc3cc365691.tar.gz
poi-c715f9ee1dd5cb826ce79d116c403fc3cc365691.zip
[github-607] Support SVGs in XWPF. Thanks to Etienne Gautier. This closes #607
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1916582 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi/src/main')
-rw-r--r--poi/src/main/java/org/apache/poi/common/usermodel/PictureType.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/poi/src/main/java/org/apache/poi/common/usermodel/PictureType.java b/poi/src/main/java/org/apache/poi/common/usermodel/PictureType.java
index d8497125ac..40427c05b0 100644
--- a/poi/src/main/java/org/apache/poi/common/usermodel/PictureType.java
+++ b/poi/src/main/java/org/apache/poi/common/usermodel/PictureType.java
@@ -53,7 +53,7 @@ public enum PictureType {
/** Microsoft Windows Media Photo image (.wdp) */
WDP("image/vnd.ms-photo", ".wdp", 13),
/** Scalable vector graphics (.svg) - supported by Office 2016 and higher */
- SVG("image/svg+xml", ".svg", -1),
+ SVG("image/svg+xml", ".svg", 14),
/** Unknown picture type - specific to escher bse record */
UNKNOWN("", ".dat", -1),
/** Picture type error - specific to escher bse record */