LibreOffice Module sc (master) 1
|
#include <docuno.hxx>
Public Member Functions | |
ScScenariosObj (ScDocShell *pDocSh, SCTAB nT) | |
virtual | ~ScScenariosObj () override |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
virtual void SAL_CALL | addNewByName (const OUString &aName, const css::uno::Sequence< css::table::CellRangeAddress > &aRanges, const OUString &aComment) override |
XScenarios. More... | |
virtual void SAL_CALL | removeByName (const OUString &aName) override |
virtual css::uno::Any SAL_CALL | getByName (const OUString &aName) override |
XNameAccess. More... | |
virtual css::uno::Sequence< OUString > SAL_CALL | getElementNames () override |
virtual sal_Bool SAL_CALL | hasByName (const OUString &aName) override |
virtual sal_Int32 SAL_CALL | getCount () override |
XIndexAccess. More... | |
virtual css::uno::Any SAL_CALL | getByIndex (sal_Int32 Index) override |
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL | createEnumeration () override |
XEnumerationAccess. More... | |
virtual css::uno::Type SAL_CALL | getElementType () override |
XElementAccess. More... | |
virtual sal_Bool SAL_CALL | hasElements () override |
virtual OUString SAL_CALL | getImplementationName () override |
XServiceInfo. More... | |
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 | |
bool | GetScenarioIndex_Impl (std::u16string_view rName, SCTAB &rIndex) |
rtl::Reference< ScTableSheetObj > | GetObjectByIndex_Impl (sal_Int32 nIndex) |
rtl::Reference< ScTableSheetObj > | GetObjectByName_Impl (std::u16string_view aName) |
Private Attributes | |
ScDocShell * | pDocShell |
SCTAB | nTab |
Definition at line 715 of file docuno.hxx.
ScScenariosObj::ScScenariosObj | ( | ScDocShell * | pDocSh, |
SCTAB | nT | ||
) |
Definition at line 4766 of file docuno.cxx.
References ScDocument::AddUnoObject(), ScDocShell::GetDocument(), and pDocShell.
|
overridevirtual |
Definition at line 4773 of file docuno.cxx.
References ScDocShell::GetDocument(), pDocShell, and ScDocument::RemoveUnoObject().
|
overridevirtual |
XScenarios.
Definition at line 4834 of file docuno.cxx.
References aName, COL_LIGHTGRAY(), ScDocShell::GetDocument(), ScDocument::GetSheetLimits(), ScDocShell::MakeScenario(), nTab, pDocShell, PrintFrame, Protected, ScMarkData::SelectTable(), ScMarkData::SetMultiMarkArea(), ShowFrame, and TwoWay.
|
overridevirtual |
XEnumerationAccess.
Definition at line 4870 of file docuno.cxx.
|
overridevirtual |
Definition at line 4899 of file docuno.cxx.
References GetObjectByIndex_Impl(), and nIndex.
|
overridevirtual |
XNameAccess.
Definition at line 4920 of file docuno.cxx.
References aName, and GetObjectByName_Impl().
|
overridevirtual |
XIndexAccess.
Definition at line 4878 of file docuno.cxx.
References ScDocShell::GetDocument(), ScDocument::GetTableCount(), ScDocument::IsScenario(), nCount, nTab, and pDocShell.
Referenced by getElementNames(), GetObjectByIndex_Impl(), GetScenarioIndex_Impl(), and hasElements().
|
overridevirtual |
Definition at line 4930 of file docuno.cxx.
References aSeq, getCount(), ScDocShell::GetDocument(), ScDocument::GetName(), i, nCount, nTab, and pDocShell.
|
overridevirtual |
XElementAccess.
Definition at line 4909 of file docuno.cxx.
References cppu::UnoType< typename T >::get().
|
overridevirtual |
XServiceInfo.
|
private |
Definition at line 4816 of file docuno.cxx.
References getCount(), nCount, nIndex, nTab, and pDocShell.
Referenced by getByIndex().
|
private |
Definition at line 4825 of file docuno.cxx.
References aName, GetScenarioIndex_Impl(), nIndex, nTab, and pDocShell.
Referenced by getByName().
|
private |
Case-insensitive ????
Definition at line 4795 of file docuno.cxx.
References getCount(), ScDocShell::GetDocument(), ScDocument::GetName(), i, nCount, nTab, and pDocShell.
Referenced by GetObjectByName_Impl(), hasByName(), and removeByName().
|
overridevirtual |
|
overridevirtual |
Definition at line 4949 of file docuno.cxx.
References aName, GetScenarioIndex_Impl(), and nIndex.
|
overridevirtual |
Definition at line 4914 of file docuno.cxx.
References getCount().
|
overridevirtual |
update of references for sheet and its start/end
Reimplemented from SfxListener.
Definition at line 4781 of file docuno.cxx.
References SfxHint::GetId(), and pDocShell.
|
overridevirtual |
Definition at line 4860 of file docuno.cxx.
References aName, ScDocFunc::DeleteTable(), ScDocShell::GetDocFunc(), GetScenarioIndex_Impl(), nIndex, nTab, and pDocShell.
|
overridevirtual |
|
private |
Definition at line 724 of file docuno.hxx.
Referenced by addNewByName(), getCount(), getElementNames(), GetObjectByIndex_Impl(), GetObjectByName_Impl(), GetScenarioIndex_Impl(), and removeByName().
|
private |
Definition at line 723 of file docuno.hxx.
Referenced by addNewByName(), getCount(), getElementNames(), GetObjectByIndex_Impl(), GetObjectByName_Impl(), GetScenarioIndex_Impl(), Notify(), removeByName(), ScScenariosObj(), and ~ScScenariosObj().