https://bugs.documentfoundation.org/show_bug.cgi?id=150423

            Bug ID: 150423
           Summary: Duplicated themeColor and themeShade in docx roundtrip
           Product: LibreOffice
           Version: 7.3.4.2 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: [email protected]
          Reporter: [email protected]

1. Open a docx file (A) saved by MS Word (must have theme colors set)
2. Make no changes
3. Save as docx file (B)
4. Reopen B

Error:
SAXException [word/document.xml line 20]: Attribute w:themeShade redefined

>From manual inspection of the XML, the <w:color> elements have a duplicated
w:themeShade and w:themeColor attributes.

This does not seem to be possible (from my experience) when creating the
document in LibreOffice.  It has to be a document from MS Word that has a color
theme set.

I have an example, but it contains proprietary / confidential information.  I
can dig out a copy of MS Word and try to create a minimal document if it is
useful.

This appears to be a regression of 123705.

$ libreoffice --version
LibreOffice 7.3.4.2 30(Build:2)

$ head -7 /etc/os-release 
NAME="Fedora Linux"
VERSION="36 (Thirty Six)"
ID=fedora
VERSION_ID=36
VERSION_CODENAME=""
PLATFORM_ID="platform:f36"
PRETTY_NAME="Fedora Linux 36 (Thirty Six)"

$ rpm -q libreoffice-writer 
libreoffice-writer-7.3.4.2-4.fc36.x86_64

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to