Interface IdCheckboxSpecifier
- All Superinterfaces:
CheckboxSpecifier
,Serializable
A
CheckboxSpecifier
for extracting data from a checkbox with a user-visible ID and ObjectType=Pict.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic IdCheckboxSpecifier.Builder
builder()
default boolean
A setting that controls whether it is acceptable for the checkbox with the specifiedid()
to be missing.getCheckboxData
(WorkbookWithMetadata _workbook, org.apache.poi.ss.usermodel.Sheet sheet, Drawings drawings) id()
The ID of the checkbox to extract data from.static IdCheckboxSpecifier
Create an instance of this class from a checkbox ID string.
-
Method Details
-
id
String id()The ID of the checkbox to extract data from. -
canBeMissing
@Default default boolean canBeMissing()A setting that controls whether it is acceptable for the checkbox with the specifiedid()
to be missing. If true,getCheckboxData(WorkbookWithMetadata, Sheet, Drawings)
will return null when the checkbox is missing. If false, that function will throw an exception and the parse will fail. The default value is false. -
builder
-
getCheckboxData
default Optional<Checkbox> getCheckboxData(WorkbookWithMetadata _workbook, org.apache.poi.ss.usermodel.Sheet sheet, Drawings drawings) - Specified by:
getCheckboxData
in interfaceCheckboxSpecifier
-
of
Create an instance of this class from a checkbox ID string.
-