Apache OpenOffice (AOO) Bugzilla – Issue 27138
text paragraphs should provide FLOWS_TO and FLOWS_FROM relations
Last modified: 2006-02-09 09:30:52 UTC
In all Office text content, when text flows from one paragraph to another, the AccessibleRelations FLOWS_FROM and FLOWS_TO should be provided, to explicitly indicate the text flow. This is required, for instance, in order to properly handle multi-paragraph text selection. That is : * consider a section of text containing two or more paragraphs * begin selection in 'paragraph a' and continue selecting text until the selection rolls over into 'paragraph b'. * text selection change events should be emitted from paragraph a until the end of the paragraph is reached (thereafter, the selection region of paragraph a remains static, see issue 22088) * text selection events should thereafter be emitted by paragraph b as the selection region of paragraph b changes. * paragraph a must indicate that its content FLOWS_TO paragraph b, and paragraph b must indicate that its content FLOWS_FROM paragraph a, otherwise the listening client cannot reliably construct a composite selection which spans the two paragraphs. This is considered a serious issue for GNOME/OO.o accessibility by the accessibility teams. I am marking this as a DEFECT since this feature was discussed as a requirement when the initial paragraph/text accessibility support proposals were drafted (in 2002 I think).
Ralf -> Oliver: Please have a look.
I see several problems here: 1. writer does implement FLOWS_TO/FROM only for paragraphs spanning over two pages, none of the other text engines implement it at all. 2. the view of the UAA maintainers is that the child-order is sufficient for the requested purpose, so the feature would have to be implemented in the bridge 3. FLOWS_FROM/TO have been added to Java 1.5, so neither the JUAB nor the gnome java bridge make use of it yet. 4. None of the OOo/StarOffce text components implement TEXT_SELECTION_CHANGED events yet (see #22053#)
The customers of the interface do not agree with the UAA maintainers. This has all been discussed before. Child order is NOT sufficient, particularly since there is no clear way to indicate when child-order is incorrect! Furthermore, child order will NOT work when text, which otherwise flows from one paragraph to another, is interrupted by other sorts of objects. Please, we NEED this feature in all text. The JVM issue is being worked separately and is not justification for omitting this from UAA implementation.
Need to map this new relations to Java 1.5.
I have logged #27292# to track the bridging issue. I can't do anything on the writer implementation though.
dvo->fs: Please have a look at this. The relevant code is probably in sw/source/core/access/accpara.?xx. Thanks
dvo->fs: Reassign.
Changed prio to 4
This relation is still needed in order to provide accessibility support for multicolumn text and text which flows around images, etc. In general it's needed for quality screenreader support. Please raise the priority!
fs->oj: could you please have a look into this? Thanks :)
Back to you again :-)
Ok, I raise the priority again. We have to see if we're able to fix this at least for OOo2.0.1.
Considering the effort, the priority, the risk and our resource planning I've to retarget this issue to OOo 2.0.2.
Redistributing dvo's issues.
re-targeted to OOo 3.0
re-targeted back to OOo 2.0.2, re-targeting to OOo 3.0 was done by error
fix in progress in cws swqbf49
Details on the implementation: Relations CONTENT_FLOWS_FROM/_TO will be provided for following paragraphs in a Writer document: - paragraphs inside the page header - paragraphs inside the page footer - paragraphs inside text frame and inside groups of linked text frames - paragraphs inside the footnotes - paragraphs inside the document body Also the corresponding events CONTENT_FLOWS_FROM_RELATION_CHANGED and CONTENT_FLOWS_TO_RELATION_CHANGED will be submitted for paragraphs in a Writer document.
fixed in cws swqbf49 - changed files: /sw/inc/accmap.hxx, 1.25.132.1 /sw/inc/viewsh.hxx, 1.47.130.1 /sw/source/core/inc/frame.hxx, 1.45.76.1 /sw/source/core/inc/ftnfrm.hxx, 1.7.106.1 /sw/source/core/inc/viewimp.hxx, 1.30.130.1 /sw/source/core/access/accmap.cxx, 1.50.102.1 /sw/source/core/access/accpara.hxx, 1.33.132.1 /sw/source/core/access/accpara.cxx, 1.62.32.1 /sw/source/core/view/viewsh.cxx, 1.62.30.2 /sw/source/core/view/viewimp.cxx, 1.27.130.1 /sw/source/core/layout/findfrm.cxx, 1.34.134.1 /sw/source/core/layout/ftnfrm.cxx, 1.28.102.1 /sw/source/core/layout/sectfrm.cxx, 1.41.102.2 /sw/source/core/layout/frmtool.cxx, 1.85.38.2 /sw/source/core/docnode/ndsect.cxx, 1.22.32.2 /sw/source/core/docnode/ndtbl.cxx, 1.30.64.3 /sw/source/core/docnode/node.cxx, 1.25.38.3 /sw/source/core/text/frmform.cxx, 1.61.40.1 Minor re-factoring of code: /sw/source/core/access/acccontext.hxx, 1.35.132.1 /sw/source/core/access/accframe.hxx, 1.15.132.1 /sw/source/core/access/accframe.cxx, 1.21.132.1 Additional remove <#ifdef ACCESSIBLE_LAYOUT>: /sw/inc/fesh.hxx, 1.52.128.1 /sw/source/core/inc/rootfrm.hxx, 1.17.132.1 /sw/source/core/layout/fly.cxx, 1.71.62.1 /sw/source/core/layout/layact.cxx, 1.54.74.1 /sw/source/core/layout/newfrm.cxx, 1.21.130.1 /sw/source/core/crsr/crsrsh.cxx, 1.56.38.1 /sw/source/core/frmedt/feshview.cxx, 1.42.100.1 /sw/source/core/txtnode/ndtxt.cxx, 1.56.12.1 /sw/source/ui/inc/edtwin.hxx, 1.21.130.1 /sw/source/ui/docvw/edtwin.cxx, 1.124.22.1
OD->OBR: Please check this issue in internal installation set of cws swqbf49. Thx. re-open issue and reassign to obr@openoffice.org
reassign to obr@openoffice.org
reset resolution to FIXED
reopen, because fix also needed in EditEngine and TextEngine
taking over again for fix in EditEngine. TBE will fix the TextEngine.
Implementation detail for EditEngine: Because of internal issue 103483 I will not implement the submit of the events CONTENT_FLOWS_FROM_RELATION_CHANGED and CONTENT_FLOWS_TO_RELATION_CHANGED - this will be done in a follow-up issue
TBE: implemented AccessibleRelationTypes CONTENT_FLOWS_FROM and CONTENT_FLOWS_TO for TextEngine.
implemented relations CONTENT_FLOWS_FROM and CONTENT_FLOWS_TO in EditEngine - changed files: /svx/source/accessibility/AccessibleEditableTextPara.hxx, 1.18.192.1 /svx/source/accessibility/AccessibleEditableTextPara.cxx, 1.43.192.1 /svx/source/accessibility/AccessibleParaManager.cxx, 1.10.192.1
OD->OBR: Please check this issue. re-open issue and reassign to obr@openoffice.org
obr @ es: FLOWS_TO / FLOWS_FROM relations can be verified using at-poke utility, even though I don't see any improvements for multi-paragraph selection in gnopernicus. One needs release 1.4.7 of the gnome-java-bridge.jar in /usr/share/jars, which I will attach to this issue. re-open issue and reassign to es@openoffice.org
reassign to es@openoffice.org
Created attachment 33266 [details] Rev. 1.4.7 of gnome-java-bridge.jar
Verified in cws swqbf49
Ok in src680m156