poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 62222] getLabel for Hyperlink returns always null for xlsx files
Date Tue, 27 Mar 2018 07:49:32 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=62222

--- Comment #4 from Alexander Vitkovskiy <sasha.vitk@gmail.com> ---
File created in Excel 2013.

Sheet looks like this:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main"
xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="x14ac"
xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac"><dimension
ref="A1"/><sheetViews><sheetView tabSelected="1"
workbookViewId="0"/></sheetViews><sheetFormatPr defaultRowHeight="15"
x14ac:dyDescent="0.25"/><sheetData><row r="1" spans="1:1"
x14ac:dyDescent="0.25"><c r="A1" s="1"
t="s"><v>0</v></c></row></sheetData><hyperlinks><hyperlink
ref="A1"
r:id="rId1"/></hyperlinks><pageMargins left="0.7" right="0.7" top="0.75"
bottom="0.75" header="0.3" footer="0.3"/></worksheet>

that points to hyperlynk (but there no display text):

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Relationships
xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship
Id="rId1"
Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink"
Target="pom.xml" TargetMode="External"/></Relationships>

Found it ("MavenPom") in sharedStrings.xml:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<sst xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main"
count="1" uniqueCount="1"><si><t>MavenPom</t></si></sst>


I attached XLSX file to bug.

-- 
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


Mime
View raw message