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 classA 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 BooleanTreat 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 CaseNormalizationOptionDefaults 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:
extractHeaderin interfaceHeaderExtractor
-
builder
Create a builder for constructing an instance of this class.
-