LibreOffice
LibreOffice 24.2 SDK API Reference
|
represents common functionality for inplace clients. More...
import"XInplaceClient.idl";
Public Member Functions | |
boolean | canInplaceActivate () |
checks if the container can activate the object inplace. More... | |
void | activatingInplace () raises ( ::com::sun::star::embed::WrongStateException ) |
notifies container through the client that the object is to be inplace activated. More... | |
void | activatingUI () raises ( ::com::sun::star::embed::WrongStateException ) |
notifies container through the client that the object is to be UI-activated. More... | |
void | deactivatedInplace () raises ( ::com::sun::star::embed::WrongStateException ) |
notifies container through the client that the object is deactivated. More... | |
void | deactivatedUI () raises ( ::com::sun::star::embed::WrongStateException ) |
notifies container through the client that the object is UI-deactivated. More... | |
::com::sun::star::frame::XLayoutManager | getLayoutManager () raises ( ::com::sun::star::embed::WrongStateException ) |
allows to retrieve the com::sun::star::frame::LayoutManager of the container. More... | |
::com::sun::star::frame::XDispatchProvider | getInplaceDispatchProvider () raises ( ::com::sun::star::embed::WrongStateException ) |
allows to retrieve the container's dispatch provider. More... | |
::com::sun::star::awt::Rectangle | getPlacement () raises ( ::com::sun::star::embed::WrongStateException ) |
gets the inplace object position rectangle. More... | |
::com::sun::star::awt::Rectangle | getClipRectangle () raises ( ::com::sun::star::embed::WrongStateException ) |
gets the inplace object clip rectangle. More... | |
void | translateAccelerators ([in] sequence< ::com::sun::star::awt::KeyEvent > aKeys) raises ( ::com::sun::star::embed::WrongStateException ) |
provides accelerator table the object wants to use while it is inplace active. More... | |
void | scrollObject ([in] ::com::sun::star::awt::Size aOffset) raises ( ::com::sun::star::embed::WrongStateException ) |
scrolls the object. More... | |
void | changedPlacement ([in] ::com::sun::star::awt::Rectangle aPosRect) raises ( ::com::sun::star::embed::WrongStateException, ::com::sun::star::uno::Exception ) |
notifies the container that the position of the object is changed. 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 clients.
void activatingInplace | ( | ) | ||
raises | ( | ::com::sun::star::embed::WrongStateException | ||
) |
notifies container through the client that the object is to be inplace activated.
com::sun::star::embed::WrongStateException | the container is not ready for activation |
void activatingUI | ( | ) | ||
raises | ( | ::com::sun::star::embed::WrongStateException | ||
) |
notifies container through the client that the object is to be UI-activated.
com::sun::star::embed::WrongStateException | the container is not ready for activation |
boolean canInplaceActivate | ( | ) |
checks if the container can activate the object inplace.
TRUE
the container can activate the object inplace. FALSE
otherwise. void changedPlacement | ( | [in] ::com::sun::star::awt::Rectangle | aPosRect | ) | |
raises | ( | ::com::sun::star::embed::WrongStateException, | |||
::com::sun::star::uno::Exception | |||||
) |
notifies the container that the position of the object is changed.
aPosRect | specifies a new position rectangle |
com::sun::star::embed::WrongStateException | the object state is not correct |
com::sun::star::uno::Exception | in case of other problems |
void deactivatedInplace | ( | ) | ||
raises | ( | ::com::sun::star::embed::WrongStateException | ||
) |
notifies container through the client that the object is deactivated.
com::sun::star::embed::WrongStateException | the container is not ready for deactivation |
void deactivatedUI | ( | ) | ||
raises | ( | ::com::sun::star::embed::WrongStateException | ||
) |
notifies container through the client that the object is UI-deactivated.
After this notification the container can restore its own UI and take focus.
com::sun::star::embed::WrongStateException | the container is not ready for deactivation |
::com::sun::star::awt::Rectangle getClipRectangle | ( | ) | ||
raises | ( | ::com::sun::star::embed::WrongStateException | ||
) |
gets the inplace object clip rectangle.
The rectangle is provided in object's parent window coordinates in pixels. The intersection of position and clip rectangles specifies the visible part of the object.
com::sun::star::embed::WrongStateException | the object is in unexpected state to make such request |
::com::sun::star::frame::XDispatchProvider getInplaceDispatchProvider | ( | ) | ||
raises | ( | ::com::sun::star::embed::WrongStateException | ||
) |
allows to retrieve the container's dispatch provider.
com::sun::star::embed::WrongStateException | the object is in unexpected state to make such request |
::com::sun::star::frame::XLayoutManager getLayoutManager | ( | ) | ||
raises | ( | ::com::sun::star::embed::WrongStateException | ||
) |
allows to retrieve the com::sun::star::frame::LayoutManager of the container.
com::sun::star::embed::WrongStateException | the object is in unexpected state to make such request |
::com::sun::star::awt::Rectangle getPlacement | ( | ) | ||
raises | ( | ::com::sun::star::embed::WrongStateException | ||
) |
gets the inplace object position rectangle.
The rectangle is provided in object's parent window coordinates in pixels. The intersection of position and clip rectangles specifies the visible part of the object. In case the position window has a size that is bigger than object's size, the object should either scale or deactivate.
com::sun::star::embed::WrongStateException | the object is in unexpected state to make such request |
void scrollObject | ( | [in] ::com::sun::star::awt::Size | aOffset | ) | |
raises | ( | ::com::sun::star::embed::WrongStateException | |||
) |
scrolls the object.
aOffset | scrolls the object to specified offset in pixels |
com::sun::star::embed::WrongStateException | the object is in unexpected state |
void translateAccelerators | ( | [in] sequence< ::com::sun::star::awt::KeyEvent > | aKeys | ) | |
raises | ( | ::com::sun::star::embed::WrongStateException | |||
) |
provides accelerator table the object wants to use while it is inplace active.
aKeys | an accelerator table from object |
com::sun::star::embed::WrongStateException | the object is in unexpected state |