Bug 159745 - FILEOPEN RTF DOCX Handle paper tray setting for first and other pages
Summary: FILEOPEN RTF DOCX Handle paper tray setting for first and other pages
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:docx, filter:rtf
Depends on:
Blocks: RTF
  Show dependency treegraph
 
Reported: 2024-02-16 11:03 UTC by Gabor Kelemen (allotropia)
Modified: 2024-07-10 13:21 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Example RTF from Word with different paper tray settings (53.25 KB, application/msword)
2024-02-16 11:03 UTC, Gabor Kelemen (allotropia)
Details
The example file in Word 2016 and current master (168.92 KB, image/png)
2024-02-16 11:04 UTC, Gabor Kelemen (allotropia)
Details
Variation of the example file, with tray settings switched in Word (52.88 KB, application/msword)
2024-02-16 11:28 UTC, Gabor Kelemen (allotropia)
Details
The second example file in Word 2016 and Writer (168.92 KB, image/png)
2024-02-16 11:28 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) 2024-02-16 11:03:45 UTC
Created attachment 192595 [details]
Example RTF from Word with different paper tray settings

This is a followup to bug 159254

Currently if there are different settings for the first and other paper bins, only one of these are imported into the page style settings.
Writer supports only one paper tray setting per page style, so importing it would require the creation of another page style and set as "Next style" of the default one. This setup can avoid the creation of another page style setting mimicking Word behavior, as discussed in bug 159320.

1. Open attached file
2. Open Format - Page Style
-> In the Paper Tray dropdown there should be the Automatic option set. In Word I set the Other pages option to use the Manual option, and this setting is now lost.

Note this is depending on using by default the same printer as the one used by Word when the example was created, so my file is probably not going to work for others.

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 3d3242ef3a6f111d6220c60d5c1b968c7f46fc5f
CPU threads: 15; OS: Windows 10.0 Build 19045; UI render: default; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: default
Comment 1 Gabor Kelemen (allotropia) 2024-02-16 11:04:10 UTC
Created attachment 192596 [details]
The example file in Word 2016 and current master
Comment 2 Gabor Kelemen (allotropia) 2024-02-16 11:28:28 UTC
Created attachment 192597 [details]
Variation of the example file, with tray settings switched in Word
Comment 3 Gabor Kelemen (allotropia) 2024-02-16 11:28:58 UTC
Created attachment 192598 [details]
The second example file in Word 2016 and Writer
Comment 4 Buovjaga 2024-07-10 13:21:03 UTC
Now the string is [From printer settings]

Confirmed.

Arch Linux 64-bit
Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: d8c694b5d64b05da8c515e4ffe23c4bcc2376b0f
CPU threads: 8; OS: Linux 6.9; UI render: default; VCL: kf6 (cairo+wayland)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: CL threaded
Built on 10 July 2024