The x component of the cursor position does not behave as expected.
sub test
dim ovc, ov
ovc= thisComponent.CurrentController.getViewCursor()
ov = ovc.getPosition() 'cursor position from top left of text
print ov.x 'position from left
end sub
When the cursor is at the left margin (irrespective of the actual value of the page margin) the result is always showing 6318. Thereafter the result increases in 1/100s of mm. The y component (ov.y) is in 1/100s of mm from the top of the page.
Is there some logic here that I am not understanding?