https://bugs.documentfoundation.org/show_bug.cgi?id=151969

            Bug ID: 151969
           Summary: Multi-line cell breaks selected image export with
                    modified dimensions
           Product: LibreOffice
           Version: 7.3.5.2 release
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: [email protected]
          Reporter: [email protected]

Description:
I'm exporting a selection of a spreadsheet as an image file and modifying the
destination dimensions. For most of the spreadsheet this works as expected, but
in the case of a multi-line cell (either from "Wrap text automatically" or a
hard-typed line break) the modified size is broken. It appears that the
multi-line cell stays at the same size & position while the rest of the sheet
image dilates around it.

Steps to Reproduce:
1. Create a spreadsheet with at least one multi-line cell.
2. Select part of the sheet of interest.
3. Click File > Export > Selection > Save > Modify Dimensions > choose a
different Width (e.g., half or twice the base size). 
4. View the resulting image file.


Actual Results:
The multi-line is misplaced and at a different size from the other cells.

Expected Results:
The multi-line cell should be resized and positioned similar to the other
cells.


Reproducible: Always


User Profile Reset: No

Additional Info:
- This works with either type of image format export (JPG or PNG). 

- This works *only* if the limited "Selection" box is checked in the Export
dialog. If that box is not checked (i.e., export the whole page), then this bug
does not occur.

- Initial observation was from exporting as PNG with increased resolution
(e.g., 96 -> 1200 p/i), while keeping the dimensions fixed. This resizes the
total number of pixels and exhibits the bug described here.

Version: 7.3.5.2 (x64) / LibreOffice Community
Build ID: 184fe81b8c8c30d8b5082578aee2fed2ea847c01
CPU threads: 16; OS: Windows 10.0 Build 22621; UI render: default; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to