Bug 61051 - Add new worksheet relations for xlsb
Summary: Add new worksheet relations for xlsb
Status: RESOLVED FIXED
Alias: None
Product: POI
Classification: Unclassified
Component: XSSF (show other bugs)
Version: 3.16-dev
Hardware: PC All
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-27 18:38 UTC by Tim Allison
Modified: 2017-04-27 18:51 UTC (History)
0 users



Attachments
Example attached from common crawl (12.68 KB, application/vnd.ms-excel.sheet.binary.macroEnabled.12)
2017-04-27 18:38 UTC, Tim Allison
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Allison 2017-04-27 18:38:09 UTC
Created attachment 34961 [details]
Example attached from common crawl

In our regression set, there are a few files that contain new relations, including:

    public static final XSSFRelation MACRO_SHEET_BIN = new XSSFRelation(
            null,//TODO: figure out what this should be?
            "http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet",
            "/xl/macroSheets/sheet#.bin",
            null
    );

    public static final XSSFRelation INTL_MACRO_SHEET_BIN = new XSSFRelation(
            null,//TODO: figure out what this should be?
            "http://schemas.microsoft.com/office/2006/relationships/xlIntlMacrosheet",
            "/xl/macroSheets/sheet#.bin",
            null
    );

    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",
            "/xl/dialogSheets/sheet#.bin",
            null
    );

Let's add these types and load them as sheets in XSSFBReader
Comment 1 Tim Allison 2017-04-27 18:51:22 UTC
Didn't add unit test with attached Common Crawl doc.  Can do so if desired.