Bug 98741 - LibreOffice print header with Print Selected Area and print wihout header by default
Summary: LibreOffice print header with Print Selected Area and print wihout header by ...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Header-Footer
  Show dependency treegraph
 
Reported: 2016-03-18 11:19 UTC by Maxim Britov
Modified: 2025-09-08 18:01 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example (22.92 KB, application/vnd.oasis.opendocument.text)
2016-03-18 11:19 UTC, Maxim Britov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maxim Britov 2016-03-18 11:19:01 UTC
Created attachment 123688 [details]
Example

sorry, may be stupid Summary, feel free fix it. I'm Russian speaking, not English.

Issue: I will attach 333.odt with some text. It was subject for my bug 97429.

1. Ctrl+A then Ctrl+P then Print. Text printed without header.
2. Ctrl+A then Ctrl+P then Selected Area then Print. Even on preview area you will see header.
Comment 1 raal 2016-03-21 07:45:21 UTC
I can confirm with Version: 5.2.0.0.alpha0+
Build ID: 45701913f642b17aabd67b52de9002cc79cf07ae
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; 

Header is not visible in writer, appear when printing with option "selection".
Comment 2 Oliver Specht (CIB) 2016-03-21 09:45:38 UTC
Printing of selections uses the default page style which has a header.

In SwViewShell::FillPrtDoc(...) there is code that tries to find the right page style but fails to access the selected page.
Comment 3 QA Administrators 2017-05-22 13:18:49 UTC Comment hidden (obsolete)
Comment 4 QA Administrators 2019-12-03 14:59:24 UTC Comment hidden (obsolete)
Comment 5 QA Administrators 2021-12-03 04:45:39 UTC Comment hidden (obsolete)
Comment 6 BogdanB 2021-12-29 17:18:52 UTC
Also in
Version: 7.2.4.1 / LibreOffice Community
Build ID: 27d75539669ac387bb498e35313b970b7fe9c4f9
CPU threads: 4; OS: Linux 5.11; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded
Comment 7 QA Administrators 2024-03-23 03:14:38 UTC Comment hidden (obsolete, spam)
Comment 8 Justin L 2025-09-08 18:01:03 UTC
Fixed in 7.5.4 by commit d81379db730a163c5ff75d4f3a3cddbd7b5eddda
Author: Michael Stahl on  Mon May 8 16:38:03 2023 +0200
    tdf#154877 sw: generalise ExtendedSelectAll()
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151544


The header is no longer included when "selection" is printed.