Bug 86217 - Formatting: Hiding only some of the gridlines rendering incorrectly in preview/print
Summary: Formatting: Hiding only some of the gridlines rendering incorrectly in previe...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
4.2.6.3 release
Hardware: Other macOS (All)
: medium major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-12 17:46 UTC by Lin
Modified: 2014-11-13 22:03 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Screen shot (62.62 KB, image/png)
2014-11-12 17:50 UTC, Lin
Details
Screen shot2 (13.41 KB, image/png)
2014-11-12 17:51 UTC, Lin
Details
test file (4.75 KB, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml)
2014-11-13 20:59 UTC, raal
Details
print in excel (3.03 KB, image/png)
2014-11-13 21:51 UTC, raal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lin 2014-11-12 17:46:57 UTC
Hiding a section of gridlines by using border formatting appears on the screen correctly, but doesn't save on prevue/print.
Comment 1 Lin 2014-11-12 17:50:57 UTC
Created attachment 109363 [details]
Screen shot
Comment 2 Lin 2014-11-12 17:51:31 UTC
Created attachment 109364 [details]
Screen shot2
Comment 3 raal 2014-11-12 18:30:47 UTC
Hello,
I can not reproduce, please attach file for testing. Also specify your version of LibreOffice. Thank you.

Version: 4.4.0.0.alpha2+
Build ID: 98f9baa5253f7bb8034f148519f31f548b1452fa
TinderBox: Linux-rpm_deb-x86_64@46-TDF, Branch:master, Time: 2014-11-12_00:13:54
Comment 4 Robinson Tryon (qubit) 2014-11-12 21:22:30 UTC
(In reply to raal from comment #3)
> Hello,
> I can not reproduce, please attach file for testing. Also specify your
> version of LibreOffice. Thank you.

Status -> NEEDINFO
Comment 5 m_a_riosv 2014-11-12 22:08:07 UTC
Hi @Lin, be sure it is not activated the option in:

Menu/Format/Page/Sheet/Print - Grid
Comment 6 raal 2014-11-13 20:59:15 UTC
Created attachment 109440 [details]
test file
Comment 7 raal 2014-11-13 21:02:54 UTC
As  m.a.riosv  wrote -  you can off the grid via Menu/Format/Page/Sheet/Print - Grid. Closing as notabug.
Comment 8 Lin 2014-11-13 21:24:23 UTC
I only want a section of the spreadsheet to not print the grid. I formatted those line to be white, but they still print. Menu/format/sheet/print-grid does not address this issue.
Comment 9 Robinson Tryon (qubit) 2014-11-13 21:45:57 UTC
(In reply to Lin from comment #8)
> I only want a section of the spreadsheet to not print the grid.

(Updated summary for clarity)

> I formatted
> those line to be white, but they still print. Menu/format/sheet/print-grid
> does not address this issue.

Hmm... instead of formatting some of the lines to be white, let's turn off the grid and just format all of the *other* lines to be black:

1) Open the 'test file' (attachment 109440 [details])
2) Disable printing the grid (Format -> Page -> Sheet -> Print -> Grid 
   --> make sure this is unchecked
3) CTRL-A to select all
4) For this spreadsheet, deselect the region A2:E9
   --> CTRL-click on A2, then SHIFT-click on E9
5) Format -> Cells -> Borders -> Line Arrangement -> Default
6) Select 'Set Outer Border and all Inner Lines'
7) Click the 'OK' button

Verify the result with Page Preview (CTRL-SHIFT-O).

Lin: Does that method work for you?
Comment 10 raal 2014-11-13 21:51:31 UTC
Created attachment 109441 [details]
print in excel
Comment 11 Lin 2014-11-13 22:03:27 UTC
Thank you so much-that worked!
(In reply to Robinson Tryon (qubit) from comment #9)
> (In reply to Lin from comment #8)
> > I only want a section of the spreadsheet to not print the grid.
> 
> (Updated summary for clarity)
> 
> > I formatted
> > those line to be white, but they still print. Menu/format/sheet/print-grid
> > does not address this issue.
> 
> Hmm... instead of formatting some of the lines to be white, let's turn off
> the grid and just format all of the *other* lines to be black:
> 
> 1) Open the 'test file' (attachment 109440 [details])
> 2) Disable printing the grid (Format -> Page -> Sheet -> Print -> Grid 
>    --> make sure this is unchecked
> 3) CTRL-A to select all
> 4) For this spreadsheet, deselect the region A2:E9
>    --> CTRL-click on A2, then SHIFT-click on E9
> 5) Format -> Cells -> Borders -> Line Arrangement -> Default
> 6) Select 'Set Outer Border and all Inner Lines'
> 7) Click the 'OK' button
> 
> Verify the result with Page Preview (CTRL-SHIFT-O).
> 
> Lin: Does that method work for you?