LibreOffice Module sc (master) 1
Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
ScDBData Class Referencefinal

#include <dbdata.hxx>

Inheritance diagram for ScDBData:
[legend]
Collaboration diagram for ScDBData:
[legend]

Classes

struct  less
 

Public Member Functions

SC_DLLPUBLIC ScDBData (const OUString &rName, SCTAB nTab, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, bool bByR=true, bool bHasH=true, bool bTotals=false)
 
 ScDBData (const ScDBData &rData)
 
 ScDBData (const OUString &rName, const ScDBData &rData)
 
virtual SC_DLLPUBLIC ~ScDBData () override
 
virtual void Notify (const SfxHint &rHint) override
 
ScDBDataoperator= (const ScDBData &rData)
 
bool operator== (const ScDBData &rData) const
 
const OUString & GetName () const
 
const OUString & GetUpperName () const
 
SCTAB GetTab () const
 
void GetArea (SCTAB &rTab, SCCOL &rCol1, SCROW &rRow1, SCCOL &rCol2, SCROW &rRow2) const
 
SC_DLLPUBLIC void GetArea (ScRange &rRange) const
 
void SetArea (SCTAB nTab, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2)
 
void MoveTo (SCTAB nTab, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, SCCOL nUpdateCol=-1)
 
void SetByRow (bool bByR)
 
bool HasHeader () const
 
void SetHeader (bool bHasH)
 
bool HasTotals () const
 
void SetTotals (bool bTotals)
 
void SetIndex (sal_uInt16 nInd)
 
sal_uInt16 GetIndex () const
 
bool IsDoSize () const
 
void SetDoSize (bool bSet)
 
bool IsKeepFmt () const
 
void SetKeepFmt (bool bSet)
 
bool IsStripData () const
 
void SetStripData (bool bSet)
 
void SetContainer (ScDBDataContainerBase *pContainer)
 
ScRange GetHeaderArea () const
 Returns header row range if has headers, else invalid range. More...
 
void StartTableColumnNamesListener ()
 
void EndTableColumnNamesListener ()
 
SC_DLLPUBLIC void SetTableColumnNames (::std::vector< OUString > &&rNames)
 
SC_DLLPUBLIC const ::std::vector< OUString > & GetTableColumnNames () const
 
SC_DLLPUBLIC void SetTableColumnAttributes (::std::vector< TableColumnAttributes > &&rAttributes)
 
SC_DLLPUBLIC const ::std::vector< TableColumnAttributes > & GetTableColumnAttributes () const
 
bool AreTableColumnNamesDirty () const
 
SC_DLLPUBLIC void RefreshTableColumnNames (ScDocument *pDoc)
 Refresh/update the column names with the header row's cell contents. More...
 
void RefreshTableColumnNames (ScDocument *pDoc, const ScRange &rRange)
 Refresh/update the column names with the header row's cell contents within the given range. More...
 
sal_Int32 GetColumnNameOffset (const OUString &rName) const
 Finds the column named rName and returns the corresponding offset within the table. More...
 
OUString GetTableColumnName (SCCOL nCol) const
 Returns table column name if nCol is within column range and name is stored, else empty string. More...
 
OUString GetSourceString () const
 
OUString GetOperations () const
 
SC_DLLPUBLIC void GetSortParam (ScSortParam &rSortParam) const
 
SC_DLLPUBLIC void SetSortParam (const ScSortParam &rSortParam)
 
void UpdateFromSortParam (const ScSortParam &rSortParam)
 Remember some more settings of ScSortParam, only to be called at anonymous DB ranges as it at least overwrites bHasHeader. More...
 
SC_DLLPUBLIC void GetQueryParam (ScQueryParam &rQueryParam) const
 
SC_DLLPUBLIC void SetQueryParam (const ScQueryParam &rQueryParam)
 
SC_DLLPUBLIC bool GetAdvancedQuerySource (ScRange &rSource) const
 
SC_DLLPUBLIC void SetAdvancedQuerySource (const ScRange *pSource)
 
void GetSubTotalParam (ScSubTotalParam &rSubTotalParam) const
 
void SetSubTotalParam (const ScSubTotalParam &rSubTotalParam)
 
void GetImportParam (ScImportParam &rImportParam) const
 
void SetImportParam (const ScImportParam &rImportParam)
 
bool IsDBAtCursor (SCCOL nCol, SCROW nRow, SCTAB nTab, ScDBDataPortion ePortion) const
 
bool IsDBAtArea (SCTAB nTab, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2) const
 
bool HasImportParam () const
 
SC_DLLPUBLIC bool HasQueryParam () const
 
bool HasSortParam () const
 
bool HasSubTotalParam () const
 
bool HasImportSelection () const
 
void SetImportSelection (bool bSet)
 
bool HasAutoFilter () const
 
void SetAutoFilter (bool bSet)
 
bool IsModified () const
 
void SetModified (bool bMod)
 
void UpdateMoveTab (SCTAB nOldPos, SCTAB nNewPos)
 
bool UpdateReference (const ScDocument *pDoc, UpdateRefMode eUpdateRefMode, SCCOL nCol1, SCROW nRow1, SCTAB nTab1, SCCOL nCol2, SCROW nRow2, SCTAB nTab2, SCCOL nDx, SCROW nDy, SCTAB nDz)
 
void ExtendDataArea (const ScDocument &rDoc)
 
void CalcSaveFilteredCount (SCSIZE nNonFilteredRowCount)
 
void GetFilterSelCount (SCSIZE &nSelected, SCSIZE &nTotal)
 
- Public Member Functions inherited from SvtListener
 SvtListener ()=default
 
 SvtListener (const SvtListener &r)=default
 
virtual ~SvtListener () COVERITY_NOEXCEPT_FALSE
 
bool StartListening (SvtBroadcaster &rBroadcaster)
 
void EndListening (SvtBroadcaster &rBroadcaster)
 
void EndListeningAll ()
 
void CopyAllBroadcasters (const SvtListener &r)
 
bool HasBroadcaster () const
 
virtual void Notify (const SfxHint &rHint)
 
virtual void Query (QueryBase &rQuery) const
 
- Public Member Functions inherited from ScRefreshTimer
 ScRefreshTimer ()
 
 ScRefreshTimer (sal_Int32 nSeconds)
 
 ScRefreshTimer (const ScRefreshTimer &r)
 
virtual ~ScRefreshTimer () override
 
ScRefreshTimeroperator= (const ScRefreshTimer &r)
 
bool operator== (const ScRefreshTimer &r) const
 
bool operator!= (const ScRefreshTimer &r) const
 
void SetRefreshControl (std::unique_ptr< ScRefreshTimerControl > const *pp)
 
void SetRefreshHandler (const Link< Timer *, void > &rLink)
 
sal_Int32 GetRefreshDelaySeconds () const
 
void StopRefreshTimer ()
 
void SetRefreshDelay (sal_Int32 nSeconds)
 
virtual SC_DLLPUBLIC void Invoke () override
 
- Public Member Functions inherited from AutoTimer
 AutoTimer (const char *pDebugName)
 
- Public Member Functions inherited from Timer
 Timer (const char *pDebugName)
 
 Timer (const Timer &rTimer)
 
virtual ~Timer () override
 
Timeroperator= (const Timer &rTimer)
 
virtual void Invoke () override
 
void Invoke (Timer *arg)
 
void SetInvokeHandler (const Link< Timer *, void > &rLink)
 
void ClearInvokeHandler ()
 
void SetTimeout (sal_uInt64 nTimeoutMs)
 
sal_uInt64 GetTimeout () const
 
virtual void Start (bool bStartTimer=true) override
 
- Public Member Functions inherited from Task
 Task (const char *pDebugName)
 
 Task (const Task &rTask)
 
virtual ~Task () COVERITY_NOEXCEPT_FALSE
 
Taskoperator= (const Task &rTask)
 
void SetPriority (TaskPriority ePriority)
 
TaskPriority GetPriority () const
 
const char * GetDebugName () const
 
virtual void Invoke ()=0
 
virtual void Start (bool bStartTimer=true)
 
void Stop ()
 
bool IsActive () const
 
void SetStatic ()
 
bool IsStatic () const
 

Private Member Functions

void AdjustTableColumnAttributes (UpdateRefMode eUpdateRefMode, SCCOL nDx, SCCOL nCol1, SCCOL nOldCol1, SCCOL nOldCol2, SCCOL nNewCol1, SCCOL nNewCol2)
 
void InvalidateTableColumnNames (bool bSwapToEmptyNames)
 
