Bug 157481 - Shrink print range is not working
Summary: Shrink print range is not working
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.1.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Print-Range
  Show dependency treegraph
 
Reported: 2023-09-28 05:35 UTC by cq87
Modified: 2023-10-21 10:15 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
出现打印bug的表格文件 (13.75 KB, application/vnd.oasis.opendocument.spreadsheet)
2023-09-28 05:35 UTC, cq87
Details
导出pdf形成的文件 (12.34 KB, application/pdf)
2023-09-28 05:44 UTC, cq87
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cq87 2023-09-28 05:35:34 UTC
Created attachment 189850 [details]
出现打印bug的表格文件

页面样式-工作表-缩放模式,已选择“shrink print range(s) to width/height”,宽和高的数量都选“1”。
视图-分页模式,可以看到a1到f18的区域都是在“第一页”。
但是选择打印(或者导出pdf),第17行和第18行的内容不能完整打出来。(a15到f18区域选择了“合并单元格”)。
Comment 1 cq87 2023-09-28 05:44:39 UTC
Created attachment 189851 [details]
导出pdf形成的文件

最后两行的内容显示不完整。
Comment 2 TANAKA Hidemune 2023-09-28 12:25:18 UTC
I reproduced it

Version: 7.6.2.1 (X86_64) / LibreOffice Community
Build ID: 56f7684011345957bbf33a7ee678afaf4d2ba333
CPU threads: 24; OS: Linux 6.2; UI render: default; VCL: gtk3
Locale: ja-JP (ja_JP.UTF-8); UI: ja-JP
Calc: threaded
Comment 3 BogdanB 2023-09-29 16:04:34 UTC
Steps to reproduce:
1. Open the attached document
2. Format - Page Style - Sheet - Choose "Shrink prin range to width/height" to 1 and 1, and not everything fit on the page.

Reproduce using
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: ad387d5b984c6666906505d25685065f710ed55d
CPU threads: 16; OS: Linux 6.2; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded

Also in
Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 9b8ea553cf7f2fe5c913cb2b5e90d6d300b6be43
CPU threads: 16; OS: Linux 6.2; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded
Comment 4 BogdanB 2023-09-29 16:05:43 UTC
Seems similar to
https://bugs.documentfoundation.org/show_bug.cgi?id=55641
Comment 5 cq87 2023-10-09 01:01:14 UTC
如果在:页面样式-工作表-缩放模式,选择“shrink print range(s) on number of pages”,页数选“1”;
那么导出pdf形成的文件也是一样的,第17行和第18行的内容不能完整显示。
Comment 6 BogdanB 2023-10-09 04:45:36 UTC
Translation for comment 5:
If in: Page Style - Worksheet - Zoom Mode, select "shrink print range(s) on number of pages", and select "1" for the number of pages;
Then the file formed by exporting pdf is the same, and the contents of lines 17 and 18 cannot be fully displayed.
Comment 7 BogdanB 2023-10-09 04:46:38 UTC
Translation for description:
Form file with printing bug

Page Style-Worksheet-Scale Mode, "shrink print range(s) to width/height" has been selected, and "1" has been selected for both width and height.
View-paging mode, you can see that the areas a1 to f18 are all on the "first page".
But when you choose to print (or export pdf), the contents of lines 17 and 18 cannot be typed out completely. ("Merge cells" is selected for the area a15 to f18).
Comment 8 BogdanB 2023-10-21 10:15:28 UTC
Also in
Version: 7.1.0.0.alpha0+
Build ID: abcc4eb907661e07ad850ccce7eb06f129da4286
CPU threads: 16; OS: Linux 6.2; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded