Summary: | [PATCH] XSSFHyperlink has wrong type if it contains a location (CTHyperlink#getLocation) | ||
---|---|---|---|
Product: | POI | Reporter: | Guillermo Alvarez <alvarezg> |
Component: | XSSF | Assignee: | POI Developers List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | PatchAvailable |
Priority: | P2 | ||
Version: | 3.12-FINAL | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | All | ||
Attachments: |
Sample test file
Proposed solution for XSSFHyperlink |
Created attachment 33999 [details]
Proposed solution for XSSFHyperlink
patch created with git format-patch, hope the format is valid
Thanks for the patch! Applied in r1753013 with a unit test. Great news, thanks! |
Created attachment 33998 [details] Sample test file Tested with attached file created in MS Excel, hyperlinks for URLs containing '#' char are stored using both target and location properties. But XSSFHyperlink sets type to Hyperlink.LINK_DOCUMENT if location is not null.