https://bz.apache.org/bugzilla/show_bug.cgi?id=58036
Bug ID: 58036
Summary: [PATCH] XSSFWorkbook.setVBAProject()
Product: POI
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: XSSF
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Created attachment 32822
--> https://bz.apache.org/bugzilla/attachment.cgi?id=32822&action=edit
Patch to add XSSFWorkbook.setVBAProject()
POI doesn't handle the binary format of VBA macros within an XSSF workbook,
which is fair enough, but if you already have the bytes of such a macro file on
hand, for example from an existing workbook, it would be nice if POI made it
easy to insert those macros into a new workbook. The attached patch provides
two new methods to address this.
XSSFWorkbook.setVBAProject(InputStream vbaProjectStream)
XSSFWorkbook.setVBAProject(XSSFWorkbook macroWorkbook)
(convenience helper to obtain the stream from an existing workbook)
--
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]