Download it now!
Bug 131167 - FILEOPEN DOCX: orientation and value of page number in footer are off
Summary: FILEOPEN DOCX: orientation and value of page number in footer are off
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: OOXML-Shapes
  Show dependency treegraph
 
Reported: 2020-03-05 18:58 UTC by Gerald Pfeifer
Modified: 2020-05-21 15:34 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample DOCX document (28.34 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2020-03-05 18:58 UTC, Gerald Pfeifer
Details
This is how the footer on the last page looks. (1.12 KB, image/png)
2020-03-05 18:59 UTC, Gerald Pfeifer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gerald Pfeifer 2020-03-05 18:58:15 UTC
Created attachment 158421 [details]
Sample DOCX document

Opening this DOCX in Writer, the page number in the footer on the last page
is off in two ways: it is rotated by 180° and shows a value of 1 instead of 2,
that is, it looks the same on the last and second to last pages.
Comment 1 Gerald Pfeifer 2020-03-05 18:59:39 UTC
Created attachment 158422 [details]
This is how the footer on the last page looks.

The number should be 2 and rotated by 180°.
Comment 2 Dieter 2020-03-06 11:51:14 UTC
I confirm it with

Version: 7.0.0.0.alpha0+ (x64)
Build ID: eeb2d19e77d6dc47c68e8ba0920a02cf64a1247b
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: default; VCL: win; 
Locale: de-DE (de_DE); UI-Language: en-GB
Calc: threaded

Gerald, is it a shape, where the number is located, or what?
Comment 3 Gerald Pfeifer 2020-03-07 21:59:41 UTC
(In reply to Dieter from comment #2)
> Gerald, is it a shape, where the number is located, or what?

I guess so (but just received this document, i.e., did not create it).
Comment 4 NISZ LibreOffice Team 2020-05-21 15:34:56 UTC
This object is one of the page numbering presets of Word - it offers a lot of those for the header/footer/vertical margin, and they usually fall apart in Writer.

Grouped shape with page number field in it not updating - bug #128770 is the same.
It also has vertical alignment problem - bug #133071

Rotation of the page number - I have no clear duplicate in mind, let's keep this open about that.