[prev in list] [next in list] [prev in thread] [next in thread]
List: poi-dev
Subject: DO NOT REPLY [Bug 51889] Name.getSheetIndex returns wrong value
From: bugzilla () apache ! org
Date: 2012-02-28 17:29:14
Message-ID: bug-51889-47293-Y3rkAKSYsd () https ! issues ! apache ! org/bugzilla/
[Download RAW message or body]
https://issues.apache.org/bugzilla/show_bug.cgi?id=51889
Yegor Kozlov <yegor@dinom.ru> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #1 from Yegor Kozlov <yegor@dinom.ru> 2012-02-28 17:29:14 UTC ---
I don't see a bug here.
Name.getSheetName() and Name.getSheetIndex() have different meanings.
getSheetIndex() defines name scope. -1 means workbook-global, otherwise it is
0-based sheet index.
getSheetName() returns sheet name which this named range is referenced to. The
name is 'mtcars!$A$1:$K$33' and this method returns mtcars.
Yegor
--
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic