LibreOffice Module sw (master) 1
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
SwXContentControl::Impl Class Reference

The inner part SwXContentControl, which is deleted with a locked SolarMutex. More...

Inheritance diagram for SwXContentControl::Impl:
Collaboration diagram for SwXContentControl::Impl:

Public Member Functions

 Impl (SwXContentControl &rThis, SwDoc &rDoc, SwContentControl *pContentControl, const uno::Reference< text::XText > &xParentText, std::unique_ptr< const TextRangeList_t > pPortions)
const SwContentControlGetContentControl () const
- Public Member Functions inherited from SvtListener
 SvtListener ()=default
 SvtListener (const SvtListener &r)=default
virtual ~SvtListener () COVERITY_NOEXCEPT_FALSE
bool StartListening (SvtBroadcaster &rBroadcaster)
void EndListening (SvtBroadcaster &rBroadcaster)
void EndListeningAll ()
void CopyAllBroadcasters (const SvtListener &r)
bool HasBroadcaster () const
virtual void Notify (const SfxHint &rHint)
virtual void Query (QueryBase &rQuery) const

Public Attributes

uno::WeakReference< uno::XInterface > m_wThis
std::mutex m_Mutex
::comphelper::OInterfaceContainerHelper4< css::lang::XEventListener > m_EventListeners
std::unique_ptr< const TextRangeList_tm_pTextPortions
bool m_bIsDisposed
bool m_bIsDescriptor
uno::Reference< text::XText > m_xParentText
rtl::Reference< SwXContentControlText > m_xText
bool m_bShowingPlaceHolder
bool m_bCheckbox
bool m_bChecked
OUString m_aCheckedState
OUString m_aUncheckedState
std::vector< SwContentControlListItemm_aListItems
bool m_bPicture
bool m_bDate
OUString m_aDateFormat
OUString m_aDateLanguage
OUString m_aCurrentDate
OUString m_aPlaceholderDocPart
OUString m_aDataBindingPrefixMappings
OUString m_aDataBindingXpath
OUString m_aDataBindingStoreItemID
OUString m_aColor

Protected Member Functions

void Notify (const SfxHint &rHint) override

Detailed Description

The inner part SwXContentControl, which is deleted with a locked SolarMutex.

The content control has a cached list of text portions for its contents. This list is created by SwXTextPortionEnumeration. The content control listens at the SwTextNode and throws away the cache when the text node changes.

Definition at line 144 of file unocontentcontrol.cxx.

Constructor & Destructor Documentation

◆ Impl()

SwXContentControl::Impl::Impl ( SwXContentControl rThis,
SwDoc rDoc,
SwContentControl pContentControl,
const uno::Reference< text::XText > &  xParentText,
std::unique_ptr< const TextRangeList_t pPortions 

Member Function Documentation

◆ GetContentControl()

const SwContentControl * SwXContentControl::Impl::GetContentControl ( ) const

Definition at line 202 of file unocontentcontrol.cxx.

References m_pContentControl.

◆ Notify()

void SwXContentControl::Impl::Notify ( const SfxHint rHint)

Reimplemented from SvtListener.

Definition at line 208 of file unocontentcontrol.cxx.

References aEvent, and SfxHint::GetId().

Member Data Documentation

◆ m_aCheckedState

OUString SwXContentControl::Impl::m_aCheckedState

Definition at line 161 of file unocontentcontrol.cxx.

◆ m_aColor

OUString SwXContentControl::Impl::m_aColor

Definition at line 173 of file unocontentcontrol.cxx.

◆ m_aCurrentDate

OUString SwXContentControl::Impl::m_aCurrentDate

Definition at line 168 of file unocontentcontrol.cxx.

◆ m_aDataBindingPrefixMappings

OUString SwXContentControl::Impl::m_aDataBindingPrefixMappings

Definition at line 170 of file unocontentcontrol.cxx.

◆ m_aDataBindingStoreItemID

OUString SwXContentControl::Impl::m_aDataBindingStoreItemID

Definition at line 172 of file unocontentcontrol.cxx.

◆ m_aDataBindingXpath

OUString SwXContentControl::Impl::m_aDataBindingXpath

Definition at line 171 of file unocontentcontrol.cxx.

◆ m_aDateFormat

OUString SwXContentControl::Impl::m_aDateFormat

Definition at line 166 of file unocontentcontrol.cxx.

◆ m_aDateLanguage

OUString SwXContentControl::Impl::m_aDateLanguage

Definition at line 167 of file unocontentcontrol.cxx.

◆ m_aListItems

std::vector<SwContentControlListItem> SwXContentControl::Impl::m_aListItems

Definition at line 163 of file unocontentcontrol.cxx.

◆ m_aPlaceholderDocPart

OUString SwXContentControl::Impl::m_aPlaceholderDocPart

Definition at line 169 of file unocontentcontrol.cxx.

◆ m_aUncheckedState

OUString SwXContentControl::Impl::m_aUncheckedState

Definition at line 162 of file unocontentcontrol.cxx.

◆ m_bCheckbox

bool SwXContentControl::Impl::m_bCheckbox

Definition at line 159 of file unocontentcontrol.cxx.

◆ m_bChecked

bool SwXContentControl::Impl::m_bChecked

Definition at line 160 of file unocontentcontrol.cxx.

◆ m_bDate

bool SwXContentControl::Impl::m_bDate

Definition at line 165 of file unocontentcontrol.cxx.

◆ m_bIsDescriptor

bool SwXContentControl::Impl::m_bIsDescriptor

Definition at line 154 of file unocontentcontrol.cxx.

◆ m_bIsDisposed

bool SwXContentControl::Impl::m_bIsDisposed

Definition at line 153 of file unocontentcontrol.cxx.

◆ m_bPicture

bool SwXContentControl::Impl::m_bPicture

Definition at line 164 of file unocontentcontrol.cxx.

◆ m_bShowingPlaceHolder

bool SwXContentControl::Impl::m_bShowingPlaceHolder

Definition at line 158 of file unocontentcontrol.cxx.

◆ m_EventListeners

::comphelper::OInterfaceContainerHelper4<css::lang::XEventListener> SwXContentControl::Impl::m_EventListeners

Definition at line 150 of file unocontentcontrol.cxx.

◆ m_Mutex

std::mutex SwXContentControl::Impl::m_Mutex

Definition at line 149 of file unocontentcontrol.cxx.

◆ m_pContentControl

SwContentControl* SwXContentControl::Impl::m_pContentControl

Definition at line 157 of file unocontentcontrol.cxx.

Referenced by GetContentControl(), and Impl().

◆ m_pTextPortions

std::unique_ptr<const TextRangeList_t> SwXContentControl::Impl::m_pTextPortions

Definition at line 151 of file unocontentcontrol.cxx.

◆ m_wThis

uno::WeakReference<uno::XInterface> SwXContentControl::Impl::m_wThis

Definition at line 147 of file unocontentcontrol.cxx.

◆ m_xParentText

uno::Reference<text::XText> SwXContentControl::Impl::m_xParentText

Definition at line 155 of file unocontentcontrol.cxx.

◆ m_xText

rtl::Reference<SwXContentControlText> SwXContentControl::Impl::m_xText

Definition at line 156 of file unocontentcontrol.cxx.

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