Apache OpenOffice (AOO) Bugzilla – Issue 92048
XTextViewCursor should give the correct position even if the controllers are locked
Last modified: 2017-05-20 10:44:42 UTC
Sometimes it is necessary to have the coordinates of XTextRanges (e.g. for sort purposes). Jumping with the viewcursor is the only way to achieve this. To not confuse the user and to avoid screenupdating, the controllers can be locked. If so, the com.sun.star.awt.Point of the cursor is wrong. The point depends on formatting, the printer driver etc., but should not depend on locked controllers, see the attached example.
Created attachment 55330 [details] showing the positions of the viewcursor
MRU->OS: please have a look. thanks!
Reset the assignee to the default "issues@openoffice.apache.org".