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 |
void | PutCell (sal_Int32 nCol, sal_Int32 nRow, const Cell &) |
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 | |
rtl::Reference< SfxItemPool > | mxPool |
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 283 of file framelinkarray.cxx.
|
explicit |
const Cell & svx::frame::ArrayImpl::GetCell | ( | sal_Int32 | nCol, |
sal_Int32 | nRow | ||
) | const |
Definition at line 363 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().
sal_Int32 svx::frame::ArrayImpl::GetColPosition | ( | sal_Int32 | nCol | ) | const |
Definition at line 466 of file framelinkarray.cxx.
References svx::frame::lclRecalcCoordVec(), maWidths, maXCoords, and mbXCoordsDirty.
|
inline |
Definition at line 306 of file framelinkarray.cxx.
References mnWidth.
sal_Int32 svx::frame::ArrayImpl::GetMergedFirstCol | ( | sal_Int32 | nCol, |
sal_Int32 | nRow | ||
) | const |
Definition at line 374 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 381 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 407 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 388 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 395 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 402 of file framelinkarray.cxx.
References Cell, GetCell(), GetMergedFirstCol(), and GetMergedFirstRow().
|
inline |
Definition at line 331 of file framelinkarray.cxx.
References mnWidth.
sal_Int32 svx::frame::ArrayImpl::GetRowPosition | ( | sal_Int32 | nRow | ) | const |
Definition at line 476 of file framelinkarray.cxx.
References svx::frame::lclRecalcCoordVec(), maHeights, maYCoords, and mbYCoordsDirty.
bool svx::frame::ArrayImpl::HasCellRotation | ( | ) | const |
Definition at line 486 of file framelinkarray.cxx.
References maCells.
bool svx::frame::ArrayImpl::IsColInClipRange | ( | sal_Int32 | nCol | ) | const |
Definition at line 434 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 461 of file framelinkarray.cxx.
References IsColInClipRange(), and IsRowInClipRange().
bool svx::frame::ArrayImpl::IsMergedOverlappedBottom | ( | sal_Int32 | nCol, |
sal_Int32 | nRow | ||
) | const |
Definition at line 429 of file framelinkarray.cxx.
References GetCell().
bool svx::frame::ArrayImpl::IsMergedOverlappedLeft | ( | sal_Int32 | nCol, |
sal_Int32 | nRow | ||
) | const |
Definition at line 412 of file framelinkarray.cxx.
bool svx::frame::ArrayImpl::IsMergedOverlappedRight | ( | sal_Int32 | nCol, |
sal_Int32 | nRow | ||
) | const |
Definition at line 418 of file framelinkarray.cxx.
References GetCell().
bool svx::frame::ArrayImpl::IsMergedOverlappedTop | ( | sal_Int32 | nCol, |
sal_Int32 | nRow | ||
) | const |
Definition at line 423 of file framelinkarray.cxx.
bool svx::frame::ArrayImpl::IsRowInClipRange | ( | sal_Int32 | nRow | ) | const |
Definition at line 439 of file framelinkarray.cxx.
References mnFirstClipRow, and mnLastClipRow.
Referenced by IsInClipRange().
|
inline |
bool svx::frame::ArrayImpl::OverlapsClipRange | ( | sal_Int32 | nFirstCol, |
sal_Int32 | nFirstRow, | ||
sal_Int32 | nLastCol, | ||
sal_Int32 | nLastRow | ||
) | const |
Definition at line 444 of file framelinkarray.cxx.
References mnFirstClipCol, mnFirstClipRow, mnLastClipCol, and mnLastClipRow.
void svx::frame::ArrayImpl::PutCell | ( | sal_Int32 | nCol, |
sal_Int32 | nRow, | ||
const Cell & | rCell | ||
) |
Definition at line 368 of file framelinkarray.cxx.
References GetIndex(), IsValidPos(), maCells, and mxPool.
CellVec svx::frame::ArrayImpl::maCells |
Definition at line 287 of file framelinkarray.cxx.
Referenced by ArrayImpl(), GetCell(), HasCellRotation(), and PutCell().
std::vector<sal_Int32> svx::frame::ArrayImpl::maHeights |
Definition at line 289 of file framelinkarray.cxx.
Referenced by ArrayImpl(), and GetRowPosition().
std::vector<sal_Int32> svx::frame::ArrayImpl::maWidths |
Definition at line 288 of file framelinkarray.cxx.
Referenced by ArrayImpl(), and GetColPosition().
|
mutable |
Definition at line 290 of file framelinkarray.cxx.
Referenced by ArrayImpl(), and GetColPosition().
|
mutable |
Definition at line 291 of file framelinkarray.cxx.
Referenced by ArrayImpl(), and GetRowPosition().
bool svx::frame::ArrayImpl::mbMayHaveCellRotation |
Definition at line 300 of file framelinkarray.cxx.
|
mutable |
Definition at line 298 of file framelinkarray.cxx.
Referenced by GetColPosition().
|
mutable |
Definition at line 299 of file framelinkarray.cxx.
Referenced by GetRowPosition().
sal_Int32 svx::frame::ArrayImpl::mnFirstClipCol |
Definition at line 294 of file framelinkarray.cxx.
Referenced by IsColInClipRange(), and OverlapsClipRange().
sal_Int32 svx::frame::ArrayImpl::mnFirstClipRow |
Definition at line 295 of file framelinkarray.cxx.
Referenced by IsRowInClipRange(), and OverlapsClipRange().
sal_Int32 svx::frame::ArrayImpl::mnHeight |
Definition at line 293 of file framelinkarray.cxx.
Referenced by ArrayImpl(), and GetMergedLastRow().
sal_Int32 svx::frame::ArrayImpl::mnLastClipCol |
Definition at line 296 of file framelinkarray.cxx.
Referenced by IsColInClipRange(), and OverlapsClipRange().
sal_Int32 svx::frame::ArrayImpl::mnLastClipRow |
Definition at line 297 of file framelinkarray.cxx.
Referenced by IsRowInClipRange(), and OverlapsClipRange().
sal_Int32 svx::frame::ArrayImpl::mnWidth |
Definition at line 292 of file framelinkarray.cxx.
Referenced by ArrayImpl(), and GetMergedLastCol().
rtl::Reference<SfxItemPool> svx::frame::ArrayImpl::mxPool |
Definition at line 286 of file framelinkarray.cxx.
Referenced by ArrayImpl(), and PutCell().