https://bugs.documentfoundation.org/show_bug.cgi?id=36535
--- Comment #14 from Regina Henschel <[email protected]> ---
(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.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs