FILESAVE DOCX/DOC: Highlighting inside textboxes not exported odt to DOCX conversion
Steps to Reproduce:
1. Open the attached file
2. Save as DOCX/DOC
3. File reload
This strange. If you save ODT to DOC there will be no highlighting. If you edit the doc with Word & save there is highlighting on import. If you edit the highlighting inside the textbox & save it works too.
Highlighting in textboxes is supported for ODT since 4.4. Looks like an implementation error
Notice there is no highlighting
User Profile Reset: No
Version: 188.8.131.52.alpha0+ (x64)
Build ID: <buildversion>
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Created attachment 164345 [details]
Adding bisect request.. to find the one who implemented it
Version: 184.108.40.206.alpha0+ (x64)
Build ID: e0c72e31c1d455c26110c35e8780d420e17cdea6
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win
Locale: en-US (hu_HU); UI: en-US
This is an editeng textbox, upon exporting it there is this in the xml:
If the saved version is edited in Word, it puts out correctly the tag (I used green highlight):
<w:p w:rsidR="00EE2C44" w:rsidRDefault="002529E3">
This is also retained by Writer on a new save, but this is now a Writer frame, so probably a bit different part of export core too.
Created attachment 166628 [details]
attachment #164345 [details] saved by Writer as docx
Created attachment 166629 [details]
166628 saved by Word after adding highlight color
Created attachment 166630 [details]
Second version of the example file in odt and docx
Inserting a shape, adding textbox, adding text and highlighting it also saves correctly. Interesting...
Created attachment 166631 [details]
Modified example file with shape containing highlighted text
(In reply to Telesto from comment #2)
> Adding bisect request.. to find the one who implemented it
If the question was when the highlight color in the sample was imported, it started with the following commit. However, at this point I see no way to set highlight color in the text box itself.
author Miklos Vajna <firstname.lastname@example.org> 2014-06-30 13:46:04 +0200
committer Miklos Vajna <email@example.com> 2014-07-01 13:30:12 +0200
SwXAutoStyle::GetPropertyValues_Impl: fix handling of CharAutoStyleName
To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.
There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.
If you have time, please do the following:
Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/
If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.
Please DO NOT
Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not
appropriate in this case)
If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/
2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword
Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa
Thank you for helping us make LibreOffice even better for everyone!