Description: IMPORT DOCX: don't make each page style unique but try to group identical styles Steps to Reproduce: 1. Open the attached file 2. Put cursor on the last page 3. Format -> Paragraph -> Text Flow -> Notice Page style is set to Landscape 4. Cancel the dialog 5. Save as DOCX 6. File reload 7. Put cursor on the last page 8. Format -> Paragraph -> Text Flow -> Notice Page style is set to Converted5 Actual Results: Converted5 Expected Results: Not 5 unique page styles; try to match the same style within the document. Having multiple page breaks with different styles and you end up with tremendous amount of page styles & it breaks the style systematic too. And maybe some more informative naming; generated/ Reconstructed page style. Converted from what? Reproducible: Always User Profile Reset: No Additional Info: Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community Build ID: b60b6bfaafa1315e07108dba50f016975b619c59 CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win Locale: en-US (nl_NL); UI: en-US Calc: CL
Created attachment 175546 [details] Example file
I confirm it with Version: 7.2.2.2 (x64) / LibreOffice Community Build ID: 02b2acce88a210515b4a5bb2e46cbfb63fe97d56 CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win Locale: de-DE (de_DE); UI: en-GB Calc: CL But I would describe the problem with the following steps: 1. Open the attached file 2. In Sidebar choose Syles => Page Styles and select "Applied Styles" => document has two different Page Styles 3. Save as DOCX 4. File reload 5. Lokk at applied Page Styles in sidebar Actual result Documen has 6 different page styles (each page has it's own style) Expected result Document has 2 different page styles
(In reply to Dieter from comment #2) > Expected result > Document has 2 different page styles Well I presented a different way because I expect this going into the direction of page style handling of Word being different from Writer model. So those styles maybe really to be handled properly in Word. However LibreOffice literally importing what it's exporting; which kind of ruins the whole user experience regarding to style So I would expect Writer *importer* to compare styles and merging those if exactly equal. This still 'bad'. You might have used different style names with exact same settings in the ODT. Which would end up in a single fused style. However likely the next best thing being possible It's probably better compared to having a unique style for each and everything, with unique names suggesting those a different. Aside from spamming the page style list with lots of styles.. I don't expect something can be done at the exporter code, but well this needs evaluation of those who do know more ;-)
A completely pointless bug report.
(In reply to Justin L from comment #4) > A completely pointless bug report. Less is more, but this really minimalistic answer. Call me naïve, but I don't grasp where pointlessness points too * This being uncommon * This practically not being a problem * There is nothing which can be done Ever tried to change page style in a document where everything called converted? and having a multitude of page styles..
*** This bug has been marked as a duplicate of bug 145998 ***