LibreOffice Module sd (master) 1
|
Show previews for all the slides in a document and allow the user to insert or delete slides and modify the order of the slides. More...
#include <SlideSorter.hxx>
Public Member Functions | |
~SlideSorter () | |
SlideSorter (const SlideSorter &)=delete | |
Forbid copy construction and copy assignment. More... | |
SlideSorter & | operator= (const SlideSorter &)=delete |
const VclPtr< ScrollAdaptor > & | GetVerticalScrollBar () const |
Return the control of the vertical scroll bar. More... | |
const VclPtr< ScrollAdaptor > & | GetHorizontalScrollBar () const |
Return the control of the horizontal scroll bar. More... | |
const VclPtr< sd::Window > & | GetContentWindow () const |
Return the content window. More... | |
model::SlideSorterModel & | GetModel () const |
view::SlideSorterView & | GetView () const |
SD_DLLPUBLIC controller::SlideSorterController & | GetController () const |
ViewShell * | GetViewShell () const |
Return the view shell that was given at construction. More... | |
css::uno::Reference< css::frame::XController > | GetXController () const |
Return the XController object of the main view. More... | |
ViewShellBase * | GetViewShellBase () const |
Return the ViewShellBase object. More... | |
void | ArrangeGUIElements (const Point &rOffset, const Size &rSize) |
Place and size the controls and windows. More... | |
void | RelocateToWindow (vcl::Window *pWindow) |
void | SetCurrentFunction (const rtl::Reference< FuPoor > &rpFunction) |
Set the current function at the view shell or, when it is not present, set it at the content window. More... | |
std::shared_ptr< controller::Properties > const & | GetProperties () const |
Return a collection of properties that are used throughout the slide sorter. More... | |
std::shared_ptr< view::Theme > const & | GetTheme () const |
Return the active theme which gives access to colors and fonts. More... | |
Static Public Member Functions | |
static std::shared_ptr< SlideSorter > | CreateSlideSorter (ViewShell &rViewShell, sd::Window *pContentWindow, ScrollAdaptor *pHorizontalScrollBar, ScrollAdaptor *pVerticalScrollBar) |
Create a new slide sorter that is strongly coupled to the given view shell. More... | |
Private Member Functions | |
void | CreateModelViewController () |
This virtual method makes it possible to create a specialization of the slide sorter view shell that works with its own implementation of model, view, and controller. More... | |
model::SlideSorterModel * | CreateModel () |
Create the model for the view shell. More... | |
SlideSorter (ViewShell &rViewShell, sd::Window *pContentWindow, ScrollAdaptor *pHorizontalScrollBar, ScrollAdaptor *pVerticalScrollBar) | |
void | Init () |
void | SetupControls () |
Create the controls for the slide sorter. More... | |
void | SetupListeners () |
This method is usually called exactly one time from the constructor. More... | |
void | ReleaseListeners () |
Release the listeners that have been installed in SetupListeners(). More... | |
Private Attributes | |
std::unique_ptr< controller::SlideSorterController > | mpSlideSorterController |
std::unique_ptr< model::SlideSorterModel > | mpSlideSorterModel |
std::unique_ptr< view::SlideSorterView > | mpSlideSorterView |
css::uno::WeakReference< css::frame::XController > | mxControllerWeak |
ViewShell * | mpViewShell |
ViewShellBase * | mpViewShellBase |
VclPtr< sd::Window > | mpContentWindow |
VclPtr< ScrollAdaptor > | mpHorizontalScrollBar |
VclPtr< ScrollAdaptor > | mpVerticalScrollBar |
std::shared_ptr< controller::Properties > | mpProperties |
Some slide sorter wide properties that are used in different classes. More... | |
std::shared_ptr< view::Theme > | mpTheme |
Friends | |
class | controller::SlotManager |
Show previews for all the slides in a document and allow the user to insert or delete slides and modify the order of the slides.
This class is a facade for the model, view, and controller classes. It is a hub that allows access to the various parts of a slide sorter.
Note that this class is not in its final state.
Definition at line 61 of file SlideSorter.hxx.
sd::slidesorter::SlideSorter::~SlideSorter | ( | ) |
Definition at line 118 of file SlideSorter.cxx.
References mpHorizontalScrollBar, mpSlideSorterController, mpSlideSorterModel, mpSlideSorterView, mpVerticalScrollBar, ReleaseListeners(), and VclPtr< class reference_type >::reset().
|
delete |
Forbid copy construction and copy assignment.
Referenced by CreateSlideSorter().
|
private |
Definition at line 65 of file SlideSorter.cxx.
References make_shared(), Properties, and Theme.
Place and size the controls and windows.
You may want to call this method when something has changed that for instance affects the visibility state of the scroll bars.
Definition at line 246 of file SlideSorter.cxx.
References GetContentWindow(), Size::Height(), mpSlideSorterController, and Size::Width().
|
private |
Create the model for the view shell.
When called from the default implementation of CreateModelViewController() then neither view nor controller do exist. Test their pointers when in doubt.
Definition at line 232 of file SlideSorter.cxx.
References sd::ViewShellBase::GetDocument(), and GetViewShellBase().
Referenced by CreateModelViewController().
|
private |
This virtual method makes it possible to create a specialization of the slide sorter view shell that works with its own implementation of model, view, and controller.
The default implementation simply calls the CreateModel(), CreateView(), and CreateController() methods in this order.
Definition at line 218 of file SlideSorter.cxx.
References CreateModel(), DBG_ASSERT, mpSlideSorterController, mpSlideSorterModel, and mpSlideSorterView.
Referenced by Init().
|
static |
Create a new slide sorter that is strongly coupled to the given view shell.
Use this function for a slide sorter in the left pane.
rViewShell | Typically a SlideSorterViewShell object. |
rpContentWindow | Typically the content window of the ViewShell. |
rpHorizontalScrollBar | Typically the horizontal scroll bar of the ViewShell. |
rpVerticalScrollBar | Typically the vertical scroll bar of the ViewShell. |
Definition at line 48 of file SlideSorter.cxx.
References SlideSorter().
Referenced by sd::slidesorter::SlideSorterViewShell::Initialize().
|
inline |
Return the content window.
This is a sibling and is geometrically enclosed by the scroll bars.
Definition at line 99 of file SlideSorter.hxx.
References mpContentWindow.
Referenced by ArrangeGUIElements(), sd::slidesorter::controller::ScrollBarManager::CalcAutoScrollOffset(), sd::slidesorter::view::SlideSorterView::CompleteRedraw(), sd::slidesorter::view::InsertionIndicatorOverlay::Create(), sd::slidesorter::view::SlideSorterView::DeterminePageObjectVisibilities(), sd::slidesorter::controller::Clipboard::DoPaste(), sd::slidesorter::view::ToolTip::DoShow(), sd::slidesorter::controller::SelectionFunction::EventDescriptor::EventDescriptor(), sd::slidesorter::controller::SlotManager::FuTemporary(), sd::slidesorter::view::InsertAnimator::Implementation::GetContentWindow(), sd::slidesorter::controller::SlideSorterController::GetCtrlState(), sd::slidesorter::controller::Clipboard::GetInsertionPosition(), sd::slidesorter::view::SlideSorterView::GetPageIndexAtPoint(), sd::slidesorter::view::SlideSorterView::GetPreviewCache(), sd::slidesorter::controller::VisibleAreaManager::GetRequestedTopLeft(), sd::slidesorter::controller::FocusManager::HasFocus(), sd::slidesorter::view::ToolTip::Hide(), Init(), sd::slidesorter::view::ViewCacheContext::IsIdle(), sd::slidesorter::view::SlideSorterView::Layout(), sd::slidesorter::controller::VisibleAreaManager::MakeVisible(), sd::slidesorter::controller::SlideSorterController::PageNameHasChanged(), sd::slidesorter::controller::SlideSorterController::PostModelChange(), sd::slidesorter::controller::SlideSorterController::PreModelChange(), sd::slidesorter::view::SlideSorterView::Rearrange(), sd::slidesorter::controller::SlideSorterController::Rearrange(), ReleaseListeners(), sd::slidesorter::controller::SlotManager::RenameSlide(), sd::slidesorter::view::SlideSorterView::RequestRepaint(), sd::slidesorter::controller::ScrollBarManager::SetTopLeft(), SetupListeners(), sd::slidesorter::controller::ScrollBarManager::SetWindowOrigin(), sd::slidesorter::controller::SlideSorterController::SlideSorterController(), sd::slidesorter::controller::SlideSorterController::UpdateAllPages(), sd::slidesorter::view::SlideSorterView::UpdateOrientation(), sd::slidesorter::view::SlideSorterView::UpdatePageUnderMouse(), sd::slidesorter::controller::DragAndDropContext::UpdatePosition(), and sd::slidesorter::controller::ScrollBarManager::UpdateScrollBars().
controller::SlideSorterController & sd::slidesorter::SlideSorter::GetController | ( | ) | const |
Definition at line 149 of file SlideSorter.cxx.
References mpSlideSorterController.
Referenced by accessibility::AccessibleSlideSorterView::Implementation::Activated(), accessibility::AccessibleSlideSorterView::clearAccessibleSelection(), accessibility::AccessibleSlideSorterView::Implementation::ConnectListeners(), accessibility::AccessibleSlideSorterView::deselectAccessibleChild(), sd::slidesorter::controller::SelectionFunction::ModeHandler::DeselectAllPages(), sd::slidesorter::controller::DragAndDropContext::DragAndDropContext(), sd::slidesorter::view::SlideSorterView::DragFinished(), sd::slidesorter::controller::SlotManager::DuplicateSelectedSlides(), sd::slidesorter::controller::SelectionObserver::EndObservation(), sd::slidesorter::controller::SelectionFunction::EventDescriptor::EventDescriptor(), sd::slidesorter::controller::SlotManager::ExecCtrl(), sd::slidesorter::controller::SlotManager::FuSupport(), sd::slidesorter::controller::SlotManager::FuTemporary(), accessibility::AccessibleSlideSorterView::getAccessibleAtPoint(), accessibility::AccessibleSlideSorterObject::getAccessibleStateSet(), sd::slidesorter::controller::SlotManager::GetClipboardState(), sd::slidesorter::controller::PageSelector::GetCoreSelection(), sd::SdUnoSlideView::getCurrentPage(), sd::slidesorter::controller::SlotManager::GetInsertionPosition(), sd::slidesorter::controller::SlotManager::GetMenuState(), accessibility::AccessibleSlideSorterView::getSelectedAccessibleChild(), accessibility::AccessibleSlideSorterView::getSelectedAccessibleChildCount(), sd::SdUnoSlideView::getSelection(), sd::slidesorter::controller::SlotManager::GetStatusBarState(), accessibility::IMPL_LINK_NOARG(), sd::slidesorter::controller::SlotManager::InsertSlide(), accessibility::AccessibleSlideSorterView::isAccessibleChildSelected(), sd::slidesorter::controller::SelectionFunction::KeyInput(), sd::slidesorter::controller::CurrentSlideManager::NotifyCurrentSlideChange(), accessibility::AccessibleSlideSorterView::Implementation::ReleaseListeners(), sd::slidesorter::controller::SlotManager::RenameSlide(), sd::slidesorter::controller::SlotManager::RenameSlideFromDrawViewShell(), sd::slidesorter::controller::VisibleAreaManager::RequestCurrentSlideVisible(), sd::slidesorter::model::SlideSorterModel::Resync(), sd::slidesorter::controller::ScrollBarManager::Scroll(), sd::SdUnoSlideView::select(), accessibility::AccessibleSlideSorterView::selectAccessibleChild(), accessibility::AccessibleSlideSorterView::selectAllAccessibleChildren(), sd::slidesorter::controller::SelectionFunction::ModeHandler::SelectOnePage(), sd::DrawViewShell::SelectPage(), sd::SdUnoSlideView::setCurrentPage(), sd::slidesorter::controller::SelectionFunction::ModeHandler::SetCurrentPage(), sd::slidesorter::model::SlideSorterModel::SetDocumentSlides(), sd::slidesorter::controller::FocusManager::SetFocusedPageFromCurrentPage(), sd::slidesorter::controller::DragAndDropContext::SetTargetSlideSorter(), sd::slidesorter::controller::FocusManager::ShowFocusIndicator(), sd::slidesorter::model::SlideSorterModel::UpdatePageList(), sd::slidesorter::view::SlideSorterView::UpdatePageUnderMouse(), and sd::slidesorter::controller::DragAndDropContext::UpdatePosition().
|
inline |
Return the control of the horizontal scroll bar.
Definition at line 94 of file SlideSorter.hxx.
References mpHorizontalScrollBar.
Referenced by sd::slidesorter::view::SlideSorterView::UpdatePageUnderMouse().
model::SlideSorterModel & sd::slidesorter::SlideSorter::GetModel | ( | ) | const |
Definition at line 137 of file SlideSorter.cxx.
References mpSlideSorterModel.
Referenced by sd::slidesorter::controller::Clipboard::AcceptDrop(), sd::slidesorter::controller::CurrentSlideManager::AcquireCurrentSlide(), sd::slidesorter::controller::SlotManager::ChangeSlideExclusionState(), accessibility::AccessibleSlideSorterView::Implementation::ConnectListeners(), sd::slidesorter::controller::Clipboard::CreateSlideTransferable(), sd::slidesorter::controller::Clipboard::CreateTransferableUserData(), sd::slidesorter::controller::SelectionManager::DeleteSelectedMasterPages(), sd::slidesorter::controller::SelectionManager::DeleteSelectedNormalPages(), sd::slidesorter::controller::SelectionManager::DeleteSelectedPages(), sd::slidesorter::controller::Clipboard::DetermineInsertPosition(), sd::slidesorter::controller::ScrollBarManager::DetermineScrollBarVisibilities(), sd::slidesorter::controller::Clipboard::DoCut(), sd::slidesorter::controller::Clipboard::DoDelete(), sd::slidesorter::controller::DragAndDropContext::DragAndDropContext(), sd::slidesorter::controller::SlotManager::DuplicateSelectedSlides(), sd::slidesorter::controller::SlotManager::ExecCtrl(), sd::slidesorter::controller::Clipboard::ExecuteDrop(), sd::slidesorter::controller::Clipboard::ExecuteOrAcceptShapeDrop(), sd::slidesorter::controller::FocusManager::FocusManager(), sd::slidesorter::controller::SlotManager::FuSupport(), sd::slidesorter::controller::SlotManager::FuTemporary(), accessibility::AccessibleSlideSorterView::Implementation::GetAccessibleChild(), accessibility::AccessibleSlideSorterObject::getBounds(), sd::slidesorter::controller::SlotManager::GetClipboardState(), sd::slidesorter::controller::FocusManager::GetFocusedPageDescriptor(), sd::slidesorter::controller::SelectionManager::GetInsertionPosition(), sd::slidesorter::controller::SlotManager::GetMenuState(), accessibility::AccessibleSlideSorterObject::GetPage(), sd::SdUnoSlideView::getSelection(), sd::slidesorter::controller::SlotManager::GetStatusBarState(), sd::slidesorter::controller::SelectionFunction::GotoPage(), sd::slidesorter::controller::CurrentSlideManager::HandleModelChange(), sd::slidesorter::controller::Listener::HandleModelChange(), sd::slidesorter::controller::Listener::HandleShapeModification(), sd::slidesorter::controller::Clipboard::HandleSlotCall(), sd::slidesorter::controller::SlotManager::InsertSlide(), sd::slidesorter::controller::Clipboard::IsDropAccepted(), sd::slidesorter::controller::InsertionIndicatorHandler::IsInsertionTrivial(), sd::slidesorter::controller::SelectionFunction::KeyInput(), sd::slidesorter::controller::Listener::Listener(), sd::slidesorter::controller::SelectionFunction::MoveFocus(), sd::slidesorter::controller::FocusManager::MoveFocus(), sd::slidesorter::controller::Listener::Notify(), sd::slidesorter::controller::CurrentSlideManager::NotifyCurrentSlideChange(), sd::slidesorter::controller::Clipboard::PasteTransferable(), accessibility::AccessibleSlideSorterView::Implementation::ReleaseListeners(), sd::slidesorter::controller::Listener::ReleaseListeners(), sd::slidesorter::controller::SlotManager::RenameSlide(), sd::slidesorter::controller::SlotManager::RenameSlideFromDrawViewShell(), sd::slidesorter::controller::Clipboard::SelectPageRange(), sd::slidesorter::controller::SelectionManager::SetInsertionPosition(), sd::slidesorter::controller::InsertionIndicatorHandler::SetPosition(), sd::slidesorter::controller::InsertionIndicatorHandler::Start(), sd::slidesorter::controller::CurrentSlideManager::SwitchCurrentSlide(), sd::slidesorter::controller::SelectionFunction::ModeHandler::SwitchView(), sd::slidesorter::controller::ScrollBarManager::TestScrollBarVisibilities(), and accessibility::AccessibleSlideSorterView::Implementation::UpdateChildren().
std::shared_ptr< controller::Properties > const & sd::slidesorter::SlideSorter::GetProperties | ( | ) | const |
Return a collection of properties that are used throughout the slide sorter.
Definition at line 304 of file SlideSorter.cxx.
References mpProperties.
std::shared_ptr< view::Theme > const & sd::slidesorter::SlideSorter::GetTheme | ( | ) | const |
Return the active theme which gives access to colors and fonts.
Definition at line 310 of file SlideSorter.cxx.
References mpTheme.
Referenced by sd::slidesorter::view::InsertionIndicatorOverlay::Create(), sd::slidesorter::view::SlideSorterView::HandleDataChangeEvent(), sd::slidesorter::view::InsertionIndicatorOverlay::PaintPageCount(), and sd::slidesorter::view::InsertionIndicatorOverlay::PaintRepresentatives().
|
inline |
Return the control of the vertical scroll bar.
Definition at line 90 of file SlideSorter.hxx.
References mpVerticalScrollBar.
Referenced by SetupControls(), and sd::slidesorter::view::SlideSorterView::UpdatePageUnderMouse().
view::SlideSorterView & sd::slidesorter::SlideSorter::GetView | ( | ) | const |
Definition at line 143 of file SlideSorter.cxx.
References mpSlideSorterView.
Referenced by sd::slidesorter::controller::CurrentSlideManager::AcquireCurrentSlide(), sd::slidesorter::controller::ScrollBarManager::CalcAutoScrollOffset(), sd::slidesorter::controller::SlotManager::ChangeSlideExclusionState(), sd::slidesorter::controller::SlideSorterController::Command(), accessibility::AccessibleSlideSorterView::Implementation::ConnectListeners(), sd::slidesorter::view::InsertionIndicatorOverlay::Create(), sd::slidesorter::controller::Clipboard::CreateSlideTransferable(), sd::slidesorter::controller::Clipboard::CreateTransferableUserData(), sd::slidesorter::controller::SelectionManager::DeleteSelectedPages(), sd::slidesorter::view::ToolTip::DoShow(), sd::slidesorter::controller::SlotManager::DuplicateSelectedSlides(), sd::slidesorter::controller::Clipboard::ExecuteDrop(), sd::slidesorter::controller::Clipboard::ExecuteOrAcceptShapeDrop(), sd::slidesorter::controller::SlotManager::FuSupport(), sd::slidesorter::controller::SlotManager::FuTemporary(), sd::slidesorter::controller::SlotManager::GetAttrState(), accessibility::AccessibleSlideSorterObject::getBounds(), sd::slidesorter::controller::PageSelector::GetCoreSelection(), sd::slidesorter::controller::VisibleAreaManager::GetRequestedTopLeft(), sd::slidesorter::controller::SlotManager::GetStatusBarState(), sd::slidesorter::controller::CurrentSlideManager::HandleModelChange(), sd::slidesorter::controller::Listener::HandleShapeModification(), sd::slidesorter::view::InsertionIndicatorOverlay::Hide(), sd::slidesorter::controller::FocusManager::HideFocusIndicator(), sd::slidesorter::controller::FocusManager::MoveFocus(), sd::slidesorter::view::ViewCacheContext::NotifyPreviewCreation(), sd::slidesorter::controller::SelectionFunction::ModeHandler::ProcessMotionEvent(), sd::slidesorter::controller::CurrentSlideManager::ReleaseCurrentSlide(), accessibility::AccessibleSlideSorterView::Implementation::ReleaseListeners(), sd::slidesorter::controller::SlotManager::RenameSlide(), sd::slidesorter::controller::ScrollBarManager::RepeatAutoScroll(), sd::slidesorter::controller::VisibleAreaManager::RequestVisible(), sd::slidesorter::controller::ScrollBarManager::Scroll(), sd::slidesorter::controller::InsertionIndicatorHandler::SetPosition(), sd::slidesorter::controller::ScrollBarManager::SetTopLeft(), sd::slidesorter::view::InsertionIndicatorOverlay::Show(), sd::slidesorter::controller::FocusManager::ShowFocusIndicator(), sd::slidesorter::controller::SelectionFunction::SwitchMode(), sd::slidesorter::controller::ScrollBarManager::TestScrollBarVisibilities(), accessibility::AccessibleSlideSorterView::Implementation::UpdateChildren(), and sd::slidesorter::controller::ScrollBarManager::UpdateScrollBars().
|
inline |
Return the view shell that was given at construction.
Definition at line 112 of file SlideSorter.hxx.
References mpViewShell.
Referenced by sd::slidesorter::controller::Clipboard::AcceptDrop(), sd::slidesorter::controller::SlotManager::ChangeSlideExclusionState(), sd::slidesorter::controller::SlideSorterController::Command(), accessibility::AccessibleSlideSorterView::Implementation::ConnectListeners(), sd::slidesorter::controller::Listener::ConnectToController(), sd::slidesorter::controller::Clipboard::CreateSlideTransferable(), sd::slidesorter::controller::SelectionManager::DeleteSelectedPages(), sd::slidesorter::controller::SlotManager::DuplicateSelectedSlides(), sd::slidesorter::controller::SlotManager::ExecCtrl(), sd::slidesorter::controller::Clipboard::ExecuteDrop(), sd::slidesorter::controller::Clipboard::ExecuteOrAcceptShapeDrop(), sd::slidesorter::controller::SlotManager::FuPermanent(), sd::slidesorter::controller::SlotManager::FuSupport(), sd::slidesorter::controller::SlotManager::FuTemporary(), sd::slidesorter::controller::SlotManager::GetAttrState(), sd::slidesorter::controller::SlideSorterController::GetCurrentSelectionFunction(), sd::slidesorter::controller::SlotManager::GetMenuState(), sd::slidesorter::controller::Clipboard::HandleSlotCall(), sd::slidesorter::controller::SlotManager::InsertSlide(), sd::slidesorter::controller::Clipboard::IsInsertionTrivial(), sd::slidesorter::controller::SelectionFunction::KeyInput(), sd::slidesorter::controller::Listener::Listener(), sd::slidesorter::controller::SlotManager::NotifyEditModeChange(), sd::slidesorter::controller::SlideSorterController::PostModelChange(), sd::slidesorter::controller::SlideSorterController::PreModelChange(), sd::slidesorter::controller::SlideSorterController::PrepareEditModeChange(), accessibility::AccessibleSlideSorterView::Implementation::ReleaseListeners(), sd::slidesorter::controller::SlotManager::RenameSlideFromDrawViewShell(), sd::slidesorter::controller::ScrollBarManager::RepeatAutoScroll(), sd::slidesorter::controller::SelectionManager::SelectionHasChanged(), SetCurrentFunction(), sd::slidesorter::model::SlideSorterModel::SetDocumentSlides(), sd::slidesorter::controller::SelectionFunction::ModeHandler::SwitchView(), and sd::slidesorter::view::SlideSorterView::UpdateOrientation().
|
inline |
Return the ViewShellBase object.
Definition at line 123 of file SlideSorter.hxx.
References mpViewShellBase.
Referenced by CreateModel(), sd::slidesorter::controller::SlotManager::FuSupport(), sd::slidesorter::controller::SlotManager::GetClipboardState(), sd::slidesorter::model::SlideSorterModel::GetDocument(), sd::slidesorter::model::SlideSorterModel::IsReadOnly(), sd::slidesorter::controller::CurrentSlideManager::SetCurrentSlideAtTabControl(), sd::slidesorter::controller::CurrentSlideManager::SetCurrentSlideAtViewShellBase(), and sd::slidesorter::controller::SelectionFunction::ModeHandler::SwitchView().
Reference< frame::XController > sd::slidesorter::SlideSorter::GetXController | ( | ) | const |
Return the XController object of the main view.
Definition at line 155 of file SlideSorter.cxx.
References mxControllerWeak, and xController.
Referenced by sd::slidesorter::controller::Listener::ConnectToController(), sd::slidesorter::controller::Listener::Listener(), sd::slidesorter::controller::CurrentSlideManager::SetCurrentSlideAtXController(), and sd::slidesorter::model::SlideSorterModel::UpdatePageList().
|
private |
Definition at line 80 of file SlideSorter.cxx.
References CreateModelViewController(), VclPtr< class reference_type >::get(), GetContentWindow(), SfxViewShell::GetController(), vcl::Window::GetParent(), Application::GetSettings(), vcl::Window::GetStyle(), vcl::Window::Hide(), mpContentWindow, mpProperties, mpViewShellBase, mxControllerWeak, vcl::Window::SetBackground(), vcl::Window::SetStyle(), SetupControls(), SetupListeners(), sd::Window::SetUseDropScroll(), sd::Window::SetViewOrigin(), WB_DIALOGCONTROL, and WB_TABSTOP.
|
delete |
|
private |
Release the listeners that have been installed in SetupListeners().
Definition at line 193 of file SlideSorter.cxx.
References get(), GetContentWindow(), vcl::Window::GetParent(), LINK, mpSlideSorterController, Application::RemoveEventListener(), and vcl::Window::RemoveEventListener().
Referenced by RelocateToWindow(), and ~SlideSorter().
void sd::slidesorter::SlideSorter::RelocateToWindow | ( | vcl::Window * | pWindow | ) |
Definition at line 268 of file SlideSorter.cxx.
References mpContentWindow, mpSlideSorterController, mpViewShell, ReleaseListeners(), SetupControls(), and SetupListeners().
void sd::slidesorter::SlideSorter::SetCurrentFunction | ( | const rtl::Reference< FuPoor > & | rpFunction | ) |
Set the current function at the view shell or, when it is not present, set it at the content window.
This method supports the use of functions even when there is no SlideSorterViewShell.
Definition at line 295 of file SlideSorter.cxx.
References GetViewShell(), sd::ViewShell::SetCurrentFunction(), and sd::ViewShell::SetOldFunction().
Referenced by sd::slidesorter::controller::SlideSorterController::Init().
|
private |
Create the controls for the slide sorter.
This are the tab bar for switching the edit mode, the scroll bar, and the actual slide sorter view window. This method is usually called exactly one time from the constructor.
Definition at line 161 of file SlideSorter.cxx.
References GetVerticalScrollBar().
Referenced by Init(), and RelocateToWindow().
|
private |
This method is usually called exactly one time from the constructor.
Definition at line 166 of file SlideSorter.cxx.
References Application::AddEventListener(), vcl::Window::AddEventListener(), VclPtr< class reference_type >::get(), GetContentWindow(), vcl::Window::GetParent(), LINK, and mpSlideSorterController.
Referenced by Init(), and RelocateToWindow().
|
friend |
Definition at line 63 of file SlideSorter.hxx.
|
private |
Definition at line 171 of file SlideSorter.hxx.
Referenced by GetContentWindow(), Init(), and RelocateToWindow().
|
private |
Definition at line 172 of file SlideSorter.hxx.
Referenced by GetHorizontalScrollBar(), and ~SlideSorter().
|
private |
Some slide sorter wide properties that are used in different classes.
Definition at line 178 of file SlideSorter.hxx.
Referenced by GetProperties(), and Init().
|
private |
Definition at line 165 of file SlideSorter.hxx.
Referenced by ArrangeGUIElements(), CreateModelViewController(), GetController(), ReleaseListeners(), RelocateToWindow(), SetupListeners(), and ~SlideSorter().
|
private |
Definition at line 166 of file SlideSorter.hxx.
Referenced by CreateModelViewController(), GetModel(), and ~SlideSorter().
|
private |
Definition at line 167 of file SlideSorter.hxx.
Referenced by CreateModelViewController(), GetView(), and ~SlideSorter().
|
private |
Definition at line 179 of file SlideSorter.hxx.
Referenced by GetTheme().
|
private |
Definition at line 173 of file SlideSorter.hxx.
Referenced by GetVerticalScrollBar(), and ~SlideSorter().
|
private |
Definition at line 169 of file SlideSorter.hxx.
Referenced by GetViewShell(), and RelocateToWindow().
|
private |
Definition at line 170 of file SlideSorter.hxx.
Referenced by GetViewShellBase(), and Init().
|
private |
Definition at line 168 of file SlideSorter.hxx.
Referenced by GetXController(), and Init().