LibreOffice Module sw (master)
1
|
Public Member Functions | |
Impl (SwXParagraph &rThis, SwTextNode *const pTextNode=nullptr, uno::Reference< text::XText > const &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 SfxItemPropertySimpleEntry &rEntry, const SfxItemSet &rSet, uno::Any &rAny) const |
uno::Sequence< beans::GetDirectPropertyTolerantResult > | GetPropertyValuesTolerant_Impl (const uno::Sequence< OUString > &rPropertyNames, bool bDirectValuesOnly) |
![]() | |
SvtListener () | |
SvtListener (const SvtListener &r) | |
virtual | ~SvtListener () COVERITY_NOEXCEPT_FALSE |
bool | StartListening (SvtBroadcaster &rBroadcaster) |
bool | EndListening (SvtBroadcaster &rBroadcaster) |
void | EndListeningAll () |
void | CopyAllBroadcasters (const SvtListener &r) |
bool | HasBroadcaster () const |
virtual void | Query (QueryBase &rQuery) const |
Public Attributes | |
SwXParagraph & | m_rThis |
uno::WeakReference< uno::XInterface > | m_wThis |
::comphelper::OInterfaceContainerHelper2 | 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 |
Private Attributes | |
::osl::Mutex | m_Mutex |
Definition at line 112 of file unoparagraph.cxx.
|
inline |
Definition at line 130 of file unoparagraph.cxx.
References sw::BroadcasterMixin::GetNotifier(), 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 528 of file unoparagraph.cxx.
References SfxItemPropertyMap::getByName(), SwUnoCursorHelper::getCursorPropertyValue(), sw::GetDefaultTextContentValue(), SwContentNode::GetSwAttrSet(), SfxItemPropertySimpleEntry::nWID, and pValues.
uno::Sequence< beans::GetDirectPropertyTolerantResult > SwXParagraph::Impl::GetPropertyValuesTolerant_Impl | ( | const uno::Sequence< OUString > & | rPropertyNames, |
bool | bDirectValuesOnly | ||
) |
uno::RuntimeException |
Definition at line 732 of file unoparagraph.cxx.
References SfxItemPropertyMap::getByName(), SwUnoCursorHelper::getCursorPropertyValue(), sw::GetDefaultTextContentValue(), SwContentNode::GetpSwAttrSet(), SwContentNode::GetSwAttrSet(), lcl_SwXParagraph_getPropertyState(), SfxItemPropertySimpleEntry::nWID, and TOOLS_WARN_EXCEPTION.
void SwXParagraph::Impl::GetSinglePropertyValue_Impl | ( | const SfxItemPropertySimpleEntry & | rEntry, |
const SfxItemSet & | rSet, | ||
uno::Any & | rAny | ||
) | const |
uno::RuntimeException |
Definition at line 440 of file unoparagraph.cxx.
References SfxItemPropertySimpleEntry::aType, SfxItemSet::Get(), SfxItemPool::GetMetric(), SfxItemSet::GetPool(), getSvxBrushItemFromSourceSet(), SfxItemPropertySimpleEntry::nMemberId, SfxItemPropertySimpleEntry::nMoreFlags, nValue, SfxItemPropertySimpleEntry::nWID, OWN_ATTR_FILLBMP_MODE, RES_BACKGROUND(), 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.
Reimplemented from SvtListener.
Definition at line 190 of file unoparagraph.cxx.
References comphelper::OInterfaceContainerHelper2::disposeAndClear(), SfxHint::GetId(), m_EventListeners, 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 382 of file unoparagraph.cxx.
References SfxItemPropertyMap::getByName(), SfxItemPropertySet::getPropertyMap(), GetTextNodeOrThrow(), m_rPropSet, m_rThis, SfxItemPropertySimpleEntry::nFlags, pValues, and SwUnoCursorHelper::SetPropertyValues().
bool SwXParagraph::Impl::m_bIsDescriptor |
Definition at line 123 of file unoparagraph.cxx.
Referenced by IsDescriptor().
::comphelper::OInterfaceContainerHelper2 SwXParagraph::Impl::m_EventListeners |
Definition at line 121 of file unoparagraph.cxx.
Referenced by Notify().
|
private |
Definition at line 116 of file unoparagraph.cxx.
sal_Int32 SwXParagraph::Impl::m_nSelectionEndPos |
Definition at line 125 of file unoparagraph.cxx.
sal_Int32 SwXParagraph::Impl::m_nSelectionStartPos |
Definition at line 124 of file unoparagraph.cxx.
SwTextNode* SwXParagraph::Impl::m_pTextNode |
Definition at line 128 of file unoparagraph.cxx.
Referenced by GetTextNode(), GetTextNodeOrThrow(), and Notify().
SfxItemPropertySet const& SwXParagraph::Impl::m_rPropSet |
Definition at line 122 of file unoparagraph.cxx.
Referenced by SetPropertyValues_Impl().
SwXParagraph& SwXParagraph::Impl::m_rThis |
Definition at line 119 of file unoparagraph.cxx.
Referenced by SetPropertyValues_Impl().
OUString SwXParagraph::Impl::m_sText |
Definition at line 126 of file unoparagraph.cxx.
uno::WeakReference<uno::XInterface> 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 127 of file unoparagraph.cxx.