LibreOffice Module sc (master) 1
|
#include <fielduno.hxx>
Public Member Functions | |
ScCellFieldsObj (css::uno::Reference< css::text::XTextRange > xContent, ScDocShell *pDocSh, const ScAddress &rPos) | |
virtual | ~ScCellFieldsObj () override |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
virtual sal_Int32 SAL_CALL | getCount () override |
virtual css::uno::Any SAL_CALL | getByIndex (sal_Int32 Index) override |
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL | createEnumeration () override |
virtual css::uno::Type SAL_CALL | getElementType () override |
virtual sal_Bool SAL_CALL | hasElements () override |
virtual void SAL_CALL | addContainerListener (const css::uno::Reference< css::container::XContainerListener > &xListener) override |
virtual void SAL_CALL | removeContainerListener (const css::uno::Reference< css::container::XContainerListener > &xListener) override |
virtual void SAL_CALL | refresh () override |
virtual void SAL_CALL | addRefreshListener (const css::uno::Reference< css::util::XRefreshListener > &l) override |
virtual void SAL_CALL | removeRefreshListener (const css::uno::Reference< css::util::XRefreshListener > &l) 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 |
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 |
SfxBroadcaster * | GetBroadcasterJOE (sal_uInt16 nNo) const |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) |
void | RemoveBroadcaster_Impl (SfxBroadcaster &rBC) |
virtual bool | IsSdrView () const |
Private Member Functions | |
css::uno::Reference< css::text::XTextField > | GetObjectByIndex_Impl (sal_Int32 Index) const |
Private Attributes | |
css::uno::Reference< css::text::XTextRange > | mxContent |
ScDocShell * | pDocShell |
ScAddress | aCellPos |
std::unique_ptr< ScEditSource > | mpEditSource |
comphelper::OInterfaceContainerHelper4< css::util::XRefreshListener > | maRefreshListeners |
List of refresh listeners. More... | |
std::mutex | aMutex |
mutex to lock the InterfaceContainerHelper More... | |
Definition at line 49 of file fielduno.hxx.
ScCellFieldsObj::ScCellFieldsObj | ( | css::uno::Reference< css::text::XTextRange > | xContent, |
ScDocShell * | pDocSh, | ||
const ScAddress & | rPos | ||
) |
Definition at line 265 of file fielduno.cxx.
References aCellPos, ScDocument::AddUnoObject(), ScDocShell::GetDocument(), mpEditSource, and pDocShell.
|
overridevirtual |
Definition at line 277 of file fielduno.cxx.
References aEvent, aMutex, comphelper::OInterfaceContainerHelper4< class ListenerT >::disposeAndClear(), ScDocShell::GetDocument(), comphelper::OInterfaceContainerHelper4< class ListenerT >::getLength(), m_refCount, maRefreshListeners, mpEditSource, pDocShell, and ScDocument::RemoveUnoObject().
|
overridevirtual |
Definition at line 373 of file fielduno.cxx.
|
overridevirtual |
Definition at line 398 of file fielduno.cxx.
References comphelper::OInterfaceContainerHelper4< class ListenerT >::addInterface(), aMutex, and maRefreshListeners.
|
overridevirtual |
Definition at line 367 of file fielduno.cxx.
|
overridevirtual |
Definition at line 346 of file fielduno.cxx.
References GetObjectByIndex_Impl(), and nIndex.
|
overridevirtual |
Field functions have to be passed to the forwarder !!!
Definition at line 335 of file fielduno.cxx.
References mpEditSource.
Referenced by hasElements().
|
overridevirtual |
Definition at line 356 of file fielduno.cxx.
References cppu::UnoType< typename T >::get().
|
overridevirtual |
|
private |
Field functions have to be passed to the forwarder !!!
Definition at line 316 of file fielduno.cxx.
References aCellPos, eType, mpEditSource, mxContent, nPos, pData, and pDocShell.
Referenced by getByIndex().
|
overridevirtual |
|
overridevirtual |
Definition at line 361 of file fielduno.cxx.
References getCount().
|
overridevirtual |
update of references
Reimplemented from SfxListener.
Definition at line 300 of file fielduno.cxx.
References SfxHint::GetId(), and pDocShell.
|
overridevirtual |
Definition at line 386 of file fielduno.cxx.
References aEvent, aMutex, comphelper::OInterfaceContainerHelper4< class ListenerT >::getLength(), maRefreshListeners, and comphelper::OInterfaceContainerHelper4< class ListenerT >::notifyEach().
|
overridevirtual |
Definition at line 379 of file fielduno.cxx.
|
overridevirtual |
Definition at line 407 of file fielduno.cxx.
References aMutex, maRefreshListeners, and comphelper::OInterfaceContainerHelper4< class ListenerT >::removeInterface().
|
overridevirtual |
|
private |
Definition at line 60 of file fielduno.hxx.
Referenced by GetObjectByIndex_Impl(), and ScCellFieldsObj().
|
private |
mutex to lock the InterfaceContainerHelper
Definition at line 65 of file fielduno.hxx.
Referenced by addRefreshListener(), refresh(), removeRefreshListener(), and ~ScCellFieldsObj().
|
private |
List of refresh listeners.
Definition at line 63 of file fielduno.hxx.
Referenced by addRefreshListener(), refresh(), removeRefreshListener(), and ~ScCellFieldsObj().
|
private |
Definition at line 61 of file fielduno.hxx.
Referenced by getCount(), GetObjectByIndex_Impl(), ScCellFieldsObj(), and ~ScCellFieldsObj().
|
private |
Definition at line 58 of file fielduno.hxx.
Referenced by GetObjectByIndex_Impl().
|
private |
Definition at line 59 of file fielduno.hxx.
Referenced by GetObjectByIndex_Impl(), Notify(), ScCellFieldsObj(), and ~ScCellFieldsObj().