LibreOffice Module sc (master) 1
|
#include <afmtuno.hxx>
Public Member Functions | |
ScAutoFormatObj (sal_uInt16 nIndex) | |
virtual | ~ScAutoFormatObj () override |
bool | IsInserted () const |
void | InitFormat (sal_uInt16 nNewIndex) |
virtual sal_Int32 SAL_CALL | getCount () override |
virtual css::uno::Any SAL_CALL | getByIndex (sal_Int32 Index) override |
virtual css::uno::Type SAL_CALL | getElementType () override |
virtual sal_Bool SAL_CALL | hasElements () override |
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL | createEnumeration () override |
virtual OUString SAL_CALL | getName () override |
virtual void SAL_CALL | setName (const OUString &aName) override |
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | getPropertySetInfo () override |
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 |
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
Private Member Functions | |
rtl::Reference< ScAutoFormatFieldObj > | GetObjectByIndex_Impl (sal_uInt16 nIndex) |
Private Attributes | |
SfxItemPropertySet | aPropSet |
sal_uInt16 | nFormatIndex |
Definition at line 86 of file afmtuno.hxx.
ScAutoFormatObj::ScAutoFormatObj | ( | sal_uInt16 | nIndex | ) |
Definition at line 329 of file afmtuno.cxx.
References nIndex.
|
overridevirtual |
Definition at line 335 of file afmtuno.cxx.
References ScGlobal::GetAutoFormat(), IsInserted(), ScAutoFormat::IsSaveLater(), and ScAutoFormat::Save().
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
Definition at line 368 of file afmtuno.cxx.
|
overridevirtual |
Definition at line 385 of file afmtuno.cxx.
References getCount(), GetObjectByIndex_Impl(), IsInserted(), and nIndex.
|
overridevirtual |
Definition at line 376 of file afmtuno.cxx.
References IsInserted(), and SC_AF_FIELD_COUNT.
Referenced by getByIndex(), and hasElements().
|
overridevirtual |
Definition at line 397 of file afmtuno.cxx.
References cppu::UnoType< typename T >::get().
|
overridevirtual |
|
overridevirtual |
Definition at line 410 of file afmtuno.cxx.
References ScAutoFormat::findByIndex(), ScAutoFormatData::GetName(), ScGlobal::GetOrCreateAutoFormat(), IsInserted(), nFormatIndex, and size.
|
private |
Definition at line 358 of file afmtuno.cxx.
References IsInserted(), nFormatIndex, nIndex, and SC_AF_FIELD_COUNT.
Referenced by getByIndex().
|
overridevirtual |
Definition at line 460 of file afmtuno.cxx.
References aPropSet, and SfxItemPropertySet::getPropertyMap().
|
overridevirtual |
Definition at line 498 of file afmtuno.cxx.
References ScAutoFormat::findByIndex(), ScGlobal::GetOrCreateAutoFormat(), IsInserted(), nFormatIndex, pData, SC_UNONAME_INCBACK, SC_UNONAME_INCBORD, SC_UNONAME_INCFONT, SC_UNONAME_INCJUST, SC_UNONAME_INCNUM, SC_UNONAME_INCWIDTH, and size.
|
overridevirtual |
|
overridevirtual |
Definition at line 402 of file afmtuno.cxx.
References getCount().
void ScAutoFormatObj::InitFormat | ( | sal_uInt16 | nNewIndex | ) |
Definition at line 350 of file afmtuno.cxx.
References nFormatIndex, and SC_AFMTOBJ_INVALID.
Referenced by ScAutoFormatsObj::insertByName().
|
inline |
Definition at line 104 of file afmtuno.hxx.
References nFormatIndex, and SC_AFMTOBJ_INVALID.
Referenced by getByIndex(), getCount(), getName(), GetObjectByIndex_Impl(), getPropertyValue(), ScAutoFormatsObj::insertByName(), setName(), setPropertyValue(), and ~ScAutoFormatObj().
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
notify to other objects
old index invalid
Definition at line 420 of file afmtuno.cxx.
References ScAutoFormat::begin(), ScAutoFormat::end(), ScAutoFormat::erase(), ScGlobal::GetOrCreateAutoFormat(), ScAutoFormat::insert(), IsInserted(), lcl_FindAutoFormatIndex(), nFormatIndex, pData, ScAutoFormat::SetSaveLater(), and ScAutoFormat::size().
|
overridevirtual |
notify to other objects
Definition at line 467 of file afmtuno.cxx.
References ScAutoFormat::findByIndex(), ScGlobal::GetOrCreateAutoFormat(), IsInserted(), nFormatIndex, pData, SC_UNONAME_INCBACK, SC_UNONAME_INCBORD, SC_UNONAME_INCFONT, SC_UNONAME_INCJUST, SC_UNONAME_INCNUM, SC_UNONAME_INCWIDTH, ScAutoFormat::SetSaveLater(), and size.
|
overridevirtual |
|
private |
Definition at line 94 of file afmtuno.hxx.
Referenced by getPropertySetInfo().
|
private |
Definition at line 95 of file afmtuno.hxx.
Referenced by getName(), GetObjectByIndex_Impl(), getPropertyValue(), InitFormat(), IsInserted(), setName(), and setPropertyValue().