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

Public Member Functions

 ArrayImpl (size_t nWidth, size_t nHeight)
 
bool IsValidPos (size_t nCol, size_t nRow) const
 
size_t GetIndex (size_t nCol, size_t nRow) const
 
const CellGetCell (size_t nCol, size_t nRow) const
 
CellGetCellAcc (size_t nCol, size_t nRow)
 
size_t GetMergedFirstCol (size_t nCol, size_t nRow) const
 
size_t GetMergedFirstRow (size_t nCol, size_t nRow) const
 
size_t GetMergedLastCol (size_t nCol, size_t nRow) const
 
size_t GetMergedLastRow (size_t nCol, size_t nRow) const
 
const CellGetMergedOriginCell (size_t nCol, size_t nRow) const
 
bool IsMergedOverlappedLeft (size_t nCol, size_t nRow) const
 
bool IsMergedOverlappedRight (size_t nCol, size_t nRow) const
 
bool IsMergedOverlappedTop (size_t nCol, size_t nRow) const
 
bool IsMergedOverlappedBottom (size_t nCol, size_t nRow) const
 
bool IsInClipRange (size_t nCol, size_t nRow) const
 
bool IsColInClipRange (size_t nCol) const
 
bool IsRowInClipRange (size_t nRow) const
 
size_t GetMirrorCol (size_t nCol) const
 
long GetColPosition (size_t nCol) const
 
long GetRowPosition (size_t nRow) const
 
bool HasCellRotation () const
 

Public Attributes

CellVec maCells
 
std::vector< long > maWidths
 
std::vector< long > maHeights
 
std::vector< long > maXCoords
 
std::vector< long > maYCoords
 
size_t const mnWidth
 
size_t const mnHeight
 
size_t mnFirstClipCol
 
size_t mnFirstClipRow
 
size_t mnLastClipCol
 
size_t mnLastClipRow
 
bool mbXCoordsDirty
 
bool mbYCoordsDirty
 
bool mbMayHaveCellRotation
 

Detailed Description

Definition at line 183 of file framelinkarray.cxx.

Constructor & Destructor Documentation

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

Definition at line 234 of file framelinkarray.cxx.

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

Member Function Documentation

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

Definition at line 258 of file framelinkarray.cxx.

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

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

Definition at line 204 of file framelinkarray.cxx.

Referenced by GetCell(), and GetCellAcc().

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

Definition at line 264 of file framelinkarray.cxx.

References GetCell().

Referenced by GetMergedOriginCell().

size_t svx::frame::ArrayImpl::GetMergedFirstRow ( size_t  nCol,
size_t  nRow 
) const

Definition at line 271 of file framelinkarray.cxx.

References GetCell().

Referenced by GetMergedOriginCell().

size_t svx::frame::ArrayImpl::GetMergedLastCol ( size_t  nCol,
size_t  nRow 
) const

Definition at line 278 of file framelinkarray.cxx.

References GetCell(), and mnWidth.

size_t svx::frame::ArrayImpl::GetMergedLastRow ( size_t  nCol,
size_t  nRow 
) const

Definition at line 285 of file framelinkarray.cxx.

References GetCell(), and mnHeight.

const Cell & svx::frame::ArrayImpl::GetMergedOriginCell ( size_t  nCol,
size_t  nRow 
) const

Definition at line 292 of file framelinkarray.cxx.

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

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

Definition at line 226 of file framelinkarray.cxx.

long svx::frame::ArrayImpl::GetRowPosition ( size_t  nRow) const
bool svx::frame::ArrayImpl::HasCellRotation ( ) const

Definition at line 354 of file framelinkarray.cxx.

References maCells.

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

Definition at line 319 of file framelinkarray.cxx.

References mnFirstClipCol, and mnLastClipCol.

Referenced by IsInClipRange().

bool svx::frame::ArrayImpl::IsInClipRange ( size_t  nCol,
size_t  nRow 
) const

Definition at line 329 of file framelinkarray.cxx.

References IsColInClipRange(), and IsRowInClipRange().

bool svx::frame::ArrayImpl::IsMergedOverlappedBottom ( size_t  nCol,
size_t  nRow 
) const
bool svx::frame::ArrayImpl::IsMergedOverlappedLeft ( size_t  nCol,
size_t  nRow 
) const
bool svx::frame::ArrayImpl::IsMergedOverlappedRight ( size_t  nCol,
size_t  nRow 
) const
bool svx::frame::ArrayImpl::IsMergedOverlappedTop ( size_t  nCol,
size_t  nRow 
) const
bool svx::frame::ArrayImpl::IsRowInClipRange ( size_t  nRow) const

Definition at line 324 of file framelinkarray.cxx.

References mnFirstClipRow, and mnLastClipRow.

Referenced by IsInClipRange().

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

Definition at line 202 of file framelinkarray.cxx.

References mnHeight.

Referenced by GetCell(), and GetCellAcc().

Member Data Documentation

CellVec svx::frame::ArrayImpl::maCells

Definition at line 185 of file framelinkarray.cxx.

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

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

Definition at line 187 of file framelinkarray.cxx.

Referenced by ArrayImpl(), and GetRowPosition().

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

Definition at line 186 of file framelinkarray.cxx.

Referenced by ArrayImpl(), and GetColPosition().

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

Definition at line 188 of file framelinkarray.cxx.

Referenced by ArrayImpl(), and GetColPosition().

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

Definition at line 189 of file framelinkarray.cxx.

Referenced by ArrayImpl(), and GetRowPosition().

bool svx::frame::ArrayImpl::mbMayHaveCellRotation

Definition at line 198 of file framelinkarray.cxx.

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

Definition at line 196 of file framelinkarray.cxx.

Referenced by GetColPosition().

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

Definition at line 197 of file framelinkarray.cxx.

Referenced by GetRowPosition().

size_t svx::frame::ArrayImpl::mnFirstClipCol

Definition at line 192 of file framelinkarray.cxx.

Referenced by IsColInClipRange().

size_t svx::frame::ArrayImpl::mnFirstClipRow

Definition at line 193 of file framelinkarray.cxx.

Referenced by IsRowInClipRange().

size_t const svx::frame::ArrayImpl::mnHeight

Definition at line 191 of file framelinkarray.cxx.

Referenced by ArrayImpl(), GetMergedLastRow(), and IsValidPos().

size_t svx::frame::ArrayImpl::mnLastClipCol

Definition at line 194 of file framelinkarray.cxx.

Referenced by IsColInClipRange().

size_t svx::frame::ArrayImpl::mnLastClipRow

Definition at line 195 of file framelinkarray.cxx.

Referenced by IsRowInClipRange().

size_t const svx::frame::ArrayImpl::mnWidth

Definition at line 190 of file framelinkarray.cxx.

Referenced by ArrayImpl(), and GetMergedLastCol().


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