40class PageObjectPainter;
169 const bool bStateValue);
210 std::unique_ptr<ToolTip, o3tl::default_delete<ToolTip>>
mpToolTip;
Show previews for all the slides in a document and allow the user to insert or delete slides and modi...
The model of the slide sorter gives access to the slides that are to be displayed in the slide sorter...
Calculate the size and position of page objects displayed by a slide sorter.
void Dispose()
When the DrawLock is disposed then it will not request a repaint on destruction.
DrawLock(SlideSorter const &rSlideSorter)
view::SlideSorterView & mrView
VclPtr< sd::Window > mpWindow
void RemoveVisibilityChangeListener(const Link< LinkParamNone *, void > &rListener)
Remove a listener that is called when the set of visible slides changes.
Range const & GetVisiblePageRange()
Return the range of currently visible page objects including the first and last one in that range.
void InvalidatePageObjectVisibilities()
This tells the view that it has to re-determine the visibility of the page objects before painting th...
std::shared_ptr< LayeredDevice > mpLayeredDevice
SharedILayerPainter mpBackgroundPainter
Layouter::Orientation meOrientation
bool mbPageObjectVisibilitiesValid
SlideSorterView(SlideSorter &rSlideSorter)
Create a new view for the slide sorter.
view::Layouter & GetLayouter()
void HandleDataChangeEvent()
bool mbPreciousFlagUpdatePending
std::unique_ptr< ToolTip, o3tl::default_delete< ToolTip > > mpToolTip
std::shared_ptr< PageObjectPainter > mpPageObjectPainter
bool mbIsRearrangePending
virtual void CompleteRedraw(OutputDevice *pDevice, const vcl::Region &rPaintArea, sdr::contact::ViewObjectContactRedirector *pRedirector=nullptr) override
The event will be forwarded to the View.
void HandleDrawModeChange()
vcl::Region maRedrawRegion
SlideSorterView & operator=(const SlideSorterView &)=delete
Layouter::Orientation GetOrientation() const
sal_Int32 GetPageIndexAtPoint(const Point &rPosition) const
Return the index of the page that is rendered at the given position.
virtual ~SlideSorterView() override
virtual void ConfigurationChanged(utl::ConfigurationBroadcaster *pBroadcaster, ConfigurationHints nHint) override
virtual void ModelHasChanged() override
void HandleModelChange()
This method is a convenience function that simply calls PreModelChange() and then PostModelChange().
void SetPageUnderMouse(const model::SharedPageDescriptor &rpDescriptor)
bool SetState(const model::SharedPageDescriptor &rpDescriptor, const model::PageDescriptor::State eState, const bool bStateValue)
::std::vector< Link< LinkParamNone *, void > > maVisibilityChangeListeners
std::shared_ptr< cache::PageCache > mpPreviewCache
void DeterminePageObjectVisibilities()
Determine the visibility of all page objects.
SlideSorterView(const SlideSorterView &)=delete
std::shared_ptr< PageObjectPainter > const & GetPageObjectPainter()
const std::shared_ptr< LayeredDevice > & GetLayeredDevice() const
std::shared_ptr< cache::PageCache > const & GetPreviewCache()
void AddVisibilityChangeListener(const Link< LinkParamNone *, void > &rListener)
Add a shape to the page.
ToolTip & GetToolTip() const
::std::unique_ptr< Layouter > mpLayouter
void UpdatePreciousFlags()
void Paint(OutputDevice &rDevice, const ::tools::Rectangle &rRepaintArea)
::tools::Rectangle GetModelArea() const
void PostModelChange()
This method is typically called after a model change took place.
bool SetOrientation(const Layouter::Orientation eOrientation)
Set the general way of layouting the page objects.
model::SlideSorterModel & mrModel
void PreModelChange()
This method is typically called before a model change takes place.
virtual void DragFinished(sal_Int8 nDropAction) override
SlideSorter & mrSlideSorter
void UpdatePageUnderMouse()
The page under the mouse is not highlighted in some contexts.
model::SharedPageDescriptor mpPageUnderMouse
std::shared_ptr< PageDescriptor > SharedPageDescriptor
std::shared_ptr< ILayerPainter > SharedILayerPainter