https://issues.apache.org/ooo/show_bug.cgi?id=125072

          Issue ID: 125072
        Issue Type: DEFECT
           Summary: OOo cannot correctly import ODF with modified default
                    styles in non-English UI
           Product: Writer
           Version: 4.1.0
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: code
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 83529
  --> https://issues.apache.org/ooo/attachment.cgi?id=83529&action=edit
simple document where the problem occurs

Steps to reproduce:
 - with the attached document where the style Marginalia has been modified:
    - open it document in an Ensligh UI, it works
    - open it in a French UI, the frame is not placed correctly

This issue is also present in latest LibreOffice.

When the bug occurs:
 - the Marginalia style has the correct (modified) properties
 - the frame has the good style (Marginalia)
 - the frame has the same properties as if the Marginalia style wasn't
modified, and the layout follows these properties correctly

After debugging a little, when rendering the frame, the software looks for the
style "Marginalia" (untranslated) and doesn't find it because the styles have
already been translated.

This bug is quite serious and prevents many valid ODF documents to be rendered
correctly.

The call to lcl_FindFrmFmt is made with the untranslated argument while it
should be translated.

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

Reply via email to