LibreOffice Module sc (master) 1
|
#include <dbdata.hxx>
Classes | |
class | AnonDBs |
Stores global anonymous database ranges. More... | |
class | NamedDBs |
Stores global named database ranges. More... | |
Public Types | |
enum | RangeType { GlobalNamed , GlobalAnonymous , SheetAnonymous } |
Private Attributes | |
Link< Timer *, void > | aRefreshHandler |
ScDocument & | rDoc |
sal_uInt16 | nEntryIndex |
counter for unique indices More... | |
NamedDBs | maNamedDBs |
AnonDBs | maAnonDBs |
Definition at line 234 of file dbdata.hxx.
Enumerator | |
---|---|
GlobalNamed | |
GlobalAnonymous | |
SheetAnonymous |
Definition at line 237 of file dbdata.hxx.
ScDBCollection::ScDBCollection | ( | ScDocument & | rDocument | ) |
Definition at line 1377 of file dbdata.cxx.
ScDBCollection::ScDBCollection | ( | const ScDBCollection & | r | ) |
Definition at line 1380 of file dbdata.cxx.
Definition at line 1572 of file dbdata.cxx.
References ScDBCollection::NamedDBs::insert(), maNamedDBs, newName(), and ScDBCollection::NamedDBs::size().
void ScDBCollection::DeleteOnTab | ( | SCTAB | nTab | ) |
Definition at line 1503 of file dbdata.cxx.
References ScDBCollection::NamedDBs::begin(), ScDBCollection::AnonDBs::deleteOnTab(), ScDBCollection::NamedDBs::end(), ScDBCollection::NamedDBs::erase(), maAnonDBs, maNamedDBs, and v.
bool ScDBCollection::empty | ( | ) | const |
Definition at line 1634 of file dbdata.cxx.
References ScDBCollection::NamedDBs::empty(), ScDBCollection::AnonDBs::empty(), maAnonDBs, and maNamedDBs.
Referenced by ScDBFunc::DoSubTotals(), ScDBDocFunc::DoSubTotals(), oox::xls::WorksheetGlobals::finalizeWorksheetImport(), ScHeaderControl::Paint(), ScDBDocFunc::Query(), ScDBFunc::RepeatDB(), ScDBDocFunc::RepeatDB(), and ScRefUndoData::ScRefUndoData().
Definition at line 1620 of file dbdata.cxx.
References ScDocument::GetAnonymousDBData(), maNamedDBs, and rDoc.
Referenced by XclExpDxfs::XclExpDxfs().
|
inline |
Definition at line 327 of file dbdata.hxx.
Referenced by ScXMLDatabaseRangeContext::endFastElement(), ScDocShell::GetAnonymousDBData(), GetDBAtArea(), GetDBAtCursor(), ScDBDocFunc::Sort(), and ScXMLExportDatabaseRanges::WriteDatabaseRanges().
|
inline |
Definition at line 328 of file dbdata.hxx.
ScDBData * ScDBCollection::GetDBAtArea | ( | SCTAB | nTab, |
SCCOL | nCol1, | ||
SCROW | nRow1, | ||
SCCOL | nCol2, | ||
SCROW | nRow2 | ||
) |
Definition at line 1460 of file dbdata.cxx.
References ScDBCollection::NamedDBs::begin(), ScDBCollection::NamedDBs::end(), ScDBCollection::AnonDBs::findByRange(), getAnonDBs(), ScDocument::GetAnonymousDBData(), ScDBData::IsDBAtArea(), maNamedDBs, pData, and rDoc.
const ScDBData * ScDBCollection::GetDBAtArea | ( | SCTAB | nTab, |
SCCOL | nCol1, | ||
SCROW | nRow1, | ||
SCCOL | nCol2, | ||
SCROW | nRow2 | ||
) | const |
Definition at line 1431 of file dbdata.cxx.
References ScDBCollection::NamedDBs::begin(), ScDBCollection::NamedDBs::end(), ScDBCollection::AnonDBs::findByRange(), ScDocument::GetAnonymousDBData(), ScDBData::IsDBAtArea(), maAnonDBs, maNamedDBs, pData, and rDoc.
Referenced by ScFilterOptionsMgr::Init(), ScTabPageSortFields::Init(), and ScPivotFilterDlg::Init().
ScDBData * ScDBCollection::GetDBAtCursor | ( | SCCOL | nCol, |
SCROW | nRow, | ||
SCTAB | nTab, | ||
ScDBDataPortion | ePortion | ||
) |
Definition at line 1407 of file dbdata.cxx.
References ScDBCollection::NamedDBs::begin(), ScDBCollection::NamedDBs::end(), ScDBCollection::AnonDBs::findAtCursor(), getAnonDBs(), ScDocument::GetAnonymousDBData(), ScDBData::IsDBAtCursor(), maNamedDBs, pData, and rDoc.
const ScDBData * ScDBCollection::GetDBAtCursor | ( | SCCOL | nCol, |
SCROW | nRow, | ||
SCTAB | nTab, | ||
ScDBDataPortion | ePortion | ||
) | const |
Definition at line 1383 of file dbdata.cxx.
References ScDBCollection::NamedDBs::begin(), ScDBCollection::NamedDBs::end(), ScDBCollection::AnonDBs::findAtCursor(), getAnonDBs(), ScDocument::GetAnonymousDBData(), ScDBData::IsDBAtCursor(), maNamedDBs, pData, and rDoc.
Referenced by ScDbNameDlg::Init().
Definition at line 1594 of file dbdata.cxx.
References ScDocument::GetAnonymousDBData(), ScDBData::GetArea(), maNamedDBs, and rDoc.
Referenced by ScDocShell::GetDBData().
|
inline |
Definition at line 324 of file dbdata.hxx.
Referenced by ScDBDocFunc::AddDBRange(), ScTabViewShell::Construct(), ScCompiler::CreateStringFromIndex(), ScDBDocFunc::DeleteDBRange(), ScUndoAutoFilter::DoChange(), ScXMLDatabaseRangeContext::endFastElement(), ScDocShell::Execute(), ScCellShell::ExecuteDB(), oox::xls::WorksheetGlobals::finalizeWorksheetImport(), oox::xls::WorkbookGlobals::findDatabaseRangeByIndex(), ScAreaLink::FindExtRange(), ScDatabaseRangesObj::getCount(), sc::ScDBDataManager::getDBData(), ScDocShell::GetDBData(), ScDatabaseRangeObj::GetDBData_Impl(), ScContentTree::GetDbNames(), ScDatabaseRangesObj::getElementNames(), ScDatabaseRangesObj::GetObjectByIndex_Impl(), ScValidationData::GetSelectionFromFormula(), ScDBFunc::GotoDBArea(), ScCompiler::HandleDbData(), ScCompiler::HandleTableRef(), ScDatabaseRangesObj::hasByName(), ScConsolidateDlg::Init(), XclExpTablesManager::Initialize(), lcl_GetDBAreaRange(), lcl_GetRange(), ScRangeUtil::MakeRangeFromName(), ScDBDocFunc::ModifyDBData(), ScAreaNameIterator::Next(), ScHeaderControl::Paint(), ScCompiler::ParseDBRange(), ScCompiler::ParseTableRefColumn(), ScCompiler::ParseValue(), ScDBDocFunc::RenameDBRange(), ScDBDocFunc::RepeatDB(), ScDataProviderDlg::ScDataProviderDlg(), ScInterpreter::ScDBArea(), ScInterpreter::ScIndirect(), sc::TokenStringContext::TokenStringContext(), ScUndoConsolidate::Undo(), ScDbNameDlg::UpdateDBData(), ScDBDocFunc::UpdateImport(), ScDbNameDlg::UpdateNames(), ScTabViewShell::UseSubTotal(), and ScXMLExportDatabaseRanges::WriteDatabaseRanges().
|
inline |
Definition at line 325 of file dbdata.hxx.
Definition at line 349 of file dbdata.hxx.
Referenced by ScXMLDatabaseRangeContext::ConvertToDBData(), and ScDatabaseRangeObj::setPropertyValue().
bool ScDBCollection::operator== | ( | const ScDBCollection & | r | ) | const |
Definition at line 1639 of file dbdata.cxx.
References aRefreshHandler, maAnonDBs, maNamedDBs, nEntryIndex, and rDoc.
void ScDBCollection::RefreshDirtyTableColumnNames | ( | ) |
Definition at line 1489 of file dbdata.cxx.
References i, ScDBDataContainerBase::maDirtyTableColumnNames, maNamedDBs, ScDBDataContainerBase::mrDoc, ScRangeList::RemoveAll(), and ScRangeList::size().
Definition at line 347 of file dbdata.hxx.
Definition at line 1565 of file dbdata.cxx.
References ScDBCollection::NamedDBs::begin(), ScDBCollection::AnonDBs::begin(), ScDBCollection::NamedDBs::end(), ScDBCollection::AnonDBs::end(), maAnonDBs, and maNamedDBs.
void ScDBCollection::UpdateReference | ( | UpdateRefMode | eUpdateRefMode, |
SCCOL | nCol1, | ||
SCROW | nRow1, | ||
SCTAB | nTab1, | ||
SCCOL | nCol2, | ||
SCROW | nRow2, | ||
SCTAB | nTab2, | ||
SCCOL | nDx, | ||
SCROW | nDy, | ||
SCTAB | nDz | ||
) |
Definition at line 1524 of file dbdata.cxx.
References ScDBCollection::NamedDBs::begin(), ScDBCollection::AnonDBs::begin(), ScDBCollection::NamedDBs::end(), ScDBCollection::AnonDBs::end(), ScDBCollection::NamedDBs::erase(), ScDBCollection::AnonDBs::erase(), ScDocument::GetAnonymousDBData(), maAnonDBs, maNamedDBs, pData, rDoc, and ScDocument::SetAnonymousDBData().
Definition at line 314 of file dbdata.hxx.
Referenced by operator==().
|
private |
Definition at line 318 of file dbdata.hxx.
Referenced by DeleteOnTab(), empty(), GetDBAtArea(), operator==(), UpdateMoveTab(), and UpdateReference().
|
private |
Definition at line 317 of file dbdata.hxx.
Referenced by CopyToTable(), DeleteOnTab(), empty(), GetAllDBsFromTab(), GetDBAtArea(), GetDBAtCursor(), GetDBNearCursor(), operator==(), RefreshDirtyTableColumnNames(), UpdateMoveTab(), and UpdateReference().
|
private |
|
private |
Definition at line 315 of file dbdata.hxx.
Referenced by GetAllDBsFromTab(), GetDBAtArea(), GetDBAtCursor(), GetDBNearCursor(), operator==(), and UpdateReference().