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
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 

Private Member Functions

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

Private Attributes

ScDocShellpDocShell
 

Detailed Description

Definition at line 397 of file docuno.hxx.

Constructor & Destructor Documentation

ScDrawPagesObj::ScDrawPagesObj ( ScDocShell pDocSh)

Definition at line 3444 of file docuno.cxx.

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

ScDrawPagesObj::~ScDrawPagesObj ( )
overridevirtual

Definition at line 3450 of file docuno.cxx.

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

Member Function Documentation

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

Definition at line 3529 of file docuno.cxx.

References GetObjectByIndex_Impl().

sal_Int32 SAL_CALL ScDrawPagesObj::getCount ( )
overridevirtual

XIndexAccess.

Definition at line 3521 of file docuno.cxx.

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

Referenced by hasElements().

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

XElementAccess.

Definition at line 3539 of file docuno.cxx.

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

virtual OUString SAL_CALL ScDrawPagesObj::getImplementationName ( )
overridevirtual

XServiceInfo.

uno::Reference< drawing::XDrawPage > ScDrawPagesObj::GetObjectByIndex_Impl ( sal_Int32  nIndex) const
private
virtual css::uno::Sequence< OUString > SAL_CALL ScDrawPagesObj::getSupportedServiceNames ( )
overridevirtual
sal_Bool SAL_CALL ScDrawPagesObj::hasElements ( )
overridevirtual

Definition at line 3545 of file docuno.cxx.

References getCount().

uno::Reference< drawing::XDrawPage > SAL_CALL ScDrawPagesObj::insertNewByIndex ( sal_Int32  nIndex)
overridevirtual
void ScDrawPagesObj::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
)
overridevirtual

Reimplemented from SfxListener.

Definition at line 3458 of file docuno.cxx.

References SfxHint::GetId(), and pDocShell.

void SAL_CALL ScDrawPagesObj::remove ( const css::uno::Reference< css::drawing::XDrawPage > &  xPage)
overridevirtual
virtual sal_Bool SAL_CALL ScDrawPagesObj::supportsService ( const OUString &  ServiceName)
overridevirtual

Member Data Documentation

ScDocShell* ScDrawPagesObj::pDocShell
private

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