105 using ScRefreshTimer::operator==;
110 bool operator() (
const std::unique_ptr<ScDBData>&
left,
const std::unique_ptr<ScDBData>&
right)
const;
116 bool bByR =
true,
bool bHasH =
true,
bool bTotals =
false);
134 SCCOL nUpdateCol = -1);
152 void StartTableColumnNamesListener();
153 void EndTableColumnNamesListener();
154 SC_DLLPUBLIC void SetTableColumnNames( ::std::vector< OUString >&& rNames );
156 SC_DLLPUBLIC void SetTableColumnAttributes( ::std::vector< TableColumnAttributes >&& rAttributes );
174 sal_Int32 GetColumnNameOffset(
const OUString& rName )
const;
178 OUString GetTableColumnName(
SCCOL nCol )
const;
180 OUString GetSourceString()
const;
181 OUString GetOperations()
const;
188 void UpdateFromSortParam(
const ScSortParam& rSortParam );
204 bool HasImportParam()
const;
206 bool HasSortParam()
const;
207 bool HasSubTotalParam()
const;
218 void UpdateMoveTab(
SCTAB nOldPos,
SCTAB nNewPos );
224 void CalcSaveFilteredCount(
SCSIZE nNonFilteredRowCount);
225 void GetFilterSelCount(
SCSIZE& nSelected,
SCSIZE& nTotal);
231 void InvalidateTableColumnNames(
bool bSwapToEmptyNames );
264 ScDBData* findByIndex(sal_uInt16 nIndex);
265 ScDBData* findByUpperName(
const OUString& rName);
266 iterator findByUpperName2(
const OUString& rName);
267 ScDBData* findByName(
const OUString& rName);
273 bool insert(std::unique_ptr<ScDBData> p);
286 typedef ::std::vector<std::unique_ptr<ScDBData>>
DBsType;
304 void deleteOnTab(
SCTAB nTab);
309 bool has(
const ScDBData* p )
const;
335 std::vector<ScDBData*> GetAllDBsFromTab(
SCTAB nTab);
337 void RefreshDirtyTableColumnNames();
339 void DeleteOnTab(
SCTAB nTab );
344 void UpdateMoveTab(
SCTAB nOldPos,
SCTAB nNewPos );
345 void CopyToTable(
SCTAB nOldPos,
SCTAB nNewPos);
348 { aRefreshHandler = rLink; }
size_t SCSIZE
size_t typedef to be able to find places where code was changed from USHORT to size_t and is used to ...
Stores global anonymous database ranges.
AnonDBs & operator=(AnonDBs const &)=delete
DBsType::const_iterator const_iterator
DBsType::iterator iterator
::std::vector< std::unique_ptr< ScDBData > > DBsType
Stores global named database ranges.
DBsType::const_iterator const_iterator
NamedDBs & operator=(NamedDBs const &)=delete
NamedDBs(const NamedDBs &)=delete
ScDBCollection & mrParent
::std::set< std::unique_ptr< ScDBData >, ScDBData::less > DBsType
DBsType::iterator iterator
Link< Timer *, void > aRefreshHandler
const NamedDBs & getNamedDBs() const
const Link< Timer *, void > & GetRefreshHandler() const
const AnonDBs & getAnonDBs() const
sal_uInt16 nEntryIndex
counter for unique indices
void SetRefreshHandler(const Link< Timer *, void > &rLink)
Container base class to provide selected access for ScDBData.
ScRangeList & GetDirtyTableColumnNames()
ScRangeList maDirtyTableColumnNames
ScDBDataContainerBase(ScDocument &rDoc)
virtual ~ScDBDataContainerBase()
ScDocument & GetDocument() const
std::unique_ptr< ScSortParam > mpSortParam
bool HasAutoFilter() const
void SetIndex(sal_uInt16 nInd)
const OUString & GetName() const
std::unique_ptr< ScImportParam > mpImportParam
bool bModified
is set/cleared for/by(?) UpdateReference
const OUString & GetUpperName() const
bool bDBSelection
not in Param: if selection, block update
void SetAutoFilter(bool bSet)
const OUString aName
DBParam.
ScRange aAdvSource
source range
bool bAutoFilter
AutoFilter? (not saved)
void SetDoSize(bool bSet)
void SetTotals(bool bTotals)
SC_DLLPUBLIC const ::std::vector< TableColumnAttributes > & GetTableColumnAttributes() const
SC_DLLPUBLIC const ::std::vector< OUString > & GetTableColumnNames() const
void SetContainer(ScDBDataContainerBase *pContainer)
bool AreTableColumnNamesDirty() const
void SetHeader(bool bHasH)
void SetImportSelection(bool bSet)
std::unique_ptr< ScSubTotalParam > mpSubTotal
void SetModified(bool bMod)
bool bIsAdvanced
QueryParam.
std::unique_ptr< ScQueryParam > mpQueryParam
bool mbTableColumnNamesDirty
void SetStripData(bool bSet)
void SetKeepFmt(bool bSet)
bool HasImportSelection() const
::std::vector< TableColumnAttributes > maTableColumnAttributes
attributes of table columns
sal_uInt16 nIndex
unique index formulas
ScDBDataContainerBase * mpContainer
::std::vector< OUString > maTableColumnNames
names of table columns
sal_uInt16 GetIndex() const
virtual void Notify(const SfxHint &rHint)
const SvtListener & operator=(const SvtListener &)=delete
ScDBDataPortion
Enum used to indicate which portion of the DBArea is to be considered.
@ TOP_LEFT
top left cell of area
enumrange< T >::Iterator begin(enumrange< T >)
std::optional< OUString > maTotalsFunction
bool operator==(const XclFontData &rLeft, const XclFontData &rRight)