Class OpenOfficeManagerVelocityBridge


  • @Deprecated
    public class OpenOfficeManagerVelocityBridge
    extends Object
    Deprecated.
    since 4.1M1 use the ScriptService with hint "officemanager" instead
    A bridge between OpenOfficeManager and velocity scripts.
    Since:
    1.8RC3
    Version:
    $Id: 010df83dbbf9b9b6798e1d0908f48830ff833d06 $
    • Field Detail

      • OFFICE_MANAGER_ERROR

        public static final String OFFICE_MANAGER_ERROR
        Deprecated.
        The key used to place any error messages while trying to control the oo server instance.
        See Also:
        Constant Field Values
    • Constructor Detail

      • OpenOfficeManagerVelocityBridge

        public OpenOfficeManagerVelocityBridge​(OpenOfficeManager officeManager,
                                               org.xwiki.bridge.DocumentAccessBridge documentAccessBridge,
                                               org.xwiki.context.Execution execution)
        Deprecated.
        Creates a new OpenOfficeManagerVelocityBridge with the provided OpenOfficeManager component.
        Parameters:
        officeManager - office manager component
        documentAccessBridge - document access bridge component
        execution - current execution
    • Method Detail

      • startServer

        public boolean startServer()
        Deprecated.
        Tries to start the oo server process.
        Returns:
        true if the operation succeeds, false otherwise.
      • stopServer

        public boolean stopServer()
        Deprecated.
        Tries to stop the oo server process.
        Returns:
        true if the operation succeeds, false otherwise.
      • getServerState

        public String getServerState()
        Deprecated.
        Returns:
        current status of the oo server process as a string.
      • getLastErrorMessage

        public String getLastErrorMessage()
        Deprecated.
        Returns:
        any error messages encountered.