Package io.keikai.range
Interface ExportOptions.CellTransform
- Enclosing class:
- ExportOptions
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A per-cell export decision computed by the app. Returned from
ExportOptions.cellTransform(CellTransform); the engine applies it to that one
cell, overriding the global ExportOptions.FormulaPolicy.
The callback MUST NOT mutate the cell or the book — it only inspects the cell and returns the desired action, so the source book is never altered by exporting.
-
Method Summary
-
Method Details
-
apply
- Parameters:
cell- the cell about to be exported (read-only)- Returns:
- the action for this cell;
ExportOptions.FormulaPolicy.KEEP(ornull) leaves it untouched.ExportOptions.FormulaPolicy.BLANKclears the cell regardless of its type;ExportOptions.FormulaPolicy.VALUES_ONLYdrops a formula but keeps its value (a no-op for non-formula cells).
-