Package ag.ion.bion.officelayer.internal.desktop

Examples of ag.ion.bion.officelayer.internal.desktop.DesktopService


      if (desktopService == null) {
        Object service = officeConnection
            .createService("com.sun.star.frame.Desktop");
        XDesktop desktop = (XDesktop) UnoRuntime.queryInterface(
            XDesktop.class, service);
        desktopService = new DesktopService(desktop, officeConnection);
      }
      return desktopService;
    } catch (Exception exception) {
      OfficeApplicationException officeApplicationException = new OfficeApplicationException(
          exception.getMessage());
View Full Code Here


        throw new OfficeApplicationException("Application is not active.");

      if (desktopService == null) {
        Object service = officeConnection.createService("com.sun.star.frame.Desktop");
        XDesktop desktop = (XDesktop) UnoRuntime.queryInterface(XDesktop.class, service);
        desktopService = new DesktopService(desktop, officeConnection);
      }
      return desktopService;
    }
    catch (Exception exception) {
      OfficeApplicationException officeApplicationException = new OfficeApplicationException(exception.getMessage());
View Full Code Here

TOP

Related Classes of ag.ion.bion.officelayer.internal.desktop.DesktopService

Copyright © 2018 www.massapicom. 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.