LibreOffice Module sd (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
sd::slidesorter::SlideSorter Class Referencefinal

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>

Collaboration diagram for sd::slidesorter::SlideSorter:
[legend]

Public Member Functions

 ~SlideSorter ()
 
 SlideSorter (const SlideSorter &)=delete
 Forbid copy construction and copy assignment. More...
 
SlideSorteroperator= (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::SlideSorterModelGetModel () const
 
view::SlideSorterViewGetView () const
 
SD_DLLPUBLIC controller::SlideSorterControllerGetController () const
 
ViewShellGetViewShell () 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...
 
ViewShellBaseGetViewShellBase () 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< SlideSorterCreateSlideSorter (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::SlideSorterModelCreateModel ()
 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::SlideSorterControllermpSlideSorterController
 
std::unique_ptr< model::SlideSorterModelmpSlideSorterModel
 
std::unique_ptr< view::SlideSorterViewmpSlideSorterView
 
css::uno::WeakReference< css::frame::XController > mxControllerWeak
 
ViewShellmpViewShell
 
ViewShellBasempViewShellBase
 
VclPtr< sd::WindowmpContentWindow
 
VclPtr< ScrollAdaptormpHorizontalScrollBar
 
VclPtr< ScrollAdaptormpVerticalScrollBar
 
std::shared_ptr< controller::PropertiesmpProperties
 Some slide sorter wide properties that are used in different classes. More...
 
std::shared_ptr< view::ThemempTheme
 

Friends

class controller::SlotManager
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ~SlideSorter()

sd::slidesorter::SlideSorter::~SlideSorter ( )

◆ SlideSorter() [1/2]

sd::slidesorter::SlideSorter::SlideSorter ( const SlideSorter )
delete

Forbid copy construction and copy assignment.

Referenced by CreateSlideSorter().

◆ SlideSorter() [2/2]

sd::slidesorter::SlideSorter::SlideSorter ( ViewShell rViewShell,
sd::Window pContentWindow,
ScrollAdaptor pHorizontalScrollBar,
ScrollAdaptor pVerticalScrollBar 
)
private

Definition at line 65 of file SlideSorter.cxx.

References make_shared(), Properties, and Theme.

Member Function Documentation

◆ ArrangeGUIElements()

void sd::slidesorter::SlideSorter::ArrangeGUIElements ( const Point rOffset,
const Size rSize 
)

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().

◆ CreateModel()

model::SlideSorterModel * sd::slidesorter::SlideSorter::CreateModel ( )
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().

◆ CreateModelViewController()

void sd::slidesorter::SlideSorter::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().

◆ CreateSlideSorter()

std::shared_ptr< SlideSorter > sd::slidesorter::SlideSorter::CreateSlideSorter ( ViewShell rViewShell,
sd::Window pContentWindow,
ScrollAdaptor pHorizontalScrollBar,
ScrollAdaptor pVerticalScrollBar 
)
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.

Parameters
rViewShellTypically a SlideSorterViewShell object.
rpContentWindowTypically the content window of the ViewShell.
rpHorizontalScrollBarTypically the horizontal scroll bar of the ViewShell.
rpVerticalScrollBarTypically the vertical scroll bar of the ViewShell.

Definition at line 48 of file SlideSorter.cxx.

References SlideSorter().

Referenced by sd::slidesorter::SlideSorterViewShell::Initialize().

◆ GetContentWindow()

const VclPtr< sd::Window > & sd::slidesorter::SlideSorter::GetContentWindow ( ) const
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().

◆ GetController()

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().

◆ GetHorizontalScrollBar()

const VclPtr< ScrollAdaptor > & sd::slidesorter::SlideSorter::GetHorizontalScrollBar ( ) const
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().

◆ GetModel()

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().

◆ GetProperties()

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.

◆ GetTheme()

std::shared_ptr< view::Theme > const & sd::slidesorter::SlideSorter::GetTheme ( ) const

◆ GetVerticalScrollBar()

const VclPtr< ScrollAdaptor > & sd::slidesorter::SlideSorter::GetVerticalScrollBar ( ) const
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().

◆ GetView()

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().

◆ GetViewShell()

ViewShell * sd::slidesorter::SlideSorter::GetViewShell ( ) const
inline

Return the view shell that was given at construction.

Returns
May be empty.

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().

◆ GetViewShellBase()

ViewShellBase * sd::slidesorter::SlideSorter::GetViewShellBase ( ) const
inline

◆ GetXController()

Reference< frame::XController > sd::slidesorter::SlideSorter::GetXController ( ) const

◆ Init()

void sd::slidesorter::SlideSorter::Init ( void  )
private

◆ operator=()

SlideSorter & sd::slidesorter::SlideSorter::operator= ( const SlideSorter )
delete

◆ ReleaseListeners()

void sd::slidesorter::SlideSorter::ReleaseListeners ( )
private

◆ RelocateToWindow()

void sd::slidesorter::SlideSorter::RelocateToWindow ( vcl::Window pWindow)

◆ SetCurrentFunction()

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().

◆ SetupControls()

void sd::slidesorter::SlideSorter::SetupControls ( )
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().

◆ SetupListeners()

void sd::slidesorter::SlideSorter::SetupListeners ( )
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().

Friends And Related Function Documentation

◆ controller::SlotManager

friend class controller::SlotManager
friend

Definition at line 63 of file SlideSorter.hxx.

Member Data Documentation

◆ mpContentWindow

VclPtr<sd::Window> sd::slidesorter::SlideSorter::mpContentWindow
private

Definition at line 171 of file SlideSorter.hxx.

Referenced by GetContentWindow(), Init(), and RelocateToWindow().

◆ mpHorizontalScrollBar

VclPtr<ScrollAdaptor> sd::slidesorter::SlideSorter::mpHorizontalScrollBar
private

Definition at line 172 of file SlideSorter.hxx.

Referenced by GetHorizontalScrollBar(), and ~SlideSorter().

◆ mpProperties

std::shared_ptr<controller::Properties> sd::slidesorter::SlideSorter::mpProperties
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().

◆ mpSlideSorterController

std::unique_ptr<controller::SlideSorterController> sd::slidesorter::SlideSorter::mpSlideSorterController
private

◆ mpSlideSorterModel

std::unique_ptr<model::SlideSorterModel> sd::slidesorter::SlideSorter::mpSlideSorterModel
private

Definition at line 166 of file SlideSorter.hxx.

Referenced by CreateModelViewController(), GetModel(), and ~SlideSorter().

◆ mpSlideSorterView

std::unique_ptr<view::SlideSorterView> sd::slidesorter::SlideSorter::mpSlideSorterView
private

Definition at line 167 of file SlideSorter.hxx.

Referenced by CreateModelViewController(), GetView(), and ~SlideSorter().

◆ mpTheme

std::shared_ptr<view::Theme> sd::slidesorter::SlideSorter::mpTheme
private

Definition at line 179 of file SlideSorter.hxx.

Referenced by GetTheme().

◆ mpVerticalScrollBar

VclPtr<ScrollAdaptor> sd::slidesorter::SlideSorter::mpVerticalScrollBar
private

Definition at line 173 of file SlideSorter.hxx.

Referenced by GetVerticalScrollBar(), and ~SlideSorter().

◆ mpViewShell

ViewShell* sd::slidesorter::SlideSorter::mpViewShell
private

Definition at line 169 of file SlideSorter.hxx.

Referenced by GetViewShell(), and RelocateToWindow().

◆ mpViewShellBase

ViewShellBase* sd::slidesorter::SlideSorter::mpViewShellBase
private

Definition at line 170 of file SlideSorter.hxx.

Referenced by GetViewShellBase(), and Init().

◆ mxControllerWeak

css::uno::WeakReference<css::frame::XController> sd::slidesorter::SlideSorter::mxControllerWeak
private

Definition at line 168 of file SlideSorter.hxx.

Referenced by GetXController(), and Init().


The documentation for this class was generated from the following files: