LibreOffice Module sw (master) 1
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
SwXParagraph::Impl Class Reference
Inheritance diagram for SwXParagraph::Impl:
[legend]
Collaboration diagram for SwXParagraph::Impl:
[legend]

Public Member Functions

 Impl (SwXParagraph &rThis, SwTextNode *const pTextNode=nullptr, uno::Reference< text::XText > xParent=nullptr, const sal_Int32 nSelStart=-1, const sal_Int32 nSelEnd=-1)
 
SwTextNodeGetTextNode ()
 
SwTextNodeGetTextNodeOrThrow ()
 
bool IsDescriptor () const
 
void SetPropertyValues_Impl (const uno::Sequence< OUString > &rPropertyNames, const uno::Sequence< uno::Any > &rValues)
 
uno::Sequence< uno::AnyGetPropertyValues_Impl (const uno::Sequence< OUString > &rPropertyNames)
 
void GetSinglePropertyValue_Impl (const SfxItemPropertyMapEntry &rEntry, const SfxItemSet &rSet, uno::Any &rAny) const
 
uno::Sequence< beans::GetDirectPropertyTolerantResult > GetPropertyValuesTolerant_Impl (const uno::Sequence< OUString > &rPropertyNames, bool bDirectValuesOnly)
 
- 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

SwXParagraphm_rThis
 
unotools::WeakReference< SwXParagraphm_wThis
 
std::mutex m_Mutex
 
::comphelper::OInterfaceContainerHelper4< css::lang::XEventListener > m_EventListeners
 
SfxItemPropertySet const & m_rPropSet
 
bool m_bIsDescriptor
 
sal_Int32 m_nSelectionStartPos
 
sal_Int32 m_nSelectionEndPos
 
OUString m_sText
 
uno::Reference< text::XText > m_xParentText
 
SwTextNodem_pTextNode
 

Protected Member Functions

virtual void Notify (const SfxHint &rHint) override
 

Detailed Description

Definition at line 115 of file unoparagraph.cxx.

Constructor & Destructor Documentation

◆ Impl()

SwXParagraph::Impl::Impl ( SwXParagraph rThis,
SwTextNode *const  pTextNode = nullptr,
uno::Reference< text::XText >  xParent = nullptr,
const sal_Int32  nSelStart = -1,
const sal_Int32  nSelEnd = -1 
)
inline

Definition at line 131 of file unoparagraph.cxx.

References m_pTextNode, and SvtListener::StartListening().

Member Function Documentation

◆ GetPropertyValues_Impl()

uno::Sequence< uno::Any > SwXParagraph::Impl::GetPropertyValues_Impl ( const uno::Sequence< OUString > &  rPropertyNames)

◆ GetPropertyValuesTolerant_Impl()

uno::Sequence< beans::GetDirectPropertyTolerantResult > SwXParagraph::Impl::GetPropertyValuesTolerant_Impl ( const uno::Sequence< OUString > &  rPropertyNames,
bool  bDirectValuesOnly 
)

◆ GetSinglePropertyValue_Impl()

void SwXParagraph::Impl::GetSinglePropertyValue_Impl ( const SfxItemPropertyMapEntry rEntry,
const SfxItemSet rSet,
uno::Any rAny 
) const

◆ GetTextNode()

SwTextNode * SwXParagraph::Impl::GetTextNode ( )
inline

Definition at line 145 of file unoparagraph.cxx.

References m_pTextNode.

◆ GetTextNodeOrThrow()

SwTextNode & SwXParagraph::Impl::GetTextNodeOrThrow ( )
inline

Definition at line 149 of file unoparagraph.cxx.

References m_pTextNode.

Referenced by SetPropertyValues_Impl().

◆ IsDescriptor()

bool SwXParagraph::Impl::IsDescriptor ( ) const
inline

Definition at line 156 of file unoparagraph.cxx.

References m_bIsDescriptor.

◆ Notify()

void SwXParagraph::Impl::Notify ( const SfxHint rHint)
overrideprotectedvirtual

◆ SetPropertyValues_Impl()

void SwXParagraph::Impl::SetPropertyValues_Impl ( const uno::Sequence< OUString > &  rPropertyNames,
const uno::Sequence< uno::Any > &  rValues 
)
Exceptions
beans::UnknownPropertyException
beans::PropertyVetoException
lang::IllegalArgumentException
lang::WrappedTargetException
uno::RuntimeException

Definition at line 374 of file unoparagraph.cxx.

References SfxItemPropertySet::getPropertyMap(), GetTextNodeOrThrow(), if(), m_rPropSet, comphelper::makePropertyValue(), name, and value.

Member Data Documentation

◆ m_bIsDescriptor

bool SwXParagraph::Impl::m_bIsDescriptor

Definition at line 124 of file unoparagraph.cxx.

Referenced by IsDescriptor().

◆ m_EventListeners

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

Definition at line 122 of file unoparagraph.cxx.

Referenced by Notify().

◆ m_Mutex

std::mutex SwXParagraph::Impl::m_Mutex

Definition at line 121 of file unoparagraph.cxx.

Referenced by Notify().

◆ m_nSelectionEndPos

sal_Int32 SwXParagraph::Impl::m_nSelectionEndPos

Definition at line 126 of file unoparagraph.cxx.

◆ m_nSelectionStartPos

sal_Int32 SwXParagraph::Impl::m_nSelectionStartPos

Definition at line 125 of file unoparagraph.cxx.

◆ m_pTextNode

SwTextNode* SwXParagraph::Impl::m_pTextNode

Definition at line 129 of file unoparagraph.cxx.

Referenced by GetTextNode(), GetTextNodeOrThrow(), Impl(), and Notify().

◆ m_rPropSet

SfxItemPropertySet const& SwXParagraph::Impl::m_rPropSet

Definition at line 123 of file unoparagraph.cxx.

Referenced by SetPropertyValues_Impl().

◆ m_rThis

SwXParagraph& SwXParagraph::Impl::m_rThis

Definition at line 119 of file unoparagraph.cxx.

◆ m_sText

OUString SwXParagraph::Impl::m_sText

Definition at line 127 of file unoparagraph.cxx.

◆ m_wThis

unotools::WeakReference<SwXParagraph> SwXParagraph::Impl::m_wThis

Definition at line 120 of file unoparagraph.cxx.

Referenced by Notify().

◆ m_xParentText

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

Definition at line 128 of file unoparagraph.cxx.


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