:: com :: sun :: star :: task ::
|
interface XRestartManager |
|
- Description
- allows to try to restart the office.
- Since
- OOo 3.3
|
Methods' Summary |
requestRestart |
let the office restart asynchronously
|
isRestartRequested |
allows to get info whether the restart has been requested and provide
the initialization status.
|
Methods' Details |
requestRestart
- Description
- let the office restart asynchronously
- Parameter xInteractionHandler
- the InteractionHandler
service implementation, that is used in case a problem is detected
during requesting the restart.
- Throws
- com::sun::star::uno::Exception
to notify the caller about possible failures
|
|
isRestartRequested
boolean |
isRestartRequested( |
[in] boolean |
bInitialized ) |
raises( |
::com::sun::star::uno::Exception ); |
- Description
- allows to get info whether the restart has been requested and provide
the initialization status.
The office has to call this method just before the main loop has been
started, with the true as argument, so that the implementation
knows that the office is initialized. If the method returns true,
the office should restart without starting the main loop.
- Parameter bInitialized
- specifies whether the office process is initialized already,
if the caller does not have this information, he should provide
false.
- Returns
- true if the office restart has been requested,
false otherwise
- Throws
- com::sun::star::uno::Exception
to notify the caller about possible failures
|
|
Top of Page
Copyright © 2013, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.