Interface OpenOfficeManager
-
@Role @Deprecated public interface OpenOfficeManager
Deprecated.since 5.0M2, useOfficeServer
insteadComponent 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 class
OpenOfficeManager.ManagerState
Deprecated.since 5.0M2, useOfficeServer.ServerState
instead
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description OpenOfficeConverter
getConverter()
Deprecated.OpenOfficeManager.ManagerState
getState()
Deprecated.void
start()
Deprecated.If an internally managed office server is configured (xwiki.properties), this method will start an office server process and connect to it.void
stop()
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 OpenOfficeManagerException
Deprecated.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 / connectedOpenOfficeManager
has 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 / disconnectedOpenOfficeManager
has no effect.- Throws:
OpenOfficeManagerException
- if stop operation fails.
-
getConverter
OpenOfficeConverter getConverter()
Deprecated.- Returns:
OpenOfficeConverter
instance suitable for performing document conversion tasks.
-
-