What does index mean in getMergedRegion?
Apache’s HSSFSheet documentation does not explicitly describe what the index parameter means.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
From the freely available source downloadable here http://poi.apache.org/download.html we have …
When we drill down to
getMergedRegionAtwe findHere we can see that there is a
MergedCellsTablethis would indicate that each worksheet has a data structure that maintains a list of the Merged Cells in a WorkSheet.From reviewing the code the index references the specific MergedRegion whose CellRangeAddress was required in the context of having many regions.
You could log that as a doc bug or submit a patch to improve the JavaDoc.