https://bz.apache.org/bugzilla/show_bug.cgi?id=66612
Bug ID: 66612
Summary: Macrosheet not found in xslm sheets
Product: POI
Version: 5.2.3-FINAL
Hardware: PC
OS: All
Status: NEW
Severity: major
Priority: P2
Component: XSSF
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 38565
--> https://bz.apache.org/bugzilla/attachment.cgi?id=38565&action=edit
xlsm file containing a empty macrosheet that reproduces the problem
In XSSFWorkbook, the macro sheet
(http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet) is not
added to the sheets-shIdMap. Example document contains Macro1, Sheet1, Sheet2.
workbook.getNumberOfSheets() returns 2 (Sheet1, Sheet2 not Macro1)
I can't find relationships with :
workbook.getPackage.getRelationshipsByType("application/vnd.ms-excel.macrosheet+xml")
or with this:
wbpart = workbook.getPackagePart()
wbrelcollection =
wbpart.getRelationshipsByType("http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet")
I need to get xlm macro sheet index and remove it from the document completely.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]