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

            Bug ID: 171048
           Summary: Load Styles from Template does not work as before when
                    editing a docx document
           Product: LibreOffice
           Version: 26.2.0.0 alpha0+ master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
This bug report pertains to 
Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 480ef73deef62c458e5735cd496a1d74ef408ed8
CPU threads: 8; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: de-DE (de_DE.UTF-8); UI: en-US
Calc: threaded
editing a docx file.

I used to load styles from some sample files by going to the Styles sidebar,
click on Styles action, select Load Styles from Template, check all boxes in
the lower part of it, then From File and then select a file which has all the
styles which I often apply.

This does not work for editing docx files. I don't know if it worked before in
any previous version of LO Writer in this special constellation of editing docs
files. 

For example: in the file, from which I imported the paragraph style
"Preformatted Text", its font was Free Mono. In the definition of the target
document, into which I imported this style, its font still is Liberation Mono
which was the style previously in the file.

When I export the docx file to an odt file and open it in order to edit it,
importing the whole style sheet from the other file works as expected.

Steps to Reproduce:
1.open a docx file
2.import style definitions from another odt file whose styles you are familiar
with
3.check if the imported style definitions coincide with those from where tey
were imported

Actual Results:
imported style definitions which are different in the file, from which they
were imported, don't replace what they were before, e.g. the font may differ.

Expected Results:
I expect the imported styles to replace the former styles definitions with the
same name.


Reproducible: Always


User Profile Reset: No

Additional Info:
What other information do you expect in this box? The bug is well described
above. It would be better if this question box were not mandatory.

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

Reply via email to