Overview | Module | Use | Devguide | Index

Constructors' Summary | Constructors' Details

:: com :: sun :: star :: embed ::
service DocumentCloser
Supported Interface ::com::sun::star::lang::XComponent
Description The main task of this service is to close an office document frame embedded in an application running in another process correctly. The usual usage of this service is to create it, initialize with document frame, and to dispose the service. While disposing the service will do all the required actions to let the frame be closed using ::com::sun::star::util::XCloseable::close( true ). Thus in case there is a code that prevents closing of the frame the code automatically becomes the owner of the frame. In addition the code will disconnect the VCL window the frame is based on from the container system window.

Constructors' Summary
DocumentCloserCtor1 | is used to initialize the object on it's creation.

Constructors' Details
DocumentCloserCtor1
DocumentCloserCtor1( | [in] ::com::sun::star::frame::XFrame | xFrame )
raises( | ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::frame::DoubleInitializationException, ::com::sun::star::uno::Exception );
Description is used to initialize the object on it's creation. Parameter xFrame the frame of the document that should be closed.

Top of Page

Copyright © 2000, 2014 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.