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

#include <docuno.hxx>

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

Public Member Functions

 ScTableColumnsObj (ScDocShell *pDocSh, SCTAB nT, SCCOL nSC, SCCOL nEC)
 
virtual ~ScTableColumnsObj () override
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 
virtual void SAL_CALL insertByIndex (sal_Int32 nIndex, sal_Int32 nCount) override
 XTableColumns. More...
 
virtual void SAL_CALL removeByIndex (sal_Int32 nIndex, sal_Int32 nCount) 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 css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 XPropertySet. More...
 
virtual void SAL_CALL setPropertyValue (const OUString &aPropertyName, const css::uno::Any &aValue) override
 
virtual css::uno::Any SAL_CALL getPropertyValue (const OUString &PropertyName) override
 
virtual void SAL_CALL addPropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
 
virtual void SAL_CALL removePropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
 
virtual void SAL_CALL addVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
 
virtual void SAL_CALL removeVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) 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

ScTableColumnObjGetObjectByIndex_Impl (sal_Int32 nIndex) const
 
ScTableColumnObjGetObjectByName_Impl (const OUString &aName) const
 

Private Attributes

ScDocShellpDocShell
 
SCTAB nTab
 
SCCOL nStartCol
 
SCCOL nEndCol
 

Detailed Description

Definition at line 508 of file docuno.hxx.

Constructor & Destructor Documentation

ScTableColumnsObj::ScTableColumnsObj ( ScDocShell pDocSh,
SCTAB  nT,
SCCOL  nSC,
SCCOL  nEC 
)

Definition at line 3924 of file docuno.cxx.

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

ScTableColumnsObj::~ScTableColumnsObj ( )
overridevirtual

Definition at line 3933 of file docuno.cxx.

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

Member Function Documentation

virtual void SAL_CALL ScTableColumnsObj::addPropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  xListener 
)
overridevirtual
virtual void SAL_CALL ScTableColumnsObj::addVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual
uno::Reference< container::XEnumeration > SAL_CALL ScTableColumnsObj::createEnumeration ( )
overridevirtual

XEnumerationAccess.

Definition at line 4014 of file docuno.cxx.

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

Definition at line 4028 of file docuno.cxx.

References GetObjectByIndex_Impl(), and xColumn.

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

XNameAccess.

Definition at line 4051 of file docuno.cxx.

References GetObjectByName_Impl(), and xColumn.

sal_Int32 SAL_CALL ScTableColumnsObj::getCount ( )
overridevirtual

XIndexAccess.

Definition at line 4022 of file docuno.cxx.

References nEndCol, and nStartCol.

Referenced by hasElements().

uno::Sequence< OUString > SAL_CALL ScTableColumnsObj::getElementNames ( )
overridevirtual

Definition at line 4061 of file docuno.cxx.

References aSeq, i, nCount, nEndCol, nStartCol, and ScColToAlpha().

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

XElementAccess.

Definition at line 4039 of file docuno.cxx.

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

virtual OUString SAL_CALL ScTableColumnsObj::getImplementationName ( )
overridevirtual

XServiceInfo.

ScTableColumnObj * ScTableColumnsObj::GetObjectByIndex_Impl ( sal_Int32  nIndex) const
private

Definition at line 3955 of file docuno.cxx.

References nEndCol, nStartCol, nTab, and pDocShell.

Referenced by getByIndex().

ScTableColumnObj * ScTableColumnsObj::GetObjectByName_Impl ( const OUString &  aName) const
private

Definition at line 3964 of file docuno.cxx.

References AlphaToCol(), ScDocShell::GetDocument(), nEndCol, nStartCol, nTab, and pDocShell.

Referenced by getByName().

uno::Reference< beans::XPropertySetInfo > SAL_CALL ScTableColumnsObj::getPropertySetInfo ( )
overridevirtual

XPropertySet.

Definition at line 4086 of file docuno.cxx.

References lcl_GetColumnsPropertyMap().

uno::Any SAL_CALL ScTableColumnsObj::getPropertyValue ( const OUString &  PropertyName)
overridevirtual
virtual css::uno::Sequence< OUString > SAL_CALL ScTableColumnsObj::getSupportedServiceNames ( )
overridevirtual
sal_Bool SAL_CALL ScTableColumnsObj::hasByName ( const OUString &  aName)
overridevirtual

Definition at line 4073 of file docuno.cxx.

References AlphaToCol(), ScDocShell::GetDocument(), nEndCol, nStartCol, and pDocShell.

sal_Bool SAL_CALL ScTableColumnsObj::hasElements ( )
overridevirtual

Definition at line 4045 of file docuno.cxx.

References getCount().

void SAL_CALL ScTableColumnsObj::insertByIndex ( sal_Int32  nIndex,
sal_Int32  nCount 
)
overridevirtual
void ScTableColumnsObj::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
)
overridevirtual

update of references for sheet and its start/end

Reimplemented from SfxListener.

Definition at line 3941 of file docuno.cxx.

References SfxHint::GetId(), and pDocShell.

void SAL_CALL ScTableColumnsObj::removeByIndex ( sal_Int32  nIndex,
sal_Int32  nCount 
)
overridevirtual
virtual void SAL_CALL ScTableColumnsObj::removePropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  aListener 
)
overridevirtual
virtual void SAL_CALL ScTableColumnsObj::removeVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual
void SAL_CALL ScTableColumnsObj::setPropertyValue ( const OUString &  aPropertyName,
const css::uno::Any &  aValue 
)
overridevirtual
virtual sal_Bool SAL_CALL ScTableColumnsObj::supportsService ( const OUString &  ServiceName)
overridevirtual

Member Data Documentation

SCCOL ScTableColumnsObj::nEndCol
private
SCCOL ScTableColumnsObj::nStartCol
private
SCTAB ScTableColumnsObj::nTab
private
ScDocShell* ScTableColumnsObj::pDocShell
private

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