includes/org/apache/poi/hssf/model/InternalSheet.java
public void addRow(RowRecord row) {
        if (log.check( POILogger.DEBUG ))
            log.log(POILogger.DEBUG, "addRow ");
        DimensionsRecord d = _dimensions;

        if (row.getRowNumber() >= d.getLastRow()) {
            d.setLastRow(row.getRowNumber() + 1);
        }
        if (row.getRowNumber() < d.getFirstRow()) {
            d.setFirstRow(row.getRowNumber());
        }

        //If the row exists remove it, so that any cells attached to the row are removed
        RowRecord existingRow = _rowsAggregate.getRow(row.getRowNumber());
        if (existingRow != null) {
            _rowsAggregate.removeRow(existingRow);
        }

        _rowsAggregate.insertRow(row);

        if (log.check( POILogger.DEBUG ))
            log.log(POILogger.DEBUG, "exit addRow");
    }
/**
     * Adds a row record to the sheet
     *
     * <P>
     * This method is "loc" sensitive.  Meaning you need to set LOC to where you
     * want it to start searching.  If you don't know do this: setLoc(getDimsLoc).
     * When adding several rows you can just start at the last one by leaving loc
     * at what this sets it to.
     *
     * @param row the row record to be added
     */
Adds a row record to the sheet


This method is "loc" sensitive.  Meaning you need to set LOC to where you
want it to start searching.  If you don't know do this: setLoc(getDimsLoc).
When adding several rows you can just start at the last one by leaving loc
at what this sets it to.

@param row the row record to be added
Adds a row record to the sheet This method is " loc " sensitive . Meaning you need to set LOC to where you want it to start searching . If you don ' t know do this : setLoc ( getDimsLoc ) . When adding several rows you can just start at the last one by leaving loc at what this sets it to . @param row the row record to be added
public void addRow(RowRecord row) {
        if (log.check( POILogger.DEBUG ))
            log.log(POILogger.DEBUG, "addRow ");
        DimensionsRecord d = _dimensions;
        if (row.getRowNumber() >= d.getLastRow()) {
            d.setLastRow(row.getRowNumber() + 1);
        }
        if (row.getRowNumber() < d.getFirstRow()) {
            d.setFirstRow(row.getRowNumber());
        }
        RowRecord existingRow = _rowsAggregate.getRow(row.getRowNumber());
        if (existingRow != null) {
            _rowsAggregate.removeRow(existingRow);
        }
        _rowsAggregate.insertRow(row);
        if (log.check( POILogger.DEBUG ))
            log.log(POILogger.DEBUG, "exit addRow");
    }
public void addRow ( RowRecord row ) { if ( log . check ( POILogger . DEBUG ) ) log . log ( POILogger . DEBUG , "addRow " ) ; DimensionsRecord d = _dimensions ; if ( row . getRowNumber ( ) >= d . getLastRow ( ) ) { d . setLastRow ( row . getRowNumber ( ) + 1 ) ; } if ( row . getRowNumber ( ) < d . getFirstRow ( ) ) { d . setFirstRow ( row . getRowNumber ( ) ) ; } RowRecord existingRow = _rowsAggregate . getRow ( row . getRowNumber ( ) ) ; if ( existingRow != null ) { _rowsAggregate . removeRow ( existingRow ) ; } _rowsAggregate . insertRow ( row ) ; if ( log . check ( POILogger . DEBUG ) ) log . log ( POILogger . DEBUG , "exit addRow" ) ; }
Adds a row record to the sheet
Adds a row record to the sheet
//If the row exists remove it, so that any cells attached to the row are removed
