Turns out that .xlsx files can have multiple link tables, add a test file which shows this (support to follow)

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1611878 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Nick Burch 2014-07-19 10:09:00 +00:00
parent 18cb6b63d0
commit 8d0b9df2ac
2 changed files with 7 additions and 0 deletions

View File

@ -81,4 +81,11 @@ public final class TestExternalLinksTable {
assertEquals("Defines", name.getSheetName()); assertEquals("Defines", name.getSheetName());
assertEquals("$A$1", name.getRefersToFormula()); assertEquals("$A$1", name.getRefersToFormula());
} }
@Test
public void readWithReferencesToTwoExternalBooks() {
XSSFWorkbook wb = XSSFTestDataSamples.openSampleWorkbook("ref2-56737.xlsx");
// TODO Fix so we can see both of them...
}
} }

Binary file not shown.