Bug 71843 - Missing "Surround header" and "Surround footer" Page Border options in Writer
Summary: Missing "Surround header" and "Surround footer" Page Border options in Writer
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL: https://www.elance.com/j/implement-li...
Whiteboard:
Keywords: filter:docx
: 78485 (view as bug list)
Depends on:
Blocks: Page-Style-Dialog DOCX-Page Page-Borders
  Show dependency treegraph
 
Reported: 2013-11-20 16:50 UTC by Luis Felipe Marzagao
Modified: 2023-06-03 22:44 UTC (History)
8 users (show)

See Also:
Crash report or crash signature:


Attachments
Document with page borders. Bordes do not surround header and footer. (14.57 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2014-10-04 01:28 UTC, Luis Felipe Marzagao
Details
Screenshot of border options in Word 2007. (80.71 KB, image/png)
2014-10-04 01:30 UTC, Luis Felipe Marzagao
Details
How the test document opens in Word 2007 and LibreOffice. (165.10 KB, image/png)
2014-10-04 01:31 UTC, Luis Felipe Marzagao
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Luis Felipe Marzagao 2013-11-20 16:50:30 UTC
MS Word has two options in the page border settings. These are called
"Surround header" and "Surround footer". A similar thing must be implemented in
Writer, otherwise documents created in MS Word without header and footer surrounding bordes won't open correctly.

In Writer they open with the borders surroundig the whole page, including header and footer.

Ex.:

How you create in MS Word:

...header...
|..........|
|..........|
|..........|
|..........|
...footer...


How it opens in LibreOffice Writer:

|..header..|
|..........|
|..........|
|..........|
|..........|
|..footer..|
Comment 1 Luis Felipe Marzagao 2014-02-14 00:07:01 UTC
My company is willing to fund this implementation. It doesn´t need to correctly open MS  Office files. We just need the "surround footer" and "surround header" options to be present for new files for editing in libreoffice, so we can remove page borders from around header and footer, but leave them surrounding the main text in the document.

I´ve created a bounty. If someone would like to price it, tell me, and if affordable, we will insert money int he bony. Here is the link:

https://www.bountysource.com/issues/1411381-missing-surround-header-and-surround-footer-page-border-options-in-writer
Comment 2 Luis Felipe Marzagao 2014-06-06 22:07:09 UTC
These features are described in the following items of ECMA-376, 4th Edition (Office Open XML File Formats — Fundamentals and Markup Language Reference):

17.15.1.14 bordersDoNotSurroundFooter (Page Border Excludes Footer)

17.15.1.15 bordersDoNotSurroundHeader (Page Border Excludes Header)

http://www.ecma-international.org/publications/standards/Ecma-376.htm
Comment 3 Samuel Mehrbrodt (allotropia) 2014-10-03 20:08:16 UTC
(In reply to Luis Felipe Marzagao from comment #0)
> MS Word has two options in the page border settings. These are called
> "Surround header" and "Surround footer".

I couldn't find these options in Word 2007. In which Word version is this available?

Maybe you can update an example document and a screenshot how it renders in Word?
Comment 4 Samuel Mehrbrodt (allotropia) 2014-10-03 20:09:11 UTC
(Resetting Assignee since no activity since months)
Comment 5 Luis Felipe Marzagao 2014-10-04 01:28:52 UTC
Created attachment 107292 [details]
Document with page borders. Bordes do not surround header and footer.
Comment 6 Luis Felipe Marzagao 2014-10-04 01:30:18 UTC
Created attachment 107293 [details]
Screenshot of border options in Word 2007.
Comment 7 Luis Felipe Marzagao 2014-10-04 01:31:41 UTC
Created attachment 107294 [details]
How the test document opens in Word 2007 and LibreOffice.

This document was created in Word 2007. LibreOffice does not allow removing surrounding borders from header and footer.
Comment 8 Luis Felipe Marzagao 2014-10-04 01:32:19 UTC
Word 2007/2010

Insert a page header and a page footer.

Page Layout -> Page borders -> Page Border Tab -> Click to insert borders on both sides of page -> Options... -> Measure from: Text -> Uncheck Surround header and Surround footer -> Ok -> Ok.



(In reply to Samuel Mehrbrodt from comment #3)
> (In reply to Luis Felipe Marzagao from comment #0)
> > MS Word has two options in the page border settings. These are called
> > "Surround header" and "Surround footer".
> 
> I couldn't find these options in Word 2007. In which Word version is this
> available?
> 
> Maybe you can update an example document and a screenshot how it renders in
> Word?

Hello, this is how you can reproduce:

Word 2007/2010:

Insert a page header and a page footer.

Page Layout -> Page borders -> Page Border Tab -> Click to insert borders on both sides of page -> Options... -> Measure from: Text -> Uncheck Surround header and Surround footer -> Ok -> Ok.

Attached is an example document created without borders surronding header and footer. I have attached also screenshots of how this document opens on Word 2007 and Libreoffice.
Comment 9 Philipp Weissenbacher 2015-05-31 09:38:35 UTC
(In reply to Luis Felipe Marzagao from comment #1)
> My company is willing to fund this implementation. It doesn´t need to
> correctly open MS  Office files. We just need the "surround footer" and
> "surround header" options to be present for new files for editing in
> libreoffice, so we can remove page borders from around header and footer,
> but leave them surrounding the main text in the document.
> 
> I´ve created a bounty. If someone would like to price it, tell me, and if
> affordable, we will insert money int he bony. Here is the link:
> 
> https://www.bountysource.com/issues/1411381-missing-surround-header-and-
> surround-footer-page-border-options-in-writer

Given the lack of activity in the bounty issues, maybe you want to have this feature developed by one of the certified developers listed here: http://www.libreoffice.org/get-help/professional-support/
Comment 10 Gerry 2016-03-06 12:06:16 UTC
I added bug 39270 in the "see also" field. That bug deals with Borders as graphics / Decorative borders which is (technically-wise probably) related to this one.
Comment 11 Gerry 2016-03-06 12:08:04 UTC
For the records: There is still a 1000 USD bounty for this enhancement: https://freedomsponsors.org/issue/539/missing-surround-header-and-surround-footer-page-border-options-in-writer#sponsors
Comment 12 Cor Nouws 2016-05-09 08:14:18 UTC
*** Bug 78485 has been marked as a duplicate of this bug. ***
Comment 13 QA Administrators 2018-03-16 03:36:27 UTC Comment hidden (obsolete)
Comment 14 Luis Felipe Marzagao 2018-03-16 11:43:04 UTC
This issue is still present in LibreOffice version 6.0.2.1

Versão: 6.0.2.1
ID de compilação: f7f06a8f319e4b62f9bc5095aa112a65d2f3ac89
Threads da CPU:1; SO:Windows 10.0; Realizador da interface: padrão; 
Local: pt-BR (pt_BR); Calc: group
Comment 15 Roman Kuznetsov 2019-05-04 13:11:30 UTC
still repro in

Version: 6.3.0.0.alpha0+ (x64)
Build ID: 7ca7d61dc25f409e209b3a432c7f07469b17e316
CPU threads: 4; OS: Windows 6.1; UI render: default; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2019-05-03_23:08:41
Locale: ru-RU (ru_RU); UI-Language: en-US
Calc: CL
Comment 16 QA Administrators 2021-05-04 03:46:08 UTC Comment hidden (obsolete)
Comment 17 berte 2021-05-04 06:05:29 UTC
Still present:

Version: 7.1.2.2 / LibreOffice Community
Build ID: 10(Build:2)
CPU threads: 4; OS: Linux 5.8; UI render: default; VCL: gtk3
Locale: fr-CH (C.UTF-8); UI: en-US
Ubuntu package version: 1:7.1.2~rc2-0ubuntu0.20.04.1~lo3
Calc: threaded
Comment 18 افشین 2022-09-10 07:41:01 UTC
Still present:

Version: 7.4.2.0.0+ / LibreOffice Community
Build ID: ea179bb6f914cb426d1282f2556a72cb3732ebc8
CPU threads: 2; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: fa-IR (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 19 Christopher POTTER 2022-11-26 20:14:54 UTC
Still present in :

Version: 7.4.3.2 (x64) / LibreOffice Community
Build ID: 1048a8393ae2eeec98dff31b5c133c5f1d08b890
CPU threads: 12; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: fr-FR (fr_FR); UI: fr-FR
Calc: threaded