Apache OpenOffice (AOO) Bugzilla – Issue 17015
getTextAtIndex(LINE) returns wrong value
Last modified: 2004-01-27 17:17:21 UTC
In edit enfine of Writer application getTextAtIndex(LINE) returns always (-1,-1) when cursor is at the end of text. This is wrong because an screen reader does not report a text when cursor is placed at the end and a just written character. Output from logging of java_uno_accessbridge when cursor is at the end of a text: [text] Paragraph 4: getTextAtIndex(LINE,2) returns (-1,-1,) [text] Paragraph 4: getCaretPosition() returns 2 Output from logging of java_uno_accessbridge when cursor is in the text: [text] Paragraph 1: getTextAtIndex(LINE,11) returns (0,14,This is a text) [text] Paragraph 1: getCaretPosition() returns 11
^enfine^engine
.
Agreed with TZ.
issue resolved in sw02pp1