[英]Unable to understand working of shiftRows method of apache POI
I am working with .xls file i am going to translate(shift) Rows of excell table to specific position.But got unwanted results everytime.I had already gone through documentation of method shiftRows.Unable to understand working of this statement. 我正在使用.xls文件我要将excell表的行转换(移位)到特定位置。但每次都得到不需要的结果。我已经通过方法shiftRows的文档。无法理解这个语句的工作。
sheet.shiftRows(34, sheet.getLastRowNum(), processIndex-4);
Sometimes it shifted two rows in Excell Table. 有时它在Excell Table中移动了两行。
sheet.shiftRows(int startRow, int endRow, int n);
is used to Shift number of rows down the sheet . 用于向下移动工作表中的行数。 where
哪里
The javadoc for org.apache.poi.ss.usermodel.Sheet.shiftRows provides more details. org.apache.poi.ss.usermodel.Sheet.shiftRows的javadoc提供了更多详细信息。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.