LibreOffice Module sw (master) 1
|
Public Member Functions | |
Impl (SwXTextSection &rThis, SwSectionFormat *const pFormat, const bool bIndexHeader) | |
void | Attach (SwSectionFormat *pFormat) |
SwSectionFormat * | GetSectionFormat () const |
SwSectionFormat & | GetSectionFormatOrThrow () const |
void | SetPropertyValues_Impl (const uno::Sequence< OUString > &rPropertyNames, const uno::Sequence< uno::Any > &aValues) |
uno::Sequence< uno::Any > | GetPropertyValues_Impl (const uno::Sequence< OUString > &rPropertyNames) |
virtual void | Notify (const SfxHint &rHint) override |
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 | |
SwXTextSection & | m_rThis |
unotools::WeakReference< SwXTextSection > | m_wThis |
const SfxItemPropertySet & | m_rPropSet |
std::mutex | m_Mutex |
::comphelper::OInterfaceContainerHelper4< css::lang::XEventListener > | m_EventListeners |
const bool | m_bIndexHeader |
bool | m_bIsDescriptor |
OUString | m_sName |
std::unique_ptr< SwTextSectionProperties_Impl > | m_pProps |
SwSectionFormat * | m_pFormat |
Definition at line 109 of file unosect.cxx.
|
inline |
Definition at line 124 of file unosect.cxx.
References m_pFormat, and SvtListener::StartListening().
|
inline |
Definition at line 137 of file unosect.cxx.
References SvtListener::EndListeningAll(), m_pFormat, and SvtListener::StartListening().
uno::Sequence< uno::Any > SwXTextSection::Impl::GetPropertyValues_Impl | ( | const uno::Sequence< OUString > & | rPropertyNames | ) |
beans::UnknownPropertyException | |
lang::WrappedTargetException |
throws uno::RuntimeException
Definition at line 942 of file unosect.cxx.
References SwXRedlinePortion::CreateRedlineProperties(), SwXDocumentIndex::CreateXDocumentIndex(), sfx2::cTokenSeparator, DdeLink, SwNode::EndOfSectionNode(), FileLink, FN_PARAM_LINK_DISPLAY_NAME, FN_UNO_ANCHOR_TYPE, FN_UNO_ANCHOR_TYPES, FN_UNO_REDLINE_NODE_END, FN_UNO_REDLINE_NODE_START, FN_UNO_TEXT_WRAP, SwFormat::GetAttrSet(), SwSection::GetCondition(), sw::GetDefaultTextContentValue(), SwFormat::GetDoc(), SwSection::GetFormat(), SwSectionFormat::GetGlobalDocSection(), SwDoc::getIDocumentRedlineAccess(), SwSection::GetLinkFileName(), SwSection::GetParent(), SwSection::GetPassword(), IDocumentRedlineAccess::GetRedlineTable(), SwSectionFormat::GetSection(), SwSection::GetSectionName(), SwSectionFormat::GetSectionNode(), SwSection::GetType(), SwSection::GetUpdateType(), SwSection::IsCondHidden(), SwSection::IsConnected(), SwSection::IsEditInReadonly(), SwSection::IsHidden(), SwSection::IsLinkType(), SwSection::IsProtect(), nIndex, SfxItemPropertyMapEntry::nMemberId, SfxItemPropertyMapEntry::nWID, SfxPoolItem::QueryValue(), RES_BACKGROUND(), RES_COL(), RES_COLUMNBALANCE(), RES_END_AT_TXTEND(), RES_FRAMEDIR(), RES_FTN_AT_TXTEND(), RES_LR_SPACE(), RES_UNKNOWNATR_CONTAINER(), ToxContent, u, WID_SECT_CONDITION, WID_SECT_CURRENTLY_VISIBLE, WID_SECT_DDE_AUTOUPDATE, WID_SECT_DDE_ELEMENT, WID_SECT_DDE_FILE, WID_SECT_DDE_TYPE, WID_SECT_DOCUMENT_INDEX, WID_SECT_EDIT_IN_READONLY, WID_SECT_IS_GLOBAL_DOC_SECTION, WID_SECT_LINK, WID_SECT_PASSWORD, WID_SECT_PROTECTED, WID_SECT_REGION, and WID_SECT_VISIBLE.
|
inline |
Definition at line 144 of file unosect.cxx.
References m_pFormat.
Referenced by GetSectionFormatOrThrow(), and SetPropertyValues_Impl().
|
inline |
Definition at line 147 of file unosect.cxx.
References GetSectionFormat().
|
overridevirtual |
Reimplemented from SvtListener.
Definition at line 172 of file unosect.cxx.
References comphelper::OInterfaceContainerHelper4< class ListenerT >::disposeAndClear(), SfxHint::GetId(), m_EventListeners, m_Mutex, m_pFormat, and m_wThis.
void SwXTextSection::Impl::SetPropertyValues_Impl | ( | const uno::Sequence< OUString > & | rPropertyNames, |
const uno::Sequence< uno::Any > & | aValues | ||
) |
beans::UnknownPropertyException | |
beans::PropertyVetoException |
throws lang::IllegalArgumentException
lang::WrappedTargetException |
throws uno::RuntimeException
Definition at line 553 of file unosect.cxx.
References aSeq, Content, sfx2::cTokenSeparator, DdeLink, FileLink, SwFormat::GetAttrSet(), SfxItemPropertyMap::getByName(), SwFormat::GetDoc(), SwDoc::GetDocShell(), URIHelper::GetMaybeFileHdl(), SfxObjectShell::GetMedium(), SfxItemSet::GetPool(), SfxItemPropertySet::getPropertyMap(), SwSectionFormat::GetSection(), GetSectionFormat(), o3tl::getToken(), comphelper::string::getTokenCount(), SfxMedium::GetURLObject(), i, lcl_UpdateSection(), m_bIsDescriptor, m_pProps, m_rPropSet, m_rThis, SfxItemPropertyMapEntry::nFlags, SfxItemPropertyMapEntry::nMemberId, SfxItemPropertyMapEntry::nWID, SfxItemSet::Put(), SfxPoolItem::PutValue(), pValues, RES_BACKGROUND(), RES_COL(), RES_COLUMNBALANCE(), RES_END_AT_TXTEND(), RES_FRAMEDIR(), RES_FTN_AT_TXTEND(), RES_LR_SPACE(), RES_UNKNOWNATR_CONTAINER(), SfxItemPropertySet::setPropertyValue(), comphelper::string::setToken(), URIHelper::SmartRel2Abs(), WID_SECT_CONDITION, WID_SECT_CURRENTLY_VISIBLE, WID_SECT_DDE_AUTOUPDATE, WID_SECT_DDE_ELEMENT, WID_SECT_DDE_FILE, WID_SECT_DDE_TYPE, WID_SECT_EDIT_IN_READONLY, WID_SECT_LINK, WID_SECT_PASSWORD, WID_SECT_PROTECTED, WID_SECT_REGION, and WID_SECT_VISIBLE.
const bool SwXTextSection::Impl::m_bIndexHeader |
Definition at line 118 of file unosect.cxx.
bool SwXTextSection::Impl::m_bIsDescriptor |
Definition at line 119 of file unosect.cxx.
Referenced by SetPropertyValues_Impl().
::comphelper::OInterfaceContainerHelper4<css::lang::XEventListener> SwXTextSection::Impl::m_EventListeners |
Definition at line 117 of file unosect.cxx.
Referenced by Notify().
std::mutex SwXTextSection::Impl::m_Mutex |
Definition at line 116 of file unosect.cxx.
Referenced by Notify().
SwSectionFormat* SwXTextSection::Impl::m_pFormat |
Definition at line 122 of file unosect.cxx.
Referenced by Attach(), GetSectionFormat(), Impl(), and Notify().
std::unique_ptr<SwTextSectionProperties_Impl> SwXTextSection::Impl::m_pProps |
Definition at line 121 of file unosect.cxx.
Referenced by SetPropertyValues_Impl().
const SfxItemPropertySet& SwXTextSection::Impl::m_rPropSet |
Definition at line 115 of file unosect.cxx.
Referenced by SetPropertyValues_Impl().
SwXTextSection& SwXTextSection::Impl::m_rThis |
Definition at line 113 of file unosect.cxx.
Referenced by SetPropertyValues_Impl().
OUString SwXTextSection::Impl::m_sName |
Definition at line 120 of file unosect.cxx.
unotools::WeakReference<SwXTextSection> SwXTextSection::Impl::m_wThis |
Definition at line 114 of file unosect.cxx.
Referenced by Notify().