Interface MultilayerMergedHeaderExtractor
- All Superinterfaces:
HeaderExtractor
,Serializable
A
HeaderExtractor
for extracting complex headers consisting of multiple rows with a hierarchy of merged cells.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder for constructing an instance ofMultilayerMergedHeaderExtractor
. -
Method Summary
Modifier and TypeMethodDescriptionThe bottom-right cell of the header.builder()
Create a builder for constructing an instance of this class.default Boolean
Treat an empty cell as if it had the value of the previous non-empty cell in the row, even if it is not actually merged with that previous cell.default CaseNormalizationOption
Defaults toCaseNormalizationOption.DO_NOT_NORMALIZE
.extractHeader
(org.apache.poi.ss.usermodel.Sheet sheet) The top-left cell of the header.
-
Method Details
-
topLeftCellName
String topLeftCellName()The top-left cell of the header.Example: "A1"
-
bottomRightCellName
String bottomRightCellName()The bottom-right cell of the header.Example: "E3"
-
caseNormalizationOption
Defaults toCaseNormalizationOption.DO_NOT_NORMALIZE
. -
carryForward
Treat an empty cell as if it had the value of the previous non-empty cell in the row, even if it is not actually merged with that previous cell. -
extractHeader
- Specified by:
extractHeader
in interfaceHeaderExtractor
-
builder
Create a builder for constructing an instance of this class.
-