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

#include <docuno.hxx>

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

Public Member Functions

 ScDrawPagesObj (ScDocShell *pDocSh)
 
virtual ~ScDrawPagesObj () override
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 
virtual css::uno::Reference< css::drawing::XDrawPage > SAL_CALL insertNewByIndex (sal_Int32 nIndex) override
 XDrawPages. More...
 
virtual void SAL_CALL remove (const css::uno::Reference< css::drawing::XDrawPage > &xPage) override
 
virtual sal_Int32 SAL_CALL getCount () override
 XIndexAccess. More...
 
virtual css::uno::Any SAL_CALL getByIndex (sal_Int32 Index) override
 
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
 
SfxBroadcasterGetBroadcasterJOE (sal_uInt16 nNo) const
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint)
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 
virtual bool IsSdrView () const
 

Private Member Functions

css::uno::Reference< css::drawing::XDrawPage > GetObjectByIndex_Impl (sal_Int32 nIndex) const
 

Private Attributes

ScDocShellpDocShell
 

Detailed Description

Definition at line 405 of file docuno.hxx.

Constructor & Destructor Documentation

◆ ScDrawPagesObj()

ScDrawPagesObj::ScDrawPagesObj ( ScDocShell pDocSh)

Definition at line 3612 of file docuno.cxx.

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

◆ ~ScDrawPagesObj()

ScDrawPagesObj::~ScDrawPagesObj ( )
overridevirtual

Definition at line 3618 of file docuno.cxx.

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

Member Function Documentation

◆ getByIndex()

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

Definition at line 3697 of file docuno.cxx.

References GetObjectByIndex_Impl(), and nIndex.

◆ getCount()

sal_Int32 SAL_CALL ScDrawPagesObj::getCount ( )
overridevirtual

XIndexAccess.

Definition at line 3689 of file docuno.cxx.

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

Referenced by hasElements().

◆ getElementType()

uno::Type SAL_CALL ScDrawPagesObj::getElementType ( )
overridevirtual

XElementAccess.

Definition at line 3707 of file docuno.cxx.

References cppu::UnoType< typename T >::get().

◆ getImplementationName()

virtual OUString SAL_CALL ScDrawPagesObj::getImplementationName ( )
overridevirtual

XServiceInfo.

◆ GetObjectByIndex_Impl()

uno::Reference< drawing::XDrawPage > ScDrawPagesObj::GetObjectByIndex_Impl ( sal_Int32  nIndex) const
private

◆ getSupportedServiceNames()

virtual css::uno::Sequence< OUString > SAL_CALL ScDrawPagesObj::getSupportedServiceNames ( )
overridevirtual

◆ hasElements()

sal_Bool SAL_CALL ScDrawPagesObj::hasElements ( )
overridevirtual

Definition at line 3712 of file docuno.cxx.

References getCount().

◆ insertNewByIndex()

uno::Reference< drawing::XDrawPage > SAL_CALL ScDrawPagesObj::insertNewByIndex ( sal_Int32  nIndex)
overridevirtual

◆ Notify()

void ScDrawPagesObj::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
)
overridevirtual

Reimplemented from SfxListener.

Definition at line 3626 of file docuno.cxx.

References SfxHint::GetId(), and pDocShell.

◆ remove()

void SAL_CALL ScDrawPagesObj::remove ( const css::uno::Reference< css::drawing::XDrawPage > &  xPage)
overridevirtual

◆ supportsService()

virtual sal_Bool SAL_CALL ScDrawPagesObj::supportsService ( const OUString &  ServiceName)
overridevirtual

Member Data Documentation

◆ pDocShell

ScDocShell* ScDrawPagesObj::pDocShell
private

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