Overview | Module | Use | Devguide | Index

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

:: com :: sun :: star :: embed ::
interface XInplaceObject
Description represents common functionality for inplace embedded objects.

Methods' Summary
setObjectRectangles | sets the visible part of the inplace object.
enableModeless | enables or disables modeless dialogs of the object.
translateAccelerators | provides accelerator table the container wants to use during inplace editing.

Methods' Details
setObjectRectangles
void
setObjectRectangles( | [in] ::com::sun::star::awt::Rectangle | aPosRect,
| [in] ::com::sun::star::awt::Rectangle | aClipRect )
raises( | WrongStateException, ::com::sun::star::uno::Exception );
Description sets the visible part of the inplace object. Both rectangles are provided in object's parent window coordinates in pixels. The intersection of rectangles specifies the visible part of the object. In case the position window has a size that is different from object's visual area size, the object should either scale or deactivate. The method must activate object repainting. Parameter aPosRect specifies a new position rectangle Parameter aClipRect specifies a new clip rectangle Throws com::sun::star::embed::WrongStateException the object is in invalid state Throws com::sun::star::uno::Exception in case of other problems
enableModeless
void
enableModeless( | [in] boolean | bEnable )
raises( | WrongStateException, ::com::sun::star::uno::Exception );
Description enables or disables modeless dialogs of the object. In case container wants to show a modal dialog it should disable modeless of embedded object dialogs with this call. Later the same call can be used to enable it. Parameter bEnable true to enable object modeless false to disable it Throws com::sun::star::embed::WrongStateException the object is in wrong state Throws com::sun::star::uno::Exception in case of other problems
translateAccelerators
void
translateAccelerators( | [in] sequence< ::com::sun::star::awt::KeyEvent > | aKeys )
raises( | WrongStateException );
Description provides accelerator table the container wants to use during inplace editing. Returns an accelerator table from container Throws com::sun::star::embed::WrongStateException the object is in unexpected state

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.