Interface CheckboxSpecifier
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
IdCheckboxSpecifier
,LocationCheckboxSpecifier
Checkbox selection status can be linked to a cell with a formula (in which case the value of that cell is the best way to get the Checkbox's canonical value) or not (in which case the drawing's checked attribute is the only way to get the value). Classes that implement this interface parse the drawing XML to find which cell stores the value for a given checkbox if the checkbox is linked to a cell with a formula. Otherwise, they get the drawing's checked or not-checked attribute.
Some checkboxes are stored with a user-visible ID and with ObjectType=Pict.
Others are stored without an ID and with ObjectType=CheckBox.
To fetch data from the former, you should use IdCheckboxSpecifier
.
To fetch data from the latter, you should use LocationCheckboxSpecifier
.
-
Method Summary
Modifier and TypeMethodDescriptiongetCheckboxData
(WorkbookWithMetadata workbook, org.apache.poi.ss.usermodel.Sheet sheet, Drawings drawings)
-
Method Details
-
getCheckboxData
Optional<Checkbox> getCheckboxData(WorkbookWithMetadata workbook, org.apache.poi.ss.usermodel.Sheet sheet, Drawings drawings)
-