You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2002/12/09 17:44:20 UTC

DO NOT REPLY [Bug 15184] New: - getFirstCellNum() 0 based, getLastCellNum() 1 based

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15184>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15184

getFirstCellNum() 0 based, getLastCellNum() 1 based

           Summary: getFirstCellNum() 0 based, getLastCellNum() 1 based
           Product: POI
           Version: 1.5.1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: HSSF
        AssignedTo: poi-dev@jakarta.apache.org
        ReportedBy: Holger.Schulz@epost.de


Hello!

For a sheet with data just in column "A" getFirstCellNum() returns 0, 
getLastCellNum() returns 1.
For a sheet with data just in column "B" getFirstCellNum() returns 1, 
getLastCellNum() returns 2.

I can't find a good reason why getLastCellNum() is 1 based.

Greetings from Germany

    Holger