LibreOffice
LibreOffice 24.2 SDK API Reference
|
represents common functionality for inplace embedded objects. More...
import"XInplaceObject.idl";
Public Member Functions | |
void | setObjectRectangles ([in] ::com::sun::star::awt::Rectangle aPosRect, [in] ::com::sun::star::awt::Rectangle aClipRect) raises ( ::com::sun::star::embed::WrongStateException, ::com::sun::star::uno::Exception ) |
sets the visible part of the inplace object. More... | |
void | enableModeless ([in] boolean bEnable) raises ( ::com::sun::star::embed::WrongStateException, ::com::sun::star::uno::Exception ) |
enables or disables modeless dialogs of the object. More... | |
void | translateAccelerators ([in] sequence< ::com::sun::star::awt::KeyEvent > aKeys) raises ( ::com::sun::star::embed::WrongStateException ) |
provides accelerator table the container wants to use during inplace editing. More... | |
Public Member Functions inherited from XInterface | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. More... | |
void | acquire () |
increases the reference counter by one. More... | |
void | release () |
decreases the reference counter by one. More... | |
represents common functionality for inplace embedded objects.
void enableModeless | ( | [in] boolean | bEnable | ) | |
raises | ( | ::com::sun::star::embed::WrongStateException, | |||
::com::sun::star::uno::Exception | |||||
) |
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.
bEnable | TRUE to enable object modeless FALSE to disable it |
com::sun::star::embed::WrongStateException | the object is in wrong state |
com::sun::star::uno::Exception | in case of other problems |
void setObjectRectangles | ( | [in] ::com::sun::star::awt::Rectangle | aPosRect, |
[in] ::com::sun::star::awt::Rectangle | aClipRect | ||
) | |||
raises | ( | ::com::sun::star::embed::WrongStateException, | |
::com::sun::star::uno::Exception | |||
) |
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.
aPosRect | specifies a new position rectangle |
aClipRect | specifies a new clip rectangle |
com::sun::star::embed::WrongStateException | the object is in invalid state |
com::sun::star::uno::Exception | in case of other problems |
void translateAccelerators | ( | [in] sequence< ::com::sun::star::awt::KeyEvent > | aKeys | ) | |
raises | ( | ::com::sun::star::embed::WrongStateException | |||
) |
provides accelerator table the container wants to use during inplace editing.
aKeys | an accelerator table from container |
com::sun::star::embed::WrongStateException | the object is in unexpected state |