Bug 148171 - FILEOPEN DOCX PageRef field with "Position of paragraph" option incorrectly imported
Summary: FILEOPEN DOCX PageRef field with "Position of paragraph" option incorrectly i...
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:
Depends on:
Blocks: DOCX-Fields
  Show dependency treegraph
 
Reported: 2022-03-25 07:54 UTC by Gabor Kelemen (allotropia)
Modified: 2024-05-12 15:38 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
The problematic field in Word and Writer (209.84 KB, image/png)
2022-03-25 07:54 UTC, Gabor Kelemen (allotropia)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Kelemen (allotropia) 2022-03-25 07:54:26 UTC
Created attachment 179094 [details]
The problematic field in Word and Writer

This is a followup to bug 145215

attachment 175829 [details] contains some example fields on page 51 under title "Schedule 99"

Many of these are appearing the same as in Word, this report focuses on the "PageRef" field of paragraphs 1 and 7.
In Word this field has the Field option "Position of paragraph". This is disabled in the paragraph numbered 1, and enabled in paragraph numbered 7.

When this is enabled in Word, the cross reference link says "on page N" while there is no similar cross reference type in Writer, so it is mapped to the "Above/below" cross reference, which matches the disabled state of "Position of paragraph" as seen in paragraph number 1.

Writer should have a similar option for the Bookmarks field that gives the referenced bookmarks position as "on page N".

Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: a2c3ef6d8108355ce5daf6ff72310ac93ae745f0
CPU threads: 14; OS: Windows 10.0 Build 19044; UI render: default; VCL: win
Locale: en-US (hu_HU); UI: en-US
Calc: threaded Jumbo
Comment 1 Dieter 2022-04-09 11:40:08 UTC
I confirm it with

Version: 7.3.2.2 (x64) / LibreOffice Community
Build ID: 49f2b1bff42cfccbd8f788c8dc32c1c309559be0
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: zh-CN (de_DE); UI: en-GB
Calc: CL
Comment 2 QA Administrators 2024-04-09 03:13:19 UTC Comment hidden (obsolete)
Comment 3 Dieter 2024-05-12 15:38:57 UTC
Still present in

Version: 24.2.3.2 (X86_64) / LibreOffice Community
Build ID: 433d9c2ded56988e8a90e6b2e771ee4e6a5ab2ba
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL threaded