Kaydet (Commit) 2672c18c authored tarafından Vladimir Glazounov's avatar Vladimir Glazounov

INTEGRATION: CWS qadev6 (1.2.2); FILE MERGED

2003/05/21 10:58:05 sg 1.2.2.1: #109819# prepare devide of runner
üst 96570a7e
......@@ -2,9 +2,9 @@
*
* $RCSfile: AccessiblePresentationShape.java,v $
*
* $Revision: 1.2 $
* $Revision: 1.3 $
*
* last change:$Date: 2003-04-28 12:16:29 $
* last change:$Date: 2003-05-27 13:35:28 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
......@@ -89,7 +89,7 @@ public class AccessiblePresentationShape extends TestCase {
protected void initialize( TestParameters tParam, PrintWriter log ) {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
SOfficeFactory SOF = SOfficeFactory.getFactory( (XMultiServiceFactory)tParam.getMSF() );
try {
log.println( "creating a drawdoc" );
......@@ -122,7 +122,7 @@ public class AccessiblePresentationShape extends TestCase {
// first we write what we are intend to do to log file
log.println( "creating a test environment" );
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF());
SOfficeFactory SOF = SOfficeFactory.getFactory( (XMultiServiceFactory)tParam.getMSF());
XMultiServiceFactory docMSF = (XMultiServiceFactory)
UnoRuntime.queryInterface(XMultiServiceFactory.class, xDrawDoc);
try {
......@@ -146,7 +146,7 @@ public class AccessiblePresentationShape extends TestCase {
AccessibilityTools at = new AccessibilityTools();
XWindow xWindow = at.getCurrentWindow (tParam.getMSF(),aModel);
XWindow xWindow = at.getCurrentWindow ((XMultiServiceFactory)tParam.getMSF(),aModel);
XAccessible xRoot = at.getAccessibleObject(xWindow);
//at.printAccessibleTree(log,xRoot);
......
......@@ -2,9 +2,9 @@
*
* $RCSfile: AccessibleShape.java,v $
*
* $Revision: 1.2 $
* $Revision: 1.3 $
*
* last change:$Date: 2003-04-28 12:16:32 $
* last change:$Date: 2003-05-27 13:35:39 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
......@@ -66,6 +66,7 @@ import com.sun.star.awt.XWindow;
import com.sun.star.drawing.XShape;
import com.sun.star.frame.XModel;
import com.sun.star.lang.XComponent;
import com.sun.star.lang.XMultiServiceFactory;
import com.sun.star.uno.UnoRuntime;
import com.sun.star.uno.XInterface;
import com.sun.star.accessibility.AccessibleRole;
......@@ -87,7 +88,7 @@ public class AccessibleShape extends TestCase {
protected void initialize( TestParameters tParam, PrintWriter log ) {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
SOfficeFactory SOF = SOfficeFactory.getFactory( (XMultiServiceFactory)tParam.getMSF() );
try {
log.println( "creating a drawdoc" );
......@@ -119,7 +120,7 @@ public class AccessibleShape extends TestCase {
// first we write what we are intend to do to log file
log.println( "creating a test environment" );
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF());
SOfficeFactory SOF = SOfficeFactory.getFactory( (XMultiServiceFactory)tParam.getMSF());
final XShape oShape = SOF.createShape(xDrawDoc,
3000,4500,15000,1000,"Rectangle");
......@@ -127,7 +128,7 @@ public class AccessibleShape extends TestCase {
AccessibilityTools at = new AccessibilityTools();
XWindow xWindow = at.getCurrentWindow (tParam.getMSF(),aModel);
XWindow xWindow = at.getCurrentWindow ((XMultiServiceFactory)tParam.getMSF(),aModel);
XAccessible xRoot = at.getAccessibleObject(xWindow);
//at.printAccessibleTree(log,xRoot);
......
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