Exploring LibreOffice Accessibility with Accerciser.

Dattatray Bhat <[email protected]>
Newsgroups gmane.comp.gnome.accessibility.general
Message-ID <CAAqraNGj74uy3+9hxBmKxT4MxQRi7fji6P8Hj4q3x4OPiuOvNA@mail.gmail.com>
This query is about accessibility of LibreOffice writer document. If this
is not the right place for this post, please forgive me and suggest a
suitable forum.

I am exploring a LibreOffice writer document using Accerciser.
LibreOffice window: I am at the top of the multipage writer document. Only
the first five paragraphs are visible on the screen.
Accerciser window: The tree of accessibles shows only five paragraphs. I
store references to the five paragraphs in variables p1, p2, p3, p4, p5 (by
giving commands p1=acc, p2=acc, ... in the <http://etc.in> ipython
console). Now p1-p5 hold all information of the five paragraphs. I can get
text of the first para with the command 'p1.queryText().getText()'. I can
set caret to para 4 with the command 'p4.queryComponent().grabFocus()'.
LibreOffice window: I press PgDown key to move to the next page. The first
five paragraphs have now moved out of view.
Accerciser window: I check p1-p5 again. They have lost almost all
information and functionality. Command 'p1.getRole()' returns
ROLE_PARAGRAPH. But command 'p1.queryText().characterCount' returns 0.
Command 'p4.queryComponent().grabFocus()' returns False.

Thus at-spi holds information only for those document elements which are
visible on the screen. Can anybody please suggest a way to access the
document elements which have moved out of the screen?

_______________________________________________
gnome-accessibility-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-accessibility-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.