Description: Exporting a cell, range of cells or sheet as .png or .jpg, adds white borders at right and bottom (sometimes left). Image is shrinked. Noticeable when using background color or borders. Steps to Reproduce: 1. Apply background color or borders to a cell or range of cells. 2. If less than a page, select cell or range of cells. 2. Choose menu `File` - `Export…`, type file name, (check `Selection` if only is a cell, or range less than a page), `Save` - `OK`. Actual Results: Resulting image is shrunk and shows white borders. Expected Results: Background or border color seen up to the edge of the image. Reproducible: Always User Profile Reset: No OpenGL enabled: Yes Additional Info: Version: 6.3.6.2 (x86) Build ID: 2196df99b074d8a661f4036fca8fa0cbfa33a497 CPU threads: 4; OS: Windows 6.1; UI render: default; VCL: win; Locale: es-MX (es_MX); UI-Language: en-US Calc: threaded Tryed with OpenGL disabled, and see no difference.
Created attachment 163081 [details] Sample .ods file
Created attachment 163082 [details] Resulting file from sample
Reproduced in Version: 7.1.0.0.alpha0+ Build ID: d851a02df57ab378ed0cc6d9362516de09c3279c CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: gtk3 Locale: en-US (en_US.UTF-8); UI: en-US Calc: threaded and Version: 6.1.0.0.alpha1+ Build ID: 3a801799536e6870f2fb111b1cc00b9575a35a39 CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: gtk3; Locale: en-US (en_US.UTF-8); Calc: group in previous versions, the whole page is exported even if the option selection is opted in
Repro Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community Build ID: 42c5506a9e9ef58efd8193a193464e3b49d481ca CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win Locale: nl-NL (nl_NL); UI: en-US Calc: CL
Created attachment 184983 [details] Partial Black Border Example Optionally add a border. Displaying this file on black background loses the partial black border detail on left-hand side.