bool operator== (const ScRefreshTimer &r) const
 

Private Attributes

std::unique_ptr< ScSortParammpSortParam
 
std::unique_ptr< ScQueryParammpQueryParam
 
std::unique_ptr< ScSubTotalParammpSubTotal
 
std::unique_ptr< ScImportParammpImportParam
 
ScDBDataContainerBasempContainer
 
const OUString aName
 DBParam. More...
 
OUString aUpper
 
SCTAB nTable
 
SCCOL nStartCol
 
SCROW nStartRow
 
SCCOL nEndCol
 
SCROW nEndRow
 
bool bByRow
 
bool bHasHeader
 
bool bHasTotals
 
bool bDoSize
 
bool bKeepFmt
 
bool bStripData
 
bool bIsAdvanced
 QueryParam. More...
 
ScRange aAdvSource
 source range More...
 
bool bDBSelection
 not in Param: if selection, block update More...
 
sal_uInt16 nIndex
 unique index formulas More...
 
bool bAutoFilter
 AutoFilter? (not saved) More...
 
bool bModified
 is set/cleared for/by(?) UpdateReference More...
 
::std::vector< OUString > maTableColumnNames
 names of table columns More...
 
::std::vector< TableColumnAttributesmaTableColumnAttributes
 attributes of table columns More...
 
bool mbTableColumnNamesDirty
 
SCSIZE nFilteredRowCount
 

Additional Inherited Members

- Protected Member Functions inherited from Timer
virtual void SetDeletionFlags () override
 
virtual sal_uInt64 UpdateMinPeriod (sal_uInt64 nTimeNow) const override
 
 Timer (bool bAuto, const char *pDebugName)
 
- Protected Member Functions inherited from Task
const ImplSchedulerDataGetSchedulerData () const
 
virtual void SetDeletionFlags ()
 
virtual sal_uInt64 UpdateMinPeriod (sal_uInt64 nTimeNow) const=0
 
- Static Protected Member Functions inherited from Task
static void StartTimer (sal_uInt64 nMS)
 

Detailed Description

Definition at line 65 of file dbdata.hxx.

Constructor & Destructor Documentation

◆ ScDBData() [1/3]

ScDBData::ScDBData ( const OUString &  rName,
SCTAB  nTab,
SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2,
bool  bByR = true,
bool  bHasH = true,
bool  bTotals = false 
)

Definition at line 56 of file dbdata.cxx.

References aUpper, ScGlobal::getCharClass(), and CharClass::uppercase().

◆ ScDBData() [2/3]

ScDBData::ScDBData ( const ScDBData rData)

Definition at line 90 of file dbdata.cxx.

References aName, and nIndex.

◆ ScDBData() [3/3]

ScDBData::ScDBData ( const OUString &  rName,
const ScDBData rData 
)

Definition at line 125 of file dbdata.cxx.

References aName, aUpper, ScGlobal::getCharClass(), nIndex, and CharClass::uppercase().

◆ ~ScDBData()

ScDBData::~ScDBData ( )
overridevirtual

Definition at line 256 of file dbdata.cxx.

References ScRefreshTimer::StopRefreshTimer().

Member Function Documentation

◆ AdjustTableColumnAttributes()

void ScDBData::AdjustTableColumnAttributes ( UpdateRefMode  eUpdateRefMode,
SCCOL  nDx,
SCCOL  nCol1,
SCCOL  nOldCol1,
SCCOL  nOldCol2,
SCCOL  nNewCol1,
SCCOL  nNewCol2 
)
private

◆ AreTableColumnNamesDirty()

bool ScDBData::AreTableColumnNamesDirty ( ) const
inline

Definition at line 158 of file dbdata.hxx.

◆ CalcSaveFilteredCount()

void ScDBData::CalcSaveFilteredCount ( SCSIZE  nNonFilteredRowCount)

Definition at line 973 of file dbdata.cxx.

References bHasHeader, nEndRow, nFilteredRowCount, and nStartRow.

Referenced by ScDBDocFunc::Query().

◆ EndTableColumnNamesListener()

void ScDBData::EndTableColumnNamesListener ( )

Definition at line 678 of file dbdata.cxx.

References SvtListener::EndListeningAll().

Referenced by operator=(), and SetArea().

◆ ExtendDataArea()

void ScDBData::ExtendDataArea ( const ScDocument rDoc)

◆ GetAdvancedQuerySource()

bool ScDBData::GetAdvancedQuerySource ( ScRange rSource) const

◆ GetArea() [1/2]

void ScDBData::GetArea ( ScRange rRange) const

Definition at line 307 of file dbdata.cxx.

References nEndCol, nEndRow, nStartCol, nStartRow, and nTable.

◆ GetArea() [2/2]

void ScDBData::GetArea ( SCTAB rTab,
SCCOL rCol1,
SCROW rRow1,
SCCOL rCol2,
SCROW rRow2 
) const

◆ GetColumnNameOffset()

sal_Int32 ScDBData::GetColumnNameOffset ( const OUString &  rName) const

Finds the column named rName and returns the corresponding offset within the table.

Returns
-1 if not found.

XXX NOTE: there is no refresh of names or anything implemented yet, use this only during document load time.

Definition at line 903 of file dbdata.cxx.

References maTableColumnNames.

Referenced by ScCompiler::ParseTableRefColumn().

◆ GetFilterSelCount()

void ScDBData::GetFilterSelCount ( SCSIZE nSelected,
SCSIZE nTotal 
)

◆ GetHeaderArea()

ScRange ScDBData::GetHeaderArea ( ) const

Returns header row range if has headers, else invalid range.

Definition at line 313 of file dbdata.cxx.

References HasHeader(), ScAddress::INITIALIZE_INVALID, nEndCol, nStartCol, nStartRow, and nTable.

Referenced by InvalidateTableColumnNames(), Notify(), RefreshTableColumnNames(), and StartTableColumnNamesListener().

◆ GetImportParam()

void ScDBData::GetImportParam ( ScImportParam rImportParam) const

◆ GetIndex()

sal_uInt16 ScDBData::GetIndex ( ) const
inline

Definition at line 141 of file dbdata.hxx.

References nIndex.

Referenced by sc::TokenStringContext::TokenStringContext().

◆ GetName()

const OUString & ScDBData::GetName ( ) const
inline

◆ GetOperations()

OUString ScDBData::GetOperations ( ) const

Definition at line 268 of file dbdata.cxx.

References aBuf, ScQueryEntry::bDoQuery, mpQueryParam, mpSortParam, mpSubTotal, and ScResId().

Referenced by ScDbNameDlg::SetInfoStrings().

◆ GetQueryParam()

void ScDBData::GetQueryParam ( ScQueryParam rQueryParam) const

◆ GetSortParam()

void ScDBData::GetSortParam ( ScSortParam rSortParam) const

◆ GetSourceString()

OUString ScDBData::GetSourceString ( ) const

Definition at line 261 of file dbdata.cxx.

References mpImportParam.

Referenced by ScDbNameDlg::SetInfoStrings().

◆ GetSubTotalParam()

void ScDBData::GetSubTotalParam ( ScSubTotalParam rSubTotalParam) const

◆ GetTab()

SCTAB ScDBData::GetTab ( ) const
inline

Definition at line 129 of file dbdata.hxx.

Referenced by ScDocShell::GetDBData().

◆ GetTableColumnAttributes()

SC_DLLPUBLIC const ::std::vector< TableColumnAttributes > & ScDBData::GetTableColumnAttributes ( ) const
inline

Definition at line 157 of file dbdata.hxx.

Referenced by XclExpTables::SaveTableXml().

◆ GetTableColumnName()

OUString ScDBData::GetTableColumnName ( SCCOL  nCol) const

Returns table column name if nCol is within column range and name is stored, else empty string.

Definition at line 916 of file dbdata.cxx.

References o3tl::make_unsigned(), maTableColumnNames, and nStartCol.

◆ GetTableColumnNames()

SC_DLLPUBLIC const ::std::vector< OUString > & ScDBData::GetTableColumnNames ( ) const
inline

Definition at line 155 of file dbdata.hxx.

Referenced by XclExpTables::SaveTableXml().

◆ GetUpperName()

const OUString & ScDBData::GetUpperName ( ) const
inline

Definition at line 128 of file dbdata.hxx.

Referenced by ScDBDocFunc::ModifyDBData(), and ScDocument::SetDBCollection().

◆ HasAutoFilter()

bool ScDBData::HasAutoFilter ( ) const
inline

