/** * @return the value calculated for the position of the first DBCELL record for this sheet. * That value is1 found on the IndexRecord. */ private static int GetDbCellRecordPos(InternalSheet sheet) { MyIndexRecordListener myIndexListener = new MyIndexRecordListener(); sheet.VisitContainedRecords(myIndexListener, 0); IndexRecord indexRecord = myIndexListener.GetIndexRecord(); int dbCellRecordPos = indexRecord.GetDbcellAt(0); return(dbCellRecordPos); }
/** * @return the value calculated for the position of the first DBCELL record for this sheet. * That value is1 found on the IndexRecord. */ private static int GetDbCellRecordPos(InternalSheet sheet) { MyIndexRecordListener myIndexListener = new MyIndexRecordListener(); sheet.VisitContainedRecords(myIndexListener, 0); IndexRecord indexRecord = myIndexListener.GetIndexRecord(); int dbCellRecordPos = indexRecord.GetDbcellAt(0); return dbCellRecordPos; }