<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - place text when importing from PDF in one text box instead many text boxes with one string"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=118370#c15">Comment # 15</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - place text when importing from PDF in one text box instead many text boxes with one string"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=118370">bug 118370</a>
              from <span class="vcard"><a class="email" href="mailto:jluth@mail.com" title="Justin L <jluth@mail.com>"> <span class="fn">Justin L</span></a>
</span></b>
        <pre>I updated my proposal to patch set 3.

(In reply to Regina Henschel from <a href="show_bug.cgi?id=118370#c14">comment #14</a>)
Thanks for giving your opinion that this should NOT be opened up to general
shapes, but should be strictly for textboxes. I've limited it to OBJ_TEXT
items.

<span class="quote">> Grouped textboxes: enter group, consolidate, and everything vanishes.</span >
Kinda fixed with another sledgehammer approach to just ungrouping everything. I
have no idea what is going on behind the scenes here. I suspect that either
objects are being freed, or SdrOutliner is being reset.

<span class="quote">> If the layer is locked, the new text box is inserted in this layer anyway.</span >
I changed the code so that the new text box is inserted into the current layer.
I wasn't able to discover the locked status of the layer though, since the only
lock function [IsLockedODF()] reports on something different.

<span class="quote">> "Consolidate Text" works on Callouts and presentation objects too.</span >
I can't reproduce. In my testing, callouts are !IsTextFrame(), so they
shouldn't have been included. However, since the code is now modified to only
include OBJ_TEXT, perhaps it works as you expect now.

<span class="quote">> Numbered list in one text box followed by numbered list in the next text
> box is turned into a bullet list in my tests.</span >
I can't reproduce.

<span class="quote">> * Text boxes in "text along path"-mode are treated too.</span >
I couldn't figure out how to create these.
It sounds like you may have developed a fairly comprehensive test document.
Perhaps you could attach it to this report. That would be helpful.

<span class="quote">> If only one text box is marked together with another shape, then the
> text box is replaced by a new one, losing name, description and style.</span >
Now that only OBJ_TEXT are supported, this was easily fixed.

<span class="quote">> * If the user marks a shape in addition, the size and position for the new
> text box is taken from the entire marked area.</span >
GetMarkedObjRect was returning a cached size, so it needed to be invalidated
and re-calculated.</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>