Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cell value with ability to manipulate cell #261

Open
gastendonk opened this issue Aug 3, 2023 · 1 comment
Open

Cell value with ability to manipulate cell #261

gastendonk opened this issue Aug 3, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@gastendonk
Copy link
Member

gastendonk commented Aug 3, 2023

Based on the evaluationResult we want to manipulate the cell before or after. The evaluationResult should implement the interface ValueWithCellAccess, which has the methods getValue(), applyBefore(cell) and applyAfter(cell). The methods will be called in PoiCellData.writeToCell() around the updateCellContents(cell) call.

This concept is similar to WritableCellValue, but it just extends the default behavior while WritableCellValue has to do everything itself.

It might be also similar to jx:updateCell and CellDataUpdater.

Background: Our applyBefore code would create an Excel note. We want to create Excel reports and then want to re-import the Excel file. In the note there are source informations for how to save the field value.

@gastendonk gastendonk added the enhancement New feature or request label Aug 3, 2023
@SoltauFintel SoltauFintel self-assigned this Aug 3, 2023
@SoltauFintel
Copy link
Member

see PR #262

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants