Kaydet (Commit) 192b2734 authored tarafından Vladimir Glazounov's avatar Vladimir Glazounov

INTEGRATION: CWS qadev8 (1.1.16); FILE MERGED

2003/06/04 15:31:41 cn 1.1.16.2: #109975# CHG: new accessibility role
2003/06/04 14:03:43 cn 1.1.16.1: #109975# CHG: new accessibility role
üst a6f7f66c
...@@ -7,9 +7,9 @@ ...@@ -7,9 +7,9 @@
'* '*
'* $RCSfile: svtools_AccessibleTreeListBoxEntry.xba,v $ '* $RCSfile: svtools_AccessibleTreeListBoxEntry.xba,v $
'* '*
'* $Revision: 1.1 $ '* $Revision: 1.2 $
'* '*
'* last change:$Date: 2003-01-27 18:02:32 $ '* last change:$Date: 2003-06-11 16:29:11 $
'* '*
'* The Contents of this file are made available subject to the terms of '* The Contents of this file are made available subject to the terms of
'* either of the following licenses '* either of the following licenses
...@@ -78,7 +78,7 @@ Global multiSelection As Boolean ...@@ -78,7 +78,7 @@ Global multiSelection As Boolean
' Required for XAccessibleText ' Required for XAccessibleText
Global accText As String Global accText As String
Global readOnly as Boolean
Sub CreateObj() Sub CreateObj()
...@@ -109,11 +109,14 @@ On Error Goto ErrHndl ...@@ -109,11 +109,14 @@ On Error Goto ErrHndl
oWin = createUnoService("com.sun.star.awt.Toolkit").getActiveTopWindow() oWin = createUnoService("com.sun.star.awt.Toolkit").getActiveTopWindow()
xRoot = utils.at_getAccessibleObject(oWin) xRoot = utils.at_getAccessibleObject(oWin)
oObj = utils.at_getAccessibleObjectForRole(xRoot, 22, "Bibliography") oObj = utils.at_getAccessibleObjectForRole(xRoot, _
com.sun.star.accessibility.AccessibleRole.LABEL , "Bibliography")
Out.log(oObj.getImplementationName) Out.log(oObj.getImplementationName)
multiSelection = false multiSelection = false
accText = "Bibliography" accText = "Bibliography"
readOnly = true
Exit Sub Exit Sub
ErrHndl: ErrHndl:
Test.Exception() Test.Exception()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment