Issue 63870 - Writer doesn't implement text.getDefaultAttributes (needed for a11y).
Summary: Writer doesn't implement text.getDefaultAttributes (needed for a11y).
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: ui (show other issues)
Version: OOo 2.0.2
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: eric.savary
QA Contact: issues@sw
URL:
Keywords: accessibility
Depends on:
Blocks:
 
Reported: 2006-03-31 15:04 UTC by richburridge
Modified: 2013-08-07 14:42 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description richburridge 2006-03-31 15:04:30 UTC
Open/Star Office Writer is not returning any default text attributes.

Text Attributes returned by gedit with a call to 
text.getDefaultAttributes():

{'fg-stipple': 'false',
 'weight': '400',
 'family-name':  'Monospace',
 'fg-color': '0,0,0',
 'strikethrough': 'false',
 'wrap-mode': 'word',
 'underline': 'none',
 'size': '12',
 'style': 'normal',
 'scale': '1',
 'left-margin': '2',
 'stretch': 'normal',
 'pixels-above-lines': '0',
 'pixels-inside-wrap': '0',
 'bg-stipple': 'false',
 'direction': 'ltr',
 'justification': 'left',
 'variant': 'normal',
 'rise': '0',
 'editable': 'true',
 'invisible': 'false',
 'bg-full-height': 'false',
 'indent': '0',
 'language': 'c',
 'pixels-below-lines': '0',
 'bg-color': '65535,65535,65535',
 'right-margin': '2'}

Text Attributes returned by Star Office Writer with a call to 
text.getDefaultAttributes():

{}

(in other words, none).

Text Attributes returned by StarOffice Writer with a call to 
text.getAttributes(caretOffset)
{'style': 'normal',
 'justification': 'left',
 'indent': '0',
 'left-margin': '0',
 'weight': '400',
 'pixels-below-lines': '0',
 'strikethrough': 'false',
 'right-margin': '0',
 'underline': 'none',
 'size': '12'}

This was with Solaris x86 Nevada, build 34, JDS/GNOME vermillion_08 and Star
Office build m161 with the new UNO/Atk bridge.
Comment 1 richburridge 2006-03-31 15:06:53 UTC
The summary should be:

Writer doesn't implement text.getDefaultAttributes (needed for a11y).

but I don't see how to change that from this weeb page:

  http://qa.openoffice.org/issues/show_bug.cgi?id=63870

(or how to add a keyword of "accessibility").
Comment 2 mkretzschmar 2006-03-31 16:08:10 UTC
Changed summary, added keyword.
Comment 3 michael.ruess 2006-04-03 09:21:43 UTC
Reassigned to ES.
Comment 4 eric.savary 2006-04-03 10:05:52 UTC
ES->OBR: please evaluate.
Comment 5 nospam4obr 2006-04-04 07:45:41 UTC
obr -> od: there is currently no UNO API to map this to.
Comment 6 Oliver-Rainer Wittmann 2006-04-13 09:28:10 UTC
accepted and set appropriate target
Comment 7 Oliver-Rainer Wittmann 2006-04-13 10:37:19 UTC
according to the discussion with OBR, the target OOo 2.0.3 isn't realistic.
Thus, set target to OOo 2.0.4
Comment 8 Oliver-Rainer Wittmann 2006-07-24 07:32:06 UTC
fixed in cws a11y204 - changed files:
/offapi/com/sun/star/accessibility/XAccessibleTextAttributes.idl, 1.1.2.1
/offapi/com/sun/star/accessibility/makefile.mk, 1.4.154.1
/sw/source/core/access/accpara.hxx, 1.34.238.1
/sw/source/core/access/accpara.cxx, 1.63.236.1
/sw/inc/unoobj.hxx, 1.41.168.1
/sw/source/core/unocore/unoobj.cxx, 1.92.168.1
/sw/source/core/unocore/unoobj2.cxx, 1.54.166.1

solution:
provide new accessiblility interface
com::sun::star::accessibiliy::XAccessibleTextAttributes
Comment 9 Oliver-Rainer Wittmann 2006-07-25 07:03:23 UTC
correct issue type
Comment 10 Oliver-Rainer Wittmann 2006-07-25 08:14:05 UTC
additional changed file:
/offapi/com/sun/star/text/AccessibleParagraphView.idl, 1.7.152.1
Comment 11 Oliver-Rainer Wittmann 2006-07-27 11:05:12 UTC
OD->ES: Checked in internal installation set of cws a11y204 - please verify.
Comment 12 eric.savary 2006-07-31 15:10:10 UTC
ES: verified in CWS a11y204
Comment 13 eric.savary 2006-08-16 14:34:23 UTC
Ok in m181
Comment 14 richburridge 2006-10-05 20:41:51 UTC
This just came over the gnome accessibility list.
It might be a useful reference to check to see if
you've implemented it as per this spec.

Thanks.

-------- Original Message --------
Subject:     [g-a-devel] Plan for doc/object/image/text attributes in Mozilla
Date:     Thu, 05 Oct 2006 15:23:17 -0400
From:     Aaron Leventhal <aaronlev@moonset.net>
To:     g-a-devel <gnome-accessibility-devel@gnome.org>



This is just round 1, the most important attributes:
http://wiki.mozilla.org/Accessibility/Attributes#Proposed_AT-SPI_Attribute_Support

Perhaps we can find a way to simplify this?

- Aaron
_______________________________________________
Gnome-accessibility-devel mailing list
Gnome-accessibility-devel@gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-accessibility-devel 
Comment 15 hartsambatchvolv 2010-11-11 02:40:10 UTC
Created attachment 74074