LibreOffice Module svx (master) 1
Public Member Functions | Public Attributes | List of all members
svx::frame::ArrayImpl Struct Reference

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 CellGetCell (sal_Int32 nCol, sal_Int32 nRow) const
 
CellGetCellAcc (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 CellGetMergedOriginCell (sal_Int32 nCol, sal_Int32 nRow) const
 
const CellGetMergedLastCell (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
 

Detailed Description

Definition at line 252 of file framelinkarray.cxx.

Constructor & Destructor Documentation

◆ ArrayImpl()

svx::frame::ArrayImpl::ArrayImpl ( sal_Int32  nWidth,
sal_Int32  nHeight 
)
explicit

Definition at line 306 of file framelinkarray.cxx.

References maCells, maHeights, maWidths, maXCoords, maYCoords, mnHeight, mnHeight, mnWidth, and mnWidth.

Member Function Documentation

◆ GetCell()

const Cell & svx::frame::ArrayImpl::GetCell ( sal_Int32  nCol,
sal_Int32  nRow 
) const

◆ GetCellAcc()

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.

◆ GetColPosition()

sal_Int32 svx::frame::ArrayImpl::GetColPosition ( sal_Int32  nCol) const

◆ GetIndex()

sal_Int32 svx::frame::ArrayImpl::GetIndex ( sal_Int32  nCol,
sal_Int32  nRow 
) const
inline

Definition at line 273 of file framelinkarray.cxx.

References mnWidth.

Referenced by GetCell(), and GetCellAcc().

◆ GetMergedFirstCol()

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().

◆ GetMergedFirstRow()

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().

◆ GetMergedLastCell()

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().

◆ GetMergedLastCol()

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().

◆ GetMergedLastRow()

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().

◆ GetMergedOriginCell()

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().

◆ GetMirrorCol()

sal_Int32 svx::frame::ArrayImpl::GetMirrorCol ( sal_Int32  nCol) const
inline

Definition at line 298 of file framelinkarray.cxx.

References mnWidth.

◆ GetRowPosition()

sal_Int32 svx::frame::ArrayImpl::GetRowPosition ( sal_Int32  nRow) const

◆ HasCellRotation()

bool svx::frame::ArrayImpl::HasCellRotation ( ) const

Definition at line 448 of file framelinkarray.cxx.

References maCells.

◆ IsColInClipRange()

bool svx::frame::ArrayImpl::IsColInClipRange ( sal_Int32  nCol) const

Definition at line 396 of file framelinkarray.cxx.

References mnFirstClipCol, and mnLastClipCol.

Referenced by IsInClipRange().

◆ 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().

◆ IsMergedOverlappedBottom()

bool svx::frame::ArrayImpl::IsMergedOverlappedBottom ( sal_Int32  nCol,
sal_Int32  nRow 
) const

Definition at line 391 of file framelinkarray.cxx.

References GetCell().

◆ IsMergedOverlappedLeft()

bool svx::frame::ArrayImpl::IsMergedOverlappedLeft ( sal_Int32  nCol,
sal_Int32  nRow 
) const

Definition at line 374 of file framelinkarray.cxx.

References Cell, and GetCell().

◆ IsMergedOverlappedRight()

bool svx::frame::ArrayImpl::IsMergedOverlappedRight ( sal_Int32  nCol,
sal_Int32  nRow 
) const

Definition at line 380 of file framelinkarray.cxx.

References GetCell().

◆ IsMergedOverlappedTop()

bool svx::frame::ArrayImpl::IsMergedOverlappedTop ( sal_Int32  nCol,
sal_Int32  nRow 
) const

Definition at line 385 of file framelinkarray.cxx.

References Cell, and GetCell().

◆ IsRowInClipRange()

bool svx::frame::ArrayImpl::IsRowInClipRange ( sal_Int32  nRow) const

Definition at line 401 of file framelinkarray.cxx.

References mnFirstClipRow, and mnLastClipRow.

Referenced by IsInClipRange().

◆ IsValidPos()

bool svx::frame::ArrayImpl::IsValidPos ( sal_Int32  nCol,
sal_Int32  nRow 
) const
inline

Definition at line 271 of file framelinkarray.cxx.

References mnHeight, and mnWidth.

Referenced by GetCell(), and GetCellAcc().

◆ OverlapsClipRange()

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.

Member Data Documentation

◆ maCells

CellVec svx::frame::ArrayImpl::maCells

Definition at line 254 of file framelinkarray.cxx.

Referenced by ArrayImpl(), GetCell(), GetCellAcc(), and HasCellRotation().

◆ maHeights

std::vector<sal_Int32> svx::frame::ArrayImpl::maHeights

Definition at line 256 of file framelinkarray.cxx.

Referenced by ArrayImpl(), and GetRowPosition().

◆ maWidths

std::vector<sal_Int32> svx::frame::ArrayImpl::maWidths

Definition at line 255 of file framelinkarray.cxx.

Referenced by ArrayImpl(), and GetColPosition().

◆ maXCoords

std::vector<sal_Int32> svx::frame::ArrayImpl::maXCoords
mutable

Definition at line 257 of file framelinkarray.cxx.

Referenced by ArrayImpl(), and GetColPosition().

◆ maYCoords

std::vector<sal_Int32> svx::frame::ArrayImpl::maYCoords
mutable

Definition at line 258 of file framelinkarray.cxx.

Referenced by ArrayImpl(), and GetRowPosition().

◆ mbMayHaveCellRotation

bool svx::frame::ArrayImpl::mbMayHaveCellRotation

Definition at line 267 of file framelinkarray.cxx.

◆ mbXCoordsDirty

bool svx::frame::ArrayImpl::mbXCoordsDirty
mutable

Definition at line 265 of file framelinkarray.cxx.

Referenced by GetColPosition().

◆ mbYCoordsDirty

bool svx::frame::ArrayImpl::mbYCoordsDirty
mutable

Definition at line 266 of file framelinkarray.cxx.

Referenced by GetRowPosition().

◆ mnFirstClipCol

sal_Int32 svx::frame::ArrayImpl::mnFirstClipCol

Definition at line 261 of file framelinkarray.cxx.

Referenced by IsColInClipRange(), and OverlapsClipRange().

◆ mnFirstClipRow

sal_Int32 svx::frame::ArrayImpl::mnFirstClipRow

Definition at line 262 of file framelinkarray.cxx.

Referenced by IsRowInClipRange(), and OverlapsClipRange().

◆ mnHeight

sal_Int32 svx::frame::ArrayImpl::mnHeight

Definition at line 260 of file framelinkarray.cxx.

Referenced by ArrayImpl(), and GetMergedLastRow().

◆ mnLastClipCol

sal_Int32 svx::frame::ArrayImpl::mnLastClipCol

Definition at line 263 of file framelinkarray.cxx.

Referenced by IsColInClipRange(), and OverlapsClipRange().

◆ mnLastClipRow

sal_Int32 svx::frame::ArrayImpl::mnLastClipRow

Definition at line 264 of file framelinkarray.cxx.

Referenced by IsRowInClipRange(), and OverlapsClipRange().

◆ mnWidth

sal_Int32 svx::frame::ArrayImpl::mnWidth

Definition at line 259 of file framelinkarray.cxx.

Referenced by ArrayImpl(), and GetMergedLastCol().


The documentation for this struct was generated from the following file: