| Summary: | Value for logheight in custom-shape is wrong in Writer | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Regina Henschel <rb.henschel> |
| Component: | LibreOffice | Assignee: | Not Assigned <libreoffice-bugs> |
| Status: | NEW --- | ||
| Severity: | normal | CC: | ilmari.lauhakangas |
| Priority: | medium | ||
| Version: | 7.3.0.0 alpha0+ | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Crash report or crash signature: | Regression By: | ||
| Bug Depends on: | |||
| Bug Blocks: | 123648 | ||
| Attachments: |
Object with fixed rectangle height
Screenshot with Draw and Writer side-by-side |
||
Created attachment 175108 [details]
Screenshot with Draw and Writer side-by-side
Repro Arch Linux 64-bit Version: 7.5.0.0.alpha0+ / LibreOffice Community Build ID: b45867766184ad1200df4183dab537fac9e83ea2 CPU threads: 8; OS: Linux 5.19; UI render: default; VCL: kf5 (cairo+xcb) Locale: fi-FI (fi_FI.UTF-8); UI: en-US Calc: threaded Built on 13 October 2022 |
Created attachment 175107 [details] Object with fixed rectangle height Open attached Draw document. It has an object, where the upper rectangle has a fixed height of 1cm. The object is intended to be uses with a heading in the upper rectangle and body text in the lower rectangle. Copy the object and insert it into a text document in Writer. Notice, that the upper rectangle has changed its height. For to get a fixed height for the upper rectangle, the y-coordinate where the upper rectangle ends and the lower rectangle starts is calculated as draw:formula="1000/logheight*height" ODF 1.3 specifies in 19.171 draw:formula, "logheight | The height in 1/100th mm as specified by the svg:height 19.543 attribute is used."