Skip to content

Conversation

@jahav
Copy link
Member

@jahav jahav commented Nov 2, 2025

Another part of style rework. It implements a Border property of XLCellFormat API object to modify the IXLBorder of a IXLStyle interface. Everything is hidden behind STYLES_REWORK constant.

Setting border only sets format of a column and of of used cells in column - solves the #2517.

jahav added 3 commits November 2, 2025 19:16
Cell formats are not nullable and fully specified, only dxf are nullable.
The XLCells has been fixed to match original behavior - each cell is
considered an area and outside border should change individual cell
border. Thus we have to do it same way to keep compatibility, although
it's kind of insane.
The former code needed to interpret each cell as a separate area
for outside/inside borders, but that was incredibly inefficient.
It didn't leverage bulk operations. Add a flag to make a special path
for cells in API objects. Not great, but better than horrible
performance or breaking change.
@jahav jahav added this to the v0.106.0 milestone Nov 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants