<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - ViewCursor does not work as expected"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=141783">141783</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>ViewCursor does not work as expected
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>7.2.0.0.alpha0+ Master
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>BASIC
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>rb.henschel@t-online.de
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="https://bugs.documentfoundation.org/attachment.cgi?id=171319" name="attach_171319" title="Contains macro with ViewCursor">attachment 171319</a> <a href="https://bugs.documentfoundation.org/attachment.cgi?id=171319&action=edit" title="Contains macro with ViewCursor">[details]</a></span>
Contains macro with ViewCursor

Open attached document. It contains a macro to investigate the ViewCursor.

Problems:

(A) The method gotoEndOfLine() does not set the cursor at the end of the line.

(B) The reported position is not "the cursor's coordinates relative to the top
left position of the first page of the document." as said in the API of
XTextViewCursor. It seems to be relative to the top left of the work area. Make
the window wider to get free area left of the page and vary it. You get
different position values.</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>