/** * Gets the total number of rows in the spreadsheet. * * This refers to the hard bound on rows. It is possible that your * spreadsheet has many, many empty rows, all of which are counted in * this count. * * Column positions 1 to getRowCount() are valid. */ public int getRowCount() { return getExtension(RowCount.class).getCount(); }
/** * Gets the total number of rows in the spreadsheet. * * This refers to the hard bound on rows. It is possible that your * spreadsheet has many, many empty rows, all of which are counted in * this count. * * Column positions 1 to getRowCount() are valid. */ public int getRowCount() { return getExtension(RowCount.class).getCount(); }
/** * Gets the total number of rows. * * This refers to the hard bound on rows. It is possible that your * spreadsheet has many, many empty rows, all of which are counted in * this count. * * Column positions 1 to getRowCount() are valid. */ public int getRowCount() { RowCount count = getExtension(RowCount.class); if (count != null) { return count.getCount(); } else { return 0; } }
/** * Gets the total number of rows. * * This refers to the hard bound on rows. It is possible that your * spreadsheet has many, many empty rows, all of which are counted in * this count. * * Column positions 1 to getRowCount() are valid. */ public int getRowCount() { RowCount count = getExtension(RowCount.class); if (count != null) { return count.getCount(); } else { return 0; } }