LibreOffice Module svx (master) 1
|
Public Member Functions | |
ArrayImpl (sal_Int32 nWidth, sal_Int32 nHeight) | |
bool | IsValidPos (sal_Int32 nCol, sal_Int32 nRow) const |
sal_Int32 | GetIndex (sal_Int32 nCol, sal_Int32 nRow) const |
const Cell & | GetCell (sal_Int32 nCol, sal_Int32 nRow) const |
Cell & | GetCellAcc (sal_Int32 nCol, sal_Int32 nRow) |
sal_Int32 | GetMergedFirstCol (sal_Int32 nCol, sal_Int32 nRow) const |
sal_Int32 | GetMergedFirstRow (sal_Int32 nCol, sal_Int32 nRow) const |
sal_Int32 | GetMergedLastCol (sal_Int32 nCol, sal_Int32 nRow) const |
sal_Int32 | GetMergedLastRow (sal_Int32 nCol, sal_Int32 nRow) const |
const Cell & | GetMergedOriginCell (sal_Int32 nCol, sal_Int32 nRow) const |
const Cell & | GetMergedLastCell (sal_Int32 nCol, sal_Int32 nRow) const |
bool | IsMergedOverlappedLeft (sal_Int32 nCol, sal_Int32 nRow) const |
bool | IsMergedOverlappedRight (sal_Int32 nCol, sal_Int32 nRow) const |
bool | IsMergedOverlappedTop (sal_Int32 nCol, sal_Int32 nRow) const |
bool | IsMergedOverlappedBottom (sal_Int32 nCol, sal_Int32 nRow) const |
bool | IsInClipRange (sal_Int32 nCol, sal_Int32 nRow) const |
bool | IsColInClipRange (sal_Int32 nCol) const |
bool | IsRowInClipRange (sal_Int32 nRow) const |
bool | OverlapsClipRange (sal_Int32 nFirstCol, sal_Int32 nFirstRow, sal_Int32 nLastCol, sal_Int32 nLastRow) const |
sal_Int32 | GetMirrorCol (sal_Int32 nCol) const |
sal_Int32 | GetColPosition (sal_Int32 nCol) const |
sal_Int32 | GetRowPosition (sal_Int32 nRow) const |
bool | HasCellRotation () const |
Public Attributes | |
CellVec | maCells |
std::vector< sal_Int32 > | maWidths |
std::vector< sal_Int32 > | maHeights |
std::vector< sal_Int32 > | maXCoords |
std::vector< sal_Int32 > | maYCoords |
sal_Int32 | mnWidth |
sal_Int32 | mnHeight |
sal_Int32 | mnFirstClipCol |
sal_Int32 | mnFirstClipRow |
sal_Int32 | mnLastClipCol |
sal_Int32 | mnLastClipRow |
bool | mbXCoordsDirty |
bool | mbYCoordsDirty |
bool | mbMayHaveCellRotation |
Definition at line 252 of file framelinkarray.cxx.
|
explicit |
const Cell & svx::frame::ArrayImpl::GetCell | ( | sal_Int32 | nCol, |
sal_Int32 | nRow | ||
) | const |
Definition at line 325 of file framelinkarray.cxx.
References Cell, GetIndex(), IsValidPos(), maCells, and svx::frame::OBJ_CELL_NONE.
Referenced by GetMergedFirstCol(), GetMergedFirstRow(), GetMergedLastCell(), GetMergedLastCol(), GetMergedLastRow(), GetMergedOriginCell(), IsMergedOverlappedBottom(), IsMergedOverlappedLeft(), IsMergedOverlappedRight(), and IsMergedOverlappedTop().
Cell & svx::frame::ArrayImpl::GetCellAcc | ( | sal_Int32 | nCol, |
sal_Int32 | nRow | ||
) |
Definition at line 330 of file framelinkarray.cxx.
References Cell, GetIndex(), IsValidPos(), and maCells.
sal_Int32 svx::frame::ArrayImpl::GetColPosition | ( | sal_Int32 | nCol | ) | const |
Definition at line 428 of file framelinkarray.cxx.
References svx::frame::lclRecalcCoordVec(), maWidths, maXCoords, and mbXCoordsDirty.
|
inline |
Definition at line 273 of file framelinkarray.cxx.
References mnWidth.
Referenced by GetCell(), and GetCellAcc().
sal_Int32 svx::frame::ArrayImpl::GetMergedFirstCol | ( | sal_Int32 | nCol, |
sal_Int32 | nRow | ||
) | const |
Definition at line 336 of file framelinkarray.cxx.
References GetCell(), and mbOverlapX.
Referenced by GetMergedOriginCell().
sal_Int32 svx::frame::ArrayImpl::GetMergedFirstRow | ( | sal_Int32 | nCol, |
sal_Int32 | nRow | ||
) | const |
Definition at line 343 of file framelinkarray.cxx.
References GetCell(), and mbOverlapY.
Referenced by GetMergedOriginCell().
const Cell & svx::frame::ArrayImpl::GetMergedLastCell | ( | sal_Int32 | nCol, |
sal_Int32 | nRow | ||
) | const |
Definition at line 369 of file framelinkarray.cxx.
References Cell, GetCell(), GetMergedLastCol(), and GetMergedLastRow().
sal_Int32 svx::frame::ArrayImpl::GetMergedLastCol | ( | sal_Int32 | nCol, |
sal_Int32 | nRow | ||
) | const |
Definition at line 350 of file framelinkarray.cxx.
References GetCell(), mbOverlapX, and mnWidth.
Referenced by GetMergedLastCell().
sal_Int32 svx::frame::ArrayImpl::GetMergedLastRow | ( | sal_Int32 | nCol, |
sal_Int32 | nRow | ||
) | const |
Definition at line 357 of file framelinkarray.cxx.
References GetCell(), mbOverlapY, and mnHeight.
Referenced by GetMergedLastCell().
const Cell & svx::frame::ArrayImpl::GetMergedOriginCell | ( | sal_Int32 | nCol, |
sal_Int32 | nRow | ||
) | const |
Definition at line 364 of file framelinkarray.cxx.
References Cell, GetCell(), GetMergedFirstCol(), and GetMergedFirstRow().
|
inline |
Definition at line 298 of file framelinkarray.cxx.
References mnWidth.
sal_Int32 svx::frame::ArrayImpl::GetRowPosition | ( | sal_Int32 | nRow | ) | const |
Definition at line 438 of file framelinkarray.cxx.
References svx::frame::lclRecalcCoordVec(), maHeights, maYCoords, and mbYCoordsDirty.
bool svx::frame::ArrayImpl::HasCellRotation | ( | ) | const |
Definition at line 448 of file framelinkarray.cxx.
References maCells.
bool svx::frame::ArrayImpl::IsColInClipRange | ( | sal_Int32 | nCol | ) | const |
Definition at line 396 of file framelinkarray.cxx.
References mnFirstClipCol, and mnLastClipCol.
Referenced by IsInClipRange().
bool svx::frame::ArrayImpl::IsInClipRange | ( | sal_Int32 | nCol, |
sal_Int32 | nRow | ||
) | const |
Definition at line 423 of file framelinkarray.cxx.
References IsColInClipRange(), and IsRowInClipRange().
bool svx::frame::ArrayImpl::IsMergedOverlappedBottom | ( | sal_Int32 | nCol, |
sal_Int32 | nRow | ||
) | const |
Definition at line 391 of file framelinkarray.cxx.
References GetCell().
bool svx::frame::ArrayImpl::IsMergedOverlappedLeft | ( | sal_Int32 | nCol, |
sal_Int32 | nRow | ||
) | const |
Definition at line 374 of file framelinkarray.cxx.
bool svx::frame::ArrayImpl::IsMergedOverlappedRight | ( | sal_Int32 | nCol, |
sal_Int32 | nRow | ||
) | const |
Definition at line 380 of file framelinkarray.cxx.
References GetCell().
bool svx::frame::ArrayImpl::IsMergedOverlappedTop | ( | sal_Int32 | nCol, |
sal_Int32 | nRow | ||
) | const |
Definition at line 385 of file framelinkarray.cxx.
bool svx::frame::ArrayImpl::IsRowInClipRange | ( | sal_Int32 | nRow | ) | const |
Definition at line 401 of file framelinkarray.cxx.
References mnFirstClipRow, and mnLastClipRow.
Referenced by IsInClipRange().
|
inline |
Definition at line 271 of file framelinkarray.cxx.
References mnHeight, and mnWidth.
Referenced by GetCell(), and GetCellAcc().
bool svx::frame::ArrayImpl::OverlapsClipRange | ( | sal_Int32 | nFirstCol, |
sal_Int32 | nFirstRow, | ||
sal_Int32 | nLastCol, | ||
sal_Int32 | nLastRow | ||
) | const |
Definition at line 406 of file framelinkarray.cxx.
References mnFirstClipCol, mnFirstClipRow, mnLastClipCol, and mnLastClipRow.
CellVec svx::frame::ArrayImpl::maCells |
Definition at line 254 of file framelinkarray.cxx.
Referenced by ArrayImpl(), GetCell(), GetCellAcc(), and HasCellRotation().
std::vector<sal_Int32> svx::frame::ArrayImpl::maHeights |
Definition at line 256 of file framelinkarray.cxx.
Referenced by ArrayImpl(), and GetRowPosition().
std::vector<sal_Int32> svx::frame::ArrayImpl::maWidths |
Definition at line 255 of file framelinkarray.cxx.
Referenced by ArrayImpl(), and GetColPosition().
|
mutable |
Definition at line 257 of file framelinkarray.cxx.
Referenced by ArrayImpl(), and GetColPosition().
|
mutable |
Definition at line 258 of file framelinkarray.cxx.
Referenced by ArrayImpl(), and GetRowPosition().
bool svx::frame::ArrayImpl::mbMayHaveCellRotation |
Definition at line 267 of file framelinkarray.cxx.
|
mutable |
Definition at line 265 of file framelinkarray.cxx.
Referenced by GetColPosition().
|
mutable |
Definition at line 266 of file framelinkarray.cxx.
Referenced by GetRowPosition().
sal_Int32 svx::frame::ArrayImpl::mnFirstClipCol |
Definition at line 261 of file framelinkarray.cxx.
Referenced by IsColInClipRange(), and OverlapsClipRange().
sal_Int32 svx::frame::ArrayImpl::mnFirstClipRow |
Definition at line 262 of file framelinkarray.cxx.
Referenced by IsRowInClipRange(), and OverlapsClipRange().
sal_Int32 svx::frame::ArrayImpl::mnHeight |
Definition at line 260 of file framelinkarray.cxx.
Referenced by ArrayImpl(), and GetMergedLastRow().
sal_Int32 svx::frame::ArrayImpl::mnLastClipCol |
Definition at line 263 of file framelinkarray.cxx.
Referenced by IsColInClipRange(), and OverlapsClipRange().
sal_Int32 svx::frame::ArrayImpl::mnLastClipRow |
Definition at line 264 of file framelinkarray.cxx.
Referenced by IsRowInClipRange(), and OverlapsClipRange().
sal_Int32 svx::frame::ArrayImpl::mnWidth |
Definition at line 259 of file framelinkarray.cxx.
Referenced by ArrayImpl(), and GetMergedLastCol().