Bug 158116 - RTF import: IF field consumes text from header
Summary: RTF import: IF field consumes text from header
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:rtf
Depends on:
Blocks: RTF-Header-Footer
  Show dependency treegraph
 
Reported: 2023-11-08 12:18 UTC by Oliver Specht (CIB)
Modified: 2023-11-10 21:25 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
bugdoc (20.79 KB, application/msword)
2023-11-08 12:18 UTC, Oliver Specht (CIB)
Details
screen shot showing the difference between LO and word (73.02 KB, image/jpeg)
2023-11-08 12:19 UTC, Oliver Specht (CIB)
Details
printscreen from word2010 (20.54 KB, image/png)
2023-11-08 19:37 UTC, raal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Specht (CIB) 2023-11-08 12:18:33 UTC
Created attachment 190722 [details]
bugdoc

The attached bugdoc should have a header with some text ending with a date field

But after loading in LO only the date field remains in the header.
The rest of the text is moved to the ELSE part of an IF field at the beginning of page 2.

In word the IF field is responsible for the page break.
Comment 1 Oliver Specht (CIB) 2023-11-08 12:19:40 UTC
Created attachment 190723 [details]
screen shot showing the difference between LO and word
Comment 2 IvoErMejo 2023-11-08 13:07:06 UTC
Bug confirmed, inside LibreOffice imported only one page.

Version: 7.6.2.1 (X86_64) / LibreOffice Community
Build ID: 56f7684011345957bbf33a7ee678afaf4d2ba333
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: it-IT (it_IT); UI: it-IT
Calc: threaded
Comment 3 raal 2023-11-08 19:37:50 UTC
Created attachment 190732 [details]
printscreen from word2010
Comment 4 raal 2023-11-08 19:38:31 UTC
Confirm with Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 41d9584179ef7b4e18eda47c2c0a955df8c087a5
CPU threads: 4; OS: Linux 6.2; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded