66 const std::shared_ptr<Theme>& rpTheme);
79 sal_Int32 nMaximalColumnCount);
102 const Size& rWindowSize,
103 const Size& rPreviewModelSize,
104 const sal_uInt32 nPageCount);
110 sal_Int32
GetIndex (
const sal_Int32 nRow,
const sal_Int32 nColumn)
const;
118 const sal_Int32 nIndex,
119 const bool bIncludeBorderAndGap)
const;
155 const Point& rModelPosition,
156 const bool bIncludePageBorders,
157 const bool bClampToValidRange =
true)
const;
177 const Point& rModelPosition,
178 const Size& rIndicatorSize,
184 class Implementation;
202 const sal_Int32 nRow,
203 const sal_Int32 nColumn,
205 const bool bIsAtRunStart,
206 const bool bIsAtRunEnd,
207 const bool bIsExtraSpaceNeeded);
209 const Point& rLocation,
210 const Point& rLeadingOffset,
211 const Point& rTrailingOffset);
An SdWindow contains the actual working area of ViewShell.
The model of the slide sorter gives access to the slides that are to be displayed in the slide sorter...
Collect all values concerning the logical and visual properties of the insertion position that is use...
const Point & GetLocation() const
bool operator!=(const InsertPosition &rInsertPosition) const
sal_Int32 GetColumn() const
bool IsAtRunStart() const
sal_Int32 GetIndex() const
void SetGeometricalPosition(const Point &rLocation, const Point &rLeadingOffset, const Point &rTrailingOffset)
bool operator==(const InsertPosition &rInsertPosition) const
const Point & GetLeadingOffset() const
void SetLogicalPosition(const sal_Int32 nRow, const sal_Int32 nColumn, const sal_Int32 nIndex, const bool bIsAtRunStart, const bool bIsAtRunEnd, const bool bIsExtraSpaceNeeded)
bool IsExtraSpaceNeeded() const
bool mbIsExtraSpaceNeeded
const Point & GetTrailingOffset() const
Calculate the size and position of page objects displayed by a slide sorter.
sal_Int32 GetIndexAtPoint(const Point &rModelPosition, const bool bIncludePageBorders, const bool bClampToValidRange=true) const
Return the index of the page object that is rendered at the given point.
std::unique_ptr< Implementation > mpImplementation
InsertPosition GetInsertPosition(const Point &rModelPosition, const Size &rIndicatorSize, model::SlideSorterModel const &rModel) const
Return an object that describes the logical and visual properties of where to do an insert operation ...
sal_Int32 GetIndex(const sal_Int32 nRow, const sal_Int32 nColumn) const
Range GetValidVerticalSizeRange() const
std::shared_ptr< PageObjectLayouter > const & GetPageObjectLayouter() const
Range GetRangeOfVisiblePageObjects(const ::tools::Rectangle &rVisibleArea) const
Return the index of the first fully or partially visible page object.
void SetColumnCount(sal_Int32 nMinimalColumnCount, sal_Int32 nMaximalColumnCount)
Set the interval of valid column counts.
VclPtr< sd::Window > mpWindow
sal_Int32 GetColumnCount() const
Return the number of columns.
::tools::Rectangle GetPageObjectBox(const sal_Int32 nIndex, const bool bIncludeBorderAndGap) const
Return the bounding box in window coordinates of the nIndex-th page object.
bool Rearrange(const Orientation eOrientation, const Size &rWindowSize, const Size &rPreviewModelSize, const sal_uInt32 nPageCount)
Central method of this class.
::tools::Rectangle GetTotalBoundingBox() const
Return the bounding box in model coordinates of the page that contains the given amount of page objec...
Size const & GetPageObjectSize() const
Layouter(sd::Window *rpWindow, const std::shared_ptr< Theme > &rpTheme)
Range GetValidHorizontalSizeRange() const