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

--- Comment #7 from Farid <[email protected]> ---
"The SwFlyFrameAttrMgr() [1] knows three types: frames, OLE objects, and
graphics. OLE (such as formula) and graphics are handled together and take the
default from Options > Formatting Aids."

I don't think this is true. I have set Formatting Aids > Image > Anchor to As
character: 

1. New inserted images, either from the Insert > Image, or by copy/pasting,
honor this option.
2. OLE > Formulas honor their corresponding Frame style (Formula) anchor type
option. If I change the style option, it affects the default anchor option of
new formulas inserted from Insert > OLE > Formula.
3. Insert > OLE > Barcode always anchor to paragraph and no Frame style is
associated with them!
4. Insert > OLE > OLE object (e.g. a Draw object) is similar to Formula and it
honors the corresponding Frame style (i.e. OLE) anchor option.

"Frames are limited to the dialog workflow via Insert > Frame > Frame... where
you can specify the anchor."

I personally insert Frame when captioning my figures i.e. by right clicking a
Figure/Formula and then Insert Caption.

"Even if we could set the anchor for interactively drawn frames- it is
pointless to make it jump to some fix position (As/To Character)."

In the scenario I mentioned, particularly for scientific writing, I always
expect the inserted frame around the figure be anchored as character. We need
just to trigger the function which sets the anchor to "as character" and the
fix position depends on the bounding box of the frame.

Anchor to para/char has unpredictable side effects. In my odt to docx
workflows, the situation is more dire and undesired repositioning of the frames
may happen.

"And there is always the option to change the default frame style or to apply
one with a different anchor after inserting."

If i select a frame and change the "Frame styles > Frame" anchor option to As
Character, it won't affect the selected or newly inserted frames! Perhaps a
bug!

thanks you
Farid

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to