[Libreoffice-bugs] [Bug 113381] New: text:anchor-type from style is not used
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Mon Oct 23 15:39:25 UTC 2017
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 at lists.freedesktop.org
Reporter: rb.henschel at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20171023/f48bc0a5/attachment.html>
More information about the Libreoffice-bugs
mailing list