LibreOffice Module sc (master) 1
|
#include <column.hxx>
Public Member Functions | |
ScColumnData ()=default | |
void | InitAttrArray (ScAttrArray *attrArray) |
ScDocument & | GetDoc () const |
ScAttrArray & | AttrArray () |
const ScAttrArray & | AttrArray () const |
const SfxPoolItem & | GetAttr (SCROW nRow, sal_uInt16 nWhich) const |
template<class T > | |
const T & | GetAttr (SCROW nRow, TypedWhichId< T > nWhich) const |
const SfxPoolItem & | GetAttr (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 ScPatternAttr * | GetPattern (SCROW nRow) const |
const ScPatternAttr * | GetMostUsedPattern (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 ScStyleSheet * | GetStyle (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< ScAttrIterator > | CreateAttrIterator (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) |
void | DeleteRow (SCROW nStartRow, SCSIZE nSize) |
Protected Member Functions | |
ScColumnData (const ScColumnData &)=delete | |
ScColumnData & | operator= (const ScColumnData &)=delete |
Protected Attributes | |
std::unique_ptr< ScAttrArray > | pAttrArray |
Definition at line 115 of file column.hxx.
|
protecteddelete |
|
default |
void ScColumnData::ApplyPatternArea | ( | SCROW | nStartRow, |
SCROW | nEndRow, | ||
const ScPatternAttr & | rPatAttr, | ||
ScEditDataArray * | pDataArray = nullptr , |
||
bool *const | pIsChanged = nullptr |
||
) |
Definition at line 482 of file column.cxx.
References GetDoc(), ScPatternAttr::GetItemSet(), and pAttrArray.
Referenced by ScTable::ApplyPatternArea(), and ScColumn::DeleteBeforeCopyFromClip().
SCROW ScColumnData::ApplySelectionCache | ( | SfxItemPoolCache * | pCache, |
const ScMarkData & | rMark, | ||
ScEditDataArray * | pDataArray, | ||
bool *const | pIsChanged, | ||
SCCOL | nCol | ||
) |
Definition at line 383 of file column.cxx.
References GetDoc(), ScMarkData::GetMultiSelData(), ScMarkData::IsMultiMarked(), ScMultiSelIter::Next(), and pAttrArray.
Referenced by ScColumn::ApplySelectionCache(), and ScTable::ApplySelectionCache().
|
inline |
Definition at line 995 of file column.hxx.
References pAttrArray.
Referenced by ScTable::ApplyStyleArea().
|
inline |
Definition at line 129 of file column.hxx.
References pAttrArray.
|
inline |
Definition at line 130 of file column.hxx.
References pAttrArray.
void ScColumnData::ChangeSelectionIndent | ( | bool | bIncrement, |
const ScMarkData & | rMark, | ||
SCCOL | nCol | ||
) |
Definition at line 408 of file column.cxx.
References ScMarkData::GetMultiSelData(), ScMarkData::IsMultiMarked(), ScMultiSelIter::Next(), and pAttrArray.
Referenced by ScColumn::ChangeSelectionIndent(), and ScTable::ChangeSelectionIndent().
void ScColumnData::ClearSelectionItems | ( | const sal_uInt16 * | pWhich, |
const ScMarkData & | rMark, | ||
SCCOL | nCol | ||
) |
Definition at line 426 of file column.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), ScMarkData::GetMarkArea(), ScMarkData::GetMultiSelData(), ScMarkData::IsMarked(), ScMarkData::IsMultiMarked(), ScMultiSelIter::Next(), pAttrArray, and ScAddress::Row().
Referenced by ScColumn::ClearSelectionItems(), and ScTable::ClearSelectionItems().
std::unique_ptr< ScAttrIterator > ScColumnData::CreateAttrIterator | ( | SCROW | nStartRow, |
SCROW | nEndRow | ||
) | const |
Definition at line 2047 of file column3.cxx.
References ScColumn::GetDoc(), and pAttrArray.
Definition at line 1061 of file column.hxx.
References pAttrArray.
Referenced by ScTable::UpdateReference().
|
inline |
Definition at line 970 of file column.hxx.
References pAttrArray.
Referenced by ScTable::ExtendMerge(), ScTable::GetAttr(), and GetAttr().
|
inline |
Definition at line 975 of file column.hxx.
References pAttrArray.
|
inline |
Definition at line 133 of file column.hxx.
References GetAttr().
|
inline |
Definition at line 138 of file column.hxx.
References GetAttr().
|
inline |
Definition at line 127 of file column.hxx.
References pAttrArray.
Referenced by ApplyPatternArea(), ApplySelectionCache(), GetMostUsedPattern(), and GetNumberFormat().
const ScPatternAttr * ScColumnData::GetMostUsedPattern | ( | SCROW | nStartRow, |
SCROW | nEndRow | ||
) | const |
Definition at line 337 of file column.cxx.
References GetDoc(), ScAttrIterator::Next(), and pAttrArray.
Referenced by ScTable::GetMostUsedPattern().
Including current, may return -1.
Definition at line 925 of file column.hxx.
References pAttrArray.
Referenced by ScTable::GetNextPos().
|
inline |
Definition at line 980 of file column.hxx.
References ScInterpreterContext::GetFormatTable(), and pAttrArray.
Referenced by ScTable::GetNumberFormat().
Definition at line 361 of file column.cxx.
References GetDoc(), ScPatternAttr::GetNumberFormat(), and pAttrArray.
|
inline |
Definition at line 965 of file column.hxx.
References pAttrArray.
Referenced by ScTable::CopyStaticToDocument(), ScTable::FillAuto(), and ScTable::GetPattern().
|
inline |
Definition at line 1000 of file column.hxx.
References pAttrArray.
Referenced by ScTable::GetStyle().
|
inline |
Definition at line 935 of file column.hxx.
References pAttrArray.
|
inline |
Definition at line 930 of file column.hxx.
References pAttrArray.
Referenced by ScColumn::GetNextSpellingCell(), and ScTable::HasAttrib().
|
inline |
Definition at line 125 of file column.hxx.
References pAttrArray.
Referenced by ScColumn::Init(), and ScTable::ScTable().
Definition at line 1056 of file column.hxx.
References pAttrArray.
Referenced by ScTable::InsertRow().
|
inline |
Definition at line 878 of file column.hxx.
References pAttrArray.
|
inline |
Definition at line 947 of file column.hxx.
References pAttrArray.
Referenced by ScTable::MergePatternArea().
|
protecteddelete |
|
inline |
Definition at line 1046 of file column.hxx.
References pAttrArray.
Referenced by ScTable::SetAttrEntries().
|
inline |
Definition at line 1051 of file column.hxx.
References pAttrArray.
Referenced by ScTable::TestInsertRow().
|
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(), CreateAttrIterator(), ScColumn::DeleteArea(), ScColumn::DeleteBeforeCopyFromClip(), DeleteRow(), ScColumn::DeleteRow(), ScColumn::ExtendMerge(), ScDocument::FillInfo(), ScColumn::FindStyleSheet(), ScColumn::GetAreaStyle(), GetAttr(), ScDBQueryDataIterator::GetAttrArrayByCol(), GetDoc(), 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(), InitAttrArray(), 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::RemoveProtected(), ScColumn::ReservePatternCount(), ScColumn::SearchStyle(), ScColumn::SearchStyleRange(), SetAttrEntries(), ScColumn::SetPattern(), ScColumn::SetPatternArea(), ScColumn::SetTabNo(), ScColumn::SwapCol(), ScColumn::TestCopyScenarioTo(), ScColumn::TestInsertCol(), ScColumn::TestInsertRow(), TestInsertRow(), ScColumn::UpdateDeleteTab(), ScColumn::UpdateInsertTab(), and ScColumn::UpdateMoveTab().