diff options
Diffstat (limited to 'sdext/source/presenter/PresenterWindowManager.cxx')
-rw-r--r-- | sdext/source/presenter/PresenterWindowManager.cxx | 138 |
1 files changed, 0 insertions, 138 deletions
diff --git a/sdext/source/presenter/PresenterWindowManager.cxx b/sdext/source/presenter/PresenterWindowManager.cxx index 065ed09efa1c..5dceffc8d9aa 100644 --- a/sdext/source/presenter/PresenterWindowManager.cxx +++ b/sdext/source/presenter/PresenterWindowManager.cxx @@ -26,7 +26,6 @@ * ************************************************************************/ - #undef ENABLE_PANE_RESIZING //#define ENABLE_PANE_RESIZING @@ -105,16 +104,10 @@ PresenterWindowManager::PresenterWindowManager ( UpdateWindowList(); } - - - PresenterWindowManager::~PresenterWindowManager (void) { } - - - void SAL_CALL PresenterWindowManager::disposing (void) { NotifyDisposing(); @@ -141,9 +134,6 @@ void SAL_CALL PresenterWindowManager::disposing (void) } } - - - void PresenterWindowManager::SetParentPane ( const Reference<drawing::framework::XPane>& rxPane) { @@ -181,9 +171,6 @@ void PresenterWindowManager::SetParentPane ( } } - - - void PresenterWindowManager::SetTheme (const ::boost::shared_ptr<PresenterTheme>& rpTheme) { mpTheme = rpTheme; @@ -241,18 +228,12 @@ void PresenterWindowManager::SetPanePosSizeAbsolute ( } } - - - void PresenterWindowManager::SetPaneBorderPainter ( const ::rtl::Reference<PresenterPaneBorderPainter>& rPainter) { mpPaneBorderPainter = rPainter; } - - - //----- XWindowListener ------------------------------------------------------- void SAL_CALL PresenterWindowManager::windowResized (const awt::WindowEvent& rEvent) @@ -276,9 +257,6 @@ void SAL_CALL PresenterWindowManager::windowResized (const awt::WindowEvent& rEv } } - - - void SAL_CALL PresenterWindowManager::windowMoved (const awt::WindowEvent& rEvent) throw (RuntimeException) { @@ -293,27 +271,18 @@ void SAL_CALL PresenterWindowManager::windowMoved (const awt::WindowEvent& rEven } } - - - void SAL_CALL PresenterWindowManager::windowShown (const lang::EventObject& rEvent) throw (RuntimeException) { (void)rEvent; } - - - void SAL_CALL PresenterWindowManager::windowHidden (const lang::EventObject& rEvent) throw (RuntimeException) { (void)rEvent; } - - - //----- XPaintListener -------------------------------------------------------- void SAL_CALL PresenterWindowManager::windowPaint (const awt::PaintEvent& rEvent) @@ -347,9 +316,6 @@ void SAL_CALL PresenterWindowManager::windowPaint (const awt::PaintEvent& rEvent } } - - - //----- XMouseListener -------------------------------------------------------- void SAL_CALL PresenterWindowManager::mousePressed (const css::awt::MouseEvent& rEvent) @@ -359,9 +325,6 @@ void SAL_CALL PresenterWindowManager::mousePressed (const css::awt::MouseEvent& mbIsMouseClickPending = true; } - - - void SAL_CALL PresenterWindowManager::mouseReleased (const css::awt::MouseEvent& rEvent) throw(css::uno::RuntimeException) { @@ -376,9 +339,6 @@ void SAL_CALL PresenterWindowManager::mouseReleased (const css::awt::MouseEvent& #endif } - - - void SAL_CALL PresenterWindowManager::mouseEntered (const css::awt::MouseEvent& rEvent) throw(css::uno::RuntimeException) { @@ -386,9 +346,6 @@ void SAL_CALL PresenterWindowManager::mouseEntered (const css::awt::MouseEvent& mbIsMouseClickPending = false; } - - - void SAL_CALL PresenterWindowManager::mouseExited (const css::awt::MouseEvent& rEvent) throw(css::uno::RuntimeException) { @@ -396,9 +353,6 @@ void SAL_CALL PresenterWindowManager::mouseExited (const css::awt::MouseEvent& r mbIsMouseClickPending = false; } - - - //----- XFocusListener -------------------------------------------------------- void SAL_CALL PresenterWindowManager::focusGained (const css::awt::FocusEvent& rEvent) @@ -410,9 +364,6 @@ void SAL_CALL PresenterWindowManager::focusGained (const css::awt::FocusEvent& r rEvent.Source.get()); } - - - void SAL_CALL PresenterWindowManager::focusLost (const css::awt::FocusEvent& rEvent) throw (css::uno::RuntimeException) { @@ -420,9 +371,6 @@ void SAL_CALL PresenterWindowManager::focusLost (const css::awt::FocusEvent& rEv (void)rEvent; } - - - //----- XEventListener -------------------------------------------------------- void SAL_CALL PresenterWindowManager::disposing (const lang::EventObject& rEvent) @@ -436,9 +384,6 @@ void SAL_CALL PresenterWindowManager::disposing (const lang::EventObject& rEvent } } - - - //----------------------------------------------------------------------------- bool PresenterWindowManager::PaintChildren (const awt::PaintEvent& rEvent) const @@ -497,9 +442,6 @@ bool PresenterWindowManager::PaintChildren (const awt::PaintEvent& rEvent) const return bChildInvalidated; } - - - void PresenterWindowManager::SetLayoutMode (const LayoutMode eMode) { OSL_ASSERT(mpPresenterController.get() != NULL); @@ -521,9 +463,6 @@ void PresenterWindowManager::SetLayoutMode (const LayoutMode eMode) } } - - - void PresenterWindowManager::SetSlideSorterState (bool bIsActive) { if (mbIsSlideSorterActive != bIsActive) @@ -590,9 +529,6 @@ void PresenterWindowManager::SetViewMode (const ViewMode eMode) StoreViewMode(eMode); } - - - PresenterWindowManager::ViewMode PresenterWindowManager::GetViewMode (void) const { if (mbIsHelpViewActive) @@ -605,9 +541,6 @@ PresenterWindowManager::ViewMode PresenterWindowManager::GetViewMode (void) cons return VM_Standard; } - - - void PresenterWindowManager::RestoreViewMode (void) { sal_Int32 nMode (0); @@ -633,9 +566,6 @@ void PresenterWindowManager::RestoreViewMode (void) } } - - - void PresenterWindowManager::StoreViewMode (const ViewMode eViewMode) { try @@ -670,18 +600,12 @@ void PresenterWindowManager::StoreViewMode (const ViewMode eViewMode) } } - - - void PresenterWindowManager::AddLayoutListener ( const Reference<document::XEventListener>& rxListener) { maLayoutListeners.push_back(rxListener); } - - - void PresenterWindowManager::RemoveLayoutListener ( const Reference<document::XEventListener>& rxListener) { @@ -698,9 +622,6 @@ void PresenterWindowManager::RemoveLayoutListener ( } } - - - void PresenterWindowManager::Layout (void) { if (mxParentWindow.is() && ! mbIsLayouting) @@ -739,9 +660,6 @@ void PresenterWindowManager::Layout (void) } } - - - void PresenterWindowManager::LayoutStandardMode (void) { awt::Rectangle aBox = mxParentWindow->getPosSize(); @@ -770,7 +688,6 @@ void PresenterWindowManager::LayoutStandardMode (void) aCurrentSlideOuterBox.Height); } - // For the next slide view calculate the outer height from the outer // width. This takes into acount the slide aspect ratio and thus has to // go over the inner pane size. @@ -791,9 +708,6 @@ void PresenterWindowManager::LayoutStandardMode (void) LayoutToolBar(); } - - - void PresenterWindowManager::LayoutNotesMode (void) { awt::Rectangle aBox = mxParentWindow->getPosSize(); @@ -844,7 +758,6 @@ void PresenterWindowManager::LayoutNotesMode (void) aCurrentSlideOuterBox.Height); } - // For the next slide view calculate the outer height from the outer // width. This takes into acount the slide aspect ratio and thus has to // go over the inner pane size. @@ -863,9 +776,6 @@ void PresenterWindowManager::LayoutNotesMode (void) } } - - - void PresenterWindowManager::LayoutSlideSorterMode (void) { const geometry::RealRectangle2D aToolBarBox (LayoutToolBar()); @@ -880,9 +790,6 @@ void PresenterWindowManager::LayoutSlideSorterMode (void) aToolBarBox.Y1 - 2*nGap); } - - - void PresenterWindowManager::LayoutHelpMode (void) { const geometry::RealRectangle2D aToolBarBox (LayoutToolBar()); @@ -899,9 +806,6 @@ void PresenterWindowManager::LayoutHelpMode (void) aToolBarBox.Y1 - 2*nGap); } - - - geometry::RealRectangle2D PresenterWindowManager::LayoutToolBar (void) { double nToolBarWidth (400); @@ -957,9 +861,6 @@ geometry::RealRectangle2D PresenterWindowManager::LayoutToolBar (void) nToolBarY + nToolBarHeight - 1); } - - - awt::Size PresenterWindowManager::CalculatePaneSize ( const double nOuterWidth, const OUString& rsPaneURL) @@ -985,9 +886,6 @@ awt::Size PresenterWindowManager::CalculatePaneSize ( return awt::Size(aOuterBox.Width, aOuterBox.Height); } - - - void PresenterWindowManager::NotifyLayoutModeChange (void) { document::EventObject aEvent; @@ -1015,9 +913,6 @@ void PresenterWindowManager::NotifyLayoutModeChange (void) } } - - - void PresenterWindowManager::NotifyDisposing (void) { lang::EventObject aEvent; @@ -1078,9 +973,6 @@ void PresenterWindowManager::UpdateWindowSize (const Reference<awt::XWindow>& rx } } - - - void PresenterWindowManager::PaintBackground (const awt::Rectangle& rUpdateBox) { (void)rUpdateBox; @@ -1150,9 +1042,6 @@ void PresenterWindowManager::PaintBackground (const awt::Rectangle& rUpdateBox) } } - - - void PresenterWindowManager::ProvideBackgroundBitmap (void) { if ( ! mxScaledBackgroundBitmap.is()) @@ -1186,9 +1075,6 @@ void PresenterWindowManager::ProvideBackgroundBitmap (void) } } - - - Reference<rendering::XPolyPolygon2D> PresenterWindowManager::CreateClipPolyPolygon (void) const { // Create a clip polygon that includes the whole update area but has the @@ -1227,9 +1113,6 @@ Reference<rendering::XPolyPolygon2D> PresenterWindowManager::CreateClipPolyPolyg return xPolyPolygon; } - - - void PresenterWindowManager::UpdateWindowList (void) { #ifdef ENABLE_PANE_RESIZING @@ -1281,33 +1164,21 @@ void PresenterWindowManager::UpdateWindowList (void) #endif } - - - void PresenterWindowManager::Invalidate (void) { mpPresenterController->GetPaintManager()->Invalidate(mxParentWindow); } - - - Reference<awt::XWindow> PresenterWindowManager::GetParentWindow (void) const { return mxParentWindow; } - - - Reference<rendering::XCanvas> PresenterWindowManager::GetParentCanvas (void) const { return mxParentCanvas; } - - - void PresenterWindowManager::Update (void) { mxClipPolygon = NULL; @@ -1317,9 +1188,6 @@ void PresenterWindowManager::Update (void) Invalidate(); } - - - void PresenterWindowManager::ThrowIfDisposed (void) const throw (::com::sun::star::lang::DisposedException) { @@ -1332,8 +1200,6 @@ void PresenterWindowManager::ThrowIfDisposed (void) const } } - - namespace { //===== ModeChangeAnimation =================================================== @@ -1362,12 +1228,8 @@ private: Reference<rendering::XSpriteCanvas> mxCanvas; }; - - - } // end of anonymous namespace - } } // end of namespace ::sdext::presenter /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |