https://issues.apache.org/bugzilla/show_bug.cgi?id=51889
Bug #: 51889
Summary: Name.getSheetIndex returns wrong value
Product: POI
Version: 3.8-dev
Platform: PC
Status: NEW
Severity: normal
Priority: P2
Component: XSSF
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
Created attachment 27592
--> https://issues.apache.org/bugzilla/attachment.cgi?id=27592
Excel worksheet for bug reproduction
Name.getSheetIndex returns the wrong value. See the following example:
Workbook wb = WorkbookFactory.create(new FileInputStream("mtcars.xlsx"));
Name n = wb.getName("mtcars");
System.out.println(n.getSheetName());
System.out.println(n.getSheetIndex());
Sheet Name: mtcars
Sheet Index: -1
Corresponding workbook is attached.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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]