Overview | Module | Use | Devguide | Index

Methods' Summary | Attributes' Summary | Methods' Details | Attributes' Details

:: 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
void
requestRestart( | [in] XInteractionHandler | xInteractionHandler )
raises( | ::com::sun::star::uno::Exception );
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 © 2000, 2013 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.