After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 732702 - New roles for LibreOffice entities
New roles for LibreOffice entities
Status: RESOLVED FIXED
Product: atk
Classification: Platform
Component: atk
unspecified
Other Mac OS
: Normal enhancement
: ---
Assigned To: ATK maintainer(s)
ATK maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2014-07-03 18:04 UTC by Jacobo Aragunde Pérez
Modified: 2015-12-28 12:58 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jacobo Aragunde Pérez 2014-07-03 18:04:50 UTC
I've been checking the mapping between LibreOffice and ATK roles and found some roles in LibreOffice that don't have a match in ATK. In those cases, atk_register_role is being used to register new roles.

FOOTNOTE: self-explanatory ;)
END_NOTE: Text that is used as an endnote (footnote at the end of a chapter or section).
TEXT_FRAME: Collection of objects that constitute a logical text entity.
SHAPE: Object with graphical representation used to represent content on draw pages.
NOTE: An embedded note which is not visible until activated.

FOOTNOTE and SHAPE seem to be good candidates for new roles. About the other three ones, I'm not so sure; maybe they can be mapped to existing roles (e.g. NOTE -> ATK_ROLE_COMMENT).

Full list of LO roles and their descriptions here: http://api.libreoffice.org/docs/idl/ref/namespacecom_1_1sun_1_1star_1_1accessibility_1_1AccessibleRole.html
Comment 1 Jacobo Aragunde Pérez 2014-07-10 11:27:05 UTC
Conclusions from an IRC meeting:

* footnote, end note and note will be mapped to ATK_ROLE_COMMENT.
* text frame matches ATK_ROLE_PANEL.
* shape will require further study, there's currently a bug in LibreOffice 4.2 that prevents us from checking how it behaves.
Comment 2 Jacobo Aragunde Pérez 2015-12-21 09:24:08 UTC
(In reply to Jacobo Aragunde Pérez from comment #1)
> * shape will require further study, there's currently a bug in LibreOffice
> 4.2 that prevents us from checking how it behaves.

It's been decided to map shapes to ATK_ROLE_PANEL, since they may contain text.
Comment 3 Jacobo Aragunde Pérez 2015-12-28 12:58:11 UTC
Changes have been committed to LibreOffice:

  http://cgit.freedesktop.org/libreoffice/core/commit/?id=4c4f096a81e1643646f72cab17fb94610a346961

Closing bug here.