[Libreoffice-bugs] [Bug 115815] Comment position on deleted track change not preserved

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Feb 25 09:47:27 UTC 2021


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

--- Comment #5 from László Németh <nemeth at numbertext.org> ---
Created attachment 170051
  --> https://bugs.documentfoundation.org/attachment.cgi?id=170051&action=edit
possible "proof of concept" ODT document to plan/to abandon future developments

prepared by editing content.xml manually.

Imported with bad(?) text content: with extra spaces around the annotation.

Split tracked deletion "ipsum dolor" to put <office:annotation> between "ipsum
" and "dolor":

  <office:body>
    <office:text>
      <text:tracked-changes text:track-changes="false">
        <text:changed-region xml:id="ct93958104658160"
text:id="ct93958104658160">
          <text:deletion>
            <office:change-info>
              <dc:creator>Unknown Author</dc:creator>
              <dc:date>2021-02-19T15:53:17</dc:date>
            </office:change-info>
            <text:p text:style-name="P1">
              <text:span text:style-name="T1">ipsum </text:span>
            </text:p>
          </text:deletion>
        </text:changed-region>
        <text:changed-region xml:id="ct93958104658161"
text:id="ct93958104658161">
          <text:deletion>
            <office:change-info>
              <dc:creator>Unknown Author</dc:creator>
              <dc:date>2021-02-19T15:53:17</dc:date>
            </office:change-info>
            <text:p text:style-name="P1">
              <text:span text:style-name="T1">dolor</text:span>
            </text:p>
          </text:deletion>
        </text:changed-region>
        <text:changed-region xml:id="ct93958131227472"
text:id="ct93958131227472">
          <text:deletion>
            <office:change-info>
              <dc:creator>Unknown Author</dc:creator>
              <dc:date>2021-02-19T15:53:17</dc:date>
            </office:change-info>
            <text:p text:style-name="P1">
              <text:span text:style-name="T1"><text:s/>sit</text:span>
            </text:p>
          </text:deletion>
        </text:changed-region>
      </text:tracked-changes>
      <text:sequence-decls>
        <text:sequence-decl text:display-outline-level="0"
text:name="Illustration"/>
        <text:sequence-decl text:display-outline-level="0" text:name="Table"/>
        <text:sequence-decl text:display-outline-level="0" text:name="Text"/>
        <text:sequence-decl text:display-outline-level="0"
text:name="Drawing"/>
        <text:sequence-decl text:display-outline-level="0" text:name="Figure"/>
      </text:sequence-decls>
      <text:p text:style-name="P1">
        <text:span text:style-name="T1">Lorem </text:span>
        <text:change text:change-id="ct93958104658160"/>
        <text:span text:style-name="T1">
          <office:annotation office:name="__Annotation__25_1874338634"
loext:resolved="false">
            <dc:creator>Unknown Author</dc:creator>
            <dc:date>2021-02-19T16:25:24.908266431</dc:date>
            <text:p text:style-name="P3">
              <text:span text:style-name="T2">foo</text:span>
            </text:p>
          </office:annotation>
        </text:span>
        <text:change text:change-id="ct93958104658161"/>
        <office:annotation-end office:name="__Annotation__25_1874338634"/>
        <text:change text:change-id="ct93958131227472"/>
        <text:span text:style-name="T1"><text:s/>amet...</text:span>
      </text:p>
    </office:text>
  </office:body>

-- 
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/20210225/8fafa313/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list