To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=70916 Issue #|70916 Summary|[a11y] Text in spread sheet cells return the wrong ext |ents. Component|Spreadsheet Version|OOo 2.0.4 Platform|All URL| OS/Version|All Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|ui Assigned to|spreadsheet Reported by|richburridge
------- Additional comments from [EMAIL PROTECTED] Thu Oct 26 14:31:52 -0700 2006 ------- See also Orca bug #363820, which is blocked by this. http://bugzilla.gnome.org/show_bug.cgi?id=363820 I will attach a simple spread sheet that I've been using to test this. Cell C9 contains the string "This is a really" If I get the extents for the spread sheet cell in Orca, using: print "cell x: %d y: %d width: %d height: %d" % (obj.extents.x, obj.extents.y, obj.extents.width, obj.extents.height) where obj, is a handle to the accessible spread sheet cell component, I get: cell x: 209 y: 343 width: 84 height: 16 If I get the extents for the full character string in that cell with: print "len(objectText): ", len(objectText) [x, y, width, height] = obj.text.getRangeExtents(0, len(objectText), 0) print "All: x: %d y: %d width: %d height: %d" % (x, y, width, height) len(objectText): 16 All: x: 209 y: 343 width: 51 height: 31 The width and the height values are bogus. This is preventing us reporting to the user when a spread sheet cell contains text that is great than the width of the spread sheet cell. (Attachment to follow). --------------------------------------------------------------------- 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]
