namespace com::sun::star::uno { class XComponentContext; }
namespace sd::presenter {
class SD_DLLPUBLIC PresenterHelper final
{ public:
PresenterHelper() = delete;
PresenterHelper(const PresenterHelper&) = delete;
PresenterHelper& operator=(const PresenterHelper&) = delete;
/** Create a new window as child window of the given parent window. @paramrxParentWindow Theparentwindowofthenewwindow. @parambInitiallyVisible When`true`thenewwindowwillbevisiblefromthestart, i.e.awindowlistenerwillnotreceiveawindowShownsignal.
*/ static css::uno::Reference<css::awt::XWindow> createWindow ( const css::uno::Reference<css::awt::XWindow>& rxParentWindow, bool bInitiallyVisible);
/** Create a new canvas for the given window. The new canvas is a wrapperaroundthegivensharedcanvas.Thewrapperonlymodifies theorigininalloutputandclippingmethods. @paramrxUpdateCanvas ThiscanvasisusedtocallupdateScreen()on.Maybe`NULL` @paramrxUpdateWindow Thewindowthatbelongstotheupdatecanvas.Mayalsobe `NULL`(isexpectedtob`NULL`wheneverxUpdateCanvasis.) @paramrxSharedCanvas Thecanvasthatissharedbythewrapper. @paramrxSharedWindow Thewindowofthesharedcanvas.Thisisusedtodeterminethe properoffset. @paramrxWindow Thecanvasiscreatedforthiswindow.Mustnotbe`NULL`
*/ static css::uno::Reference<css::rendering::XCanvas> createSharedCanvas ( const css::uno::Reference<css::rendering::XSpriteCanvas>& rxUpdateCanvas, const css::uno::Reference<css::awt::XWindow>& rxUpdateWindow, const css::uno::Reference<css::rendering::XCanvas>& rxSharedCanvas, const css::uno::Reference<css::awt::XWindow>& rxSharedWindow, const css::uno::Reference<css::awt::XWindow>& rxWindow);
/** Move the specified window to the top of its stacking order. As a resultthewindowwillbepaintedoverallitsoverlapping siblings. @paramrxWindow Thiswindowwillbemovedtothetopofitsstackingorder.
*/ staticvoid toTop(const css::uno::Reference<css::awt::XWindow>& rxWindow);
/** Load a bitmap with a given ID. @paramsId TheIDofthebitmap. @paramrxCanvas Thebitmapiscreatedtobecompatible,andpossiblyoptimized, forthiscanvas.
*/ static css::uno::Reference<css::rendering::XBitmap> loadBitmap(
std::u16string_view sId, const css::uno::Reference<css::rendering::XCanvas>& rxCanvas);
/** Capture the mouse so that no other window will receive mouse events. Notethatthisisapotentiallydangerousmethod.Notcalling releaseMouseeventuallycanleadtoanunresponsiveapplication. @paramxWindow Thewindowforwhichmouseeventswillbenotifiedevenwhenthe mousepointermovesoutsidethewindoworoverotherwindows.
*/ staticvoid captureMouse(const css::uno::Reference<css::awt::XWindow>& rxWindow);
/** Return the bounding box of the given child window relative to the directorindirectparentwindow.
*/ static css::awt::Rectangle getWindowExtentsRelative( const css::uno::Reference<css::awt::XWindow>& rxChildWindow, const css::uno::Reference<css::awt::XWindow>& rxParentWindow);
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.