Package com.sun.star.script.framework.runtime

Examples of com.sun.star.script.framework.runtime.XScriptContext


   
    try
    {
      statusLine = "Querying Office for current document";
      status.setStatus( 1, statusLine );
      XScriptContext scriptcontext = xsc;
      XModel xmodel = scriptcontext.getDocument();
      storedDoc = (XStorable) UnoRuntime.queryInterface(XStorable.class, xmodel);
      // find document name from storedDoc
      attachmentName = storedDoc.getLocation();
    }
    catch( Exception e )
View Full Code Here


   
    try
    {
      statusLine = "Querying Office for current document";
      status.setStatus( 1, statusLine );
      XScriptContext scriptcontext = xsc;
      XModel xmodel = scriptcontext.getDocument();
      storedDoc = (XStorable) UnoRuntime.queryInterface(XStorable.class, xmodel);
      // find document name from storedDoc
      attachmentName = storedDoc.getLocation();
    }
    catch( Exception e )
View Full Code Here

TOP

Related Classes of com.sun.star.script.framework.runtime.XScriptContext

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.