References Deprecated
OfficeConnection is deprecated or references (maybe indirectly) at least one deprecated element.
See corresponding docs for further information.
| Modifier and Type | Class and Description |
|---|---|
| private class | LocalOfficeConnection.
References Deprecated
NativeService is deprecated or references (maybe indirectly) at least one deprecated element.
|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final AtomicLong | |
| private com. | |
| private final List | |
| private String | |
| private com. | |
| private String | |
| private String | |
| private String | |
| private Process | |
| private String | |
| private String | |
| public static final String | |
| public static final String | |
| public static final String |
| Access | Constructor and Description |
|---|---|
| public | |
| protected | LocalOfficeConnection(com.
protected Constructor Initialise a LocalOfficeConnection with an already running office. |
| Modifier and Type | Method and Description |
|---|---|
| public void | addEventListener(com.
is a listener object. listenerAdds an event listener to the object. |
| private com. | |
| public OfficeWindow | Returns: The office window instance.This is an AWT container. container)Implements com.
Deprecated
Creates an office java.awt.Canvas based window. |
| public void | |
| public synchronized com. | Returns: The office UNO component context.Implements com. Retrieves the UNO component context. |
| private static String | |
| private void | parseUnoUrlWithOfficePath(String
This is UNO URL which describes the type of a connection. url, String prefix)Parses a connection URL. |
| public void | removeEventListener(com.
is a listener object. listenerRemoves an event listener from the listener list. |
| private Object | |
| public void | setContainerFactory(ContainerFactory
This is an application provided AWT container
factory. containerFactory)Implements com.
Deprecated
Sets an AWT container factory. |
| public void | setUnoUrl(String
This is UNO URL which describes the type of a connection. url)Implements com. Sets a connection URL. |
| m_nBridgeCounter | back to summary |
|---|---|
| private static final AtomicLong m_nBridgeCounter | |
| mBridge | back to summary |
|---|---|
| private com. | |
| mComponents | back to summary |
|---|---|
| private final List<com. | |
| mConnType | back to summary |
|---|---|
| private String mConnType | |
| mContext | back to summary |
|---|---|
| private com. | |
| mInitialObject | back to summary |
|---|---|
| private String mInitialObject | |
| mPipe | back to summary |
|---|---|
| private String mPipe | |
| mPort | back to summary |
|---|---|
| private String mPort | |
| mProcess | back to summary |
|---|---|
| private Process mProcess | |
| mProtocol | back to summary |
|---|---|
| private String mProtocol | |
| mURL | back to summary |
|---|---|
| private String mURL | |
| OFFICE_APP_NAME | back to summary |
|---|---|
| public static final String OFFICE_APP_NAME | |
| OFFICE_ID_SUFFIX | back to summary |
|---|---|
| public static final String OFFICE_ID_SUFFIX | |
| OFFICE_LIB_NAME | back to summary |
|---|---|
| public static final String OFFICE_LIB_NAME | |
| LocalOfficeConnection | back to summary |
|---|---|
| public LocalOfficeConnection() Constructor.
Sets up paths to the office application and native libraries if
values are available in | |
| LocalOfficeConnection | back to summary |
|---|---|
| protected LocalOfficeConnection(com. protected Constructor Initialise a LocalOfficeConnection with an already running office. This C'Tor is only used in complex tests at the moment. | |
| addEventListener | back to summary |
|---|---|
| public void addEventListener(com. Adds an event listener to the object.
| |
| connect | back to summary |
|---|---|
| private com. Establishes the connection to the office. | |
| createOfficeWindow | back to summary |
|---|---|
| public OfficeWindow createOfficeWindow(Container container) Implements com. Deprecated
Creates an office java.awt.Canvas based window.
| |
| dispose | back to summary |
|---|---|
| public void dispose() Closes the connection. | |
| getComponentContext | back to summary |
|---|---|
| public synchronized com. Implements com. Retrieves the UNO component context.
Establishes a connection if necessary and initialises the
UNO service manager if it has not already been initialised.
This method can return
| |
| getPipeName | back to summary |
|---|---|
| private static String getPipeName() throws UnsupportedEncodingException creates a unique pipe name. | |
| parseUnoUrlWithOfficePath | back to summary |
|---|---|
| private void parseUnoUrlWithOfficePath(String url, String prefix) throws MalformedURLException Parses a connection URL.
This method accepts a UNO URL with following format: url := uno:localoffice[,<params>];urp;StarOffice.NamingService params := <path>[,<pipe>] path := path=<pathv> pipe := pipe=<pipev> pathv := platform_specific_path_to_the_local_office_distribution pipev := local_office_connection_pipe_name Examples
| |
| removeEventListener | back to summary |
|---|---|
| public void removeEventListener(com. Removes an event listener from the listener list.
| |
| resolve | back to summary |
|---|---|
| private Object resolve(com. | |
| setContainerFactory | back to summary |
|---|---|
| public void setContainerFactory(ContainerFactory containerFactory) Implements com. Deprecated
Sets an AWT container factory.
| |
| setUnoUrl | back to summary |
|---|---|
| public void setUnoUrl(String url) throws MalformedURLException Implements com. Sets a connection URL.
This implementation accepts a UNO URL with following format: url := uno:localoffice[,<params>];urp;StarOffice.ServiceManager params := <path>[,<pipe>] path := path=<pathv> pipe := pipe=<pipev> pathv := platform_specific_path_to_the_local_office_distribution pipev := local_office_connection_pipe_name
| |
References Deprecated
NativeService is deprecated or references (maybe indirectly) at least one deprecated element.
See corresponding docs for further information.
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: The identifier of the office service.Implements com. Retrieve the office service identifier. |
| public int | Returns: The amount of time to wait in seconds(?).Implements com. Retrieves the amount of time to wait for the startup. |
| public void | startupService()
Implements com. Starts the office process. |
| OfficeService | back to summary |
|---|---|
| private OfficeService() | |
| getIdentifier | back to summary |
|---|---|
| public String getIdentifier() Implements com. Retrieve the office service identifier.
| |
| getStartupTime | back to summary |
|---|---|
| public int getStartupTime() Implements com. Retrieves the amount of time to wait for the startup.
| |
| startupService | back to summary |
|---|---|
| public void startupService() throws IOException Implements com. Starts the office process. | |
| Modifier and Type | Field and Description |
|---|---|
| private final InputStream | |
| private final PrintStream |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | run()
Overrides java. Implements java. This method is run by the thread when it executes. |
| m_in | back to summary |
|---|---|
| private final InputStream m_in | |
| m_print | back to summary |
|---|---|
| private final PrintStream m_print | |
| StreamProcessor | back to summary |
|---|---|
| public StreamProcessor(final InputStream in, final PrintStream out) | |
| run | back to summary |
|---|---|
| public void run() Overrides java. Implements java. Doc from java. This method is run by the thread when it executes. Subclasses of This method is not intended to be invoked directly. If this thread is a
platform thread created with a
| |