You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by fa...@apache.org on 2023/05/22 15:17:22 UTC

svn commit: r1909993 - /poi/trunk/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFRelation.java

Author: fanningpj
Date: Mon May 22 15:17:22 2023
New Revision: 1909993

URL: http://svn.apache.org/viewvc?rev=1909993&view=rev
Log:
add content types for macrosheets

Modified:
    poi/trunk/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFRelation.java

Modified: poi/trunk/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFRelation.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFRelation.java?rev=1909993&r1=1909992&r2=1909993&view=diff
==============================================================================
--- poi/trunk/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFRelation.java (original)
+++ poi/trunk/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFRelation.java Mon May 22 15:17:22 2023
@@ -286,13 +286,13 @@ public final class XSSFRelation extends
     );
 
     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"
     );



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org