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

            Bug ID: 113381
           Summary: text:anchor-type from style is not used
           Product: LibreOffice
           Version: 6.0.0.0.alpha0+ Master
          Hardware: x86 (IA32)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: rb.hensc...@t-online.de

Created attachment 137238
  --> https://bugs.documentfoundation.org/attachment.cgi?id=137238&action=edit
Document with removed hard anchored settings

The attribute text:anchor-type (values as-char, char, frame, page, paragraph)
exists as attribute of the <draw:frame> element (ODF 19.754) and as attribute
of a <style:style> element of style family graphic (ODF 20.408).

If an element does not have an own value for a property, then the value from
the assigned style should be used. But LibreOffice sets "as-char" instead using
the value from the graphic style.

Unpack the attached document and notice, that the <draw:frame> elements have no
own attribute text:anchor-type, but the assigned styles have
text:anchor-type="paragraph".

Open the file in LibreOffice. Notice that the images are anchored as character.

Because LibreOffice always writes the text:anchor-type attribute to the
<draw:frame> element the problem is not directly obvious in daily use. But it
prevents a proper handling of styles as requested in bug 113376 or bug 32484.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to