Bug 124481 - Page numbers in frame with relative position from (sectioned header) DOCX shown left instead or right
Summary: Page numbers in frame with relative position from (sectioned header) DOCX sho...
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:
Whiteboard:
Keywords: filter:docx
: 137129 139952 (view as bug list)
Depends on:
Blocks: DOCX-Frames
  Show dependency treegraph
 
Reported: 2019-04-01 17:49 UTC by Devon Powell
Modified: 2021-09-06 12:32 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:
Regression By:


Attachments
Page Number Test (20.43 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2019-04-01 17:50 UTC, Devon Powell
Details
Extended, refocused example file (17.71 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2021-05-21 10:51 UTC, NISZ LibreOffice Team
Details
The extended file in Word (122.48 KB, image/png)
2021-05-21 10:51 UTC, NISZ LibreOffice Team
Details
The extended file in Writer without any frames imported (90.25 KB, image/png)
2021-05-21 10:52 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Devon Powell 2019-04-01 17:49:16 UTC
Description:
The Page number entered in the word doc does not display in the LibreOffice similarly. Page numbers in the attached word doc is placed on top right but LibreOffice Writer renders it on top left.

Steps to Reproduce:
1.Open attache document with MS Word
2.Check page numbers are placed on top right of page
3.Open the document with LibreOffice Writer
4.Note that page numbers are placed on top left of page

Actual Results:
Page numbers not rendering correctly with LibreOffice.

Expected Results:
Page number fro document created with MS word renders correctly in LibreOffice.


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 Devon Powell 2019-04-01 17:50:59 UTC
Created attachment 150466 [details]
Page Number Test
Comment 2 Oliver Brinzing 2019-04-01 17:55:55 UTC
(In reply to Mohammed Saifullah from comment #0)
> 4.Note that page numbers are placed on top left of page

reproducible with:

Version: 6.3.0.0.alpha0+ (x64)
Build ID: bf2f0c913774c90e4c9a65119d0219187bb4498c
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
Locale: de-DE (de_DE); UI-Language: en-US
Calc: threaded
Comment 3 QA Administrators 2021-04-01 03:53:50 UTC Comment hidden (obsolete)
Comment 4 Roman Kuznetsov 2021-04-05 18:49:03 UTC
still repro in

Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 18cc01b63996f81b284e3bc827d1be7f3da8983a
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: default; VCL: win
Locale: ru-RU (ru_RU); UI: ru-RU
Calc: threaded
Comment 5 Timur 2021-04-30 11:40:55 UTC
Page numbers are in sectioned header but being in frame seems to be the issue.
Comment 6 Timur 2021-04-30 11:41:12 UTC
*** Bug 137129 has been marked as a duplicate of this bug. ***
Comment 7 NISZ LibreOffice Team 2021-05-21 10:51:00 UTC
Created attachment 172223 [details]
Extended, refocused example file

The problem here is in the import of the frame, which is horizontally aligned relative to the right of margin. Also this is independent of header/footer: happens in document body too.

This relative alignment is not detected and the frame is not recognized as frame on import, only its content is imported.

The extended file here demonstrates the horizontal alignment options Word has: it can align Left/Right/Center/Inside/Outside the frames relative to Margin/Page/Column.

None of the 15 possible combination is imported as frame, even though the Writer frame object supports at least the Left/Right/Center options and to "Paragraph text area" (instead of Margin) and "Entire Page".

Vertical alignment also can be Top/Bottom/Center/Inside/Outside relative to Margin/Page - I have not tested that, but I suspect that may be unsupported too: this needs more investigation.
Comment 8 NISZ LibreOffice Team 2021-05-21 10:51:40 UTC
Created attachment 172224 [details]
The extended file in Word
Comment 9 NISZ LibreOffice Team 2021-05-21 10:52:16 UTC
Created attachment 172225 [details]
The extended file in Writer without any frames imported
Comment 10 NISZ LibreOffice Team 2021-09-06 12:32:06 UTC
*** Bug 139952 has been marked as a duplicate of this bug. ***