https://bz.apache.org/bugzilla/show_bug.cgi?id=63073
Bug ID: 63073
Summary: return value of addMergedRegion starting from 1
Product: POI
Version: unspecified
Hardware: PC
OS: Mac OS X 10.1
Status: NEW
Severity: normal
Priority: P2
Component: XSSF
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
HSSFSheet.addMergedRegion() returns index of the region,which starts from 0,but
return value of XSSFSheet.addMergedRegion() starts from 1
Is it a Bug?Their interface Sheet does not mention this
==============
Implementation In HSSFSheet:
return mrt.getNumberOfMergedRegions()-1;
And in XSSFSheet:
return ctMergeCells.sizeOfMergeCellArray();
forgot -1?
Version:4.0.1
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]