LibreOffice Module sc (master) 1
|
#include <datauno.hxx>
Public Member Functions | |
ScDatabaseRangeObj (ScDocShell *pDocSh, OUString aNm) | |
SC_DLLPUBLIC | ScDatabaseRangeObj (ScDocShell *pDocSh, const SCTAB nTab) |
virtual | ~ScDatabaseRangeObj () override |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
void | GetQueryParam (ScQueryParam &rQueryParam) const |
void | SetQueryParam (const ScQueryParam &rQueryParam) |
void | GetSubTotalParam (ScSubTotalParam &rSubTotalParam) const |
void | SetSubTotalParam (const ScSubTotalParam &rSubTotalParam) |
virtual OUString SAL_CALL | getName () override |
virtual void SAL_CALL | setName (const OUString &aName) override |
virtual css::table::CellRangeAddress SAL_CALL | getDataArea () override |
virtual void SAL_CALL | setDataArea (const css::table::CellRangeAddress &aDataArea) override |
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL | getSortDescriptor () override |
virtual css::uno::Reference< css::sheet::XSheetFilterDescriptor > SAL_CALL | getFilterDescriptor () override |
virtual css::uno::Reference< css::sheet::XSubTotalDescriptor > SAL_CALL | getSubTotalDescriptor () override |
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL | getImportDescriptor () override |
virtual void SAL_CALL | refresh () override |
virtual void SAL_CALL | addRefreshListener (const css::uno::Reference< css::util::XRefreshListener > &l) override |
virtual void SAL_CALL | removeRefreshListener (const css::uno::Reference< css::util::XRefreshListener > &l) override |
virtual css::uno::Reference< css::table::XCellRange > SAL_CALL | getReferredCells () override |
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | getPropertySetInfo () override |
virtual void SAL_CALL | setPropertyValue (const OUString &aPropertyName, const css::uno::Any &aValue) override |
virtual css::uno::Any SAL_CALL | getPropertyValue (const OUString &PropertyName) override |
virtual void SAL_CALL | addPropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override |
virtual void SAL_CALL | removePropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override |
virtual void SAL_CALL | addVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override |
virtual void SAL_CALL | removeVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override |
virtual OUString SAL_CALL | getImplementationName () override |
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
Public Member Functions inherited from SfxListener | |
SfxListener () | |
SfxListener (const SfxListener &rCopy) | |
virtual | ~SfxListener () COVERITY_NOEXCEPT_FALSE |
void | StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected) |
void | EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false) |
void | EndListeningAll () |
bool | IsListening (SfxBroadcaster &rBroadcaster) const |
sal_uInt16 | GetBroadcasterCount () const |
SfxBroadcaster * | GetBroadcasterJOE (sal_uInt16 nNo) const |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) |
void | RemoveBroadcaster_Impl (SfxBroadcaster &rBC) |
virtual bool | IsSdrView () const |
Private Member Functions | |
ScDBData * | GetDBData_Impl () const |
void | Refreshed_Impl () |
Private Attributes | |
ScDocShell * | pDocShell |
OUString | aName |
SfxItemPropertySet | aPropSet |
std::vector< css::uno::Reference< css::util::XRefreshListener > > | aRefreshListeners |
bool | bIsUnnamed |
SCTAB | aTab |
Definition at line 388 of file datauno.hxx.
ScDatabaseRangeObj::ScDatabaseRangeObj | ( | ScDocShell * | pDocSh, |
OUString | aNm | ||
) |
Definition at line 1562 of file datauno.cxx.
References ScDocument::AddUnoObject(), aName, ScDocShell::GetDocument(), and pDocShell.
ScDatabaseRangeObj::ScDatabaseRangeObj | ( | ScDocShell * | pDocSh, |
const SCTAB | nTab | ||
) |
Definition at line 1572 of file datauno.cxx.
References ScDocument::AddUnoObject(), aName, ScDocShell::GetDocument(), and pDocShell.
|
overridevirtual |
Definition at line 1582 of file datauno.cxx.
References ScDocShell::GetDocument(), pDocShell, and ScDocument::RemoveUnoObject().
|
overridevirtual |
|
overridevirtual |
Definition at line 1863 of file datauno.cxx.
References aRefreshListeners.
|
overridevirtual |
|
overridevirtual |
Definition at line 1652 of file datauno.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), GetDBData_Impl(), pData, ScAddress::Row(), and ScAddress::Tab().
|
private |
Definition at line 1607 of file datauno.cxx.
References aName, aTab, bIsUnnamed, ScDBCollection::NamedDBs::findByUpperName(), ScDocument::GetAnonymousDBData(), ScGlobal::getCharClass(), ScDocument::GetDBCollection(), ScDocShell::GetDocument(), ScDBCollection::getNamedDBs(), p, and pDocShell.
Referenced by getDataArea(), getImportDescriptor(), getPropertyValue(), GetQueryParam(), getReferredCells(), getSortDescriptor(), GetSubTotalParam(), Notify(), refresh(), setDataArea(), setPropertyValue(), SetQueryParam(), and SetSubTotalParam().
|
overridevirtual |
Definition at line 1756 of file datauno.cxx.
References pDocShell.
|
overridevirtual |
Definition at line 2107 of file datauno.cxx.
|
overridevirtual |
Definition at line 1821 of file datauno.cxx.
References aSeq, ScImportDescriptor::FillProperties(), GetDBData_Impl(), ScImportDescriptor::GetPropertyCount(), and pData.
|
overridevirtual |
Definition at line 1632 of file datauno.cxx.
References aName.
|
overridevirtual |
Definition at line 1922 of file datauno.cxx.
References aPropSet, and SfxItemPropertySet::getPropertyMap().
|
overridevirtual |
Definition at line 2024 of file datauno.cxx.
References aName, ScUnoConversion::FillApiRange(), GetDBData_Impl(), ScDBData::HasImportSelection(), pData, SC_UNO_LINKDISPBIT, SC_UNO_LINKDISPNAME, SC_UNONAME_AUTOFLT, SC_UNONAME_CONRES, SC_UNONAME_CONTHDR, SC_UNONAME_FLTCRT, SC_UNONAME_FROMSELECT, SC_UNONAME_ISUSER, SC_UNONAME_KEEPFORM, SC_UNONAME_MOVCELLS, SC_UNONAME_REFPERIOD, SC_UNONAME_STRIPDAT, SC_UNONAME_TOKENINDEX, SC_UNONAME_TOTALSROW, SC_UNONAME_USEFLTCRT, and STR_DB_LOCAL_NONAME.
void ScDatabaseRangeObj::GetQueryParam | ( | ScQueryParam & | rQueryParam | ) | const |
Definition at line 1708 of file datauno.cxx.
References ScRange::aStart, ScQueryParamBase::bByRow, ScQueryEntry::bDoQuery, ScAddress::Col(), GetDBData_Impl(), ScQueryParamBase::GetEntry(), ScQueryParamBase::GetEntryCount(), i, nCount, ScQueryEntry::nField, pData, and ScAddress::Row().
|
overridevirtual |
static function to create ScCellObj/ScCellRange on ScCellRangeObj ???
Definition at line 1902 of file datauno.cxx.
References ScRange::aEnd, ScRange::aStart, GetDBData_Impl(), pData, and pDocShell.
|
overridevirtual |
Definition at line 1685 of file datauno.cxx.
References aSeq, ScRange::aStart, ScSortParam::bByRow, ScAddress::Col(), ScSortDescriptor::FillProperties(), GetDBData_Impl(), ScSortDescriptor::GetPropertyCount(), ScSortParam::GetSortKeyCount(), i, ScSortParam::maKeyState, pData, and ScAddress::Row().
|
overridevirtual |
Definition at line 1815 of file datauno.cxx.
void ScDatabaseRangeObj::GetSubTotalParam | ( | ScSubTotalParam & | rSubTotalParam | ) | const |
Definition at line 1762 of file datauno.cxx.
References ScRange::aStart, ScSubTotalParam::bGroupActive, ScAddress::Col(), GetDBData_Impl(), i, MAXSUBTOTAL, ScSubTotalParam::nField, ScSubTotalParam::nSubTotals, pData, and ScSubTotalParam::pSubTotals.
|
overridevirtual |
Definition at line 2117 of file datauno.cxx.
References SCLINKTARGET_SERVICE.
|
overridevirtual |
Reimplemented from SfxListener.
Definition at line 1590 of file datauno.cxx.
References GetDBData_Impl(), SfxHint::GetId(), ScDBData::GetImportParam(), pDocShell, and Refreshed_Impl().
|
overridevirtual |
Api-Flag as parameter
Definition at line 1836 of file datauno.cxx.
References aTab, ScImportParam::bImport, bIsUnnamed, ScDBDocFunc::DoImport(), GetDBData_Impl(), pData, pDocShell, and ScDBDocFunc::RepeatDB().
|
private |
Definition at line 1892 of file datauno.cxx.
References aEvent, and aRefreshListeners.
Referenced by Notify().
|
overridevirtual |
|
overridevirtual |
Definition at line 1874 of file datauno.cxx.
References aRefreshListeners, n, and nCount.
|
overridevirtual |
|
overridevirtual |
MoveTo ???
Definition at line 1670 of file datauno.cxx.
References GetDBData_Impl(), ScDBDocFunc::ModifyDBData(), pData, pDocShell, and ScDBData::SetArea().
|
overridevirtual |
Definition at line 1638 of file datauno.cxx.
References aName, pDocShell, and ScDBDocFunc::RenameDBRange().
|
overridevirtual |
Definition at line 1930 of file datauno.cxx.
References ScRange::aEnd, ScDocument::ApplyFlagsTab(), ScRange::aStart, Auto, ScAddress::Col(), ScUnoConversion::FillScRange(), ScDBData::GetAdvancedQuerySource(), ScDBData::GetArea(), ScUnoHelpFunctions::GetBoolFromAny(), ScDocument::GetDBCollection(), GetDBData_Impl(), ScDocShell::GetDocument(), ScDBCollection::GetRefreshHandler(), ScDocument::GetRefreshTimerControlAddress(), Grid, ScDBDocFunc::ModifyDBData(), pData, pDocShell, ScDocShell::PostPaint(), ScDocument::RemoveFlagsTab(), ScAddress::Row(), SC_UNONAME_AUTOFLT, SC_UNONAME_CONRES, SC_UNONAME_CONTHDR, SC_UNONAME_FLTCRT, SC_UNONAME_FROMSELECT, SC_UNONAME_KEEPFORM, SC_UNONAME_MOVCELLS, SC_UNONAME_REFPERIOD, SC_UNONAME_STRIPDAT, SC_UNONAME_TOTALSROW, SC_UNONAME_USEFLTCRT, ScDBData::SetAdvancedQuerySource(), ScDBData::SetAutoFilter(), ScDBData::SetDoSize(), ScDBData::SetHeader(), ScDBData::SetImportSelection(), ScDBData::SetKeepFmt(), ScRefreshTimer::SetRefreshControl(), ScRefreshTimer::SetRefreshDelay(), ScRefreshTimer::SetRefreshHandler(), ScAddress::SetRow(), ScDBData::SetStripData(), ScDBData::SetTotals(), and ScAddress::Tab().
void ScDatabaseRangeObj::SetQueryParam | ( | const ScQueryParam & | rQueryParam | ) |
Definition at line 1729 of file datauno.cxx.
References ScRange::aStart, ScQueryParamBase::bByRow, ScQueryEntry::bDoQuery, ScQueryParamBase::bHasHeader, ScAddress::Col(), GetDBData_Impl(), ScQueryParamBase::GetEntry(), ScQueryParamBase::GetEntryCount(), i, ScDBDocFunc::ModifyDBData(), nCount, ScQueryEntry::nField, pData, pDocShell, ScAddress::Row(), ScDBData::SetHeader(), and ScDBData::SetQueryParam().
void ScDatabaseRangeObj::SetSubTotalParam | ( | const ScSubTotalParam & | rSubTotalParam | ) |
Definition at line 1788 of file datauno.cxx.
References ScRange::aStart, ScSubTotalParam::bGroupActive, ScAddress::Col(), GetDBData_Impl(), i, MAXSUBTOTAL, ScDBDocFunc::ModifyDBData(), ScSubTotalParam::nField, ScSubTotalParam::nSubTotals, pData, pDocShell, ScSubTotalParam::pSubTotals, and ScDBData::SetSubTotalParam().
|
overridevirtual |
Definition at line 2112 of file datauno.cxx.
References cppu::supportsService().
|
private |
Definition at line 399 of file datauno.hxx.
Referenced by GetDBData_Impl(), getName(), getPropertyValue(), and setName().
|
private |
Definition at line 400 of file datauno.hxx.
Referenced by getPropertySetInfo().
|
private |
Definition at line 402 of file datauno.hxx.
Referenced by addRefreshListener(), Refreshed_Impl(), and removeRefreshListener().
|
private |
Definition at line 404 of file datauno.hxx.
Referenced by GetDBData_Impl(), and refresh().
|
private |
Definition at line 403 of file datauno.hxx.
Referenced by GetDBData_Impl(), and refresh().
|
private |
Definition at line 398 of file datauno.hxx.
Referenced by GetDBData_Impl(), getFilterDescriptor(), getReferredCells(), Notify(), refresh(), ScDatabaseRangeObj(), setDataArea(), setName(), setPropertyValue(), SetQueryParam(), SetSubTotalParam(), and ~ScDatabaseRangeObj().