<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Behaviour of anchors is changed while inserting images"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=132948#c5">Comment # 5</a>
              on <a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Behaviour of anchors is changed while inserting images"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=132948">bug 132948</a>
              from <span class="vcard"><a class="email" href="mailto:rb.henschel@t-online.de" title="Regina Henschel <rb.henschel@t-online.de>"> <span class="fn">Regina Henschel</span></a>
</span></b>
        <pre>(In reply to Telesto from <a href="show_bug.cgi?id=132948#c4">comment #4</a>)
<span class="quote">> @Regina
> Do you have any insight in technical difference between anchoring to
> character or to paragraph.</span >

The mark-up of the image contains an attribute for the anchor type. In case of
"to character" the markup-up of the image is directly after its anchor
character, in case of no character there, at start of the paragraph. In case of
"to paragraph" it is always at start of the paragraph. I don't know, how that
is reflected in the code.

<span class="quote">> Or more precise: how should an anchor to character without character present behave.. in this example.</span >

I don't know. It is a decision of the user interface, not of the file format.

<span class="quote">> Is this the expected behaviour?</span >

It is how LibreOffice works, Enter at begin of paragraph shifts content down.
And "to character" anchoring is interpreted that way.

Discussion about including anchor type in a style is in <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - EDITING: Updating of Frame Style not working correctly, anchoring to character do not updates"
   href="show_bug.cgi?id=36535">bug 36535</a>.
Allow user to decide the default anchor type is in <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Make default type of anchoring optional"
   href="show_bug.cgi?id=99646">bug 99646</a>.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>