LibreOffice Module sc (master)  1
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ScColumnData Class Reference

#include <column.hxx>

Inheritance diagram for ScColumnData:
[legend]

Public Member Functions

 ScColumnData ()=default
 
void InitAttrArray (ScAttrArray *attrArray)
 
ScDocumentGetDoc () const
 
ScAttrArrayAttrArray ()
 
const ScAttrArrayAttrArray () const
 
const SfxPoolItemGetAttr (SCROW nRow, sal_uInt16 nWhich) const
 
template<class T >
const T & GetAttr (SCROW nRow, TypedWhichId< T > nWhich) const
 
const SfxPoolItemGetAttr (SCROW nRow, sal_uInt16 nWhich, SCROW &nStartRow, SCROW &nEndRow) const
 
template<class T >
const T & GetAttr (SCROW nRow, TypedWhichId< T > nWhich, SCROW &nStartRow, SCROW &nEndRow) const
 
void SetAttrEntries (std::vector< ScAttrEntry > &&vNewData)
 
const ScPatternAttrGetPattern (SCROW nRow) const
 
const ScPatternAttrGetMostUsedPattern (SCROW nStartRow, SCROW nEndRow) const
 
SCROW ApplySelectionCache (SfxItemPoolCache *pCache, const ScMarkData &rMark, ScEditDataArray *pDataArray, bool *const pIsChanged, SCCOL nCol)
 
void ApplyPatternArea (SCROW nStartRow, SCROW nEndRow, const ScPatternAttr &rPatAttr, ScEditDataArray *pDataArray=nullptr, bool *const pIsChanged=nullptr)
 
void MergePatternArea (ScMergePatternState &rState, SCROW nRow1, SCROW nRow2, bool bDeep) const
 
sal_uInt32 GetNumberFormat (const ScInterpreterContext &rContext, SCROW nRow) const
 
sal_uInt32 GetNumberFormat (SCROW nStartRow, SCROW nEndRow) const
 
SCROW GetNextUnprotected (SCROW nRow, bool bUp) const
 Including current, may return -1. More...
 
const ScStyleSheetGetStyle (SCROW nRow) const
 
void ApplyStyleArea (SCROW nStartRow, SCROW nEndRow, const ScStyleSheet &rStyle)
 
bool HasAttrib (SCROW nRow1, SCROW nRow2, HasAttrFlags nMask) const
 
bool HasAttrib (SCROW nRow, HasAttrFlags nMask, SCROW *nStartRow=nullptr, SCROW *nEndRow=nullptr) const
 
std::unique_ptr< ScAttrIteratorCreateAttrIterator (SCROW nStartRow, SCROW nEndRow) const
 
bool IsAllAttrEqual (const ScColumnData &rCol, SCROW nStartRow, SCROW nEndRow) const
 
void ClearSelectionItems (const sal_uInt16 *pWhich, const ScMarkData &rMark, SCCOL nCol)
 
void ChangeSelectionIndent (bool bIncrement, const ScMarkData &rMark, SCCOL nCol)
 
bool TestInsertRow (SCSIZE nSize) const
 
void InsertRow (SCROW nStartRow, SCSIZE nSize)
 

Protected Member Functions

 ScColumnData (const ScColumnData &)=delete
 
ScColumnDataoperator= (const ScColumnData &)=delete
 

Protected Attributes

std::unique_ptr< ScAttrArraypAttrArray
 

Detailed Description

Definition at line 115 of file column.hxx.

Constructor & Destructor Documentation

ScColumnData::ScColumnData ( const ScColumnData )
protecteddelete
ScColumnData::ScColumnData ( )
default

Member Function Documentation

void ScColumnData::ApplyPatternArea ( SCROW  nStartRow,
SCROW  nEndRow,
const ScPatternAttr rPatAttr,
ScEditDataArray pDataArray = nullptr,
bool *const  pIsChanged = nullptr 
)
SCROW ScColumnData::ApplySelectionCache ( SfxItemPoolCache pCache,
const ScMarkData rMark,
ScEditDataArray pDataArray,
bool *const  pIsChanged,
SCCOL  nCol 
)
void ScColumnData::ApplyStyleArea ( SCROW  nStartRow,
SCROW  nEndRow,
const ScStyleSheet rStyle 
)
inline

