LibreOffice Module sc (master) 1
|
#include <docuno.hxx>
Public Member Functions | |
ScTableSheetsObj (ScDocShell *pDocSh) | |
virtual | ~ScTableSheetsObj () override |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
virtual void SAL_CALL | insertNewByName (const OUString &aName, sal_Int16 nPosition) override |
XSpreadsheets. More... | |
virtual void SAL_CALL | moveByName (const OUString &aName, sal_Int16 nDestination) override |
virtual void SAL_CALL | copyByName (const OUString &aName, const OUString &aCopy, sal_Int16 nDestination) override |
virtual sal_Int32 SAL_CALL | importSheet (const css::uno::Reference< css::sheet::XSpreadsheetDocument > &xDocSrc, const OUString &srcName, sal_Int32 nDestPosition) override |
XSpreadsheets2. More... | |
virtual css::uno::Reference< css::table::XCell > SAL_CALL | getCellByPosition (sal_Int32 nColumn, sal_Int32 nRow, sal_Int32 nSheet) override |
XCellRangesAccess. More... | |
virtual css::uno::Reference< css::table::XCellRange > SAL_CALL | getCellRangeByPosition (sal_Int32 nLeft, sal_Int32 nTop, sal_Int32 nRight, sal_Int32 nBottom, sal_Int32 nSheet) override |
virtual css::uno::Sequence< css::uno::Reference< css::table::XCellRange > > SAL_CALL | getCellRangesByName (const OUString &aRange) override |
virtual void SAL_CALL | insertByName (const OUString &aName, const css::uno::Any &aElement) override |
XNameContainer. More... | |
virtual void SAL_CALL | removeByName (const OUString &Name) override |
virtual void SAL_CALL | replaceByName (const OUString &aName, const css::uno::Any &aElement) override |
XNameReplace. More... | |
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 sal_Int32 SAL_CALL | getCount () override |
XIndexAccess. More... | |
virtual css::uno::Any SAL_CALL | getByIndex (sal_Int32 Index) 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 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 | |
rtl::Reference< ScTableSheetObj > | GetObjectByIndex_Impl (sal_Int32 nIndex) const |
rtl::Reference< ScTableSheetObj > | GetObjectByName_Impl (const OUString &aName) const |
Private Attributes | |
ScDocShell * | pDocShell |
Definition at line 441 of file docuno.hxx.
ScTableSheetsObj::ScTableSheetsObj | ( | ScDocShell * | pDocSh | ) |
Definition at line 3718 of file docuno.cxx.
References ScDocument::AddUnoObject(), ScDocShell::GetDocument(), and pDocShell.
|
overridevirtual |
Definition at line 3724 of file docuno.cxx.
References ScDocShell::GetDocument(), pDocShell, and ScDocument::RemoveUnoObject().
|
overridevirtual |
Definition at line 3789 of file docuno.cxx.
References aName, ScDocShell::GetDocFunc(), ScDocShell::GetDocument(), ScDocument::GetTable(), ScDocument::GetTableCount(), ScDocShell::MoveTable(), pDocShell, and ScDocFunc::RenameTable().
|
overridevirtual |
XEnumerationAccess.
Definition at line 4007 of file docuno.cxx.
|
overridevirtual |
Definition at line 4023 of file docuno.cxx.
References GetObjectByIndex_Impl(), and nIndex.
|
overridevirtual |
XNameAccess.
Definition at line 4048 of file docuno.cxx.
References aName, and GetObjectByName_Impl().
|
overridevirtual |
|
overridevirtual |
Definition at line 3970 of file docuno.cxx.
References GetObjectByIndex_Impl().
|
overridevirtual |
Definition at line 3980 of file docuno.cxx.
References formula::FormulaGrammar::CONV_OOO, ScDocShell::GetDocument(), ScRangeStringConverter::GetRangeListFromString(), nCount, nIndex, pDocShell, and ScRangeList::size().
|
overridevirtual |
XIndexAccess.
Definition at line 4015 of file docuno.cxx.
References ScDocShell::GetDocument(), ScDocument::GetTableCount(), and pDocShell.
Referenced by hasElements().
|
overridevirtual |
Definition at line 4058 of file docuno.cxx.
References aName, aSeq, ScDocShell::GetDocument(), ScDocument::GetName(), ScDocument::GetTableCount(), i, nCount, and pDocShell.
|
overridevirtual |
XElementAccess.
Definition at line 4035 of file docuno.cxx.
References cppu::UnoType< typename T >::get().
|
overridevirtual |
XServiceInfo.
|
private |
Definition at line 3744 of file docuno.cxx.
References nIndex, and pDocShell.
Referenced by getByIndex(), getCellByPosition(), and getCellRangeByPosition().
|
private |
Definition at line 3752 of file docuno.cxx.
References aName, ScDocShell::GetDocument(), ScDocument::GetTable(), nIndex, and pDocShell.
Referenced by getByName().
|
overridevirtual |
|
overridevirtual |
Definition at line 4078 of file docuno.cxx.
References aName, ScDocShell::GetDocument(), ScDocument::GetTable(), nIndex, and pDocShell.
|
overridevirtual |
Definition at line 4040 of file docuno.cxx.
References getCount().
|
overridevirtual |
XSpreadsheets2.
Definition at line 3927 of file docuno.cxx.
References ScDocShell::GetDocument(), ScModelObj::GetEmbeddedObject(), ScDocument::GetTable(), ScDocument::GetTableCount(), nCount, pDocShell, and ScDocShell::TransferTab().
|
overridevirtual |
XNameContainer.
Type of aElement can be some specific interface instead of XInterface
Definition at line 3817 of file docuno.cxx.
References aName, ScDocShell::GetDocFunc(), ScDocShell::GetDocument(), ScDocument::GetTable(), ScDocument::GetTableCount(), ScTableSheetObj::InitInsertSheet(), ScDocFunc::InsertTable(), and pDocShell.
|
overridevirtual |
XSpreadsheets.
Definition at line 3763 of file docuno.cxx.
References aName, ScDocShell::GetDocFunc(), ScDocFunc::InsertTable(), and pDocShell.
|
overridevirtual |
Definition at line 3775 of file docuno.cxx.
References aName, ScDocShell::GetDocument(), ScDocument::GetTable(), ScDocShell::MoveTable(), and pDocShell.
|
overridevirtual |
Reimplemented from SfxListener.
Definition at line 3732 of file docuno.cxx.
References SfxHint::GetId(), and pDocShell.
|
overridevirtual |
Definition at line 3911 of file docuno.cxx.
References aName, ScDocFunc::DeleteTable(), ScDocShell::GetDocFunc(), ScDocShell::GetDocument(), ScDocument::GetTable(), nIndex, and pDocShell.
|
overridevirtual |
XNameReplace.
Type of aElement can be some specific interface instead of XInterface
Definition at line 3863 of file docuno.cxx.
References aName, ScDocFunc::DeleteTable(), ScDocShell::GetDocFunc(), ScDocShell::GetDocument(), ScDocument::GetTable(), ScTableSheetObj::InitInsertSheet(), ScDocFunc::InsertTable(), and pDocShell.
|
overridevirtual |
|
private |
Definition at line 450 of file docuno.hxx.
Referenced by copyByName(), getCellRangesByName(), getCount(), getElementNames(), GetObjectByIndex_Impl(), GetObjectByName_Impl(), hasByName(), importSheet(), insertByName(), insertNewByName(), moveByName(), Notify(), removeByName(), replaceByName(), ScTableSheetsObj(), and ~ScTableSheetsObj().