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

Public Member Functions

 Impl (SwXTextSection &rThis, SwSectionFormat *const pFormat, const bool bIndexHeader)
 
void Attach (SwSectionFormat *pFormat)
 
SwSectionFormatGetSectionFormat () const
 
SwSectionFormatGetSectionFormatOrThrow () const
 
void SetPropertyValues_Impl (const uno::Sequence< OUString > &rPropertyNames, const uno::Sequence< uno::Any > &aValues)
 
uno::Sequence< uno::AnyGetPropertyValues_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

SwXTextSectionm_rThis
 
unotools::WeakReference< SwXTextSectionm_wThis
 
const SfxItemPropertySetm_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
 
SwSectionFormatm_pFormat
 

Detailed Description

Definition at line 109 of file unosect.cxx.

Constructor & Destructor Documentation

◆ Impl()

SwXTextSection::Impl::Impl ( SwXTextSection rThis,
SwSectionFormat *const  pFormat,
const bool  bIndexHeader 
)
inline

Definition at line 124 of file unosect.cxx.

References m_pFormat, and SvtListener::StartListening().

Member Function Documentation

◆ Attach()

void SwXTextSection::Impl::Attach ( SwSectionFormat pFormat)
inline

◆ GetPropertyValues_Impl()

uno::Sequence< uno::Any > SwXTextSection::Impl::GetPropertyValues_Impl ( const uno::Sequence< OUString > &  rPropertyNames)
Exceptions
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.

◆ GetSectionFormat()

SwSectionFormat * SwXTextSection::Impl::GetSectionFormat ( ) const
inline

Definition at line 144 of file unosect.cxx.

References m_pFormat.

Referenced by GetSectionFormatOrThrow(), and SetPropertyValues_Impl().

◆ GetSectionFormatOrThrow()

SwSectionFormat & SwXTextSection::Impl::GetSectionFormatOrThrow ( ) const
inline

Definition at line 147 of file unosect.cxx.

References GetSectionFormat().

◆ Notify()

void SwXTextSection::Impl::Notify ( const SfxHint rHint)
overridevirtual

◆ SetPropertyValues_Impl()

void SwXTextSection::Impl::SetPropertyValues_Impl ( const uno::Sequence< OUString > &  rPropertyNames,
const uno::Sequence< uno::Any > &  aValues 
)

Member Data Documentation

◆ m_bIndexHeader

const bool SwXTextSection::Impl::m_bIndexHeader

Definition at line 118 of file unosect.cxx.

◆ m_bIsDescriptor

bool SwXTextSection::Impl::m_bIsDescriptor

Definition at line 119 of file unosect.cxx.

Referenced by SetPropertyValues_Impl().

◆ m_EventListeners

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

Definition at line 117 of file unosect.cxx.

Referenced by Notify().

◆ m_Mutex

std::mutex SwXTextSection::Impl::m_Mutex

Definition at line 116 of file unosect.cxx.

Referenced by Notify().

◆ m_pFormat

SwSectionFormat* SwXTextSection::Impl::m_pFormat

Definition at line 122 of file unosect.cxx.

Referenced by Attach(), GetSectionFormat(), Impl(), and Notify().

◆ m_pProps

std::unique_ptr<SwTextSectionProperties_Impl> SwXTextSection::Impl::m_pProps

Definition at line 121 of file unosect.cxx.

Referenced by SetPropertyValues_Impl().

◆ m_rPropSet

const SfxItemPropertySet& SwXTextSection::Impl::m_rPropSet

Definition at line 115 of file unosect.cxx.

Referenced by SetPropertyValues_Impl().

◆ m_rThis

SwXTextSection& SwXTextSection::Impl::m_rThis

Definition at line 113 of file unosect.cxx.

Referenced by SetPropertyValues_Impl().

◆ m_sName

OUString SwXTextSection::Impl::m_sName

Definition at line 120 of file unosect.cxx.

◆ m_wThis

unotools::WeakReference<SwXTextSection> SwXTextSection::Impl::m_wThis

Definition at line 114 of file unosect.cxx.

Referenced by Notify().


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