一般情况下,删除行时会面临两种情况:删除行内容但保留行位置.整行删除(删除后下方单元格上移).对应的删除方法分别是: void removeRow(Row row)//Remove a row from this sheet. All cells contained in the row are removed as well public void shiftRows(int startRow,int endRow,int n)//Shifts rows between startRow an