LibreOffice Module sd (master) 1
|
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>
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 Point & | GetLocation () const |
const Point & | GetLeadingOffset () const |
const Point & | GetTrailingOffset () 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 |
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.
sd::slidesorter::view::InsertPosition::InsertPosition | ( | ) |
Definition at line 1169 of file SlsLayouter.cxx.
|
inline |
Definition at line 214 of file SlsLayouter.hxx.
References mnColumn.
|
inline |
Definition at line 215 of file SlsLayouter.hxx.
References mnIndex.
Referenced by sd::slidesorter::view::Layouter::Implementation::CalculateGeometricPosition(), sd::slidesorter::controller::InsertionIndicatorHandler::GetInsertionPageIndex(), and sd::slidesorter::controller::InsertionIndicatorHandler::SetPosition().
|
inline |
Definition at line 217 of file SlsLayouter.hxx.
References maLeadingOffset.
|
inline |
Definition at line 216 of file SlsLayouter.hxx.
References maLocation.
Referenced by sd::slidesorter::controller::InsertionIndicatorHandler::SetPosition().
|
inline |
Definition at line 213 of file SlsLayouter.hxx.
References mnRow.
Referenced by sd::slidesorter::view::InsertAnimator::Implementation::GetRun().
|
inline |
Definition at line 218 of file SlsLayouter.hxx.
References maTrailingOffset.
|
inline |
Definition at line 220 of file SlsLayouter.hxx.
References mbIsAtRunEnd.
Referenced by sd::slidesorter::view::Layouter::Implementation::CalculateGeometricPosition().
|
inline |
Definition at line 219 of file SlsLayouter.hxx.
References mbIsAtRunStart.
Referenced by sd::slidesorter::view::Layouter::Implementation::CalculateGeometricPosition().
|
inline |
Definition at line 221 of file SlsLayouter.hxx.
References mbIsExtraSpaceNeeded.
Referenced by sd::slidesorter::view::Layouter::Implementation::CalculateGeometricPosition().
bool sd::slidesorter::view::InsertPosition::operator!= | ( | const InsertPosition & | rInsertPosition | ) | const |
Definition at line 1193 of file SlsLayouter.cxx.
References 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!=().
void sd::slidesorter::view::InsertPosition::SetGeometricalPosition | ( | const Point & | rLocation, |
const Point & | rLeadingOffset, | ||
const Point & | rTrailingOffset | ||
) |
Definition at line 1214 of file SlsLayouter.cxx.
References maLeadingOffset, maLocation, and maTrailingOffset.
Referenced by sd::slidesorter::view::Layouter::Implementation::CalculateGeometricPosition().
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 | ||
) |
Definition at line 1198 of file SlsLayouter.cxx.
References mbIsAtRunEnd, mbIsAtRunStart, mbIsExtraSpaceNeeded, mnColumn, mnIndex, mnRow, and nIndex.
Referenced by sd::slidesorter::view::Layouter::Implementation::CalculateVerticalLogicalInsertPosition().
|
private |
Definition at line 231 of file SlsLayouter.hxx.
Referenced by GetLeadingOffset(), and SetGeometricalPosition().
|
private |
Definition at line 230 of file SlsLayouter.hxx.
Referenced by GetLocation(), and SetGeometricalPosition().
|
private |
Definition at line 232 of file SlsLayouter.hxx.
Referenced by GetTrailingOffset(), and SetGeometricalPosition().
|
private |
Definition at line 228 of file SlsLayouter.hxx.
Referenced by IsAtRunEnd(), operator==(), and SetLogicalPosition().
|
private |
Definition at line 227 of file SlsLayouter.hxx.
Referenced by IsAtRunStart(), operator==(), and SetLogicalPosition().
|
private |
Definition at line 229 of file SlsLayouter.hxx.
Referenced by IsExtraSpaceNeeded(), operator==(), and SetLogicalPosition().
|
private |
Definition at line 225 of file SlsLayouter.hxx.
Referenced by GetColumn(), operator==(), and SetLogicalPosition().
|
private |
Definition at line 226 of file SlsLayouter.hxx.
Referenced by GetIndex(), operator==(), and SetLogicalPosition().
|
private |
Definition at line 224 of file SlsLayouter.hxx.
Referenced by GetRow(), operator==(), and SetLogicalPosition().