distinguish physical number of rows and last row number
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1188219 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f1a2673950
commit
0874288ed4
@ -685,7 +685,7 @@ public class ExcelToFoConverter extends AbstractExcelConverter
|
||||
final List<Element> emptyRowElements = new ArrayList<Element>(
|
||||
physicalNumberOfRows );
|
||||
int maxSheetColumns = 1;
|
||||
for ( int r = 0; r < physicalNumberOfRows; r++ )
|
||||
for ( int r = sheet.getFirstRowNum(); r <= sheet.getLastRowNum(); r++ )
|
||||
{
|
||||
HSSFRow row = sheet.getRow( r );
|
||||
|
||||
|
@ -622,7 +622,7 @@ public class ExcelToHtmlConverter extends AbstractExcelConverter
|
||||
final List<Element> emptyRowElements = new ArrayList<Element>(
|
||||
physicalNumberOfRows );
|
||||
int maxSheetColumns = 1;
|
||||
for ( int r = 0; r < physicalNumberOfRows; r++ )
|
||||
for ( int r = sheet.getFirstRowNum(); r <= sheet.getLastRowNum(); r++ )
|
||||
{
|
||||
HSSFRow row = sheet.getRow( r );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user