Chart Border Style in DOCX documents created and modified with LibreOffice Writer 6.2.0.0.alpha0+ disappears when the document is opened in LibreOffice Writer 6.2.0.0.alpha0+. This is side effect of the fixes for bug #108064 - previously the line style was not saved at all. Now it is, but there is no correct mapping between the default LO and MSO styles. Steps to reproduce: 1. Open the attached document in Writer. 2. Change the Style of Chart Border to Fine Dotted 3. Save the file as DOCX 4. Reload the file 5. Open the original file in LibreOffice Writer 6. Compare the original and the created file opened in Writer Actual results: On the Data Series Window Border Style disappears when the document is opened in LibreOffice Writer 6.2.0.0.alpha0+. Expected results: Chart Border should have the same style as the original file when the document is opened in LibreOffice Writer 6.2.0.0.alpha0+. LibreOffice details: Version: 6.2.0.0.alpha0+ Build ID: e2a525b00c9ea15408fb64dcb6749405739f58ab CPU threads: 4; OS: Windows 6.1; UI render: default; TinderBox: Win-x86@42, Branch:master, Time: 2018-09-18_03:37:59 Locale: hu-HU (hu_HU); Calc: threaded
Created attachment 145015 [details] Example file with custom border style
Created attachment 145016 [details] Screenshot of the file in odt and docx in LO
Created attachment 145017 [details] The document in LO and Word
Still unconfirmed. I'll confirm although I'm not sure whether this relates to going further current Adam's export/1-way conversion to also import/2-way conversion. http://cgit.freedesktop.org/libreoffice/core/commit/?id=d5cc52fec12e3c8d1c3561f172d3e1c5434290b3 tdf#108064 OOXML export: keep preset dashes with mso preset linewidths http://cgit.freedesktop.org/libreoffice/core/commit/?id=47c3b0390e5ad5a894488c47f014cdd7ecba7d2e tdf#108064 OOXML export: convert LO preset dashes to equivalent MSO presets
(In reply to Gabor Kelemen from comment #1) > Created attachment 145015 [details] > Example file with custom border style Hi Gabor, the attached document doesn't contain any chart. Could you please recheck it ?
Created attachment 145725 [details] The correct example file from LO Sorry, misclicked on upload :)
There was a fix about this in this commit: https://bugs.documentfoundation.org/show_bug.cgi?id=119981 For some more details, see the comments here: https://bugs.documentfoundation.org/show_bug.cgi?id=108064
There was a fix about this in this commit: https://gerrit.libreoffice.org/#/c/61417/ For some more details, see the comments here: https://bugs.documentfoundation.org/show_bug.cgi?id=108064
Created attachment 147176 [details] Screenshot of the document in docx and odt in current master There was a lot of improvement here, but the style is still not read back correctly from docx.
Created attachment 148510 [details] ultrafine dash ooxml before and after export Different result here.
Dear Adam Kovacs, This bug has been in ASSIGNED status for more than 3 months without any activity. Resetting it to NEW. Please assigned it back to yourself if you're still working on this.
Created attachment 153713 [details] Example compared LO-odt MSO-docx LO-docx Screenshots here don't correspond fully to example document because width is changed. Here is a screenshot of example file LO-odt MSO-docx LO-docx, with the original width.
Fixed with commit https://cgit.freedesktop.org/libreoffice/core/commit/?id=57c9bdab377a00649299d1a4c9ed2f9e5e03b84e Fix is available in Version: 6.4.0.0.alpha0+ (x64) Build ID: 61b757f31f25cda6d595f64226181c7a82ce8d7f CPU threads: 8; OS: Windows 10.0; UI render: GL; VCL: win; TinderBox: Win-x86_64@62-TDF, Branch:master, Time: 2019-09-07_17:48:35 Locale: en-US (en_US); UI-Language: en-US Calc: CL
Created attachment 154050 [details] Example compared LO-odt MSO-docx LO-docx FIXED Yes, looks good.