From e8dc66c9921a0c91f7f353ff1f4149eb9994887b Mon Sep 17 00:00:00 2001 From: Kurt Zenker Date: Wed, 1 Feb 2006 13:31:51 +0000 Subject: [PATCH] INTEGRATION: CWS swqbf49 (1.8.14); FILE MERGED 2006/01/09 10:51:50 obr 1.8.14.1: #i27292# mapping flows from/to relations to Java --- .../java/accessibility/TextComponent.java | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/accessibility/bridge/org/openoffice/java/accessibility/TextComponent.java b/accessibility/bridge/org/openoffice/java/accessibility/TextComponent.java index 4a81a4a61947..df17cc3d3240 100644 --- a/accessibility/bridge/org/openoffice/java/accessibility/TextComponent.java +++ b/accessibility/bridge/org/openoffice/java/accessibility/TextComponent.java @@ -4,9 +4,9 @@ * * $RCSfile: TextComponent.java,v $ * - * $Revision: 1.8 $ + * $Revision: 1.9 $ * - * last change: $Author: rt $ $Date: 2005-09-07 15:42:13 $ + * last change: $Author: kz $ $Date: 2006-02-01 14:31:51 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -176,6 +176,16 @@ public class TextComponent extends Component implements javax.accessibility.Acce javax.accessibility.AccessibleRelation.MEMBER_OF, getAccessibleComponents(unoAccessibleRelation.TargetSet))); break; + case AccessibleRelationType.CONTENT_FLOWS_TO: + relationSet.add(new javax.accessibility.AccessibleRelation( + "flowsTo", + getAccessibleComponents(unoAccessibleRelation.TargetSet))); + break; + case AccessibleRelationType.CONTENT_FLOWS_FROM: + relationSet.add(new javax.accessibility.AccessibleRelation( + "flowsFrom", + getAccessibleComponents(unoAccessibleRelation.TargetSet))); + break; default: break; }