From 2712abf00ba8b99ec4b445ec619ceb3abb8bd8d3 Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Mon, 22 May 2023 15:17:22 +0000 Subject: [PATCH] add content types for macrosheets git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1909993 13f79535-47bb-0310-9956-ffa450edef68 --- .../main/java/org/apache/poi/xssf/usermodel/XSSFRelation.java | 4 ++-- 1 file changed, 2 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 60f835e1ed..04ec265eaf 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,13 +286,13 @@ public final class XSSFRelation extends POIXMLRelation { ); public static final XSSFRelation MACRO_SHEET_BIN = new XSSFRelation( - null,//TODO: figure out what this should be? + "application/vnd.ms-excel.macrosheet+xml", "http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet", "/xl/macroSheets/sheet#.bin" ); public static final XSSFRelation INTL_MACRO_SHEET_BIN = new XSSFRelation( - null,//TODO: figure out what this should be? + "application/vnd.ms-excel.intlmacrosheet+xml", "http://schemas.microsoft.com/office/2006/relationships/xlIntlMacrosheet", "/xl/macroSheets/sheet#.bin" );