1. Open a new document. 2. Choose a direct formatted ordered list and enter a few items. 3. Now choose a list style for an ordered list and enter a few items. 4. Save as .docx 5. Open with LO or Word. Actual result: Direct formatted ordered list is fine. List style loses its numbering. Tested with 7.2.6.2 and 7.4.0.0 (in Safe Mode)
Please attach sample ODS and confirm you didn't find existing report.
I confirm that I did not find any open ticket that was close to this one. If document is saved as .odt first and then saved as .docx, no problem. So here is an alternative aid... -------Paste into New document----- Here are three lines which should be formatted with a direct formatting option. Here are three lines which should get an ordered list style applied to them ------------------------- Save New document as .docx Result (in Word and LO): the list style number is lost.
No repro. Maybe there's some detail.
(In reply to Timur from comment #3) > Maybe there's some detail. For the list style, use: Numbering a b c List Style. No repro with Numbering 1 2 3 List Style. And still need to save a new Untitled document as Word 2007-365 (.docx)
No repro 6.2. Repro 7.4+ with Numbering 123. But next time I tested, also couldn't reproduce. There's something fishy here. I set New. Could be a regression.
Have just tested again. Agree that something is fishy... 1. Still no problem if saved first as .odt and then saved as .docx. 2. But Untitled document saved as .docx, lost both Numbering 123 List Style and Numbering abc List Style, but did not lose DF numbering. Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community Build ID: 4ea44fdb19e568093ab1e0549c3ffa33296a486b CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win Locale: da-DK (da_DK); UI: en-US Calc: CL Build from 07.05.2022 Previous testing was with a master build from around 18.04.2022
@Timur - a new test: 1. New document 2. DF some paras with ordered list 3. More paras with 4 different ordered list styles. 4. More paras with unordered list styles. 5. Save as .docx Actual: As before, DF is preserved. As before, all the ordered list styles are lost. The unordered list styles are preserved. 6. Restart LO, open the saved .docx 7. Add back the unordered list styles, save and reload. Actual: unordered list styles are still lost. In sum: seems like: if New document is saved as .docx with ordered list styles, then these are lost, and continue to be lost when saved as .docx. But no indication that there is a problem with unordered list styles. Tested with: Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community Build ID: 4ea44fdb19e568093ab1e0549c3ffa33296a486b CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win Locale: da-DK (da_DK); UI: en-US Calc: CL And as a speculation....maybe the following commit is relevant Vasily Melenchuk <vasily.melenchuk@cib.de> Mon Jun 14 14:27:56 2021 +0300 new ODF numbered list parameter loext:num-list-format https://git.libreoffice.org/core/+/9987b518fca1476bd0ce8c86bcf6ac7c81f7b580
Created attachment 180073 [details] Sample DOCX How they say... please attach sample. Here it is, document 1st saved as DOCX. Note "List from toolbar". Mark "List from List styles" and apply abc list from List styles. Save and reopen. I don't think it's about abc, when there's a problem, also 123 will do. This sample seems to be consistent in being wrong.
Do not repro difference between "toolbar" and "sidebar". Test: 1. New document 2. 3 paras and Numbering 123 list style from Formatting (Styles) bar. 3. 3 paras and Numbering 123 list style (from Sidebar, List Styles) 4. save as .docx Actual: both "toolbar" and "sidebar" ordered list styles lose numbering. Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community Build ID: 4ea44fdb19e568093ab1e0549c3ffa33296a486b Changing bug summary .... Additional information: 1. Reload the .docx file, then the list styles have changed to WWNum1 2. In attachment 180073 [details] many of the lists have WWNumx list styles. Another speculation that might explain differences between earlier and later testing is: https://gerrit.libreoffice.org/c/core/+/133124
bug 150197 fixed this, right?
Created attachment 181547 [details] The example document made in 2 days old master vs current I can confirm the issue is gone with original steps. 1, Copy paragraphs from comment #2 into a new document 2, Format first 3 with Formatting toolbar - Numbering dropdown - Any style 3, Format second 3 with Styles sidebar - List styles - A Numbering style 4, Save as docx, reload Result: Bullet symbol of the first 3 paragraphs is kept, while the second 3 paragraphs is disappearing. Bad in: Version: 7.5.0.0.alpha0+ (x64) / LibreOffice Community Build ID: 20cc897dddb8ae7cee3c6d66e9cebba9da543c3a CPU threads: 14; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win Locale: en-US (hu_HU); UI: en-US Calc: threaded Numbering of the second 3 paras is kept in: Version: 7.5.0.0.alpha0+ / LibreOffice Community Build ID: 1abb82c0bc8c46acac8b2644e645725ff92dd538 CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3 Locale: hu-HU (hu_HU.UTF-8); UI: en-US Calc: threaded
(In reply to Justin L from comment #10) > bug 150197 fixed this, right? Let's assume so, many thanks for fixing this :) *** This bug has been marked as a duplicate of bug 150197 ***