LibreOffice Module svx (master) 1
Public Member Functions | Public Attributes | List of all members
svx::frame::ArrayImpl Struct Reference
Collaboration diagram for svx::frame::ArrayImpl:
[legend]

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
 
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 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

rtl::Reference< SfxItemPoolmxPool
 
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 283 of file framelinkarray.cxx.

Constructor & Destructor Documentation

◆ ArrayImpl()

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

Member Function Documentation

◆ GetCell()

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

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

References mnWidth.

Referenced by GetCell(), and PutCell().

◆ GetMergedFirstCol()

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

◆ GetMergedFirstRow()

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

◆ GetMergedLastCell()

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

◆ GetMergedLastCol()

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

◆ GetMergedLastRow()

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

◆ GetMergedOriginCell()

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

◆ GetMirrorCol()

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

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

References maCells.

◆ IsColInClipRange()

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

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

References IsColInClipRange(), and IsRowInClipRange().

◆ IsMergedOverlappedBottom()

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

Definition at line 429 of file framelinkarray.cxx.

References GetCell().

◆ IsMergedOverlappedLeft()

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

Definition at line 412 of file framelinkarray.cxx.

References Cell, and GetCell().

◆ IsMergedOverlappedRight()

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

Definition at line 418 of file framelinkarray.cxx.

References GetCell().

◆ IsMergedOverlappedTop()

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

Definition at line 423 of file framelinkarray.cxx.

References Cell, and GetCell().

◆ IsRowInClipRange()

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

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

References mnHeight, and mnWidth.

Referenced by GetCell(), and PutCell().

◆ OverlapsClipRange()

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.

◆ PutCell()

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.

Member Data Documentation

◆ maCells

CellVec svx::frame::ArrayImpl::maCells

Definition at line 287 of file framelinkarray.cxx.

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

◆ maHeights

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

Definition at line 289 of file framelinkarray.cxx.

Referenced by ArrayImpl(), and GetRowPosition().

◆ maWidths

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

Definition at line 288 of file framelinkarray.cxx.

Referenced by ArrayImpl(), and GetColPosition().

◆ maXCoords

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

Definition at line 290 of file framelinkarray.cxx.

Referenced by ArrayImpl(), and GetColPosition().

◆ maYCoords

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

Definition at line 291 of file framelinkarray.cxx.

Referenced by ArrayImpl(), and GetRowPosition().

◆ mbMayHaveCellRotation

bool svx::frame::ArrayImpl::mbMayHaveCellRotation

Definition at line 300 of file framelinkarray.cxx.

◆ mbXCoordsDirty

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

Definition at line 298 of file framelinkarray.cxx.

Referenced by GetColPosition().

◆ mbYCoordsDirty

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

Definition at line 299 of file framelinkarray.cxx.

Referenced by GetRowPosition().

◆ mnFirstClipCol

sal_Int32 svx::frame::ArrayImpl::mnFirstClipCol

Definition at line 294 of file framelinkarray.cxx.

Referenced by IsColInClipRange(), and OverlapsClipRange().

◆ mnFirstClipRow

sal_Int32 svx::frame::ArrayImpl::mnFirstClipRow

Definition at line 295 of file framelinkarray.cxx.

Referenced by IsRowInClipRange(), and OverlapsClipRange().

◆ mnHeight

sal_Int32 svx::frame::ArrayImpl::mnHeight

Definition at line 293 of file framelinkarray.cxx.

Referenced by ArrayImpl(), and GetMergedLastRow().

◆ mnLastClipCol

sal_Int32 svx::frame::ArrayImpl::mnLastClipCol

Definition at line 296 of file framelinkarray.cxx.

Referenced by IsColInClipRange(), and OverlapsClipRange().

◆ mnLastClipRow

sal_Int32 svx::frame::ArrayImpl::mnLastClipRow

Definition at line 297 of file framelinkarray.cxx.

Referenced by IsRowInClipRange(), and OverlapsClipRange().

◆ mnWidth

sal_Int32 svx::frame::ArrayImpl::mnWidth

Definition at line 292 of file framelinkarray.cxx.

Referenced by ArrayImpl(), and GetMergedLastCol().

◆ mxPool

rtl::Reference<SfxItemPool> svx::frame::ArrayImpl::mxPool

Definition at line 286 of file framelinkarray.cxx.

Referenced by ArrayImpl(), and PutCell().


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