To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=69945 Issue #|69945 Summary|Accessible text implementation appears to use byte off |sets rather than character offsets Component|Word processor Version|OOo 2.0.4 Platform|All URL| OS/Version|All Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P2 Subcomponent|code Assigned to|mru Reported by|williewalker
------- Additional comments from [EMAIL PROTECTED] Thu Sep 28 07:16:02 -0700 2006 ------- To reproduce the bug, follow these steps: 1) Run the attached standalone application in an xterm (xterm is important) 2) Open the associated 'bullets.odt' file in OOo. If you do not have this file, it's just: Testing: * item1 * item2 * item3 Where the '*' is a bullet. 3) Move the caret around using the arrow keys You'll notice that the caret offset is incorrect when the caret is at the beginning of a bulletted line (i.e., the caret is just before the 'i' in 'item'). It is 0 instead of 1. When one moves the caret between the 'i' and 't' in item, you'll see the caret offset jump from 0 to 2. You'll also notice that the call to getText(text.caretOffset, text.caretOffset+1) yields very bad results. It seems to only return the byte at the offset rather than the character at the offset. The return value should be a UTF-8 string that represents the character at the offset. For example, the bullet it a multibyte UTF-8 character. The return value from getText for the bullet should be a multibyte string. In addition, you'll notice that when you arrow around a bullet (i.e., position the caret before and then after a bullet), no caret moved events are issued. Finally, you'll also notice that if you arrow up and down lines, you'll see the caret offset temporarily change to -1. This seems rather odd. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]