◆ HasHeader()

bool ScDBData::HasHeader ( ) const
inline

◆ HasImportParam()

bool ScDBData::HasImportParam ( ) const

Definition at line 517 of file dbdata.cxx.

References mpImportParam.

Referenced by ScDocShell::Execute(), and ScCellShell::GetDBState().

◆ HasImportSelection()

bool ScDBData::HasImportSelection ( ) const
inline

◆ HasQueryParam()

bool ScDBData::HasQueryParam ( ) const

◆ HasSortParam()

bool ScDBData::HasSortParam ( ) const

Definition at line 533 of file dbdata.cxx.

References mpSortParam.

Referenced by ScDocShell::Execute(), ScCellShell::ExecuteDB(), and ScCellShell::GetDBState().

◆ HasSubTotalParam()

bool ScDBData::HasSubTotalParam ( ) const

Definition at line 540 of file dbdata.cxx.

References mpSubTotal.

Referenced by ScDocShell::Execute(), ScCellShell::ExecuteDB(), and ScCellShell::GetDBState().

◆ HasTotals()

bool ScDBData::HasTotals ( ) const
inline

◆ InvalidateTableColumnNames()

void ScDBData::InvalidateTableColumnNames ( bool  bSwapToEmptyNames)
private

◆ IsDBAtArea()

bool ScDBData::IsDBAtArea ( SCTAB  nTab,
SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2 
) const

Definition at line 510 of file dbdata.cxx.

References nEndCol, nEndRow, nStartCol, nStartRow, and nTable.

Referenced by ScDBCollection::GetDBAtArea().

◆ IsDBAtCursor()

bool ScDBData::IsDBAtCursor ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab,
ScDBDataPortion  ePortion 
) const

Definition at line 494 of file dbdata.cxx.

References AREA, nEndRow, nStartCol, nStartRow, nTable, and TOP_LEFT.

Referenced by ScDBCollection::GetDBAtCursor().

◆ IsDoSize()

bool ScDBData::IsDoSize ( ) const
inline

◆ IsKeepFmt()

bool ScDBData::IsKeepFmt ( ) const
inline

Definition at line 144 of file dbdata.hxx.

Referenced by ScDBDocFunc::DoImport(), ScDbNameDlg::Init(), and ScDBDocFunc::Query().

◆ IsModified()

bool ScDBData::IsModified ( ) const
inline

Definition at line 215 of file dbdata.hxx.

◆ IsStripData()

bool ScDBData::IsStripData ( ) const
inline

Definition at line 146 of file dbdata.hxx.

Referenced by ScDocShell::Execute(), and ScDbNameDlg::Init().

◆ MoveTo()

void ScDBData::MoveTo ( SCTAB  nTab,
SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2,
SCCOL  nUpdateCol = -1 
)

◆ Notify()

void ScDBData::Notify ( const SfxHint rHint)
overridevirtual

◆ operator=()

ScDBData & ScDBData::operator= ( const ScDBData rData)

◆ operator==() [1/2]

bool ScDBData::operator== ( const ScDBData rData) const

◆ operator==() [2/2]

bool ScRefreshTimer::operator== ( const ScRefreshTimer r) const
private

Definition at line 52 of file refreshtimer.cxx.

◆ RefreshTableColumnNames() [1/2]

void ScDBData::RefreshTableColumnNames ( ScDocument pDoc)

◆ RefreshTableColumnNames() [2/2]

void ScDBData::RefreshTableColumnNames ( ScDocument pDoc,
const ScRange rRange 
)

Refresh/update the column names with the header row's cell contents within the given range.

Definition at line 882 of file dbdata.cxx.

References GetHeaderArea(), HasHeader(), ScRange::IsValid(), maTableColumnNames, mbTableColumnNamesDirty, and RefreshTableColumnNames().

◆ SetAdvancedQuerySource()

void ScDBData::SetAdvancedQuerySource ( const ScRange pSource)

◆ SetArea()

void ScDBData::SetArea ( SCTAB  nTab,
SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2 
)

◆ SetAutoFilter()

void ScDBData::SetAutoFilter ( bool  bSet)
inline

◆ SetByRow()

void ScDBData::SetByRow ( bool  bByR)
inline

◆ SetContainer()

void ScDBData::SetContainer ( ScDBDataContainerBase pContainer)
inline

