LibreOffice Module svx (master) 1
|
#include <sdrmediawindow.hxx>
Public Member Functions | |
SdrMediaWindow (vcl::Window *pParent, ViewObjectContactOfSdrMediaObj &rViewObjContact) | |
virtual | ~SdrMediaWindow () override |
virtual void | MouseMove (const MouseEvent &rMEvt) override |
virtual void | MouseButtonDown (const MouseEvent &rMEvt) override |
virtual void | MouseButtonUp (const MouseEvent &rMEvt) override |
virtual void | KeyInput (const KeyEvent &rKEvt) override |
virtual void | KeyUp (const KeyEvent &rKEvt) override |
virtual void | Command (const CommandEvent &rCEvt) override |
virtual sal_Int8 | AcceptDrop (const AcceptDropEvent &rEvt) override |
virtual sal_Int8 | ExecuteDrop (const ExecuteDropEvent &rEvt) override |
virtual void | StartDrag (sal_Int8 nAction, const Point &rPosPixel) override |
Public Member Functions inherited from avmedia::MediaWindow | |
MediaWindow (vcl::Window *parent, bool bInternalMediaControl) | |
virtual | ~MediaWindow () |
void | setURL (const OUString &rURL, const OUString &rReferer) |
const OUString & | getURL () const |
bool | isValid () const |
Size | getPreferredSize () const |
vcl::Window * | getWindow () const |
void | setPosSize (const tools::Rectangle &rNewRect) |
void | setPointer (PointerStyle aPointer) |
bool | start () |
void | updateMediaItem (MediaItem &rItem) const |
void | executeMediaItem (const MediaItem &rItem) |
void | show () |
void | hide () |
bool | isVisible () const |
virtual void | MouseMove (const MouseEvent &rMEvt) |
virtual void | MouseButtonDown (const MouseEvent &rMEvt) |
virtual void | MouseButtonUp (const MouseEvent &rMEvt) |
virtual void | KeyInput (const KeyEvent &rKEvt) |
virtual void | KeyUp (const KeyEvent &rKEvt) |
virtual void | Command (const CommandEvent &rCEvt) |
virtual sal_Int8 | AcceptDrop (const AcceptDropEvent &rEvt) |
virtual sal_Int8 | ExecuteDrop (const ExecuteDropEvent &rEvt) |
virtual void | StartDrag (sal_Int8 nAction, const Point &rPosPixel) |
Private Attributes | |
ViewObjectContactOfSdrMediaObj & | mrViewObjectContactOfSdrMediaObj |
Additional Inherited Members | |
Static Public Member Functions inherited from avmedia::MediaWindow | |
static FilterNameVector | getMediaFilters () |
static bool | executeMediaURLDialog (weld::Window *pParent, OUString &rURL, bool *const o_pbLink) |
static void | executeFormatErrorBox (weld::Window *pParent) |
static bool | isMediaURL (std::u16string_view rURL, const OUString &rReferer, bool bDeep=false, rtl::Reference< PlayerListener > xPreferredPixelSizeListener=nullptr) |
static css::uno::Reference< css::media::XPlayer > | createPlayer (const OUString &rURL, const OUString &rReferer, const OUString *pMimeType=nullptr) |
static css::uno::Reference< css::graphic::XGraphic > | grabFrame (const css::uno::Reference< css::media::XPlayer > &rPlayer, const css::uno::Reference< css::graphic::XGraphic > &rGraphic=nullptr) |
static css::uno::Reference< css::graphic::XGraphic > | grabFrame (const OUString &rURL, const OUString &rReferer, const OUString &sMimeType, rtl::Reference< PlayerListener > xPreferredPixelSizeListener) |
static void | dispatchInsertAVMedia (const css::uno::Reference< css::frame::XDispatchProvider > &, const css::awt::Size &rSize, const OUString &rURL, bool bLink) |
Definition at line 30 of file sdrmediawindow.hxx.
sdr::contact::SdrMediaWindow::SdrMediaWindow | ( | vcl::Window * | pParent, |
ViewObjectContactOfSdrMediaObj & | rViewObjContact | ||
) |
Definition at line 32 of file sdrmediawindow.cxx.
|
overridevirtual |
Definition at line 39 of file sdrmediawindow.cxx.
|
overridevirtual |
Reimplemented from avmedia::MediaWindow.
Definition at line 119 of file sdrmediawindow.cxx.
References DND_ACTION_NONE, sdr::contact::ViewObjectContactOfSdrMediaObj::getWindow(), and mrViewObjectContactOfSdrMediaObj.
|
overridevirtual |
Reimplemented from avmedia::MediaWindow.
Definition at line 105 of file sdrmediawindow.cxx.
References vcl::Window::Command(), CommandEvent::GetCommand(), CommandEvent::GetEventData(), CommandEvent::GetMousePosPixel(), avmedia::MediaWindow::getWindow(), sdr::contact::ViewObjectContactOfSdrMediaObj::getWindow(), CommandEvent::IsMouseEvent(), mrViewObjectContactOfSdrMediaObj, and vcl::Window::ScreenToOutputPixel().
|
overridevirtual |
Reimplemented from avmedia::MediaWindow.
Definition at line 138 of file sdrmediawindow.cxx.
References DND_ACTION_NONE, sdr::contact::ViewObjectContactOfSdrMediaObj::getWindow(), and mrViewObjectContactOfSdrMediaObj.
|
overridevirtual |
Reimplemented from avmedia::MediaWindow.
Definition at line 87 of file sdrmediawindow.cxx.
References sdr::contact::ViewObjectContactOfSdrMediaObj::getWindow(), vcl::Window::KeyInput(), and mrViewObjectContactOfSdrMediaObj.
|
overridevirtual |
Reimplemented from avmedia::MediaWindow.
Definition at line 96 of file sdrmediawindow.cxx.
References sdr::contact::ViewObjectContactOfSdrMediaObj::getWindow(), vcl::Window::KeyUp(), and mrViewObjectContactOfSdrMediaObj.
|
overridevirtual |
Reimplemented from avmedia::MediaWindow.
Definition at line 59 of file sdrmediawindow.cxx.
References MouseEvent::GetButtons(), MouseEvent::GetClicks(), MouseEvent::GetMode(), MouseEvent::GetModifier(), MouseEvent::GetPosPixel(), avmedia::MediaWindow::getWindow(), sdr::contact::ViewObjectContactOfSdrMediaObj::getWindow(), vcl::Window::MouseButtonDown(), mrViewObjectContactOfSdrMediaObj, and vcl::Window::ScreenToOutputPixel().
|
overridevirtual |
Reimplemented from avmedia::MediaWindow.
Definition at line 73 of file sdrmediawindow.cxx.
References MouseEvent::GetButtons(), MouseEvent::GetClicks(), MouseEvent::GetMode(), MouseEvent::GetModifier(), MouseEvent::GetPosPixel(), avmedia::MediaWindow::getWindow(), sdr::contact::ViewObjectContactOfSdrMediaObj::getWindow(), vcl::Window::MouseButtonUp(), mrViewObjectContactOfSdrMediaObj, and vcl::Window::ScreenToOutputPixel().
|
overridevirtual |
Reimplemented from avmedia::MediaWindow.
Definition at line 44 of file sdrmediawindow.cxx.
References MouseEvent::GetButtons(), MouseEvent::GetClicks(), MouseEvent::GetMode(), MouseEvent::GetModifier(), vcl::Window::GetPointer(), MouseEvent::GetPosPixel(), avmedia::MediaWindow::getWindow(), sdr::contact::ViewObjectContactOfSdrMediaObj::getWindow(), vcl::Window::MouseMove(), mrViewObjectContactOfSdrMediaObj, vcl::Window::ScreenToOutputPixel(), and avmedia::MediaWindow::setPointer().
|
overridevirtual |
Reimplemented from avmedia::MediaWindow.
Definition at line 157 of file sdrmediawindow.cxx.
References sdr::contact::ViewObjectContactOfSdrMediaObj::getWindow(), and mrViewObjectContactOfSdrMediaObj.
|
private |
Definition at line 53 of file sdrmediawindow.hxx.
Referenced by AcceptDrop(), Command(), ExecuteDrop(), KeyInput(), KeyUp(), MouseButtonDown(), MouseButtonUp(), MouseMove(), and StartDrag().