https://issues.apache.org/bugzilla/show_bug.cgi?id=53858
Priority: P2
Bug ID: 53858
Assignee: [email protected]
Summary: Reading Hyperlink address having number sign(#) from
cell giving improper link address
Severity: normal
Classification: Unclassified
OS: Windows XP
Reporter: [email protected]
Hardware: PC
Status: NEW
Version: 3.8
Component: HSSF
Product: POI
Created attachment 29365
--> https://issues.apache.org/bugzilla/attachment.cgi?id=29365&action=edit
xsl file for testing
Step to reproduce issue:-
========================
1. Create a xls file with one cell with a hyperlink.(Address of hyperlink
should having number sign(#) in it. e.g
"http://www.bailii.org/databases.html#uk")
2. Try to read address of hyperlink. It will give link address as "uk".Only
characters after Address number sign (#) is considered as hyperlink address.
Code snippet:-
=============
String strLinkAddress = cell.getHyperlink().getAddress();
It will return "uk" as link address instead of
"http://www.bailii.org/databases.html#uk"
An xls file is attached for test.
--
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]