Definition at line 149 of file dbdata.hxx.

◆ SetDoSize()

void ScDBData::SetDoSize ( bool  bSet)
inline

Definition at line 143 of file dbdata.hxx.

Referenced by IMPL_LINK_NOARG(), and ScDatabaseRangeObj::setPropertyValue().

◆ SetHeader()

void ScDBData::SetHeader ( bool  bHasH)
inline

◆ SetImportParam()

void ScDBData::SetImportParam ( const ScImportParam rImportParam)

Definition at line 488 of file dbdata.cxx.

References mpImportParam.

Referenced by ScDBDocFunc::DoImport(), ScDocShell::Execute(), and ScCellShell::ExecuteDB().

◆ SetImportSelection()

void ScDBData::SetImportSelection ( bool  bSet)
inline

Definition at line 210 of file dbdata.hxx.

Referenced by ScDBDocFunc::DoImport(), and ScDatabaseRangeObj::setPropertyValue().

◆ SetIndex()

void ScDBData::SetIndex ( sal_uInt16  nInd)
inline

Definition at line 140 of file dbdata.hxx.

References nIndex.

◆ SetKeepFmt()

void ScDBData::SetKeepFmt ( bool  bSet)
inline

Definition at line 145 of file dbdata.hxx.

Referenced by IMPL_LINK_NOARG(), and ScDatabaseRangeObj::setPropertyValue().

◆ SetModified()

void ScDBData::SetModified ( bool  bMod)
inline

Definition at line 216 of file dbdata.hxx.

Referenced by UpdateMoveTab(), and UpdateReference().

◆ SetQueryParam()

void ScDBData::SetQueryParam ( const ScQueryParam rQueryParam)

◆ SetSortParam()

void ScDBData::SetSortParam ( const ScSortParam rSortParam)

◆ SetStripData()

void ScDBData::SetStripData ( bool  bSet)
inline

Definition at line 147 of file dbdata.hxx.

Referenced by IMPL_LINK_NOARG(), and ScDatabaseRangeObj::setPropertyValue().

◆ SetSubTotalParam()

void ScDBData::SetSubTotalParam ( const ScSubTotalParam rSubTotalParam)

◆ SetTableColumnAttributes()

void ScDBData::SetTableColumnAttributes ( ::std::vector< TableColumnAttributes > &&  rAttributes)

Definition at line 689 of file dbdata.cxx.

References maTableColumnAttributes.

Referenced by oox::xls::TableColumns::finalizeImport().

◆ SetTableColumnNames()

void ScDBData::SetTableColumnNames ( ::std::vector< OUString > &&  rNames)

Definition at line 683 of file dbdata.cxx.

References maTableColumnNames, and mbTableColumnNamesDirty.

Referenced by oox::xls::TableColumns::finalizeImport().

◆ SetTotals()

void ScDBData::SetTotals ( bool  bTotals)
inline

Definition at line 139 of file dbdata.hxx.

Referenced by IMPL_LINK_NOARG(), and ScDatabaseRangeObj::setPropertyValue().

◆ StartTableColumnNamesListener()

void ScDBData::StartTableColumnNamesListener ( )

◆ UpdateFromSortParam()

void ScDBData::UpdateFromSortParam ( const ScSortParam rSortParam)

Remember some more settings of ScSortParam, only to be called at anonymous DB ranges as it at least overwrites bHasHeader.

Definition at line 417 of file dbdata.cxx.

References bHasHeader, and ScSortParam::bHasHeader.

Referenced by ScDBDocFunc::Sort().

◆ UpdateMoveTab()

void ScDBData::UpdateMoveTab ( SCTAB  nOldPos,
SCTAB  nNewPos 
)

◆ UpdateReference()

bool ScDBData::UpdateReference ( const ScDocument pDoc,
UpdateRefMode  eUpdateRefMode,
SCCOL  nCol1,
SCROW  nRow1,
SCTAB  nTab1,
SCCOL  nCol2,
SCROW  nRow2,
SCTAB  nTab2,
SCCOL  nDx,
SCROW  nDy,
SCTAB  nDz 
)

Member Data Documentation

◆ aAdvSource

ScRange ScDBData::aAdvSource
private

source range

Definition at line 92 of file dbdata.hxx.

