Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
For the Xlsx files, we have a requirement. We need to determine the region of a merged cell. And based on the row range or column range of this range, find other rows or other cells listed in this range. Therefore, we create this PR to get the region of the merged cells.
For example:
The range of the merged cells is A1 to A2, the position of cell 2 is B1, the position of cell 3 is B2, and the position of cell 3 is B3. We need to read the data from B1 and B2 according to the range of this merged cell, because B1 and B2 are within the row range of the merged cell. Similarly, if the merged cells range is from A1 to A3, we need to read the data from B1, B2, and B3.