ScriptService
with hint "officemanager" instead@Deprecated public class OpenOfficeManagerVelocityBridge extends Object
OpenOfficeManager
and velocity scripts.Modifier and Type | Field and Description |
---|---|
static String |
OFFICE_MANAGER_ERROR
Deprecated.
The key used to place any error messages while trying to control the oo server instance.
|
Constructor and Description |
---|
OpenOfficeManagerVelocityBridge(OpenOfficeManager officeManager,
org.xwiki.bridge.DocumentAccessBridge documentAccessBridge,
org.xwiki.context.Execution execution)
Deprecated.
Creates a new
OpenOfficeManagerVelocityBridge with the provided OpenOfficeManager component. |
Modifier and Type | Method and Description |
---|---|
String |
getLastErrorMessage()
Deprecated.
|
String |
getServerState()
Deprecated.
|
boolean |
startServer()
Deprecated.
Tries to start the oo server process.
|
boolean |
stopServer()
Deprecated.
Tries to stop the oo server process.
|
public static final String OFFICE_MANAGER_ERROR
public OpenOfficeManagerVelocityBridge(OpenOfficeManager officeManager, org.xwiki.bridge.DocumentAccessBridge documentAccessBridge, org.xwiki.context.Execution execution)
OpenOfficeManagerVelocityBridge
with the provided OpenOfficeManager
component.officeManager
- office manager componentdocumentAccessBridge
- document access bridge componentexecution
- current executionpublic boolean startServer()
public boolean stopServer()
public String getServerState()
public String getLastErrorMessage()
Copyright © 2004–2019 XWiki. All rights reserved.