Referenced by GetAdvancedQuerySource(), operator=(), operator==(), and SetAdvancedQuerySource().

◆ aName

const OUString ScDBData::aName
private

DBParam.

Definition at line 76 of file dbdata.hxx.

◆ aUpper

OUString ScDBData::aUpper
private

Definition at line 77 of file dbdata.hxx.

Referenced by ScDBData().

◆ bAutoFilter

bool ScDBData::bAutoFilter
private

AutoFilter? (not saved)

Definition at line 97 of file dbdata.hxx.

Referenced by operator=().

◆ bByRow

bool ScDBData::bByRow
private

Definition at line 83 of file dbdata.hxx.

Referenced by GetQueryParam(), GetSortParam(), MoveTo(), operator=(), and SetSortParam().

◆ bDBSelection

bool ScDBData::bDBSelection
private

not in Param: if selection, block update

Definition at line 94 of file dbdata.hxx.

Referenced by operator=().

◆ bDoSize

bool ScDBData::bDoSize
private

Definition at line 86 of file dbdata.hxx.

Referenced by operator=(), and operator==().

◆ bHasHeader

bool ScDBData::bHasHeader
private

◆ bHasTotals

bool ScDBData::bHasTotals
private

Definition at line 85 of file dbdata.hxx.

Referenced by operator=().

◆ bIsAdvanced

bool ScDBData::bIsAdvanced
private

QueryParam.

true if created by advanced filter

Definition at line 91 of file dbdata.hxx.

Referenced by GetAdvancedQuerySource(), operator=(), operator==(), SetAdvancedQuerySource(), and SetQueryParam().

◆ bKeepFmt

bool ScDBData::bKeepFmt
private

Definition at line 87 of file dbdata.hxx.

Referenced by operator=(), and operator==().

◆ bModified

bool ScDBData::bModified
private

is set/cleared for/by(?) UpdateReference

Definition at line 98 of file dbdata.hxx.

◆ bStripData

bool ScDBData::bStripData
private

Definition at line 88 of file dbdata.hxx.

Referenced by operator=(), and operator==().

◆ maTableColumnAttributes

::std::vector< TableColumnAttributes > ScDBData::maTableColumnAttributes
private

◆ maTableColumnNames

::std::vector< OUString > ScDBData::maTableColumnNames
private

◆ mbTableColumnNamesDirty

bool ScDBData::mbTableColumnNamesDirty
private

◆ mpContainer

ScDBDataContainerBase* ScDBData::mpContainer
private

Definition at line 73 of file dbdata.hxx.

Referenced by InvalidateTableColumnNames(), Notify(), and StartTableColumnNamesListener().

◆ mpImportParam

std::unique_ptr<ScImportParam> ScDBData::mpImportParam
private

Definition at line 71 of file dbdata.hxx.

Referenced by GetImportParam(), GetSourceString(), HasImportParam(), operator=(), and SetImportParam().

◆ mpQueryParam

std::unique_ptr<ScQueryParam> ScDBData::mpQueryParam
private

Definition at line 69 of file dbdata.hxx.

Referenced by GetOperations(), GetQueryParam(), HasQueryParam(), MoveTo(), operator=(), and SetQueryParam().

◆ mpSortParam

std::unique_ptr<ScSortParam> ScDBData::mpSortParam
private

Definition at line 68 of file dbdata.hxx.

Referenced by GetOperations(), GetSortParam(), HasSortParam(), MoveTo(), operator=(), and SetSortParam().

◆ mpSubTotal

std::unique_ptr<ScSubTotalParam> ScDBData::mpSubTotal
private

◆ nEndCol

SCCOL ScDBData::nEndCol
private

◆ nEndRow

SCROW ScDBData::nEndRow
private

◆ nFilteredRowCount

SCSIZE ScDBData::nFilteredRowCount
private

Definition at line 103 of file dbdata.hxx.

Referenced by CalcSaveFilteredCount(), GetFilterSelCount(), and operator=().

◆ nIndex

sal_uInt16 ScDBData::nIndex
private

unique index formulas

Definition at line 96 of file dbdata.hxx.

Referenced by operator=().

◆ nStartCol

SCCOL ScDBData::nStartCol
private

◆ nStartRow

SCROW ScDBData::nStartRow
private

◆ nTable

SCTAB ScDBData::nTable
private

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