Definition at line 984 of file column.hxx.

References pAttrArray.

Referenced by ScTable::ApplyStyleArea().

ScAttrArray& ScColumnData::AttrArray ( )
inline

Definition at line 129 of file column.hxx.

References pAttrArray.

const ScAttrArray& ScColumnData::AttrArray ( ) const
inline

Definition at line 130 of file column.hxx.

References pAttrArray.

void ScColumnData::ChangeSelectionIndent ( bool  bIncrement,
const ScMarkData rMark,
SCCOL  nCol 
)
void ScColumnData::ClearSelectionItems ( const sal_uInt16 *  pWhich,
const ScMarkData rMark,
SCCOL  nCol 
)
std::unique_ptr< ScAttrIterator > ScColumnData::CreateAttrIterator ( SCROW  nStartRow,
SCROW  nEndRow 
) const

Definition at line 1960 of file column3.cxx.

const SfxPoolItem & ScColumnData::GetAttr ( SCROW  nRow,
sal_uInt16  nWhich 
) const
inline
template<class T >
const T& ScColumnData::GetAttr ( SCROW  nRow,
TypedWhichId< T >  nWhich 
) const
inline

Definition at line 133 of file column.hxx.

References GetAttr().

const SfxPoolItem & ScColumnData::GetAttr ( SCROW  nRow,
sal_uInt16  nWhich,
SCROW nStartRow,
SCROW nEndRow 
) const
inline

Definition at line 964 of file column.hxx.

References pAttrArray.

template<class T >
const T& ScColumnData::GetAttr ( SCROW  nRow,
TypedWhichId< T >  nWhich,
SCROW nStartRow,
SCROW nEndRow 
) const
inline

Definition at line 138 of file column.hxx.

References GetAttr().

ScDocument& ScColumnData::GetDoc ( ) const
inline

Definition at line 127 of file column.hxx.

Referenced by ScColumn::ApplyAttr(), ScColumn::ApplyPattern(), ApplyPatternArea(), ScColumn::ApplyPatternIfNumberformatIncompatible(), ApplySelectionCache(), ScColumn::BroadcastRecalcOnRefMove(), ScColumn::CalculateInThread(), ScColumn::CellNotesDeleting(), ScColumn::CellStorageModified(), ScColumn::CheckVectorizationState(), ScColumn::CloneFormulaCell(), ScColumn::CollectFormulaCells(), ScColumn::CollectListeners(), ScColumn::CompileHybridFormula(), ScColumn::ConvertFormulaToValue(), ScColumn::CopyCellNotesToDocument(), ScColumn::CopyCellToDocument(), ScColumn::CopyCellValuesFrom(), ScColumn::CopyFromClip(), ScColumn::CopyOneCellFromClip(), ScColumn::CopyScenarioFrom(), ScColumn::CopyScenarioTo(), ScColumn::CopyStaticToDocument(), ScColumn::CopyToClip(), ScColumn::CopyToColumn(), ScColumn::CopyUpdated(), ScColumn::CreateSparklineCell(), sc::DelayStartListeningFormulaCells::DelayStartListeningFormulaCells(), ScColumn::DeleteBeforeCopyFromClip(), ScColumn::DeleteSparkline(), ScColumn::DeleteSparklineCells(), ScColumn::duplicateSparkline(), ScColumn::EndListening(), ScColumn::EndListeningIntersectedGroup(), ScColumn::EnsureFormulaCellResults(), ScColumn::FetchVectorRefArray(), ScColumn::FillMatrix(), ScColumn::FindNextVisibleRow(), ScColumn::FindNextVisibleRowWithContent(), ScColumn::ForgetNoteCaptions(), ScColumn::GetAllNoteEntries(), ScColumn::GetAreaStyle(), ScColumn::GetBlockMatrixEdges(), ScColumn::GetColumnIterator(), ScCellIterator::getCurrent(), ScColumn::GetFormulaCellBlockAddress(), ScColumn::GetLastDataPos(), GetMostUsedPattern(), ScColumn::GetNeededSize(), ScColumn::GetNextSpellingCell(), GetNumberFormat(), ScColumn::GetOptimalColWidth(), ScColumn::GetOptimalHeight(), ScColumn::GetRangeScriptType(), ScColumn::GetScriptType(), ScColumn::GetSelectionStyle(), ScColumn::HandleRefArrayForParallelism(), ScColumn::HasFormulaCell(), ScColumn::HasSelectionMatrixFragment(), ScColumn::InsertRow(), ScColumn::IsDrawObjectsEmptyBlock(), ScColumn::IsFormulaDirty(), ScColumn::MarkScenarioIn(), ScColumn::MoveTo(), ScColumn::PreprocessDBDataUpdate(), ScColumn::PreprocessRangeNameUpdate(), ScColumn::ReleaseNote(), ScColumn::RemoveEditAttribs(), ScColumn::ResolveStaticReference(), ScColumn::RestoreFromCache(), sc::DelayStartListeningFormulaCells::set(), ScColumn::SetAllFormulasDirty(), ScColumn::SetDirty(), ScColumn::SetDirtyAfterLoad(), ScColumn::SetDirtyFromClip(), ScColumn::SetDirtyIfPostponed(), ScColumn::SetScriptType(), ScColumn::SetTableOpDirty(), ScColumn::SetValues(), ScColumn::SplitFormulaGroupByRelativeRef(), ScColumn::StartListening(), ScColumn::Swap(), ScColumn::SwapCol(), ScColumn::SwapNonEmpty(), ScColumn::TestCopyScenarioTo(), ScColumn::TestInsertRow(), ScColumn::TransferCellValuesTo(), ScColumn::UndoToColumn(), ScColumn::UpdateDrawObjectsForRow(), ScColumn::UpdateReference(), ScColumn::UpdateReferenceOnCopy(), ScColumn::UpdateScriptTypes(), ScColumn::UpdateSelectionFunction(), and sc::DelayStartListeningFormulaCells::~DelayStartListeningFormulaCells().

