(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: 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 avtomatically 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

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright & License
Apache and the Apache feather logos are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.