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:
parent
c386b48755
commit
7d2a9093da
@ -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...
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
BIN
test-data/spreadsheet/ref2-56737.xlsx
Normal file
BIN
test-data/spreadsheet/ref2-56737.xlsx
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user