LibreOffice Module sw (master) 1
|
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) | |
SwTextNode * | GetTextNode () |
SwTextNode & | GetTextNodeOrThrow () |
bool | IsDescriptor () const |
void | SetPropertyValues_Impl (const uno::Sequence< OUString > &rPropertyNames, const uno::Sequence< uno::Any > &rValues) |
uno::Sequence< uno::Any > | GetPropertyValues_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 | |
SwXParagraph & | m_rThis |
unotools::WeakReference< SwXParagraph > | m_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 |
SwTextNode * | m_pTextNode |
Protected Member Functions | |
virtual void | Notify (const SfxHint &rHint) override |
Definition at line 115 of file unoparagraph.cxx.
|
inline |
Definition at line 131 of file unoparagraph.cxx.
References m_pTextNode, and SvtListener::StartListening().
uno::Sequence< uno::Any > SwXParagraph::Impl::GetPropertyValues_Impl | ( | const uno::Sequence< OUString > & | rPropertyNames | ) |
beans::UnknownPropertyException | |
lang::WrappedTargetException | |
uno::RuntimeException |
Definition at line 518 of file unoparagraph.cxx.
References o3tl::strong_int< typename UNDERLYING_TYPE, typename PHANTOM_TYPE >::get(), SwTextNode::GetAttr(), SfxItemPropertyMap::getByName(), SwUnoCursorHelper::getCursorPropertyValue(), sw::GetDefaultTextContentValue(), SwNode::GetIndex(), SwPaM::GetMark(), SwContentNode::GetSwAttrSet(), SfxItemPropertyMapEntry::nWID, PORTION_LIST_AUTOFMT, pValues, and RES_PARATR_LIST_AUTOFMT().
uno::Sequence< beans::GetDirectPropertyTolerantResult > SwXParagraph::Impl::GetPropertyValuesTolerant_Impl | ( | const uno::Sequence< OUString > & | rPropertyNames, |
bool | bDirectValuesOnly | ||
) |
uno::RuntimeException |
Definition at line 743 of file unoparagraph.cxx.
References SfxItemPropertyMap::getByName(), SwUnoCursorHelper::getCursorPropertyValue(), sw::GetDefaultTextContentValue(), SwContentNode::GetpSwAttrSet(), SwContentNode::GetSwAttrSet(), lcl_SwXParagraph_getPropertyState(), SfxItemPropertyMapEntry::nWID, and TOOLS_WARN_EXCEPTION.
void SwXParagraph::Impl::GetSinglePropertyValue_Impl | ( | const SfxItemPropertyMapEntry & | rEntry, |
const SfxItemSet & | rSet, | ||
uno::Any & | rAny | ||
) | const |
uno::RuntimeException |
Definition at line 430 of file unoparagraph.cxx.
References SfxItemPropertyMapEntry::aType, SfxItemSet::Get(), SfxItemPool::GetMetric(), SfxItemSet::GetPool(), getSvxBrushItemFromSourceSet(), SfxItemPropertyMapEntry::nMemberId, SfxItemPropertyMapEntry::nMoreFlags, nValue, SfxItemPropertyMapEntry::nWID, OWN_ATTR_FILLBMP_MODE, RES_BACKGROUND(), rSet, SvxUnoConvertToMM(), XATTR_FILLBMP_SIZEX(), XATTR_FILLBMP_SIZEY(), XATTR_FILLBMP_STRETCH(), and XATTR_FILLBMP_TILE().
|
inline |
Definition at line 145 of file unoparagraph.cxx.
References m_pTextNode.
|
inline |
Definition at line 149 of file unoparagraph.cxx.
References m_pTextNode.
Referenced by SetPropertyValues_Impl().
|
inline |
Definition at line 156 of file unoparagraph.cxx.
References m_bIsDescriptor.
|
overrideprotectedvirtual |
Reimplemented from SvtListener.
Definition at line 190 of file unoparagraph.cxx.
References comphelper::OInterfaceContainerHelper4< class ListenerT >::disposeAndClear(), SfxHint::GetId(), comphelper::OInterfaceContainerHelper4< class ListenerT >::getLength(), m_EventListeners, m_Mutex, m_pTextNode, and m_wThis.
void SwXParagraph::Impl::SetPropertyValues_Impl | ( | const uno::Sequence< OUString > & | rPropertyNames, |
const uno::Sequence< uno::Any > & | rValues | ||
) |
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.
bool SwXParagraph::Impl::m_bIsDescriptor |
Definition at line 124 of file unoparagraph.cxx.
Referenced by IsDescriptor().
::comphelper::OInterfaceContainerHelper4<css::lang::XEventListener> SwXParagraph::Impl::m_EventListeners |
Definition at line 122 of file unoparagraph.cxx.
Referenced by Notify().
std::mutex SwXParagraph::Impl::m_Mutex |
Definition at line 121 of file unoparagraph.cxx.
Referenced by Notify().
sal_Int32 SwXParagraph::Impl::m_nSelectionEndPos |
Definition at line 126 of file unoparagraph.cxx.
sal_Int32 SwXParagraph::Impl::m_nSelectionStartPos |
Definition at line 125 of file unoparagraph.cxx.
SwTextNode* SwXParagraph::Impl::m_pTextNode |
Definition at line 129 of file unoparagraph.cxx.
Referenced by GetTextNode(), GetTextNodeOrThrow(), Impl(), and Notify().
SfxItemPropertySet const& SwXParagraph::Impl::m_rPropSet |
Definition at line 123 of file unoparagraph.cxx.
Referenced by SetPropertyValues_Impl().
SwXParagraph& SwXParagraph::Impl::m_rThis |
Definition at line 119 of file unoparagraph.cxx.
OUString SwXParagraph::Impl::m_sText |
Definition at line 127 of file unoparagraph.cxx.
unotools::WeakReference<SwXParagraph> SwXParagraph::Impl::m_wThis |
Definition at line 120 of file unoparagraph.cxx.
Referenced by Notify().
uno::Reference<text::XText> SwXParagraph::Impl::m_xParentText |
Definition at line 128 of file unoparagraph.cxx.