Examples of XInterface


Examples of com.sun.star.uno.XInterface

            // Some exception occures.FAILED
            e.printStackTrace( log );
            throw new StatusException( "Couldn't create document", e );
        }

        XInterface oObj = null;

        XModel aModel = (XModel)
            UnoRuntime.queryInterface(XModel.class, xChartDoc);

        AccessibilityTools at = new AccessibilityTools();
View Full Code Here

Examples of com.sun.star.uno.XInterface

  /**
   * creates a Diagram wich specified in kind(String)
   */
  public XDiagram createDiagram(XComponent oDoc, String kind) {
    XInterface oInterface = null;
    XDiagram oDiagram = null;

       //get LineDiagram
       XMultiServiceFactory oDocMSF = (XMultiServiceFactory) UnoRuntime.queryInterface( XMultiServiceFactory.class, oDoc );

View Full Code Here

Examples of com.sun.star.uno.XInterface

  /*
  // create a Control-Instance which specified in kind(String)
  */
    public XInterface createControl(XComponent oDoc, String kind) {

        XInterface oControl = null;

       XMultiServiceFactory oDocMSF = (XMultiServiceFactory) UnoRuntime.queryInterface( XMultiServiceFactory.class, oDoc );

       try{
             oControl = (XInterface) oDocMSF.createInstance("com.sun.star.form.component."+kind);
View Full Code Here

Examples of com.sun.star.uno.XInterface

            log.println("Couldn't change Diagram to 3D");
            e.printStackTrace(log);
            throw new StatusException("Couldn't change Diagram to 3D", e);
        }

        XInterface oObj = null;

        XModel aModel = (XModel)
            UnoRuntime.queryInterface(XModel.class, xChartDoc);

        AccessibilityTools at = new AccessibilityTools();
View Full Code Here

Examples of com.sun.star.uno.XInterface

            // Some exception occures.FAILED
            e.printStackTrace( log );
            throw new StatusException( "Couldn't create document", e );
        }

        XInterface oObj = null;

        XModel aModel = (XModel)
            UnoRuntime.queryInterface(XModel.class, xChartDoc);

        AccessibilityTools at = new AccessibilityTools();
View Full Code Here

Examples of com.sun.star.uno.XInterface


        // get the chartdocument
        log.println("getting ChartDocument");

        XInterface oObj = (XChartDocument) xChartDoc;

        XController cont1 = xChartDoc.getCurrentController();
        XController cont2 = doc2.getCurrentController();

        cont1.getFrame().setName("cont1");
View Full Code Here

Examples of com.sun.star.uno.XInterface

        util.DesktopTools.closeDoc(xTextDoc);
    }
   
    protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
        PrintWriter log) {
        XInterface oObj = null;
       
        try {
            oObj = (XInterface) ((XMultiServiceFactory) Param.getMSF()).createInstance(
                "com.sun.star.awt.tree.TreeControlModel");
        } catch (Exception e) {
View Full Code Here

Examples of com.sun.star.uno.XInterface

            // Some exception occures.FAILED
            e.printStackTrace( log );
            throw new StatusException( "Couldn't create document", e );
        }

        XInterface oObj = null;

        XModel aModel = (XModel)
            UnoRuntime.queryInterface(XModel.class, xChartDoc);

        AccessibilityTools at = new AccessibilityTools();
View Full Code Here

Examples of com.sun.star.uno.XInterface

   
    protected TestEnvironment createTestEnvironment(TestParameters Param,
        PrintWriter log) {
        String sTreeControlName = "UnoTreeControl-Test";
        mxMSF = (XMultiServiceFactory) Param.getMSF();
        XInterface oObj = null;
        XMutableTreeNode xNode = null;
       
        try {
           
            mXTreeDataModel = (XMutableTreeDataModel )
View Full Code Here

Examples of com.sun.star.uno.XInterface

        XModel aModel = (XModel)
                    UnoRuntime.queryInterface(XModel.class, xTextDoc);

        XController xController = aModel.getCurrentController();

        XInterface oObj = null;

        System.out.println("Press any key after making 'Bold' indeterminate.");
        try{
            byte[]b = new byte[16];
            System.in.read(b);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.