Created attachment 173922 [details] Sample file for this problem In Calc if we draw a line (in this case a diagonal line) which is in a merged cell, which happens to be across the page, when printing it would not be able to print correctly. You can see the result in print preview. I will attach the screenshot later too. In the print preview (also the printed result) the line was extended to the bottom (and from the beginning) of its pages. Opening this file in Microsoft Excel, the diagonal line is shown corrected (see expected-1 and expected-2 screenshot). The file is generated by LibreOffice Calc 6.3.6.2 while I open it with 7.1.3.2. Version: 7.1.3.2 / LibreOffice Community Build ID: 47f78053abe362b9384784d31a6e56f8511eb1c1 CPU threads: 4; OS: Linux 5.10; UI render: default; VCL: kf5 Locale: zh-TW (zh_TW.UTF-8); UI: zh-TW Calc: threaded In my 7.1.3.2 I see one lines extending to the edge of the page.
Created attachment 173923 [details] Diagonal line extended to the edge of the page - p1
Created attachment 173924 [details] Diagonal line extended to the edge of the page - p2
Created attachment 173925 [details] Expected behavior - p1 The sample file opened in Excel. The diagonal line is shown and printed correctly, which is expected also in Calc. (However Excel does not show the repeated head row and that is not the problem what I want to discuss here.)
Created attachment 173926 [details] Expected behavior - p2
Confirm with Version: 7.1.5.2 (x64) / LibreOffice Community Build ID: 85f04e9f809797b8199d13c421bd8a2b025d52b5 CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win Locale: ro-RO (ro_RO); UI: en-US Calc: threaded
Working now, please retest. Version: 7.5.0.0.alpha0+ / LibreOffice Community Build ID: a09c5c69e3b5fbf448cae1d6c476f39067e40023 CPU threads: 4; OS: Linux 5.19; UI render: default; VCL: gtk3 Locale: ro-RO (ro_RO.UTF-8); UI: en-US Calc: threaded