LibreOffice Module sw (master)  1
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
SwSection Class Reference

#include <section.hxx>

Inheritance diagram for SwSection:
Collaboration diagram for SwSection:

Public Member Functions

 SwSection (SectionType const eType, OUString const &rName, SwSectionFormat &rFormat)
virtual ~SwSection () override
bool DataEquals (SwSectionData const &rCmp) const
void SetSectionData (SwSectionData const &rData)
const OUString & GetSectionName () const
void SetSectionName (OUString const &rName)
SectionType GetType () const
void SetType (SectionType const eType)
SwSectionFormatGetFormat ()
SwSectionFormat const * GetFormat () const
bool IsHidden () const
void SetHidden (bool const bFlag=true)
bool IsProtect () const
void SetProtect (bool const bFlag=true)
bool IsEditInReadonly () const
void SetEditInReadonly (bool const bFlag=true)
bool IsHiddenFlag () const
bool IsProtectFlag () const
bool IsEditInReadonlyFlag () const
void SetCondHidden (bool const bFlag)
bool IsCondHidden () const
bool CalcHiddenFlag () const
SwSectionGetParent () const
OUString const & GetCondition () const
void SetCondition (OUString const &rNew)
OUString const & GetLinkFileName () const
void SetLinkFileName (OUString const &rNew)
OUString const & GetLinkFilePassword () const
void SetLinkFilePassword (OUString const &rS)
css::uno::Sequence< sal_Int8 > const & GetPassword () const
void SetRefObject (SwServerObject *pObj)
const SwServerObjectGetObject () const
SwServerObjectGetObject ()
bool IsServer () const
SfxLinkUpdateMode GetUpdateType () const
void SetUpdateType (SfxLinkUpdateMode nType)
bool IsConnected () const
void UpdateNow ()
void Disconnect ()
const ::sfx2::SvBaseLinkGetBaseLink () const
::sfx2::SvBaseLinkGetBaseLink ()
void CreateLink (LinkCreateType eType)
bool IsLinkType () const
bool IsConnectFlag () const
void SetConnectFlag (bool const bFlag=true)
const SwTOXBaseGetTOXBase () const
void BreakLink ()
- Public Member Functions inherited from SwClient
 SwClient ()
 SwClient (SwClient &&) noexcept
virtual ~SwClient () override
virtual void Modify (const SfxPoolItem *, const SfxPoolItem *)
std::unique_ptr< sw::ModifyChangedHintCheckRegistration (const SfxPoolItem *pOldValue)
void SwClientNotifyCall (const SwModify &rModify, const SfxHint &rHint)
const SwModifyGetRegisteredIn () const
SwModifyGetRegisteredIn ()
void EndListeningAll ()
void StartListeningToSameModifyAs (const SwClient &)
virtual bool GetInfo (SfxPoolItem &) const
- Public Member Functions inherited from sw::WriterListener
bool IsLast () const

Static Public Member Functions

static void MakeChildLinksVisible (const SwSectionNode &rSectNd)

Protected Member Functions

virtual void SwClientNotify (const SwModify &, const SfxHint &) override
- Protected Member Functions inherited from SwClient
 SwClient (SwModify *pToRegisterIn)
SwModifyGetRegisteredInNonConst () const
- Protected Member Functions inherited from sw::WriterListener
 WriterListener ()
virtual ~WriterListener () COVERITY_NOEXCEPT_FALSE

Private Member Functions

SAL_DLLPRIVATE void ImplSetHiddenFlag (bool const bHidden, bool const bCondition)

Private Attributes

SwSectionData m_Data
tools::SvRef< SwServerObjectm_RefObj
tools::SvRef< sfx2::SvBaseLinkm_RefLink


class SwSectionNode
class SwSectionFrame

Detailed Description

Definition at line 138 of file section.hxx.

Constructor & Destructor Documentation