const ScPatternAttr * ScColumnData::GetMostUsedPattern ( SCROW  nStartRow,
SCROW  nEndRow 
) const

Definition at line 338 of file column.cxx.

References ScDocument::GetDefPattern(), GetDoc(), and pAttrArray.

Referenced by ScTable::GetMostUsedPattern().

SCROW ScColumnData::GetNextUnprotected ( SCROW  nRow,
bool  bUp 
) const
inline

Including current, may return -1.

Definition at line 914 of file column.hxx.

References pAttrArray.

Referenced by ScTable::GetNextPos().

sal_uInt32 ScColumnData::GetNumberFormat ( const ScInterpreterContext rContext,
SCROW  nRow 
) const
inline
sal_uInt32 ScColumnData::GetNumberFormat ( SCROW  nStartRow,
SCROW  nEndRow 
) const

Definition at line 362 of file column.cxx.

References GetDoc(), ScPatternAttr::GetNumberFormat(), and pAttrArray.

const ScPatternAttr * ScColumnData::GetPattern ( SCROW  nRow) const
inline
const ScStyleSheet * ScColumnData::GetStyle ( SCROW  nRow) const
inline

Definition at line 989 of file column.hxx.

References pAttrArray.

Referenced by ScTable::GetStyle().

bool ScColumnData::HasAttrib ( SCROW  nRow1,
SCROW  nRow2,
HasAttrFlags  nMask 
) const
inline

Definition at line 919 of file column.hxx.

References pAttrArray.

Referenced by ScColumn::GetNextSpellingCell(), and ScTable::HasAttrib().

bool ScColumnData::HasAttrib ( SCROW  nRow,
HasAttrFlags  nMask,
SCROW nStartRow = nullptr,
SCROW nEndRow = nullptr 
) const
inline

Definition at line 924 of file column.hxx.

References pAttrArray.

void ScColumnData::InitAttrArray ( ScAttrArray attrArray)
inline

Definition at line 125 of file column.hxx.

Referenced by ScColumn::Init(), and ScTable::ScTable().

void ScColumnData::InsertRow ( SCROW  nStartRow,
SCSIZE  nSize 
)
inline

