[Libreoffice-bugs] [Bug 36535] EDITING: Updating of Frame Style not working correctly, anchoring to character do not updates

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Jul 19 17:39:06 UTC 2019


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

--- Comment #14 from Regina Henschel <rb.henschel at t-online.de> ---
(In reply to Michael Stahl (CIB) from comment #13)
> styles cannot contain anchor positions, and due to the implementation of
> class SwFormatAnchor that means it can't contain the anchor type either.

??
Our "Formula" style is
<style:style style:name="Formula" style:family="graphic">
   <style:graphic-properties text:anchor-type="as-char" svg:y="0mm"
fo:margin-left="0mm" fo:margin-right="0mm" style:wrap="parallel"
style:number-wrapped-paragraphs="no-limit" style:wrap-contour="false"
style:vertical-pos="middle" style:vertical-rel="text"/>
That has anchor type and position.

You can use your own styles. Write the style with all the needed
graphic-properties into the styles.xml of an document template. You can then
use the styles to change the anchor type and the position by applying the
style, or you can select your style in the insert dialog of an image.

Looking in the tab "Organizer" of the style, you see the anchor-type in the
"contains" section. The info about position is not complete there. In style
"Formula" I see nothing, in my own style or in "Watermark" I see the position
but not the "rel"-value. Nevertheless, assigning a frame style to an image will
adapt anchor type and position.

It is only running LibreOffice, that does not allow to set the anchor type and
position infos of styles. If a style exists, you can use it as expected.

-- 
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/20190719/7777b673/attachment.html>


More information about the Libreoffice-bugs mailing list