Exploring LibreOffice Accessibility with Accerciser.



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 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?



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]