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
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint)
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 
virtual bool IsSdrView () const
 

Private Member Functions

rtl::Reference< ScTableColumnObjGetObjectByIndex_Impl (sal_Int32 nIndex) const
 
rtl::Reference< ScTableColumnObjGetObjectByName_Impl (std::u16string_view aName) const
 

Private Attributes

ScDocShellpDocShell
 
SCTAB nTab
 
SCCOL nStartCol
 
SCCOL nEndCol
 

Detailed Description

Definition at line 516 of file docuno.hxx.

Constructor & Destructor Documentation

◆ ScTableColumnsObj()

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

Definition at line 4090 of file docuno.cxx.

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

◆ ~ScTableColumnsObj()

ScTableColumnsObj::~ScTableColumnsObj ( )
overridevirtual

Definition at line 4099 of file docuno.cxx.

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

Member Function Documentation

◆ addPropertyChangeListener()

virtual void SAL_CALL ScTableColumnsObj::addPropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  xListener 
)
overridevirtual

◆ addVetoableChangeListener()

virtual void SAL_CALL ScTableColumnsObj::addVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual

◆ createEnumeration()

uno::Reference< container::XEnumeration > SAL_CALL ScTableColumnsObj::createEnumeration ( )
overridevirtual

XEnumerationAccess.

Definition at line 4180 of file docuno.cxx.

◆ getByIndex()

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

Definition at line 4194 of file docuno.cxx.

References GetObjectByIndex_Impl(), nIndex, and xColumn.

◆ getByName()

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

XNameAccess.

Definition at line 4216 of file docuno.cxx.

References aName, GetObjectByName_Impl(), and xColumn.

◆ getCount()

sal_Int32 SAL_CALL ScTableColumnsObj::getCount ( )
overridevirtual

XIndexAccess.

Definition at line 4188 of file docuno.cxx.

References nEndCol, and nStartCol.

Referenced by hasElements().

◆ getElementNames()

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

Definition at line 4226 of file docuno.cxx.

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

◆ getElementType()

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

XElementAccess.

Definition at line 4205 of file docuno.cxx.

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

◆ getImplementationName()

virtual OUString SAL_CALL ScTableColumnsObj::getImplementationName ( )
overridevirtual

XServiceInfo.

◆ GetObjectByIndex_Impl()

rtl::Reference< ScTableColumnObj > ScTableColumnsObj::GetObjectByIndex_Impl ( sal_Int32  nIndex) const
private

Definition at line 4121 of file docuno.cxx.

References nEndCol, nIndex, nStartCol, nTab, and pDocShell.

Referenced by getByIndex().

◆ GetObjectByName_Impl()

rtl::Reference< ScTableColumnObj > ScTableColumnsObj::GetObjectByName_Impl ( std::u16string_view  aName) const
private

Definition at line 4130 of file docuno.cxx.

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

Referenced by getByName().

◆ getPropertySetInfo()

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

XPropertySet.

Definition at line 4251 of file docuno.cxx.

References lcl_GetColumnsPropertyMap().

◆ getPropertyValue()

uno::Any SAL_CALL ScTableColumnsObj::getPropertyValue ( const OUString &  PropertyName)
overridevirtual

◆ getSupportedServiceNames()

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

◆ hasByName()

sal_Bool SAL_CALL ScTableColumnsObj::hasByName ( const OUString &  aName)
overridevirtual

Definition at line 4238 of file docuno.cxx.

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

◆ hasElements()

sal_Bool SAL_CALL ScTableColumnsObj::hasElements ( )
overridevirtual

Definition at line 4210 of file docuno.cxx.

References getCount().

◆ insertByIndex()

void SAL_CALL ScTableColumnsObj::insertByIndex ( sal_Int32  nIndex,
sal_Int32  nCount 
)
overridevirtual

◆ Notify()

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

update of references for sheet and its start/end

Reimplemented from SfxListener.

Definition at line 4107 of file docuno.cxx.

References SfxHint::GetId(), and pDocShell.

◆ removeByIndex()

void SAL_CALL ScTableColumnsObj::removeByIndex ( sal_Int32  nIndex,
sal_Int32  nCount 
)
overridevirtual

◆ removePropertyChangeListener()

virtual void SAL_CALL ScTableColumnsObj::removePropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  aListener 
)
overridevirtual

◆ removeVetoableChangeListener()

virtual void SAL_CALL ScTableColumnsObj::removeVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual

◆ setPropertyValue()

void SAL_CALL ScTableColumnsObj::setPropertyValue ( const OUString &  aPropertyName,
const css::uno::Any &  aValue 
)
overridevirtual

◆ supportsService()

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

Member Data Documentation

◆ nEndCol

SCCOL ScTableColumnsObj::nEndCol
private

◆ nStartCol

SCCOL ScTableColumnsObj::nStartCol
private

◆ nTab

SCTAB ScTableColumnsObj::nTab
private

◆ pDocShell

ScDocShell* ScTableColumnsObj::pDocShell
private

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