LibreOffice Module avmedia (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
avmedia::MediaFloater Class Referencefinal

#include <mediaplayer.hxx>

Inheritance diagram for avmedia::MediaFloater:
[legend]
Collaboration diagram for avmedia::MediaFloater:
[legend]

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::RectangleGetInnerRect () const
 
const tools::RectangleGetOuterRect () const
 
SfxBindingsGetBindings () const
 
sal_uInt16 GetType () const
 
SfxChildAlignment GetAlignment () const
 
void SetAlignment (SfxChildAlignment eAlign)
 
const SizeGetFloatingSize () const
 
void SetFloatingSize (const Size &rSize)
 
void SetMinOutputSizePixel (const Size &rSize)
 
const SizeGetMinOutputSizePixel () 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< MediaWindowmpMediaWindow
 

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 SfxChildWindowGetChildWindow_Impl ()
 
- Protected Attributes inherited from SfxDockingWindow
std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Boxm_xContainer
 

Detailed Description

Definition at line 41 of file mediaplayer.hxx.

Constructor & Destructor Documentation

◆ MediaFloater()

avmedia::MediaFloater::MediaFloater ( SfxBindings pBindings,
SfxChildWindow pCW,
vcl::Window pParent 
)

Definition at line 51 of file mediaplayer.cxx.

References AvmResId(), and SetText().

◆ ~MediaFloater()

avmedia::MediaFloater::~MediaFloater ( )
overridevirtual

Definition at line 64 of file mediaplayer.cxx.

Member Function Documentation

◆ dispatchCurrentURL()

void avmedia::MediaFloater::dispatchCurrentURL ( )

◆ dispose()

void avmedia::MediaFloater::dispose ( void  )
overridevirtual

Reimplemented from SfxDockingWindow.

Definition at line 69 of file mediaplayer.cxx.

References SfxDockingWindow::dispose(), mpMediaWindow, and Show.

◆ Resize()

void avmedia::MediaFloater::Resize ( )
overrideprivatevirtual

Reimplemented from SfxDockingWindow.

Definition at line 80 of file mediaplayer.cxx.

References mpMediaWindow, and SfxDockingWindow::Resize().

◆ setURL()

void avmedia::MediaFloater::setURL ( const OUString &  rURL,
const OUString &  rReferer,
bool  bPlayImmediately 
)

Definition at line 115 of file mediaplayer.cxx.

References mpMediaWindow.

◆ ToggleFloatingMode()

void avmedia::MediaFloater::ToggleFloatingMode ( )
overrideprivatevirtual

Member Data Documentation

◆ mpMediaWindow

std::unique_ptr<MediaWindow> avmedia::MediaFloater::mpMediaWindow
private

Definition at line 58 of file mediaplayer.hxx.

Referenced by dispatchCurrentURL(), dispose(), Resize(), setURL(), and ToggleFloatingMode().


The documentation for this class was generated from the following files: