LibreOffice Module sc (master) 1
|
#include <afmtuno.hxx>
Public Member Functions | |
ScAutoFormatsObj () | |
virtual | ~ScAutoFormatsObj () override |
virtual void SAL_CALL | insertByName (const OUString &aName, const css::uno::Any &aElement) override |
virtual void SAL_CALL | removeByName (const OUString &Name) override |
virtual void SAL_CALL | replaceByName (const OUString &aName, const css::uno::Any &aElement) override |
virtual css::uno::Any SAL_CALL | getByName (const OUString &aName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getElementNames () override |
virtual sal_Bool SAL_CALL | hasByName (const OUString &aName) 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 sal_Int32 SAL_CALL | getCount () override |
virtual css::uno::Any SAL_CALL | getByIndex (sal_Int32 Index) 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 |
Static Private Member Functions | |
static rtl::Reference< ScAutoFormatObj > | GetObjectByIndex_Impl (sal_uInt16 nIndex) |
static rtl::Reference< ScAutoFormatObj > | GetObjectByName_Impl (std::u16string_view aName) |
Definition at line 40 of file afmtuno.hxx.
ScAutoFormatsObj::ScAutoFormatsObj | ( | ) |
This object should only exist once and it must be known to Auto-Format-Data, so that changes can be broadcasted
Definition at line 146 of file afmtuno.cxx.
|
overridevirtual |
Definition at line 152 of file afmtuno.cxx.
|
overridevirtual |
Definition at line 261 of file afmtuno.cxx.
|
overridevirtual |
Definition at line 275 of file afmtuno.cxx.
References GetObjectByIndex_Impl(), and nIndex.
|
overridevirtual |
Definition at line 297 of file afmtuno.cxx.
References aName, and GetObjectByName_Impl().
|
overridevirtual |
Definition at line 269 of file afmtuno.cxx.
References ScGlobal::GetOrCreateAutoFormat(), and ScAutoFormat::size().
Referenced by hasElements().
|
overridevirtual |
Definition at line 306 of file afmtuno.cxx.
References aSeq, ScGlobal::GetOrCreateAutoFormat(), i, and ScAutoFormat::size().
|
overridevirtual |
Definition at line 284 of file afmtuno.cxx.
References cppu::UnoType< typename T >::get().
|
overridevirtual |
|
staticprivate |
Definition at line 166 of file afmtuno.cxx.
References ScGlobal::GetOrCreateAutoFormat(), nIndex, and size.
Referenced by getByIndex(), and GetObjectByName_Impl().
|
staticprivate |
Definition at line 174 of file afmtuno.cxx.
References aName, GetObjectByIndex_Impl(), ScGlobal::GetOrCreateAutoFormat(), lcl_FindAutoFormatIndex(), and nIndex.
Referenced by getByName().
|
overridevirtual |
|
overridevirtual |
Definition at line 321 of file afmtuno.cxx.
References aName, ScGlobal::GetOrCreateAutoFormat(), and lcl_FindAutoFormatIndex().
|
overridevirtual |
Definition at line 289 of file afmtuno.cxx.
References getCount().
|
overridevirtual |
notify to other objects
Definition at line 185 of file afmtuno.cxx.
References aName, ScAutoFormat::end(), ScGlobal::GetOrCreateAutoFormat(), ScAutoFormatObj::InitFormat(), ScAutoFormat::insert(), ScAutoFormatObj::IsInserted(), lcl_FindAutoFormatIndex(), and ScAutoFormat::Save().
Referenced by replaceByName().
|
overridevirtual |
notify to other objects
Definition at line 242 of file afmtuno.cxx.
References aName, ScAutoFormat::end(), ScAutoFormat::erase(), ScAutoFormat::find(), ScGlobal::GetOrCreateAutoFormat(), and ScAutoFormat::Save().
Referenced by replaceByName().
|
overridevirtual |
combine?
Definition at line 234 of file afmtuno.cxx.
References aName, insertByName(), and removeByName().
|
overridevirtual |