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

#include <docuno.hxx>

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

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
 
SfxBroadcasterGetBroadcasterJOE (sal_uInt16 nNo) const
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 

Private Member Functions

ScTableSheetObjGetObjectByIndex_Impl (sal_Int32 nIndex) const
 
ScTableSheetObjGetObjectByName_Impl (const OUString &aName) const
 

Private Attributes

ScDocShellpDocShell
 

Detailed Description

Definition at line 429 of file docuno.hxx.

Constructor & Destructor Documentation

ScTableSheetsObj::ScTableSheetsObj ( ScDocShell pDocSh)

Definition at line 3439 of file docuno.cxx.

References ScDocument::AddUnoObject(), ScDocShell::GetDocument(), and pDocShell.

ScTableSheetsObj::~ScTableSheetsObj ( )
overridevirtual

Definition at line 3445 of file docuno.cxx.

References ScDocShell::GetDocument(), pDocShell, and ScDocument::RemoveUnoObject().

Member Function Documentation

void SAL_CALL ScTableSheetsObj::copyByName ( const OUString &  aName,
const OUString &  aCopy,
sal_Int16  nDestination 
)
overridevirtual
uno::Reference< container::XEnumeration > SAL_CALL ScTableSheetsObj::createEnumeration ( )
overridevirtual

XEnumerationAccess.

Definition at line 3727 of file docuno.cxx.

uno::Any SAL_CALL ScTableSheetsObj::getByIndex ( sal_Int32  Index)
overridevirtual

Definition at line 3743 of file docuno.cxx.

References GetObjectByIndex_Impl().

uno::Any SAL_CALL ScTableSheetsObj::getByName ( const OUString &  aName)
overridevirtual

XNameAccess.

Definition at line 3769 of file docuno.cxx.

References GetObjectByName_Impl().

uno::Reference< table::XCell > SAL_CALL ScTableSheetsObj::getCellByPosition ( sal_Int32  nColumn,
sal_Int32  nRow,
sal_Int32  nSheet 
)
overridevirtual

XCellRangesAccess.

Definition at line 3681 of file docuno.cxx.

References GetObjectByIndex_Impl().

uno::Reference< table::XCellRange > SAL_CALL ScTableSheetsObj::getCellRangeByPosition ( sal_Int32  nLeft,
sal_Int32  nTop,
sal_Int32  nRight,
sal_Int32  nBottom,
sal_Int32  nSheet 
)
overridevirtual

Definition at line 3691 of file docuno.cxx.

References GetObjectByIndex_Impl().

uno::Sequence< uno::Reference< table::XCellRange > > SAL_CALL ScTableSheetsObj::getCellRangesByName ( const OUString &  aRange)
overridevirtual
sal_Int32 SAL_CALL ScTableSheetsObj::getCount ( )
overridevirtual

XIndexAccess.

Definition at line 3735 of file docuno.cxx.

References ScDocShell::GetDocument(), ScDocument::GetTableCount(), and pDocShell.

Referenced by hasElements().

uno::Sequence< OUString > SAL_CALL ScTableSheetsObj::getElementNames ( )
overridevirtual
uno::Type SAL_CALL ScTableSheetsObj::getElementType ( )
overridevirtual

XElementAccess.

Definition at line 3755 of file docuno.cxx.

References cppu::UnoType< class >::get().

virtual OUString SAL_CALL ScTableSheetsObj::getImplementationName ( )
overridevirtual

XServiceInfo.

ScTableSheetObj * ScTableSheetsObj::GetObjectByIndex_Impl ( sal_Int32  nIndex) const
private

Definition at line 3465 of file docuno.cxx.

References pDocShell.

Referenced by getByIndex(), getCellByPosition(), and getCellRangeByPosition().

ScTableSheetObj * ScTableSheetsObj::GetObjectByName_Impl ( const OUString &  aName) const
private

Definition at line 3473 of file docuno.cxx.

References ScDocShell::GetDocument(), ScDocument::GetTable(), nIndex, and pDocShell.

Referenced by getByName().

virtual css::uno::Sequence< OUString > SAL_CALL ScTableSheetsObj::getSupportedServiceNames ( )
overridevirtual
sal_Bool SAL_CALL ScTableSheetsObj::hasByName ( const OUString &  aName)
overridevirtual

Definition at line 3799 of file docuno.cxx.

References ScDocShell::GetDocument(), ScDocument::GetTable(), nIndex, and pDocShell.

sal_Bool SAL_CALL ScTableSheetsObj::hasElements ( )
overridevirtual

Definition at line 3761 of file docuno.cxx.

References getCount().

sal_Int32 ScTableSheetsObj::importSheet ( const css::uno::Reference< css::sheet::XSpreadsheetDocument > &  xDocSrc,
const OUString &  srcName,
sal_Int32  nDestPosition 
)
overridevirtual
void SAL_CALL ScTableSheetsObj::insertByName ( const OUString &  aName,
const css::uno::Any &  aElement 
)
overridevirtual
void SAL_CALL ScTableSheetsObj::insertNewByName ( const OUString &  aName,
sal_Int16  nPosition 
)
overridevirtual

XSpreadsheets.

Definition at line 3484 of file docuno.cxx.

References ScDocShell::GetDocFunc(), ScDocFunc::InsertTable(), and pDocShell.

void SAL_CALL ScTableSheetsObj::moveByName ( const OUString &  aName,
sal_Int16  nDestination 
)
overridevirtual
void ScTableSheetsObj::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
)
overridevirtual

Reimplemented from SfxListener.

Definition at line 3453 of file docuno.cxx.

References SfxHint::GetId(), and pDocShell.

void SAL_CALL ScTableSheetsObj::removeByName ( const OUString &  Name)
overridevirtual
void SAL_CALL ScTableSheetsObj::replaceByName ( const OUString &  aName,
const css::uno::Any &  aElement 
)
overridevirtual
virtual sal_Bool SAL_CALL ScTableSheetsObj::supportsService ( const OUString &  ServiceName)
overridevirtual

Member Data Documentation

ScDocShell* ScTableSheetsObj::pDocShell
private

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