LibreOffice Module avmedia (master) 1
|
#include <mediaplayer.hxx>
Public Member Functions | |
MediaFloater (SfxBindings *pBindings, SfxChildWindow *pCW, vcl::Window *pParent) | |
virtual | ~MediaFloater () override |
virtual void | dispose () override |
void | setURL (const OUString &rURL, const OUString &rReferer, bool bPlayImmediately) |
void | dispatchCurrentURL () |
Public Member Functions inherited from SfxDockingWindow | |
SfxDockingWindow (SfxBindings *pBindings, SfxChildWindow *pCW, vcl::Window *pParent, WinBits nWinBits) | |
SfxDockingWindow (SfxBindings *pBindings, SfxChildWindow *pCW, vcl::Window *pParent, const OUString &rID, const OUString &rUIXMLDescription) | |
virtual | ~SfxDockingWindow () override |
virtual void | dispose () override |
void | Initialize (SfxChildWinInfo *pInfo) |
virtual void | FillInfo (SfxChildWinInfo &) const |
virtual void | StateChanged (StateChangedType nStateChange) override |
void | SetDockingRects (const tools::Rectangle &rOuter, const tools::Rectangle &rInner) |
const tools::Rectangle & | GetInnerRect () const |
const tools::Rectangle & | GetOuterRect () const |
SfxBindings & | GetBindings () const |
sal_uInt16 | GetType () const |
SfxChildAlignment | GetAlignment () const |
void | SetAlignment (SfxChildAlignment eAlign) |
const Size & | GetFloatingSize () const |
void | SetFloatingSize (const Size &rSize) |
void | SetMinOutputSizePixel (const Size &rSize) |
const Size & | GetMinOutputSizePixel () const |
virtual bool | EventNotify (NotifyEvent &rNEvt) override |
DECL_DLLPRIVATE_LINK (TimerHdl, Timer *, void) | |
SAL_DLLPRIVATE void | Initialize_Impl () |
SAL_DLLPRIVATE void | SetItemSize_Impl (const Size &rSize) |
SAL_DLLPRIVATE void | Disappear_Impl () |
SAL_DLLPRIVATE void | Reappear_Impl () |
SAL_DLLPRIVATE bool | IsAutoHide_Impl () const |
SAL_DLLPRIVATE void | AutoShow_Impl () |
SAL_DLLPRIVATE void | ReleaseChildWindow_Impl () |
Private Member Functions | |
virtual void | Resize () override |
virtual void | ToggleFloatingMode () override |
Private Attributes | |
std::unique_ptr< MediaWindow > | mpMediaWindow |
Additional Inherited Members | |
Protected Member Functions inherited from SfxDockingWindow | |
SfxChildAlignment | CalcAlignment (const Point &rPos, tools::Rectangle &rRect) |
virtual Size | CalcDockingSize (SfxChildAlignment) |
virtual SfxChildAlignment | CheckAlignment (SfxChildAlignment, SfxChildAlignment) |
virtual void | Resize () override |
virtual bool | PrepareToggleFloatingMode () override |
virtual void | ToggleFloatingMode () override |
virtual void | StartDocking () override |
virtual bool | Docking (const Point &rPos, tools::Rectangle &rRect) override |
virtual void | EndDocking (const tools::Rectangle &rRect, bool bFloatMode) override |
virtual void | Resizing (Size &rSize) override |
virtual void | Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override |
virtual bool | Close () override |
virtual void | Move () override |
SAL_DLLPRIVATE SfxChildWindow * | GetChildWindow_Impl () |
Protected Attributes inherited from SfxDockingWindow | |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::unique_ptr< weld::Box > | m_xContainer |
Definition at line 41 of file mediaplayer.hxx.
avmedia::MediaFloater::MediaFloater | ( | SfxBindings * | pBindings, |
SfxChildWindow * | pCW, | ||
vcl::Window * | pParent | ||
) |
Definition at line 51 of file mediaplayer.cxx.
References AvmResId(), and SetText().
|
overridevirtual |
Definition at line 64 of file mediaplayer.cxx.
void avmedia::MediaFloater::dispatchCurrentURL | ( | ) |
Definition at line 127 of file mediaplayer.cxx.
References SfxDispatcher::ExecuteList(), SfxDockingWindow::GetBindings(), SfxBindings::GetDispatcher(), and mpMediaWindow.
|
overridevirtual |
Reimplemented from SfxDockingWindow.
Definition at line 69 of file mediaplayer.cxx.
References SfxDockingWindow::dispose(), mpMediaWindow, and Show.
|
overrideprivatevirtual |
Reimplemented from SfxDockingWindow.
Definition at line 80 of file mediaplayer.cxx.
References mpMediaWindow, and SfxDockingWindow::Resize().
void avmedia::MediaFloater::setURL | ( | const OUString & | rURL, |
const OUString & | rReferer, | ||
bool | bPlayImmediately | ||
) |
Definition at line 115 of file mediaplayer.cxx.
References mpMediaWindow.
|
overrideprivatevirtual |
Reimplemented from SfxDockingWindow.
Definition at line 88 of file mediaplayer.cxx.
References HID_AVMEDIA_PLAYERWINDOW, mpMediaWindow, vcl::Window::SetHelpId(), and SfxDockingWindow::ToggleFloatingMode().
|
private |
Definition at line 58 of file mediaplayer.hxx.
Referenced by dispatchCurrentURL(), dispose(), Resize(), setURL(), and ToggleFloatingMode().