aboutsummaryrefslogtreecommitdiffstats
path: root/poi-ooxml/src/main/java
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2023-05-22 16:00:10 +0000
committerPJ Fanning <fanningpj@apache.org>2023-05-22 16:00:10 +0000
commitb5153f13955b3a077200efac1390fdf6b4e3b93e (patch)
treed23b54998ee75d5761b94d71b487b9e3d965ef60 /poi-ooxml/src/main/java
parent2712abf00ba8b99ec4b445ec619ceb3abb8bd8d3 (diff)
downloadpoi-b5153f13955b3a077200efac1390fdf6b4e3b93e.tar.gz
poi-b5153f13955b3a077200efac1390fdf6b4e3b93e.zip
[bug-66612] get macrosheet xml (test)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1909994 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi-ooxml/src/main/java')
-rw-r--r--poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFRelation.java16
1 files changed, 14 insertions, 2 deletions
diff --git a/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFRelation.java b/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFRelation.java
index 04ec265eaf..712e874267 100644
--- a/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFRelation.java
+++ b/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFRelation.java
@@ -286,17 +286,29 @@ public final class XSSFRelation extends POIXMLRelation {
);
public static final XSSFRelation MACRO_SHEET_BIN = new XSSFRelation(
- "application/vnd.ms-excel.macrosheet+xml",
+ "application/vnd.ms-excel.macrosheet",
"http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet",
"/xl/macroSheets/sheet#.bin"
);
+ public static final XSSFRelation MACRO_SHEET_XML = new XSSFRelation(
+ "application/vnd.ms-excel.macrosheet+xml",
+ "http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet",
+ "/xl/macroSheets/sheet#.xml"
+ );
+
public static final XSSFRelation INTL_MACRO_SHEET_BIN = new XSSFRelation(
- "application/vnd.ms-excel.intlmacrosheet+xml",
+ "application/vnd.ms-excel.intlmacrosheet",
"http://schemas.microsoft.com/office/2006/relationships/xlIntlMacrosheet",
"/xl/macroSheets/sheet#.bin"
);
+ public static final XSSFRelation INTL_MACRO_SHEET_XML = new XSSFRelation(
+ "application/vnd.ms-excel.intlmacrosheet+xml",
+ "http://schemas.microsoft.com/office/2006/relationships/xlIntlMacrosheet",
+ "/xl/macroSheets/sheet#.xml"
+ );
+
public static final XSSFRelation DIALOG_SHEET_BIN = new XSSFRelation(
null,//TODO: figure out what this should be?
"http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet",