[Libreoffice-bugs] [Bug 136472] Same content on left/right pages/ Same content on first page checked on file open DOCX

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Sep 7 09:47:01 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=136472

Justin L <jluth at mail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
             Status|UNCONFIRMED                 |NEW
             Blocks|                            |112874
     Ever confirmed|0                           |1

--- Comment #2 from Justin L <jluth at mail.com> ---
The big difference is that two page styles are involved in import. The first
header moves into a separate page style for DOCX (not DOC since 4.1). So not
really a bug since emulation provides the same look as the original document.

This was a good exercise for me to go through - to review the order of support
for separate first header/footer.

-3.5 (Dec 2011): already had left/right headers and footers, but no first page.
So the whole idea of a "next page style" looks like the original concept of
LibreOffice. The other stuff (first/left/right headers/footers) was probably
added for compatibility with MSWord purposes. At this point, both DOC and DOCX
successfully emulate this kind of file on import as a First Page / Default
page-style combination.

-4.0 UI for first page header/footer added with
author  Miklos Vajna on 2012-10-05 17:20:01 +0200
commit  751dacec8e0947c2d85187342995822e6dc62912
SvxHFPage: add UI for style::PageProperties::FirstIsShared

-4.1: support added to import "default with first" DOC and export to DOC/DOCX.
linux bibisect41max commit f1e99f38d537693ab8d73d721421f43d82b365b2
    commit 1e113cb7604e1509e7d598a9be329f1f7b6e9322
    Author:     Luke Deller on Mon Feb 11 10:41:05 2013 +0000
        import different first page header/footer from doc

and in the prior commit 532e25f8b0ef1daeca1f9f84c7084812b72841d5
    Author:     Luke Deller on Mon Feb 11 10:26:34 2013 +0000
        export different first page header/footer to doc/docx

So, it looks like DOCX was never modified to use the new capability of a
separate first page header/footer. So I think this is a legitimate enhancement
report - although it is a rather dangerous area to mess around in. But it is
also a fairly problematic area, so there should be lots of unit tests related
to this to help catch re-implementation errors.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=112874
[Bug 112874] [META] Bugs related with odd and even pages, header and footer
-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200907/ae5c71b6/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list