docs(design): plan cell formatting and cell ranges in the sheet editor - #934
Merged
Merged
Conversation
This was referenced Sep 28, 2026
The plan for the stack that follows: the xlsx reader reads what the writer will write, a setCellStyle op writes into .ods and .xlsx, the sheet editor formats a rectangle of cells, and the bindings take Sheet::set_cell_style. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NXnz6EZY8YpyiyyE1GpsWy
HorizontalAlign has no justify, and a new value would move the ordinals the bindings map. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NXnz6EZY8YpyiyyE1GpsWy
andiwand
force-pushed
the
docs/plan-cell-formatting
branch
from
September 28, 2026 18:21
1f273cf to
5fbc691
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 Generated with Claude Code
Stacked on #933.
The plan for the cell-formatting stack, as #893 was for inline formatting. It adds decisions 9 to 12 to
docs/design/spreadsheet-editing.md:setCellStyleop per cell, with the keys ofsetTextStyleplusfillandalign, and how each key is written in.odsand.xlsx.table-cellstyle, or a newfont/fill/xfonly where no equal one exists), never the shared style it read.Sheet::set_cell_style(column, row, TableCellStyle, TextStyle).--odr-dark-fill.The steps that follow, each its own PR on top of this one:
fgColor, theme colours withtint, italic, underline, strikethrough and left and right alignment.Sheet::set_cell_styleandsetCellStylefor.ods.setCellStylefor.xlsx.