LibreOffice Module sd (master) 1
|
#include <animobjs.hxx>
Public Member Functions | |
AnimationWindow (SfxBindings *pBindings, SfxChildWindow *pCW, vcl::Window *pParent) | |
AnimationWindow - FloatingWindow. More... | |
virtual | ~AnimationWindow () override |
virtual void | dispose () override |
void | AddObj (::sd::View &rView) |
void | CreateAnimObj (::sd::View &rView) |
virtual void | DataChanged (const DataChangedEvent &rDCEvt) override |
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 () |
Protected Member Functions | |
virtual bool | Close () override |
virtual void | Resize () override |
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 () |
Private Member Functions | |
DECL_LINK (ClickFirstHdl, weld::Button &, void) | |
DECL_LINK (ClickStopHdl, weld::Button &, void) | |
DECL_LINK (ClickPlayHdl, weld::Button &, void) | |
DECL_LINK (ClickLastHdl, weld::Button &, void) | |
DECL_LINK (ClickGetObjectHdl, weld::Button &, void) | |
DECL_LINK (ClickRemoveBitmapHdl, weld::Button &, void) | |
DECL_LINK (ClickRbtHdl, weld::Toggleable &, void) | |
DECL_LINK (ClickHelpHdl, weld::Button &, void) | |
DECL_LINK (ClickCreateGroupHdl, weld::Button &, void) | |
DECL_LINK (ModifyBitmapHdl, weld::SpinButton &, void) | |
DECL_LINK (ModifyTimeHdl, weld::FormattedSpinButton &, void) | |
void | UpdateControl (bool bDisableCtrls=false) |
void | ResetAttrs () |
void | WaitInEffect (sal_uLong nMilliSeconds, sal_uLong nTime, SfxProgress *pStbMgr) const |
Fraction | GetScale () |
Static Private Attributes | |
static const size_t | EMPTY_FRAMELIST = std::numeric_limits<size_t>::max() |
Friends | |
class | AnimationChildWindow |
class | AnimationControllerItem |
Additional Inherited Members | |
Protected Attributes inherited from SfxDockingWindow | |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::unique_ptr< weld::Box > | m_xContainer |
Definition at line 70 of file animobjs.hxx.
sd::AnimationWindow::AnimationWindow | ( | SfxBindings * | pBindings, |
SfxChildWindow * | pCW, | ||
vcl::Window * | pParent | ||
) |
AnimationWindow - FloatingWindow.
Definition at line 124 of file animobjs.cxx.
References AnimationControllerItem, Impress, LINK, m_xBtnCreateGroup, m_xBtnFirst, m_xBtnGetAllObjects, m_xBtnGetOneObject, m_xBtnHelp, m_xBtnLast, m_xBtnPlay, m_xBtnRemoveAll, m_xBtnRemoveBitmap, m_xBtnReverse, m_xBtnStop, m_xFormatter, m_xNumFldBitmap, m_xRbtBitmap, m_xRbtGroup, m_xTimeField, pControllerItem, pMyDoc, ResetAttrs(), SdResId(), SfxDockingWindow::SetMinOutputSizePixel(), and SetText().
|
overridevirtual |
Definition at line 192 of file animobjs.cxx.
void sd::AnimationWindow::AddObj | ( | ::sd::View & | rView | ) |
Definition at line 686 of file animobjs.cxx.
References bAllObjects, SdrObject::CloneSdrObject(), Animation::Count(), Animation::Get(), SdrExchangeView::GetAllMarkedGraphic(), Graphic::GetAnimation(), SdDrawDocument::GetAnimationInfo(), Graphic::GetBitmapEx(), Animation::GetLoopCount(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SdrObjList::GetObj(), SdrObjList::GetObjCount(), SdrExchangeView::GetObjGraphic(), GetScale(), SdrPage::getSdrModelFromSdrPage(), SdrPaintView::getSdrModelFromSdrView(), SdrGrafObj::GetTransformedGraphic(), i, SdrObjList::InsertObject(), FmFormPage::InsertObject(), Graphic::IsAnimated(), SdrObjEditView::IsTextEdit(), m_FrameList, m_nCurrentFrame, m_xBtnCreateGroup, m_xCtlDisplay, m_xFormatter, m_xLbLoopCount, m_xRbtBitmap, m_xRbtGroup, AnimationFrame::maBitmapEx, SdAnimationInfo::mbIsMovie, AnimationFrame::mnWait, nCount, nId, nIndex, pMyDoc, pObject, sd::View::SdrEndTextEdit(), Standard, and UpdateControl().
Referenced by sd::DrawViewShell::ExecAnimationWin().
|
overrideprotectedvirtual |
Reimplemented from SfxDockingWindow.
Definition at line 666 of file animobjs.cxx.
References SfxDockingWindow::Close(), SfxDispatcher::ExecuteList(), SfxDockingWindow::GetBindings(), SfxBindings::GetDispatcher(), sd::ScopeLock::isLocked(), and maPlayLock.
void sd::AnimationWindow::CreateAnimObj | ( | ::sd::View & | rView | ) |
Definition at line 865 of file animobjs.cxx.
References sd::BA_CENTER, sd::BA_DOWN, sd::BA_LEFT, sd::BA_LEFT_DOWN, sd::BA_LEFT_UP, sd::BA_RIGHT, sd::BA_RIGHT_DOWN, sd::BA_RIGHT_UP, sd::BA_UP, SdrObject::CloneSdrObject(), sd::EffectMigration::CreateAnimatedGroup(), DBG_ASSERT, Application::GetDefaultDevice(), SdrPaintView::GetFirstOutputDevice(), tools::Rectangle::GetHeight(), MapMode::GetMapUnit(), tools::Time::GetNanoSec(), SdrObjList::GetObj(), vcl::Window::GetOutputSizePixel(), OutputDevice::GetOwnerWindow(), SdrPageView::GetPage(), Graphic::GetPrefMapMode(), Graphic::GetPrefSize(), SdrPage::getSdrModelFromSdrPage(), SdrPaintView::getSdrModelFromSdrView(), SdrPaintView::GetSdrPageView(), tools::Time::GetSec(), BitmapEx::GetSizePixel(), SdrObject::GetSnapRect(), tools::Rectangle::GetWidth(), Size::Height(), i, Animation::Insert(), SdrObjList::InsertObject(), SdrEditView::InsertObjectAtView(), OutputDevice::LogicToLogic(), m_FrameList, m_xBtnFirst, m_xLbAdjustment, m_xLbLoopCount, m_xRbtBitmap, AnimationFrame::maBitmapEx, AnimationFrame::maPositionPixel, AnimationFrame::maSizePixel, AnimationFrame::mbUserInput, AnimationFrame::meDisposal, AnimationFrame::mnWait, SdrObject::NbcMove(), nCount, nPos, OutputDevice::PixelToLogic(), vcl::Window::PixelToLogic(), pMyDoc, Animation::SetDisplaySizePixel(), Size::setHeight(), Animation::SetLoopCount(), Size::setWidth(), Point::setX(), Point::setY(), Standard, tools::Rectangle::TopLeft(), Size::Width(), Point::X(), and Point::Y().
Referenced by sd::DrawViewShell::ExecAnimationWin().
|
overridevirtual |
Definition at line 1086 of file animobjs.cxx.
References DataChangedEvent::GetFlags(), DataChangedEvent::GetType(), and UpdateControl().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
overridevirtual |
Reimplemented from SfxDockingWindow.
Definition at line 197 of file animobjs.cxx.
References SfxDockingWindow::dispose(), EMPTY_FRAMELIST, m_FrameList, m_nCurrentFrame, m_xBtnCreateGroup, m_xBtnFirst, m_xBtnGetAllObjects, m_xBtnGetOneObject, m_xBtnHelp, m_xBtnLast, m_xBtnPlay, m_xBtnRemoveAll, m_xBtnRemoveBitmap, m_xBtnReverse, m_xBtnStop, m_xCtlDisplay, m_xCtlDisplayWin, m_xFiCount, m_xFormatter, m_xFtAdjustment, m_xLbAdjustment, m_xLbLoopCount, m_xNumFldBitmap, m_xRbtBitmap, m_xRbtGroup, m_xTimeField, pControllerItem, and pMyDoc.
|
private |
Definition at line 633 of file animobjs.cxx.
References Size::AdjustHeight(), Size::AdjustWidth(), BitmapEx::GetBitmap(), Bitmap::GetSizePixel(), Size::Height(), i, m_FrameList, m_xCtlDisplay, nCount, Size::setHeight(), Size::setWidth(), and Size::Width().
|
private |
Definition at line 604 of file animobjs.cxx.
References sd::BA_CENTER, m_xLbAdjustment, m_xLbLoopCount, m_xRbtGroup, and UpdateControl().
Referenced by AnimationWindow().
|
overrideprotectedvirtual |
Reimplemented from SfxDockingWindow.
Definition at line 659 of file animobjs.cxx.
References GetScale(), m_xCtlDisplay, and SfxDockingWindow::Resize().
|
private |
Definition at line 505 of file animobjs.cxx.
References aMap, bMovie, EMPTY_FRAMELIST, first, StyleSettings::GetFieldColor(), StyleSettings::GetHighContrastMode(), SdrObjList::GetObj(), Application::GetSettings(), tools::Rectangle::GetSize(), AllSettings::GetStyleSettings(), tools::Rectangle::Left(), m_FrameList, m_nCurrentFrame, m_xBtnCreateGroup, m_xBtnFirst, m_xBtnGetAllObjects, m_xBtnGetOneObject, m_xBtnLast, m_xBtnPlay, m_xBtnRemoveAll, m_xBtnRemoveBitmap, m_xBtnReverse, m_xCtlDisplay, m_xFiCount, m_xFtAdjustment, m_xLbAdjustment, m_xLbLoopCount, m_xNumFldBitmap, m_xRbtBitmap, m_xRbtGroup, m_xTimeField, nIndex, sd::OUTPUT_DRAWMODE_COLOR, sd::OUTPUT_DRAWMODE_CONTRAST, pMyDoc, pObject, Standard, tools::Rectangle::Top(), and tools::Rectangle::TopLeft().
Referenced by AddObj(), DataChanged(), and ResetAttrs().
|
private |
Definition at line 614 of file animobjs.cxx.
References bMovie, tools::Time::GetSystemTicks(), Application::Reschedule(), and SfxProgress::SetState().
|
friend |
Definition at line 72 of file animobjs.hxx.
|
friend |
Definition at line 73 of file animobjs.hxx.
Referenced by AnimationWindow().
|
private |
Definition at line 120 of file animobjs.hxx.
Referenced by AddObj().
|
private |
Definition at line 119 of file animobjs.hxx.
Referenced by UpdateControl(), and WaitInEffect().
|
staticprivate |
Definition at line 115 of file animobjs.hxx.
Referenced by dispose(), and UpdateControl().
|
private |
Definition at line 114 of file animobjs.hxx.
Referenced by AddObj(), CreateAnimObj(), dispose(), GetScale(), and UpdateControl().
|
private |
Definition at line 116 of file animobjs.hxx.
Referenced by AddObj(), dispose(), and UpdateControl().
|
private |
Definition at line 111 of file animobjs.hxx.
Referenced by AddObj(), AnimationWindow(), dispose(), and UpdateControl().
|
private |
Definition at line 92 of file animobjs.hxx.
Referenced by AnimationWindow(), CreateAnimObj(), dispose(), and UpdateControl().
|
private |
Definition at line 102 of file animobjs.hxx.
Referenced by AnimationWindow(), dispose(), and UpdateControl().
|
private |
Definition at line 101 of file animobjs.hxx.
Referenced by AnimationWindow(), dispose(), and UpdateControl().
|
private |
Definition at line 112 of file animobjs.hxx.
Referenced by AnimationWindow(), and dispose().
|
private |
Definition at line 96 of file animobjs.hxx.
Referenced by AnimationWindow(), dispose(), and UpdateControl().
|
private |
Definition at line 95 of file animobjs.hxx.
Referenced by AnimationWindow(), dispose(), and UpdateControl().
|
private |
Definition at line 104 of file animobjs.hxx.
Referenced by AnimationWindow(), dispose(), and UpdateControl().
|
private |
Definition at line 103 of file animobjs.hxx.
Referenced by AnimationWindow(), dispose(), and UpdateControl().
|
private |
Definition at line 93 of file animobjs.hxx.
Referenced by AnimationWindow(), dispose(), and UpdateControl().
|
private |
Definition at line 94 of file animobjs.hxx.
Referenced by AnimationWindow(), and dispose().
|
private |
Definition at line 90 of file animobjs.hxx.
Referenced by AddObj(), dispose(), GetScale(), Resize(), and UpdateControl().
|
private |
Definition at line 91 of file animobjs.hxx.
Referenced by dispose().
|
private |
Definition at line 105 of file animobjs.hxx.
Referenced by dispose(), and UpdateControl().
|
private |
Definition at line 99 of file animobjs.hxx.
Referenced by AddObj(), AnimationWindow(), and dispose().
|
private |
Definition at line 109 of file animobjs.hxx.
Referenced by dispose(), and UpdateControl().
|
private |
Definition at line 110 of file animobjs.hxx.
Referenced by CreateAnimObj(), dispose(), ResetAttrs(), and UpdateControl().
|
private |
Definition at line 100 of file animobjs.hxx.
Referenced by AddObj(), CreateAnimObj(), dispose(), ResetAttrs(), and UpdateControl().
|
private |
Definition at line 97 of file animobjs.hxx.
Referenced by AnimationWindow(), dispose(), and UpdateControl().
|
private |
Definition at line 108 of file animobjs.hxx.
Referenced by AddObj(), AnimationWindow(), CreateAnimObj(), dispose(), and UpdateControl().
|
private |
Definition at line 107 of file animobjs.hxx.
Referenced by AddObj(), AnimationWindow(), dispose(), ResetAttrs(), and UpdateControl().
|
private |
Definition at line 98 of file animobjs.hxx.
Referenced by AnimationWindow(), dispose(), and UpdateControl().
|
private |
Definition at line 124 of file animobjs.hxx.
Referenced by Close().
|
private |
Definition at line 122 of file animobjs.hxx.
Referenced by AnimationWindow(), and dispose().
|
private |
Definition at line 117 of file animobjs.hxx.
Referenced by AddObj(), AnimationWindow(), CreateAnimObj(), dispose(), and UpdateControl().