Description: When I wrap cell content (from a macro) using something like Range.IsTextWrapped = True the result differs from when I do it by hand or using recorded macro. The cell height in the first case is too small. Steps to Reproduce: 1. In a new document enter a long line in a cell. 2. Wrap it using range attribute "IsTextWrapped". 3. The cell height is too low. Actual Results: The cell height is too low and the cell content doesn't fit the cell. Expected Results: Cell content fits the cell. This is the case when I wrap cells manually or by recorded macro. Reproducible: Always User Profile Reset: No Additional Info: Version: 25.2.0.3 (X86_64) / LibreOffice Community Build ID: e1cf4a87eb02d755bce1a01209907ea5ddc8f069 CPU threads: 4; OS: Windows 10 X86_64 (10.0 build 19045); UI render: Skia/Raster; VCL: win Locale: pl-PL (pl_PL); UI: pl-PL Calc: threaded
Created attachment 199621 [details] A sample file to reproduce.
reproduce Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: a91494780bb59afe8c971003e6b809f1e66df050 CPU threads: 12; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Raster; VCL: win Locale: ja-JP (ja_JP); UI: en-US Calc: CL threaded