Skip to content

fix: Rotated text overriding custom row heights - #252

Open
Inference1 wants to merge 2 commits into
iOfficeAI:mainfrom
Inference1:fix/249-custom-height-rotation
Open

fix: Rotated text overriding custom row heights#252
Inference1 wants to merge 2 commits into
iOfficeAI:mainfrom
Inference1:fix/249-custom-height-rotation

Conversation

@Inference1

Copy link
Copy Markdown

Fixes #249

Summary

  • Preserve OOXML customHeight="1" rows when estimating the height needed for rotated text.
  • Keep automatic row-height expansion unchanged for rows without an explicit custom height.

Verification

  • dotnet build src/officecli/officecli.csproj --no-restore --nologo
  • Reproduced a merged I3:I12 cell with textRotation=90 and a 15pt custom height; the rendered HTML now keeps row 3 at height:15pt.

@Inference1 Inference1 changed the title Fix rotated text overriding custom row heights fix: Rotated text overriding custom row heights Jul 22, 2026
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.

[BUG] textRotation=90 in merged cell causes row height expansion

1 participant