Issue 17015 - getTextAtIndex(LINE) returns wrong value
Summary: getTextAtIndex(LINE) returns wrong value
Status: CLOSED FIXED
Alias: None
Product: ui
Classification: Code
Component: code (show other issues)
Version: current
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: OOo 1.1.1
Assignee: ru
QA Contact: issues@ui
URL:
Keywords: accessibility
Depends on:
Blocks:
 
Reported: 2003-07-17 12:14 UTC by ru
Modified: 2004-01-27 17:17 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description ru 2003-07-17 12:14:56 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
Comment 1 ru 2003-07-17 12:25:18 UTC
^enfine^engine
Comment 2 michael.brauer 2003-08-05 14:14:43 UTC
.
Comment 3 ru 2003-08-15 16:54:28 UTC
Agreed with TZ.
Comment 4 michael.brauer 2003-08-26 14:35:36 UTC
issue resolved in sw02pp1
Comment 5 michael.brauer 2003-08-26 14:38:13 UTC
.
Comment 6 michael.brauer 2003-08-26 14:38:56 UTC
.
Comment 7 michael.brauer 2003-08-29 16:22:34 UTC
.
Comment 8 ru 2003-09-09 10:22:16 UTC
.
Comment 9 ru 2003-09-09 10:22:45 UTC
.
Comment 10 ru 2004-01-27 17:17:21 UTC
.