LibreOffice Module sd (master) 1
Public Member Functions | Private Attributes | List of all members
sd::slidesorter::view::InsertPosition Class Reference

Collect all values concerning the logical and visual properties of the insertion position that is used for drag-and-drop and copy-and-paste. More...

#include <SlsLayouter.hxx>

Collaboration diagram for sd::slidesorter::view::InsertPosition:
[legend]

Public Member Functions

 InsertPosition ()
 
bool operator== (const InsertPosition &rInsertPosition) const
 
bool operator!= (const InsertPosition &rInsertPosition) const
 
void SetLogicalPosition (const sal_Int32 nRow, const sal_Int32 nColumn, const sal_Int32 nIndex, const bool bIsAtRunStart, const bool bIsAtRunEnd, const bool bIsExtraSpaceNeeded)
 
void SetGeometricalPosition (const Point &rLocation, const Point &rLeadingOffset, const Point &rTrailingOffset)
 
sal_Int32 GetRow () const
 
sal_Int32 GetColumn () const
 
sal_Int32 GetIndex () const
 
const PointGetLocation () const
 
const PointGetLeadingOffset () const
 
const PointGetTrailingOffset () const
 
bool IsAtRunStart () const
 
bool IsAtRunEnd () const
 
bool IsExtraSpaceNeeded () const
 

Private Attributes

sal_Int32 mnRow
 
sal_Int32 mnColumn
 
sal_Int32 mnIndex
 
bool mbIsAtRunStart: 1
 
bool mbIsAtRunEnd: 1
 
bool mbIsExtraSpaceNeeded: 1
 
Point maLocation
 
Point maLeadingOffset
 
Point maTrailingOffset
 

Detailed Description

Collect all values concerning the logical and visual properties of the insertion position that is used for drag-and-drop and copy-and-paste.

Definition at line 194 of file SlsLayouter.hxx.

Constructor & Destructor Documentation

◆ InsertPosition()

sd::slidesorter::view::InsertPosition::InsertPosition ( )

Definition at line 1169 of file SlsLayouter.cxx.

References mnIndex, and mnRow.

Member Function Documentation

◆ GetColumn()

sal_Int32 sd::slidesorter::view::InsertPosition::GetColumn ( ) const
inline

Definition at line 214 of file SlsLayouter.hxx.

References mnColumn.

◆ GetIndex()

sal_Int32 sd::slidesorter::view::InsertPosition::GetIndex ( ) const
inline

◆ GetLeadingOffset()

const Point & sd::slidesorter::view::InsertPosition::GetLeadingOffset ( ) const
inline

Definition at line 217 of file SlsLayouter.hxx.

References maLeadingOffset.

◆ GetLocation()

const Point & sd::slidesorter::view::InsertPosition::GetLocation ( ) const
inline

◆ GetRow()

sal_Int32 sd::slidesorter::view::InsertPosition::GetRow ( ) const
inline

Definition at line 213 of file SlsLayouter.hxx.

References mnRow.

Referenced by sd::slidesorter::view::InsertAnimator::Implementation::GetRun().

◆ GetTrailingOffset()

const Point & sd::slidesorter::view::InsertPosition::GetTrailingOffset ( ) const
inline

Definition at line 218 of file SlsLayouter.hxx.

References maTrailingOffset.

◆ IsAtRunEnd()

bool sd::slidesorter::view::InsertPosition::IsAtRunEnd ( ) const
inline

◆ IsAtRunStart()

bool sd::slidesorter::view::InsertPosition::IsAtRunStart ( ) const
inline

◆ IsExtraSpaceNeeded()

bool sd::slidesorter::view::InsertPosition::IsExtraSpaceNeeded ( ) const
inline

◆ operator!=()

bool sd::slidesorter::view::InsertPosition::operator!= ( const InsertPosition rInsertPosition) const

Definition at line 1193 of file SlsLayouter.cxx.

References operator==().

◆ operator==()

bool sd::slidesorter::view::InsertPosition::operator== ( const InsertPosition rInsertPosition) const

Definition at line 1182 of file SlsLayouter.cxx.

References mbIsAtRunEnd, mbIsAtRunStart, mbIsExtraSpaceNeeded, mnColumn, mnIndex, and mnRow.

Referenced by operator!=().

◆ SetGeometricalPosition()

void sd::slidesorter::view::InsertPosition::SetGeometricalPosition ( const Point rLocation,
const Point rLeadingOffset,
const Point rTrailingOffset 
)

◆ SetLogicalPosition()

void sd::slidesorter::view::InsertPosition::SetLogicalPosition ( const sal_Int32  nRow,
const sal_Int32  nColumn,
const sal_Int32  nIndex,
const bool  bIsAtRunStart,
const bool  bIsAtRunEnd,
const bool  bIsExtraSpaceNeeded 
)

Member Data Documentation

◆ maLeadingOffset

Point sd::slidesorter::view::InsertPosition::maLeadingOffset
private

Definition at line 231 of file SlsLayouter.hxx.

Referenced by GetLeadingOffset(), and SetGeometricalPosition().

◆ maLocation

Point sd::slidesorter::view::InsertPosition::maLocation
private

Definition at line 230 of file SlsLayouter.hxx.

Referenced by GetLocation(), and SetGeometricalPosition().

◆ maTrailingOffset

Point sd::slidesorter::view::InsertPosition::maTrailingOffset
private

Definition at line 232 of file SlsLayouter.hxx.

Referenced by GetTrailingOffset(), and SetGeometricalPosition().

◆ mbIsAtRunEnd

bool sd::slidesorter::view::InsertPosition::mbIsAtRunEnd
private

Definition at line 228 of file SlsLayouter.hxx.

Referenced by IsAtRunEnd(), operator==(), and SetLogicalPosition().

◆ mbIsAtRunStart

bool sd::slidesorter::view::InsertPosition::mbIsAtRunStart
private

Definition at line 227 of file SlsLayouter.hxx.

Referenced by IsAtRunStart(), operator==(), and SetLogicalPosition().

◆ mbIsExtraSpaceNeeded

bool sd::slidesorter::view::InsertPosition::mbIsExtraSpaceNeeded
private

Definition at line 229 of file SlsLayouter.hxx.

Referenced by IsExtraSpaceNeeded(), operator==(), and SetLogicalPosition().

◆ mnColumn

sal_Int32 sd::slidesorter::view::InsertPosition::mnColumn
private

Definition at line 225 of file SlsLayouter.hxx.

Referenced by GetColumn(), operator==(), and SetLogicalPosition().

◆ mnIndex

sal_Int32 sd::slidesorter::view::InsertPosition::mnIndex
private

Definition at line 226 of file SlsLayouter.hxx.

Referenced by GetIndex(), operator==(), and SetLogicalPosition().

◆ mnRow

sal_Int32 sd::slidesorter::view::InsertPosition::mnRow
private

Definition at line 224 of file SlsLayouter.hxx.

Referenced by GetRow(), operator==(), and SetLogicalPosition().


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