Kaydet (Commit) 3052085f authored tarafından Vladimir Glazounov's avatar Vladimir Glazounov

INTEGRATION: CWS qadev8 (1.4.2); FILE MERGED

2003/06/04 14:04:41 cn 1.4.2.1: #109975# CHG: new accessibility role
üst 9903ba74
...@@ -7,9 +7,9 @@ ...@@ -7,9 +7,9 @@
'* '*
'* $RCSfile: toolkit_AccessibleToolBoxItem.xba,v $ '* $RCSfile: toolkit_AccessibleToolBoxItem.xba,v $
'* '*
'* $Revision: 1.4 $ '* $Revision: 1.5 $
'* '*
'* last change:$Date: 2003-05-27 12:23:20 $ '* last change:$Date: 2003-06-11 16:33:12 $
'* '*
'* 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
...@@ -73,6 +73,7 @@ option explicit ...@@ -73,6 +73,7 @@ option explicit
' REQUIRED VARIABLES for interface/service tests: ' REQUIRED VARIABLES for interface/service tests:
Global accText As String Global accText As String
Global readOnly as Boolean
Sub CreateObj() Sub CreateObj()
...@@ -90,9 +91,10 @@ On Error Goto ErrHndl ...@@ -90,9 +91,10 @@ On Error Goto ErrHndl
wait(1000) wait(1000)
oWin = tk.getActiveTopWindow() oWin = tk.getActiveTopWindow()
xRoot = utils.at_getAccessibleObject(oWin) xRoot = utils.at_getAccessibleObject(oWin)
oObj = utils.at_getAccessibleObjectForRole(xRoot, com.sun.star.accessibility.AccessibleRole.PUSH_BUTTON,"Bold") oObj = utils.at_getAccessibleObjectForRole(xRoot, _
Out.Log("Implementation Name: "+oObj.getImplementationName()) com.sun.star.accessibility.AccessibleRole.TOGGLE_BUTTON,"Bold")
accText = oObj.getText() accText = oObj.getText()
readOnly = true
Exit Sub Exit Sub
ErrHndl: ErrHndl:
......
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