SwSection::SwSection ( SectionType const  eType,
OUString const &  rName,
SwSectionFormat rFormat 
SwSection::~SwSection ( )

Member Function Documentation

void SwSection::BreakLink ( )
bool SwSection::CalcHiddenFlag ( ) const
void SwSection::CreateLink ( LinkCreateType  eType)
bool SwSection::DataEquals ( SwSectionData const &  rCmp) const
void SwSection::Disconnect ( )

Definition at line 226 of file section.hxx.

Referenced by SwDoc::UpdateSection().

const ::sfx2::SvBaseLink& SwSection::GetBaseLink ( ) const

Definition at line 228 of file section.hxx.

Referenced by lcl_BreakSectionLinksInSect(), and SwDoc::UpdateSection().

::sfx2::SvBaseLink& SwSection::GetBaseLink ( )

Definition at line 229 of file section.hxx.

OUString const& SwSection::GetCondition ( ) const
SwSectionFormat * SwSection::GetFormat ( )

Definition at line 336 of file section.hxx.

References SwClient::GetRegisteredIn().

Referenced by SwXDocumentIndex::attach(), SwXTextSection::attach(), BreakLink(), SwSectionFrame::CalcEndAtEndFlag(), SwSectionFrame::CalcFootnoteAtEndFlag(), CreateLink(), SwXDocumentIndex::CreateXDocumentIndex(), SwEditShell::DeleteGlobalDocContent(), SwDoc::DeleteTOX(), SwFrame::dumpAsXmlAttributes(), AttributeOutputBase::EndTOX(), SwView::ExecTabWin(), RtfExport::ExportDocument_Impl(), SwSectionFrame::FindLastContent(), SwSectionFrame::FindMaster(), SwUpdFootnoteEndNtAtEnd::FindSectNdWithEndAttr(), SwTOXBase::GetAttrSet(), SwXDocumentIndexes::getByIndex(), SwXDocumentIndexes::getByName(), SwXDocumentIndexes::getCount(), SwUnoCursorHelper::getCursorPropertyValue(), SwXDocumentIndexes::getElementNames(), SwSectionFrame::GetEndSectFormat_(), GetLinkFileName(), SwUpdFootnoteEndNtAtEnd::GetNumber(), GetParent(), SwXRedline::getPropertyValue(), SwXCell::getPropertyValue(), SwXTextTable::getPropertyValue(), SwXTextSection::Impl::GetPropertyValues_Impl(), MSWordExportBase::GetSectionFormat(), SwTOXBaseSection::GetTextFormatColl(), SwEditShell::GetTOX(), SwDoc::GetTOXBaseAttrSet(), SwEditShell::GetTOXCount(), SwFormatFootnote::GetViewNumStr(), GotoCurrRegionAndSkip(), SwCursorShell::GotoNextTOXBase(), SwCursorShell::GotoPrevTOXBase(), SwSectionFrame::Grow_(), SwXDocumentIndexes::hasByName(), IMPL_LINK_NOARG(), ImplSetHiddenFlag(), SwTOXBaseSection::InsertAlphaDelimiter(), InsertCnt_(), wwSectionManager::InsertSection(), SwNodes::InsertTextSection(), SwSectionFrame::IsBalancedSection(), SwSectionFrame::IsDescendantFrom(), IsEditInReadonly(), SwSectionFrame::IsEndnoteAtMyEnd(), IsProtect(), SwTOXBase::IsTOXBaseInReadonly(), SwTOXBaseSection::IsVisible(), lcl_GetAttrSet(), lcl_html_IsMultiColStart(), lcl_initParent(), lcl_IsAtTextEnd(), lcl_SectionCmpPos(), SwDocUpdateField::MakeFieldList_(), MSWordSections::MSWordSections(), SwWrtShell::NavigatorPaste(), SwNode2LayImpl::NextFrame(), SwSectionNode::NodesArrChgd(), OutHTML_Section(), DocxExport::OutputEndNode(), MSWordExportBase::OutputSectionNode(), SwWW8ImplReader::Read_F_IncludeText(), SwUndoDelSection::RedoImpl(), SwDoc::RemoveInvisibleContent(), SectRepr::SectRepr(), SwTOXBase::SetAttrSet(), SetEditInReadonly(), SwTOXBaseSection::SetPosAtStartEnd(), SetProtect(), SwEditShell::SetSectionAttr(), SwEditShell::SetTOXBaseReadonly(), SwDoc::SplitDoc(), AttributeOutputBase::StartTOX(), SwView::StateTabWin(), SwTOXBaseSection::SwClientNotify(), SwClientNotify(), SwColumnDlg::SwColumnDlg(), SwGlblDocContent::SwGlblDocContent(), SwUndoUpdateIndex::SwUndoUpdateIndex(), SwUndoInsSection::UndoImpl(), SwTOXBaseSection::Update(), SwTOXBaseSection::UpdateAuthorities(), SwTOXBaseSection::UpdateContent(), SwTOXBaseSection::UpdateMarks(), SwTOXBaseSection::UpdateOutline(), SwTOXBaseSection::UpdatePageNum(), SwSectionFormat::UpdateParent(), SwDoc::UpdateSection(), SwTOXBaseSection::UpdateSequence(), SwTOXBaseSection::UpdateTable(), SwEditShell::UpdateTableOf(), SwTOXBaseSection::UpdateTemplate(), MSWordExportBase::WriteText(), and ~SwSection().

SwSectionFormat const * SwSection::GetFormat ( ) const

Definition at line 341 of file section.hxx.

References SwClient::GetRegisteredIn().

OUString const & SwSection::GetLinkFileName ( ) const
OUString const& SwSection::GetLinkFilePassword ( ) const

Definition at line 204 of file section.hxx.

References SwSectionData::GetLinkFilePassword().

const SwServerObject* SwSection::GetObject ( ) const

Definition at line 215 of file section.hxx.

References tools::SvRef< class >::get().

Referenced by SwSectionNode::MakeCopy().

SwServerObject* SwSection::GetObject ( )

Definition at line 216 of file section.hxx.

References tools::SvRef< class >::get().

SwSection * SwSection::GetParent ( ) const
css::uno::Sequence<sal_Int8> const& SwSection::GetPassword ( ) const

Definition at line 210 of file section.hxx.

References SwSectionData::GetPassword().

Referenced by SwXTextSection::Impl::GetPropertyValues_Impl().

const OUString& SwSection::GetSectionName ( ) const
const SwTOXBase * SwSection::GetTOXBase ( ) const
SectionType SwSection::GetType ( ) const
SfxLinkUpdateMode SwSection::GetUpdateType ( ) const

Definition at line 220 of file section.hxx.

Referenced by SwXTextSection::Impl::GetPropertyValues_Impl().

void SwSection::ImplSetHiddenFlag ( bool const  bHidden,
bool const  bCondition 
bool SwSection::IsCondHidden ( ) const
bool SwSection::IsConnected ( ) const
bool SwSection::IsConnectFlag ( ) const

Definition at line 238 of file section.hxx.

References SwSectionData::IsConnectFlag().

Referenced by SwGlobalTree::Display(), and IMPL_LINK().

bool SwSection::IsEditInReadonly ( ) const
bool SwSection::IsEditInReadonlyFlag ( ) const
bool SwSection::IsHidden ( ) const
bool SwSection::IsHiddenFlag ( ) const
bool SwSection::IsLinkType ( ) const
bool SwSection::IsProtect ( ) const
bool SwSection::IsProtectFlag ( ) const
bool SwSection::IsServer ( ) const

Definition at line 217 of file section.hxx.

References tools::SvRef< class >::is().

void SwSection::MakeChildLinksVisible ( const SwSectionNode rSectNd)
void SwSection::SetCondHidden ( bool const  bFlag)
void SwSection::SetCondition ( OUString const &  rNew)
void SwSection::SetConnectFlag ( bool const  bFlag = true)

Definition at line 239 of file section.hxx.

References SwSectionData::SetConnectFlag().

void SwSection::SetEditInReadonly ( bool const  bFlag = true)
void SwSection::SetHidden ( bool const  bFlag = true)
void SwSection::SetLinkFileName ( OUString const &  rNew)
void SwSection::SetLinkFilePassword ( OUString const &  rS)

Definition at line 206 of file section.hxx.

References SwSectionData::SetLinkFilePassword().

Referenced by BreakLink().

void SwSection::SetProtect ( bool const  bFlag = true)
void SwSection::SetRefObject ( SwServerObject pObj)

Definition at line 532 of file section.cxx.

References m_RefObj.

Referenced by SwSectionNode::MakeCopy().

void SwSection::SetSectionData ( SwSectionData const &  rData)
void SwSection::SetSectionName ( OUString const &  rName)
void SwSection::SetType ( SectionType const  eType)

Definition at line 171 of file section.hxx.

References SwSectionData::SetType().

Referenced by BreakLink(), and SwSectionNode::MakeCopy().

void SwSection::SetUpdateType ( SfxLinkUpdateMode  nType)

Definition at line 221 of file section.hxx.

Referenced by SwXTextSection::attach(), and lcl_UpdateLinkType().

void SwSection::SwClientNotify ( const SwModify ,
const SfxHint rHint 
void SwSection::UpdateNow ( )

Definition at line 225 of file section.hxx.

Friends And Related Function Documentation

friend class SwSectionFrame

Definition at line 144 of file section.hxx.

friend class SwSectionNode

Definition at line 142 of file section.hxx.

Member Data Documentation

SwSectionData SwSection::m_Data
tools::SvRef<sfx2::SvBaseLink> SwSection::m_RefLink

Definition at line 150 of file section.hxx.

Referenced by BreakLink(), CreateLink(), GetLinkFileName(), SetLinkFileName(), and ~SwSection().

tools::SvRef<SwServerObject> SwSection::m_RefObj

Definition at line 149 of file section.hxx.

Referenced by SetRefObject(), and ~SwSection().

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