You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2015/06/15 13:27:51 UTC

[Bug 58036] New: [PATCH] XSSFWorkbook.setVBAProject()

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: dev@poi.apache.org
          Reporter: cmb-apache@corefiling.co.uk
                CC: dtn-asfbugs@corefiling.co.uk

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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 58036] [PATCH] XSSFWorkbook.setVBAProject()

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58036

Dominik Stadler <do...@gmx.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |PatchAvailable

-- 
You are receiving this mail because:
You are the assignee for the bug.

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


[Bug 58036] [PATCH] XSSFWorkbook.setVBAProject()

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58036

David North <dt...@corefiling.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from David North <dt...@corefiling.co.uk> ---
Patch applied. Fixed in r1690593

-- 
You are receiving this mail because:
You are the assignee for the bug.

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


[Bug 58036] [PATCH] XSSFWorkbook.setVBAProject()

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58036

Dominik Stadler <do...@gmx.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement

-- 
You are receiving this mail because:
You are the assignee for the bug.

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