Interface OfficeConnection

  • All Superinterfaces:
    com.sun.star.lang.XComponent, com.sun.star.uno.XInterface
    All Known Implementing Classes:
    LocalOfficeConnection

    @Deprecated
    public interface OfficeConnection
    extends com.sun.star.lang.XComponent
    Deprecated.
    This abstract class represents a connection to the office application.
    • Field Summary

      • Fields inherited from interface com.sun.star.lang.XComponent

        UNOTYPEINFO
    • Method Detail

      • setUnoUrl

        void setUnoUrl​(java.lang.String url)
                throws java.net.MalformedURLException
        Deprecated.
        Sets a connection URL.
        Parameters:
        url - This is UNO URL which describes the type of a connection.
        Throws:
        java.net.MalformedURLException
      • setContainerFactory

        void setContainerFactory​(ContainerFactory containerFactory)
        Deprecated.
        Sets an AWT container factory.
        Parameters:
        containerFactory - This is an application provided AWT container factory.
      • getComponentContext

        com.sun.star.uno.XComponentContext getComponentContext()
        Deprecated.
        Retrieves the UNO component context. Establishes a connection if necessary and initialises the UNO service manager if it has not already been initialised.
        Returns:
        The office UNO component context.
      • createOfficeWindow

        OfficeWindow createOfficeWindow​(java.awt.Container container)
        Deprecated.
        Creates an office java.awt.Canvas based window. This method does not add the office window to its container.
        Parameters:
        container - This is an AWT container.
        Returns:
        The office window instance.