Definition at line 1045 of file column.hxx.

References pAttrArray.

Referenced by ScTable::InsertRow().

bool ScColumnData::IsAllAttrEqual ( const ScColumnData rCol,
SCROW  nStartRow,
SCROW  nEndRow 
) const
inline

Definition at line 867 of file column.hxx.

References pAttrArray.

void ScColumnData::MergePatternArea ( ScMergePatternState rState,
SCROW  nRow1,
SCROW  nRow2,
bool  bDeep 
) const
inline

Definition at line 936 of file column.hxx.

References pAttrArray.

Referenced by ScTable::MergePatternArea().

ScColumnData& ScColumnData::operator= ( const ScColumnData )
protecteddelete
void ScColumnData::SetAttrEntries ( std::vector< ScAttrEntry > &&  vNewData)
inline

Definition at line 1035 of file column.hxx.

References pAttrArray.

Referenced by ScTable::SetAttrEntries().

bool ScColumnData::TestInsertRow ( SCSIZE  nSize) const
inline

Definition at line 1040 of file column.hxx.

References pAttrArray.

Referenced by ScTable::TestInsertRow().

Member Data Documentation

std::unique_ptr<ScAttrArray> ScColumnData::pAttrArray
protected

Definition at line 118 of file column.hxx.

Referenced by ScColumn::AddCondFormat(), ScColumn::ApplyAttr(), ScColumn::ApplyBlockFrame(), ScColumn::ApplyFlags(), ScColumn::ApplyPattern(), ApplyPatternArea(), ScColumn::ApplyPatternIfNumberformatIncompatible(), ApplySelectionCache(), ScColumn::ApplySelectionLineStyle(), ScColumn::ApplySelectionStyle(), ScColumn::ApplyStyle(), ApplyStyleArea(), AttrArray(), ChangeSelectionIndent(), ScColumn::ClearItems(), ClearSelectionItems(), ScColumn::CopyFromClip(), ScColumn::CopyOneCellFromClip(), ScColumn::CopyScenarioFrom(), ScColumn::CopyScenarioTo(), ScColumn::CopyToClip(), ScColumn::CopyToColumn(), ScColumn::DeleteBeforeCopyFromClip(), ScColumn::ExtendMerge(), ScDocument::FillInfo(), ScColumn::FindStyleSheet(), ScColumn::GetAreaStyle(), GetAttr(), ScColumn::GetFirstVisibleAttr(), ScColumn::GetLastVisibleAttr(), GetMostUsedPattern(), ScColumn::GetNeededSize(), ScHorizontalValueIterator::GetNext(), GetNextUnprotected(), GetNumberFormat(), ScColumn::GetOptimalHeight(), GetPattern(), ScColumn::GetPatternCount(), ScColumn::GetSelectionStyle(), GetStyle(), ScValueIterator::GetThis(), ScColumn::GetUnprotectedCells(), HasAttrib(), ScColumn::HasAttribSelection(), ScColumn::HasVisibleAttrIn(), InsertRow(), ScColumn::InsertRow(), IsAllAttrEqual(), ScColumn::IsEmptyAttr(), ScColumn::IsMerged(), ScColumn::IsStyleSheetUsed(), ScColumn::IsVisibleAttrEqual(), ScColumn::MarkScenarioIn(), ScColumn::MergeBlockFrame(), MergePatternArea(), ScColumn::MergeSelectionPattern(), ScColumn::MoveTo(), ScColumn::RemoveCondFormat(), ScColumn::RemoveFlags(), ScColumn::ReservePatternCount(), ScColumn::SearchStyle(), ScColumn::SearchStyleRange(), SetAttrEntries(), ScColumn::SetPattern(), ScColumn::SetPatternArea(), ScColumn::SetTabNo(), ScColumn::SwapCol(), ScColumn::TestCopyScenarioTo(), ScColumn::TestInsertCol(), TestInsertRow(), ScColumn::TestInsertRow(), ScColumn::UpdateDeleteTab(), ScColumn::UpdateInsertTab(), and ScColumn::UpdateMoveTab().


The documentation for this class was generated from the following files: