LibreOffice Module sw (master) 1
|
#include <section.hxx>
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) |
SwSectionFormat * | GetFormat () |
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 |
SwSection * | GetParent () 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 SwServerObject * | GetObject () const |
SwServerObject * | GetObject () |
bool | IsServer () const |
SfxLinkUpdateMode | GetUpdateType () const |
void | SetUpdateType (SfxLinkUpdateMode nType) |
bool | IsConnected () const |
void | UpdateNow () |
void | Disconnect () |
const ::sfx2::SvBaseLink & | GetBaseLink () const |
::sfx2::SvBaseLink & | GetBaseLink () |
void | CreateLink (LinkCreateType eType) |
bool | IsLinkType () const |
bool | IsConnectFlag () const |
void | SetConnectFlag (bool const bFlag=true) |
const SwTOXBase * | GetTOXBase () const |
void | BreakLink () |
void | dumpAsXml (xmlTextWriterPtr pWriter) const |
Public Member Functions inherited from SwClient | |
SwClient () | |
SwClient (SwClient &&) noexcept | |
virtual | ~SwClient () override |
std::optional< sw::ModifyChangedHint > | CheckRegistration (const SfxPoolItem *pOldValue) |
void | CheckRegistrationFormat (SwFormat &rOld) |
const SwModify * | GetRegisteredIn () const |
SwModify * | GetRegisteredIn () |
void | EndListeningAll () |
void | StartListeningToSameModifyAs (const SwClient &) |
virtual bool | GetInfo (SfxPoolItem &) const |
Public Member Functions inherited from sw::WriterListener | |
bool | IsLast () const |
virtual const SwCellFrame * | DynCastCellFrame () const |
virtual const SwTabFrame * | DynCastTabFrame () const |
virtual const SwRowFrame * | DynCastRowFrame () const |
virtual const SwTable * | DynCastTable () const |
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 |
Static Public Member Functions | |
static void | MakeChildLinksVisible (const SwSectionNode &rSectNd) |
Protected Member Functions | |
virtual void | Notify (SfxHint const &rHint) override |
virtual void | SwClientNotify (const SwModify &, const SfxHint &) override |
Protected Member Functions inherited from SwClient | |
SwClient (SwModify *pToRegisterIn) | |
SwModify * | GetRegisteredInNonConst () const |
virtual void | SwClientNotify (const SwModify &, const SfxHint &rHint) override |
Protected Member Functions inherited from sw::WriterListener | |
WriterListener () | |
virtual | ~WriterListener () COVERITY_NOEXCEPT_FALSE |
virtual void | SwClientNotify (const SwModify &, const SfxHint &rHint)=0 |
Private Member Functions | |
SAL_DLLPRIVATE void | ImplSetHiddenFlag (bool const bHidden, bool const bCondition) |
Private Attributes | |
SwSectionData | m_Data |
tools::SvRef< SwServerObject > | m_RefObj |
tools::SvRef< sfx2::SvBaseLink > | m_RefLink |
Friends | |
class | SwSectionNode |
class | SwSectionFrame |
Definition at line 139 of file section.hxx.
SwSection::SwSection | ( | SectionType const | eType, |
OUString const & | rName, | ||
SwSectionFormat & | rFormat | ||
) |
Definition at line 188 of file section.cxx.
References eType, SwFormat::GetEditInReadonly(), GetParent(), SwFormat::GetProtect(), SfxBoolItem::GetValue(), SvxProtectItem::IsContentProtected(), SwSectionData::IsEditInReadonlyFlag(), IsEditInReadonlyFlag(), m_Data, SwSectionData::SetEditInReadonlyFlag(), SwSectionData::SetProtectFlag(), and SvtListener::StartListening().
|
overridevirtual |
Definition at line 210 of file section.cxx.
References Content, SwDoc::DelSectionFormat(), SwFormat::DerivedFrom(), SvtListener::EndListeningAll(), tools::SvRef< typename T >::get(), SwDoc::GetDfltFrameFormat(), SwFormat::GetDoc(), GetFormat(), SwDoc::getIDocumentLinksAdministration(), SwDoc::GetIDocumentUndoRedo(), IDocumentLinksAdministration::GetLinkManager(), SwSectionData::GetType(), tools::SvRef< typename T >::is(), SwDoc::IsInDtor(), m_Data, m_RefLink, m_RefObj, SwFrameFormat::RegisterToFormat(), sfx2::LinkManager::Remove(), SwFormat::RemoveAllUnos(), and sfx2::LinkManager::RemoveServer().
void SwSection::BreakLink | ( | ) |
Definition at line 1462 of file section.cxx.
References tools::SvRef< typename T >::clear(), Content, tools::SvRef< typename T >::get(), SwFormat::GetDoc(), GetFormat(), SwDoc::getIDocumentLinksAdministration(), IDocumentLinksAdministration::GetLinkManager(), GetType(), tools::SvRef< typename T >::is(), m_RefLink, sfx2::LinkManager::Remove(), SetLinkFileName(), SetLinkFilePassword(), SetType(), ToxContent, and ToxHeader.
Referenced by lcl_BreakSectionLinksInSect().
bool SwSection::CalcHiddenFlag | ( | ) | const |
Definition at line 323 of file section.cxx.
References GetParent(), IsCondHidden(), and IsHidden().
Referenced by SwNodes::FindPrvNxtFrameNode(), InsertCnt_(), SwDoc::RemoveInvisibleContent(), and sw::DocumentFieldsManager::UpdateExpFieldsImpl().
void SwSection::CreateLink | ( | LinkCreateType | eType | ) |
Definition at line 1399 of file section.cxx.
References Connect, Content, sfx2::cTokenSeparator, DdeLink, FileLink, tools::SvRef< typename T >::get(), SwFormat::GetDoc(), GetFormat(), SwDoc::getIDocumentLinksAdministration(), SwSectionData::GetLinkFileName(), IDocumentLinksAdministration::GetLinkManager(), SwSectionData::GetType(), sfx2::LinkManager::InsertDDELink(), sfx2::LinkManager::InsertFileLink(), tools::SvRef< typename T >::is(), IDocumentLinksAdministration::IsVisibleLinks(), m_Data, m_RefLink, nIndex, NONE, sfx2::LinkManager::Remove(), and Update.
Referenced by SwXTextSection::attach(), SwDoc::InsertSwSection(), lcl_UpdateLinkType(), SwSectionNode::MakeCopy(), SwDoc::SplitDoc(), and SwDoc::UpdateSection().
bool SwSection::DataEquals | ( | SwSectionData const & | rCmp | ) | const |
Definition at line 268 of file section.cxx.
References GetLinkFileName(), IsEditInReadonly(), SwSectionData::IsEditInReadonlyFlag(), IsProtect(), SwSectionData::IsProtectFlag(), m_Data, SwSectionData::SetEditInReadonlyFlag(), and SwSectionData::SetProtectFlag().
Referenced by SwDoc::UpdateSection().
|
inline |
Definition at line 229 of file section.hxx.
Referenced by SwDoc::UpdateSection().
void SwSection::dumpAsXml | ( | xmlTextWriterPtr | pWriter | ) | const |
Definition at line 1491 of file section.cxx.
References SwSectionData::dumpAsXml(), SwClient::GetRegisteredIn(), and m_Data.
|
inline |
Definition at line 232 of file section.hxx.
|
inline |
Definition at line 231 of file section.hxx.
Referenced by lcl_BreakSectionLinksInSect(), and SwDoc::UpdateSection().
|
inline |
Definition at line 201 of file section.hxx.
References SwSectionData::GetCondition().
Referenced by SwDoc::ChangeDBFields(), SwDoc::GetAllUsedDB(), SwXTextSection::Impl::GetPropertyValues_Impl(), SwDoc::InsertSwSection(), SwDocUpdateField::MakeFieldList_(), SwDoc::RemoveInvisibleContent(), SwUndoDelSection::UndoImpl(), sw::DocumentFieldsManager::UpdateExpFieldsImpl(), and SwDoc::UpdateSection().
|
inline |
Definition at line 341 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(), SwFrame::FindFootnoteBossFrame(), 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(), SwDoc::InsertTableOf(), SwNodes::InsertTextSection(), SwSectionFrame::IsBalancedSection(), SwSectionFrame::IsDescendantFrom(), IsEditInReadonly(), SwSectionFrame::IsEndnoteAtMyEnd(), SwWrtShell::IsOutlineContentVisible(), 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(), Notify(), 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(), SwColumnDlg::SwColumnDlg(), SwGlblDocContent::SwGlblDocContent(), SwSectionFrame::SwSectionFrame(), SwUndoUpdateIndex::SwUndoUpdateIndex(), SwUndoUpdateIndex::TitleSectionInserted(), 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().
|
inline |
Definition at line 346 of file section.hxx.
References SwClient::GetRegisteredIn().
OUString const & SwSection::GetLinkFileName | ( | ) | const |
Definition at line 519 of file section.cxx.
References sfx2::cTokenSeparator, DdeLink, FileLink, tools::SvRef< typename T >::get(), sfx2::LinkManager::GetDisplayNames(), GetFormat(), SwSectionData::GetLinkFileName(), SwSectionData::GetType(), tools::SvRef< typename T >::is(), m_Data, m_RefLink, and SwSectionData::SetLinkFileName().
Referenced by DataEquals(), SwXTextSection::Impl::GetPropertyValues_Impl(), IMPL_LINK(), lcl_html_OutSectionStartTag(), SwGlobalTree::OpenDoc(), and SwDoc::UpdateSection().
|
inline |
Definition at line 207 of file section.hxx.
References SwSectionData::GetLinkFilePassword().
|
inline |
Definition at line 219 of file section.hxx.
References tools::SvRef< typename T >::get().
|
inline |
Definition at line 218 of file section.hxx.
References tools::SvRef< typename T >::get().
Referenced by SwSectionNode::MakeCopy().
|
inline |
Definition at line 351 of file section.hxx.
References GetFormat(), and SwSectionFormat::GetParentSection().
Referenced by CalcHiddenFlag(), SwXTextSection::Impl::GetPropertyValues_Impl(), GotoCurrRegionAndSkip(), SwDoc::RemoveInvisibleContent(), AttributeOutputBase::StartTOX(), SwSection(), SwGlobalTree::UpdateTracking(), and SwSectionFormat::~SwSectionFormat().
|
inline |
Definition at line 213 of file section.hxx.
References SwSectionData::GetPassword().
Referenced by SwXTextSection::Impl::GetPropertyValues_Impl().
|
inline |
Definition at line 171 of file section.hxx.
References SwSectionData::GetSectionName().
Referenced by SwGlobalTree::Display(), SwGlobalTree::ExecuteContextMenuAction(), SwContentType::FillMemberList(), SwXTextSections::getByName(), SwXTextSections::getElementNames(), SwAccessibleDocument::getExtendedAttributes(), SwXDocumentIndex::getName(), SwXTextSection::getName(), SwXTextSection::Impl::GetPropertyValues_Impl(), SwDoc::GetUniqueSectionName(), SwDoc::GetUniqueTOXBaseName(), SwCursor::GotoRegion(), SwXTextSections::hasByName(), IMPL_LINK(), lcl_FillList(), lcl_html_OutSectionStartTag(), lcl_UpdateSection(), SwEditRegionDlg::RecurseList(), SwNodes::RemoveNode(), SwView::StateStatusLine(), SwGlobalTree::Update(), SwDoc::UpdateSection(), SwGlobalTree::UpdateTracking(), and SwHTMLWriter::WriteStream().
const SwTOXBase * SwSection::GetTOXBase | ( | ) | const |
Definition at line 591 of file section.cxx.
References GetType(), and ToxContent.
Referenced by SwTaggedPDFHelper::BeginBlockStructureElements(), AttributeOutputBase::EndTOX(), AttributeOutputBase::StartTOX(), and MSWordExportBase::UpdateTocSectionNodeProperties().
|
inline |
Definition at line 173 of file section.hxx.
References SwSectionData::GetType().
Referenced by SwTaggedPDFHelper::BeginBlockStructureElements(), BreakLink(), SwContentTree::BringEntryToAttention(), SwTextShell::ExecIdx(), SwEnhancedPDFExportHelper::ExportAuthorityEntryLinks(), SwContentType::FillMemberList(), SwFrame::GetBackgroundBrush(), SwXDocumentIndexes::getByIndex(), SwXDocumentIndexes::getByName(), SwXDocumentIndexes::getCount(), SwDoc::GetCurTOX(), SwXDocumentIndexes::getElementNames(), SwEditShell::GetGlobalDocContent(), SwSectionFormat::GetGlobalDocSection(), SwTextShell::GetIdxState(), SwXTextSection::Impl::GetPropertyValues_Impl(), MSWordExportBase::GetSectionFormat(), SwBaseShell::GetState(), SwEditShell::GetTOX(), GetTOXBase(), SwEditShell::GetTOXCount(), SwDoc::GetUniqueTOXBaseName(), SwCursorShell::GotoNextTOXBase(), SwCursorShell::GotoPrevTOXBase(), SwXDocumentIndexes::hasByName(), SwDoc::InsertTableOf(), SwOLENode::IsInGlobalDocSection(), SwAccessibleFrame::IsOpaque(), lcl_FillList(), lcl_html_GetFormatCol(), lcl_html_OutSectionStartTag(), lcl_UpdateLinkType(), MakeChildLinksVisible(), SwSectionFormat::MakeUnoObject(), MSWordSections::MSWordSections(), DocxExport::OutputEndNode(), MSWordExportBase::OutputSectionNode(), MSWordExportBase::OutputTextNode(), SwEditRegionDlg::RecurseList(), SwView::StateStatusLine(), SwTOXBaseSection::Update(), SwTOXBaseSection::UpdatePageNum(), MSWordExportBase::UpdateTocSectionNodeProperties(), SwHTMLWriter::WriteStream(), and MSWordExportBase::WriteText().
|
inline |
Definition at line 223 of file section.hxx.
Referenced by SwXTextSection::Impl::GetPropertyValues_Impl().
|
private |
Definition at line 283 of file section.cxx.
References SwSectionFormat::DelFrames(), GetFormat(), SwSectionFormat::GetParentSection(), SwSectionData::IsHiddenFlag(), IsHiddenFlag(), m_Data, and SwSectionFormat::MakeFrames().
Referenced by SetCondHidden(), SetHidden(), and SetSectionData().
|
inline |
Definition at line 195 of file section.hxx.
References SwSectionData::IsCondHidden().
Referenced by CalcHiddenFlag(), SwXTextSection::Impl::GetPropertyValues_Impl(), sw::DocumentFieldsManager::UpdateExpFieldsImpl(), and SwDoc::UpdateSection().
|
inline |
Definition at line 227 of file section.hxx.
References tools::SvRef< typename T >::is().
Referenced by SwXTextSection::attach(), SwGlobalTree::ExecuteContextMenuAction(), SwXTextSection::Impl::GetPropertyValues_Impl(), lcl_BreakSectionLinksInSect(), lcl_UpdateLinkType(), SwDoc::UpdateSection(), and SwSectionFormat::~SwSectionFormat().
|
inline |
Definition at line 241 of file section.hxx.
References SwSectionData::IsConnectFlag().
Referenced by SwGlobalTree::Display(), and IMPL_LINK().
bool SwSection::IsEditInReadonly | ( | ) | const |
Definition at line 344 of file section.cxx.
References SwFormat::GetEditInReadonly(), GetFormat(), SfxBoolItem::GetValue(), and IsEditInReadonlyFlag().
Referenced by DataEquals(), and SwXTextSection::Impl::GetPropertyValues_Impl().
|
inline |
Definition at line 192 of file section.hxx.
References SwSectionData::IsEditInReadonlyFlag().
Referenced by SwPaM::HasReadonlySel(), SwCursorShell::IsCursorReadonly(), IsEditInReadonly(), lcl_FindEditInReadonlyFrame(), SwSectionNode::MakeCopy(), SwSection(), and SwSectionFormat::UpdateParent().
|
inline |
Definition at line 181 of file section.hxx.
References SwSectionData::IsHidden().
Referenced by CalcHiddenFlag(), SwNodes::CopyNodes(), SwXTextSection::Impl::GetPropertyValues_Impl(), SwPaM::HasHiddenSections(), SwDoc::HasInvisibleContent(), SwDocUpdateField::MakeFieldList_(), SwNodes::MakeTextNode(), SwEditRegionDlg::RecurseList(), SwNodes::TableToText(), SwUndoDelSection::UndoImpl(), SwSectionFormat::UpdateParent(), and SwDoc::UpdateSection().
|
inline |
Definition at line 190 of file section.hxx.
References SwSectionData::IsHiddenFlag().
Referenced by SwContentTree::BringEntryToAttention(), SwCursorShell::FindValidContentNode(), SwAutoFormat::GoNextPara(), SwNodes::GoNextSection(), SwNodes::GoPrevSection(), GotoNextRegion(), GotoPrevRegion(), SwXTextCursor::gotoStart(), ImplSetHiddenFlag(), SwNodes::InsertTextSection(), SwCursor::IsAtValidPos(), SwSectionNode::IsContentHidden(), SwTextNode::IsHidden(), SwCursor::IsSelOvr(), lcl_CheckHiddenSection(), lcl_IsInSameTableBox(), SwSectionNode::MakeCopy(), SwNodes::MakeTextNode(), SwHTMLWriter::Out_SwDoc(), SwCursorShell::SetVisibleCursor(), UnHideRedlinesExtras(), SwTOXBaseSection::Update(), SwCursorShell::UpdateCursor(), SwSectionFormat::UpdateParent(), and SwSectionFormat::~SwSectionFormat().
|
inline |
Definition at line 238 of file section.hxx.
References SwSectionData::IsLinkType().
Referenced by SwXTextSection::Impl::GetPropertyValues_Impl(), SwSectionNode::MakeCopy(), and SwDoc::UpdateSection().
bool SwSection::IsProtect | ( | ) | const |
Definition at line 334 of file section.cxx.
References GetFormat(), SwFormat::GetProtect(), SvxProtectItem::IsContentProtected(), and IsProtectFlag().
Referenced by DataEquals(), SwTextShell::Execute(), GetNode(), SwXTextSection::Impl::GetPropertyValues_Impl(), WW8_SepInfo::IsProtected(), SwEditShell::IsTOXBaseReadonly(), lcl_GetAttrSet(), and SwEditRegionDlg::RecurseList().
|
inline |
Definition at line 191 of file section.hxx.
References SwSectionData::IsProtectFlag().
Referenced by SwCursorShell::FindValidContentNode(), SwAutoFormat::GoNextPara(), SwNodes::GoNextSection(), SwNodes::GoPrevSection(), GotoNextRegion(), GotoPrevRegion(), SwPaM::HasReadonlySel(), SwCursor::IsAtValidPos(), SwNode::IsInProtectSect(), IsProtect(), SwCursor::IsSelOvr(), SwTOXBase::IsTOXBaseInReadonly(), SwSectionNode::MakeCopy(), SwCursorShell::SetVisibleCursor(), SwCursorShell::UpdateCursor(), and SwSectionFormat::UpdateParent().
|
inline |
Definition at line 220 of file section.hxx.
References tools::SvRef< typename T >::is().
|
static |
Definition at line 567 of file section.cxx.
References Content, SwNode::FindSectionNode(), SwBaseLink::GetAnchor(), SwNode::GetDoc(), SwDoc::getIDocumentLinksAdministration(), IDocumentLinksAdministration::GetLinkManager(), sfx2::LinkManager::GetLinks(), SwSectionNode::GetSection(), GetType(), sfx2::SvBaseLink::IsVisible(), n, sfx2::SvBaseLink::SetVisible(), and SwNode::StartOfSectionNode().
Referenced by SwSectionFormat::~SwSectionFormat().
|
overrideprotectedvirtual |
Reimplemented from SvtListener.
Definition at line 402 of file section.cxx.
References SwClient::CheckRegistration(), SfxItemSet::ClearItem(), SfxItemSet::Count(), SwAttrSetChg::GetChgSet(), SwNode::GetDoc(), SwDoc::GetFootnoteIdxs(), GetFormat(), SfxHint::GetId(), SfxItemSet::GetItemIfSet(), SfxItemSet::GetItemState(), SwSectionFormat::GetSectionNode(), GetValue, SwSectionData::IsCondHidden(), SwSectionData::IsHidden(), m_Data, sw::LegacyModifyHint::m_pOld, RES_ATTRSET_CHG(), RES_COL(), RES_EDIT_IN_READONLY(), RES_END_AT_TXTEND(), RES_FTN_AT_TXTEND(), RES_PROTECT(), SwSectionData::SetEditInReadonlyFlag(), SwSectionData::SetHiddenFlag(), SwSectionData::SetProtectFlag(), and SwFootnoteIdxs::UpdateFootnote().
Referenced by SwClientNotify().
void SwSection::SetCondHidden | ( | bool const | bFlag | ) |
Definition at line 509 of file section.cxx.
References ImplSetHiddenFlag(), SwSectionData::IsCondHidden(), SwSectionData::IsHidden(), m_Data, and SwSectionData::SetCondHidden().
Referenced by SwXTextSection::attach(), SwDoc::InsertSwSection(), SwSectionNode::MakeCopy(), SwDocUpdateField::MakeFieldList_(), SwUndoDelSection::UndoImpl(), sw::DocumentFieldsManager::UpdateExpFieldsImpl(), and SwDoc::UpdateSection().
|
inline |
Definition at line 202 of file section.hxx.
References SwSectionData::SetCondition().
Referenced by SwDoc::ChangeDBFields(), SwSectionNode::MakeCopy(), and sw::DocumentFieldsManager::UpdateExpFieldsImpl().
|
inline |
Definition at line 242 of file section.hxx.
References SwSectionData::SetConnectFlag().
void SwSection::SetEditInReadonly | ( | bool const | bFlag = true | ) |
Definition at line 380 of file section.cxx.
References GetFormat(), m_Data, SwSectionData::SetEditInReadonlyFlag(), SwFormat::SetFormatAttr(), and SfxBoolItem::SetValue().
Referenced by SwSectionNode::MakeCopy(), and SetSectionData().
void SwSection::SetHidden | ( | bool const | bFlag = true | ) |
Definition at line 353 of file section.cxx.
References ImplSetHiddenFlag(), SwSectionData::IsCondHidden(), SwSectionData::IsHidden(), m_Data, and SwSectionData::SetHidden().
Referenced by SwSectionNode::MakeCopy(), and SwSectionFormat::~SwSectionFormat().
void SwSection::SetLinkFileName | ( | OUString const & | rNew | ) |
Definition at line 557 of file section.cxx.
References tools::SvRef< typename T >::is(), m_Data, m_RefLink, and SwSectionData::SetLinkFileName().
Referenced by BreakLink(), and SwSectionNode::MakeCopy().
|
inline |
Definition at line 209 of file section.hxx.
References SwSectionData::SetLinkFilePassword().
Referenced by BreakLink().
void SwSection::SetProtect | ( | bool const | bFlag = true | ) |
Definition at line 362 of file section.cxx.
References GetFormat(), m_Data, RES_PROTECT(), SvxProtectItem::SetContentProtect(), SwFormat::SetFormatAttr(), and SwSectionData::SetProtectFlag().
Referenced by SwSectionNode::MakeCopy(), SetSectionData(), SwTOXBaseSection::SwTOXBaseSection(), and SwTOXBaseSection::Update().
void SwSection::SetRefObject | ( | SwServerObject * | pObj | ) |
Definition at line 504 of file section.cxx.
References m_RefObj.
Referenced by SwSectionNode::MakeCopy().
void SwSection::SetSectionData | ( | SwSectionData const & | rData | ) |
Definition at line 254 of file section.cxx.
References ImplSetHiddenFlag(), SwSectionData::IsCondHidden(), SwSectionData::IsEditInReadonlyFlag(), SwSectionData::IsHidden(), SwSectionData::IsProtectFlag(), m_Data, SetEditInReadonly(), and SetProtect().
Referenced by SwNodes::InsertTextSection(), and SwDoc::UpdateSection().
|
inline |
Definition at line 172 of file section.hxx.
References SwSectionData::SetSectionName().
Referenced by SwSectionNode::MakeCopy(), SwDoc::SetTOXBaseName(), SwTOXBaseSection::SwTOXBaseSection(), and SwDoc::UpdateSection().
|
inline |
Definition at line 174 of file section.hxx.
References eType, and SwSectionData::SetType().
Referenced by BreakLink(), and SwSectionNode::MakeCopy().
|
inline |
Definition at line 224 of file section.hxx.
References nType.
Referenced by SwXTextSection::attach(), and lcl_UpdateLinkType().
|
overrideprotectedvirtual |
Reimplemented from SwClient.
Reimplemented in SwTOXBaseSection.
Definition at line 397 of file section.cxx.
References Notify().
|
inline |
Definition at line 228 of file section.hxx.
|
friend |
Definition at line 146 of file section.hxx.
|
friend |
Definition at line 144 of file section.hxx.
|
mutableprivate |
Definition at line 149 of file section.hxx.
Referenced by CreateLink(), DataEquals(), dumpAsXml(), GetLinkFileName(), ImplSetHiddenFlag(), Notify(), SetCondHidden(), SetEditInReadonly(), SetHidden(), SetLinkFileName(), SetProtect(), SetSectionData(), SwSection(), and ~SwSection().
|
private |
Definition at line 152 of file section.hxx.
Referenced by BreakLink(), CreateLink(), GetLinkFileName(), SetLinkFileName(), and ~SwSection().
|
private |
Definition at line 151 of file section.hxx.
Referenced by SetRefObject(), and ~SwSection().