Bug 147078 - FILESAVE RTF Paragraph direct formatting of tab position not saved
Summary: FILESAVE RTF Paragraph direct formatting of tab position not saved
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.3.1.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: RTF-Tables RTF-Paragraph
  Show dependency treegraph
 
Reported: 2022-01-30 20:23 UTC by Gabor Kelemen (allotropia)
Modified: 2023-01-25 22:29 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
The example file in Word and its Writer-saved version reopened in Writer (238.31 KB, image/png)
2022-01-30 20:23 UTC, Gabor Kelemen (allotropia)
Details
The example file saved to RTF with current Writer (13.91 MB, application/msword)
2022-02-14 07:48 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-01-30 20:23:51 UTC
Created attachment 177918 [details]
The example file in Word and its Writer-saved version reopened in Writer

This is a continuation of bug 147077 and bug 98199

The attachment 177915 [details] has some text formatted with "Body Text 3" paragraph style in the table starting with "Näyttelyluokat / utställningsklasser:"
This style has a tab stop defined at 4.5 cm.
This setting is overridden with direct formatting in the paragraphs numbered 7-17 to not have this tab stop.
Writer opens this setting correctly, but does not save the direct formatting removal of the tab stop setting to RTF, so upon reopening the document the paragraphs have an extra tab stop in use.

1, Open  attachment 177915 [details]
2, Save as RTF, reopen.

The paragraphs 7-17 in table "Näyttelyluokat / utställningsklasser:" will have a 4.5 cm tab, making the documents content flow to two pages.

Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: eb69767d7c1bb8e6e780fd9503f08c9d7f5ecb45
CPU threads: 13; OS: Windows 10.0 Build 19042; UI render: default; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: threaded
Comment 1 Dieter 2022-02-13 15:51:02 UTC
(In reply to Gabor Kelemen (allotropia) from comment #0)
> 1, Open  attachment 177915 [details]
Attachment is already in rtf-format. Could you please check?
=> Needinfo
Comment 2 Gabor Kelemen (allotropia) 2022-02-14 07:24:31 UTC
(In reply to Dieter from comment #1)
> (In reply to Gabor Kelemen (allotropia) from comment #0)
> > 1, Open  attachment 177915 [details]
> Attachment is already in rtf-format. Could you please check?
> => Needinfo

Yes, and this is a filesave bug. Save as RTF, reopen -> should look differently than the original.
Comment 3 Gabor Kelemen (allotropia) 2022-02-14 07:48:01 UTC
Created attachment 178258 [details]
The example file saved to RTF with current Writer
Comment 4 Dieter 2022-03-22 10:41:28 UTC
I confirm it with

Version: 7.3.1.3 (x64) / LibreOffice Community
Build ID: a69ca51ded25f3eefd52d7bf9a5fad8c90b87951
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

Tabs in Table 6 changes
default tabstops => Tab at 4,5 cm

I can see at least a second issue: Table width changes
Table 1: 18,77 cm => 18,41 cm
Table 2: 18,78 cm => 18,39 cm
Table 3: 18,75 cm => 18,37 cm
Table 4: 18,77 cm (no change)
Table 5: 18,75 fcm (no change)