LibreOffice Module svx (master) 1
|
#include <viewobjectcontactofsdrmediaobj.hxx>
Private Member Functions | |
void | updateMediaWindow (bool bShow) const |
Additional Inherited Members | |
Protected Member Functions inherited from sdr::contact::ViewObjectContactOfSdrObj | |
const SdrObject & | getSdrObject () const |
Protected Member Functions inherited from sdr::contact::ViewObjectContact | |
void | checkForPrimitive2DAnimations () |
virtual void | createPrimitive2DSequence (const DisplayInfo &rDisplayInfo, drawinglayer::primitive2d::Primitive2DDecompositionVisitor &rVisitor) const |
void | flushPrimitive2DSequence () |
Definition at line 36 of file viewobjectcontactofsdrmediaobj.hxx.
sdr::contact::ViewObjectContactOfSdrMediaObj::ViewObjectContactOfSdrMediaObj | ( | ObjectContact & | rObjectContact, |
ViewContact & | rViewContact, | ||
const ::avmedia::MediaItem & | rMediaItem | ||
) |
Definition at line 32 of file viewobjectcontactofsdrmediaobj.cxx.
References executeMediaItem(), and getWindow().
|
overridevirtual |
Definition at line 51 of file viewobjectcontactofsdrmediaobj.cxx.
|
overridevirtual |
Reimplemented from sdr::contact::ViewObjectContact.
Definition at line 87 of file viewobjectcontactofsdrmediaobj.cxx.
References sdr::contact::ViewObjectContact::ActionChanged(), and updateMediaWindow().
void sdr::contact::ViewObjectContactOfSdrMediaObj::executeMediaItem | ( | const ::avmedia::MediaItem & | rItem | ) |
Definition at line 154 of file viewobjectcontactofsdrmediaobj.cxx.
References sdr::contact::ViewObjectContact::GetViewContact(), and updateMediaItem().
Referenced by ViewObjectContactOfSdrMediaObj().
Size sdr::contact::ViewObjectContactOfSdrMediaObj::getPreferredSize | ( | ) | const |
Definition at line 73 of file viewobjectcontactofsdrmediaobj.cxx.
vcl::Window * sdr::contact::ViewObjectContactOfSdrMediaObj::getWindow | ( | ) | const |
Definition at line 56 of file viewobjectcontactofsdrmediaobj.cxx.
References OutputDevice::GetOutDevType(), OutputDevice::GetOwnerWindow(), sdr::contact::ViewObjectContactOfSdrObj::getPageViewOutputDevice(), and OUTDEV_WINDOW.
Referenced by sdr::contact::SdrMediaWindow::AcceptDrop(), sdr::contact::SdrMediaWindow::Command(), sdr::contact::SdrMediaWindow::ExecuteDrop(), sdr::contact::SdrMediaWindow::KeyInput(), sdr::contact::SdrMediaWindow::KeyUp(), sdr::contact::SdrMediaWindow::MouseButtonDown(), sdr::contact::SdrMediaWindow::MouseButtonUp(), sdr::contact::SdrMediaWindow::MouseMove(), sdr::contact::SdrMediaWindow::StartDrag(), and ViewObjectContactOfSdrMediaObj().
void sdr::contact::ViewObjectContactOfSdrMediaObj::updateMediaItem | ( | ::avmedia::MediaItem & | rItem | ) | const |
Definition at line 131 of file viewobjectcontactofsdrmediaobj.cxx.
References avmedia::MediaItem::getState(), avmedia::Stop, and updateMediaWindow().
Referenced by executeMediaItem().
|
private |
Definition at line 93 of file viewobjectcontactofsdrmediaobj.cxx.
References tools::Rectangle::AdjustRight(), basegfx::Range2D< typename TYPE, typename TRAITS >::getMaxX(), basegfx::Range2D< typename TYPE, typename TRAITS >::getMaxY(), basegfx::Range2D< typename TYPE, typename TRAITS >::getMinX(), basegfx::Range2D< typename TYPE, typename TRAITS >::getMinY(), sdr::contact::ViewObjectContact::GetObjectContact(), sdr::contact::ViewObjectContact::getObjectRange(), and basegfx::B2DRange::transform().
Referenced by ActionChanged(), and updateMediaItem().