Package com.sun.star.comp.beans

Examples of com.sun.star.comp.beans.LocalOfficeConnection2


private OOoBean aBean;
public OOoSwtViewer() {
  super();

  OfficeConnection officeConnection = new LocalOfficeConnection2();
  try {
    officeConnection.setUnoUrl(URI);
    aBean = new OOoBean( officeConnection );
    System.out.println("connection test: " + aBean.isOOoConnected());
  } catch (MalformedURLException e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
View Full Code Here


      System.setProperty("java.library.path","/usr/lib/openoffice/basis3.1/program:/usr/lib/ure/lib/");
     
      System.out.println("java.library.path:"+ System.getProperty("java.library.path"));
      System.out.println("alegria 22");

      OfficeConnection officeConnection = new LocalOfficeConnection2();

      System.out.println("alegria 23");
     
      try {
        officeConnection.setUnoUrl(URI);
        aBean = new OOoBean2(officeConnection);
       
        System.out.println("connection test: " + aBean.isOOoConnected());
       
        // setting some UI preferences
View Full Code Here

TOP

Related Classes of com.sun.star.comp.beans.LocalOfficeConnection2

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.