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 230 of file framelinkarray.cxx.

Constructor & Destructor Documentation

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

Definition at line 284 of file framelinkarray.cxx.

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

Member Function Documentation

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

Definition at line 308 of file framelinkarray.cxx.

References Cell, GetIndex(), IsValidPos(), and maCells.

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

Definition at line 251 of file framelinkarray.cxx.

Referenced by GetCell(), and GetCellAcc().

sal_Int32 svx::frame::ArrayImpl::GetMergedFirstCol ( sal_Int32  nCol,
sal_Int32  nRow 
) const

Definition at line 314 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 321 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 347 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 328 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 335 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 342 of file framelinkarray.cxx.

References Cell, GetCell(), GetMergedFirstCol(), and GetMergedFirstRow().

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

Definition at line 276 of file framelinkarray.cxx.

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

Definition at line 426 of file framelinkarray.cxx.

References maCells.

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

Definition at line 374 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 401 of file framelinkarray.cxx.

References IsColInClipRange(), and IsRowInClipRange().

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

Definition at line 369 of file framelinkarray.cxx.

References GetCell().

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

Definition at line 352 of file framelinkarray.cxx.

References Cell, and GetCell().

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

Definition at line 358 of file framelinkarray.cxx.

References GetCell().

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

Definition at line 363 of file framelinkarray.cxx.

References Cell, and GetCell().

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

Definition at line 379 of file framelinkarray.cxx.

References mnFirstClipRow, and mnLastClipRow.

Referenced by IsInClipRange().

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

Definition at line 249 of file framelinkarray.cxx.

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 384 of file framelinkarray.cxx.

References mnFirstClipCol, mnFirstClipRow, mnLastClipCol, and mnLastClipRow.

Member Data Documentation

CellVec svx::frame::ArrayImpl::maCells

Definition at line 232 of file framelinkarray.cxx.

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

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

Definition at line 234 of file framelinkarray.cxx.

Referenced by ArrayImpl(), and GetRowPosition().

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

Definition at line 233 of file framelinkarray.cxx.

Referenced by ArrayImpl(), and GetColPosition().

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

Definition at line 235 of file framelinkarray.cxx.

Referenced by ArrayImpl(), and GetColPosition().

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

Definition at line 236 of file framelinkarray.cxx.

Referenced by ArrayImpl(), and GetRowPosition().

bool svx::frame::ArrayImpl::mbMayHaveCellRotation

Definition at line 245 of file framelinkarray.cxx.

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

Definition at line 243 of file framelinkarray.cxx.

Referenced by GetColPosition().

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

Definition at line 244 of file framelinkarray.cxx.

Referenced by GetRowPosition().

sal_Int32 svx::frame::ArrayImpl::mnFirstClipCol

Definition at line 239 of file framelinkarray.cxx.

Referenced by IsColInClipRange(), and OverlapsClipRange().

sal_Int32 svx::frame::ArrayImpl::mnFirstClipRow

Definition at line 240 of file framelinkarray.cxx.

Referenced by IsRowInClipRange(), and OverlapsClipRange().

sal_Int32 svx::frame::ArrayImpl::mnHeight

Definition at line 238 of file framelinkarray.cxx.

Referenced by ArrayImpl(), and GetMergedLastRow().

sal_Int32 svx::frame::ArrayImpl::mnLastClipCol

Definition at line 241 of file framelinkarray.cxx.

Referenced by IsColInClipRange(), and OverlapsClipRange().

sal_Int32 svx::frame::ArrayImpl::mnLastClipRow

Definition at line 242 of file framelinkarray.cxx.

Referenced by IsRowInClipRange(), and OverlapsClipRange().

sal_Int32 svx::frame::ArrayImpl::mnWidth

Definition at line 237 of file framelinkarray.cxx.

Referenced by ArrayImpl(), and GetMergedLastCol().


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