Interface OpenOfficeManager
-
@Role @Deprecated public interface OpenOfficeManager
Deprecated.since 5.0M2, useOfficeServerinsteadComponent interface for managing the office server connection / process.- Since:
- 1.8RC3
- Version:
- $Id: aa613d959acb890008a003eadbac1f7d92119ae5 $
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classOpenOfficeManager.ManagerStateDeprecated.since 5.0M2, useOfficeServer.ServerStateinstead
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description OpenOfficeConvertergetConverter()Deprecated.OpenOfficeManager.ManagerStategetState()Deprecated.voidstart()Deprecated.If an internally managed office server is configured (xwiki.properties), this method will start an office server process and connect to it.voidstop()Deprecated.If an internally managed office server is configured (xwiki.properties), this method will disconnect from the office server and terminate the server process.
-
-
-
Method Detail
-
getState
OpenOfficeManager.ManagerState getState()
Deprecated.- Returns:
- current state of
OpenOfficeManager.
-
start
void start() throws OpenOfficeManagerExceptionDeprecated.If an internally managed office server is configured (xwiki.properties), this method will start an office server process and connect to it. Otherwise this method will try to connect to an external office server instance configured through xwiki.properties. Callingstart()on an already started / connectedOpenOfficeManagerhas no effect.- Throws:
OpenOfficeManagerException- if the start operation fails.
-
stop
void stop() throws OpenOfficeManagerException
Deprecated.If an internally managed office server is configured (xwiki.properties), this method will disconnect from the office server and terminate the server process. Otherwise this method will simply disconnect from the external office server. Callingstop()on an already stopped / disconnectedOpenOfficeManagerhas no effect.- Throws:
OpenOfficeManagerException- if stop operation fails.
-
getConverter
OpenOfficeConverter getConverter()
Deprecated.- Returns:
OpenOfficeConverterinstance suitable for performing document conversion tasks.
-
-