LibreOffice Module sw (master) 1
|
TreeListBox for content indicator. More...
#include <conttree.hxx>
Public Member Functions | |
SwContentTree (std::unique_ptr< weld::TreeView > xTreeView, SwNavigationPI *pDialog) | |
~SwContentTree () | |
SdrObject * | GetDrawingObjectsByContent (const SwContent *pCnt) |
void | ToggleToRoot () |
Switch the display to Root. More... | |
void | SetRootType (ContentTypeId nType) |
void | Display (bool bActiveView) |
Show the file. More... | |
void | clear () |
In the clear the content types have to be deleted, also. More... | |
void | SetHiddenShell (SwWrtShell *pSh) |
After a file is dropped on the Navigator, the new shell will be set. More... | |
void | ShowHiddenShell () |
void | ShowActualView () |
void | SetActiveShell (SwWrtShell *pSh) |
Document change - set new Shell. More... | |
void | SetConstantShell (SwWrtShell *pSh) |
Set an open view as active. More... | |
SwWrtShell * | GetWrtShell () |
bool | IsInDrag () const |
sal_uInt8 | GetOutlineLevel () const |
void | SetOutlineLevel (sal_uInt8 nSet) |
void | SetOutlineTracking (sal_uInt8 nSet) |
void | SetContentTypeTracking (ContentTypeId eCntTypeId, bool bSet) |
void | ExecCommand (std::u16string_view rCmd, bool bModifier) |
Execute commands of the Navigator. More... | |
void | ShowTree () |
void | HideTree () |
bool | IsConstantView () const |
bool | IsActiveView () const |
bool | IsHiddenView () const |
const SwWrtShell * | GetActiveWrtShell () const |
SwWrtShell * | GetHiddenWrtShell () |
void | Select () |
void | UpdateTracking () |
void | SelectOutlinesWithSelection () |
void | SelectContentType (std::u16string_view rContentTypeName) |
bool | RequestingChildren (const weld::TreeIter &rParent) |
virtual void | Notify (SfxBroadcaster &rBC, SfxHint const &rHint) override |
sal_Int8 | AcceptDrop (const AcceptDropEvent &rEvt) |
sal_Int8 | ExecuteDrop (const ExecuteDropEvent &rEvt) |
bool | IsDropFormatSupported (SotClipboardFormatId nFormat) |
void | set_accessible_name (const OUString &rName) |
void | grab_focus () |
void | set_selection_mode (SelectionMode eMode) |
weld::TreeView & | get_widget () |
Public Member Functions inherited from SfxListener | |
SfxListener () | |
SfxListener (const SfxListener &rCopy) | |
virtual | ~SfxListener () COVERITY_NOEXCEPT_FALSE |
void | StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected) |
void | EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false) |
void | EndListeningAll () |
bool | IsListening (SfxBroadcaster &rBroadcaster) const |
sal_uInt16 | GetBroadcasterCount () const |
SfxBroadcaster * | GetBroadcasterJOE (sal_uInt16 nNo) const |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) |
void | RemoveBroadcaster_Impl (SfxBroadcaster &rBC) |
virtual bool | IsSdrView () const |
Private Types | |
enum class | State { ACTIVE , CONSTANT , HIDDEN } |
Private Member Functions | |
void | OverlayObject (std::vector< basegfx::B2DRange > &&aRanges={}) |
void | BringEntryToAttention (const weld::TreeIter &rEntry) |
void | BringFramesToAttention (const std::vector< const SwFrameFormat * > &rFrameFormats) |
void | BringBookmarksToAttention (const std::vector< OUString > &rNames) |
void | BringURLFieldsToAttention (const SwGetINetAttrs &rINetAttrsArr) |
void | BringReferencesToAttention (std::vector< const SwTextAttr * > &rTextAttrsArr) |
void | BringPostItFieldsToAttention (std::vector< const SwTextAttr * > &rTextAttrsArr) |
void | BringDrawingObjectsToAttention (std::vector< const SdrObject * > &rDrawingObjectsArr) |
void | BringTextFieldsToAttention (std::vector< const SwTextAttr * > &rTextAttrsArr) |
void | BringFootnotesToAttention (std::vector< const SwTextAttr * > &rTextAttrsArr) |
void | BringTypesWithFlowFramesToAttention (const std::vector< const SwNode * > &rNodes) |
void | FindActiveTypeAndRemoveUserData () |
Before any data will be deleted, the last active entry has to be found. More... | |
void | InsertContent (const weld::TreeIter &rParent) |
void | insert (const weld::TreeIter *pParent, const OUString &rStr, const OUString &rId, bool bChildrenOnDemand, weld::TreeIter *pRet) |
void | remove (const weld::TreeIter &rIter) |
SwNavigationPI * | GetParentWindow () |
bool | FillTransferData (TransferDataContainer &rTransfer, sal_Int8 &rDragMode) |
bool | HasContentChanged () |
Check if the displayed content is valid. More... | |
size_t | GetAbsPos (const weld::TreeIter &rIter) |
void | EditEntry (const weld::TreeIter &rEntry, EditEntryMode nMode) |
void | GotoContent (const SwContent *pCnt) |
void | ExecuteContextMenuAction (const OUString &rSelectedPopupEntry) |
void | DeleteOutlineSelections () |
void | CopyOutlineSelections () |
size_t | GetEntryCount () const |
size_t | GetChildCount (const weld::TreeIter &rParent) const |
std::unique_ptr< weld::TreeIter > | GetEntryAtAbsPos (size_t nAbsPos) const |
void | Expand (const weld::TreeIter &rParent, std::vector< std::unique_ptr< weld::TreeIter > > *pNodesToExpand) |
void | MoveOutline (SwOutlineNodes::size_type nTargetPos) |
void | UpdateLastSelType () |
DECL_LINK (ExpandHdl, const weld::TreeIter &, bool) | |
Expand - Remember the state for content types. More... | |
DECL_LINK (CollapseHdl, const weld::TreeIter &, bool) | |
Collapse - Remember the state for content types. More... | |
DECL_LINK (ContentDoubleClickHdl, weld::TreeView &, bool) | |
DECL_LINK (AsyncContentDoubleClickHdl, void *, void) | |
DECL_LINK (SelectHdl, weld::TreeView &, void) | |
DECL_LINK (FocusInHdl, weld::Widget &, void) | |
DECL_LINK (KeyInputHdl, const KeyEvent &, bool) | |
DECL_LINK (CommandHdl, const CommandEvent &, bool) | |
DECL_LINK (QueryTooltipHdl, const weld::TreeIter &, OUString) | |
DECL_LINK (DragBeginHdl, bool &, bool) | |
DECL_LINK (TimerUpdate, Timer *, void) | |
DECL_LINK (OverlayObjectDelayTimerHdl, Timer *, void) | |
DECL_LINK (MouseMoveHdl, const MouseEvent &, bool) | |
DECL_LINK (MousePressHdl, const MouseEvent &, bool) | |
TreeListBox for content indicator.
Definition at line 90 of file conttree.hxx.
|
strongprivate |
Enumerator | |
---|---|
ACTIVE | |
CONSTANT | |
HIDDEN |
Definition at line 123 of file conttree.hxx.
SwContentTree::SwContentTree | ( | std::unique_ptr< weld::TreeView > | xTreeView, |
SwNavigationPI * | pDialog | ||
) |
Definition at line 1072 of file content.cxx.
References ACTIVE, CONTEXT_COUNT, SwNavigationConfig::GetActiveBlock(), GetActiveView(), SwView::GetDocShell(), SfxObjectShell::GetTitle(), HID_NAVIGATOR_TREELIST, i, LINK, m_aActiveContentArr, m_aContextStrings, m_aHiddenContentArr, m_aOverlayObjectDelayTimer, m_aUpdTimer, m_nActiveBlock, m_pConfig, m_xTreeView, mOutLineNodeMap, mTrackContentType, OUTLINE, Timer::SetInvokeHandler(), Timer::SetTimeout(), STR_CONTEXT_ARY, SwResId(), and UNKNOWN.
SwContentTree::~SwContentTree | ( | ) |
Definition at line 1140 of file content.cxx.
References clear(), GetActiveView(), SwView::GetDocShell(), SfxObjectShell::GetTitle(), m_aUpdTimer, mOutLineNodeMap, SetActiveShell(), and Task::Stop().
sal_Int8 SwContentTree::AcceptDrop | ( | const AcceptDropEvent & | rEvt | ) |
Definition at line 1265 of file content.cxx.
References SwNavigationPI::AcceptDrop(), DND_ACTION_NONE, GetParentWindow(), IsInDrag(), m_bIsOutlineMoveable, m_bIsRoot, and AcceptDropEvent::mnAction.
Referenced by SwContentTreeDropTarget::AcceptDrop().
|
private |
Definition at line 5944 of file content.cxx.
References SwPosition::AdjustContent(), IDocumentMarkAccess::findBookmark(), IDocumentMarkAccess::getBookmarksEnd(), SwPosition::GetContentIndex(), SwViewShell::getIDocumentMarkAccess(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwPosition::GetNode(), SwNode::GetTextNode(), lcl_CalcOverlayRanges(), SwTextNode::Len(), m_pActiveShell, and OverlayObject().
Referenced by BringEntryToAttention().
|
private |
Definition at line 6106 of file content.cxx.
References tools::Rectangle::Bottom(), tools::Rectangle::IsEmpty(), tools::Rectangle::Left(), OverlayObject(), pObject, tools::Rectangle::Right(), and tools::Rectangle::Top().
Referenced by BringEntryToAttention().
|
private |
Definition at line 5627 of file content.cxx.
References o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::begin(), BOOKMARK, BringBookmarksToAttention(), BringDrawingObjectsToAttention(), BringFootnotesToAttention(), BringFramesToAttention(), BringPostItFieldsToAttention(), BringReferencesToAttention(), BringTextFieldsToAttention(), BringTypesWithFlowFramesToAttention(), BringURLFieldsToAttention(), DRAWOBJECT, o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::end(), ENDNOTE, eType, SwDoc::FindFlyByName(), SwFormatsModifyBase< Value >::FindFormatByName(), SwTable::FindTable(), FLYCNTTYPE_FRM, FLYCNTTYPE_GRF, FLYCNTTYPE_OLE, FOOTNOTE, FRAME, SwViewShell::GetAttrPool(), SwViewShell::GetDoc(), GetDrawingObjectsByContent(), IDocumentDrawModelAccess::GetDrawModel(), SwFEShell::GetFlyFrameFormats(), SwTextFieldContent::GetFormatField(), SwViewShell::getIDocumentDrawModelAccess(), SwURLFieldContent::GetINetAttr(), SwEditShell::GetINetAttrs(), SfxItemPool::GetItemSurrogates(), SwContentType::GetMember(), SwContentType::GetMemberCount(), SwContent::GetName(), SwNode::GetNodes(), SwViewShell::GetNodes(), SwNodes::GetOutLineNds(), SwContent::GetParent(), SwPostItContent::GetPostIt(), SwDoc::GetRefMark(), SwSectionFormat::GetSection(), SwSectionFormat::GetSectionNode(), SwDoc::GetSections(), SwEditShell::GetTableFrameFormatCount(), SwDoc::GetTableFrameFormats(), SwTable::GetTableNode(), SwTextFootnoteContent::GetTextFootnote(), SwTextRefMark::GetTextNode(), SwFormatRefMark::GetTextRefMark(), SwSection::GetType(), SwContentType::GetType(), GRAPHIC, Grf, i, INDEX, SwSection::IsHiddenFlag(), SwSectionFormat::IsInNodesArr(), SwContent::IsInvisible(), IDocumentDrawModelAccess::IsVisibleLayerId(), m_pActiveShell, m_xTreeView, n, nCount, nType, Ole, OLE, OUTLINE, OverlayObject(), pObject, POSTIT, REFERENCE, REGION, RES_TXTATR_REFMARK(), SwVectorModifyBase< Value >::size(), TABLE, Text, TEXTFIELD, ToxContent, ToxHeader, and URLFIELD.
|
private |
Definition at line 6083 of file content.cxx.
References SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwTextFootnote::GetTextNode(), lcl_CalcOverlayRanges(), m_pActiveShell, OverlayObject(), and p.
Referenced by BringEntryToAttention().
|
private |
Definition at line 5929 of file content.cxx.
References SwRect::Bottom(), SwRect::IsEmpty(), SwRect::Left(), OverlayObject(), SwRect::Right(), and SwRect::Top().
Referenced by BringEntryToAttention().
|
private |
Definition at line 6049 of file content.cxx.
References SwTextAnnotationField::GetAnnotationMark(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwPosition::GetNode(), SwNode::GetTextNode(), SwTextField::GetTextNode(), lcl_CalcOverlayRanges(), m_pActiveShell, OverlayObject(), and p.
Referenced by BringEntryToAttention().
|
private |
Definition at line 6026 of file content.cxx.
References SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwTextRefMark::GetTextNode(), lcl_CalcOverlayRanges(), m_pActiveShell, OverlayObject(), and p.
Referenced by BringEntryToAttention().
|
private |
Definition at line 6121 of file content.cxx.
References SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwTextField::GetPamForTextField(), SwTextField::GetTextNode(), lcl_CalcOverlayRanges(), m_pActiveShell, OverlayObject(), and p.
Referenced by BringEntryToAttention().
|
private |
Definition at line 5982 of file content.cxx.
References SwRect::Bottom(), SwFrameAreaDefinition::getFrameArea(), SwRect::IsEmpty(), SwFrame::IsFlowFrame(), SwRect::Left(), SwNode2Layout::NextFrame(), OverlayObject(), SwRect::Right(), and SwRect::Top().
Referenced by BringEntryToAttention().
|
private |
Definition at line 6008 of file content.cxx.
References SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwNode::GetTextNode(), lcl_CalcOverlayRanges(), m_pActiveShell, and OverlayObject().
Referenced by BringEntryToAttention().
void SwContentTree::clear | ( | ) |
In the clear the content types have to be deleted, also.
Definition at line 2691 of file content.cxx.
References m_nEntryCount, and m_xTreeView.
Referenced by Display(), SetActiveShell(), and ~SwContentTree().
|
private |
Definition at line 5309 of file content.cxx.
References a, Chars, SwWrtShell::EndSelect(), SwWrtShell::EnterAddMode(), SfxBindings::Execute(), SfxViewFrame::GetBindings(), SwViewShell::GetDoc(), SwOutlineContent::GetOutlinePos(), SwWrtShell::GetView(), SfxViewShell::GetViewFrame(), SwCursorShell::IsSttPara(), lcl_AssureStdModeAtShell(), SwWrtShell::LeaveAddMode(), SwViewShell::LockView(), m_pActiveShell, m_xTreeView, SwCursorShell::MakeOutlineSel(), nCount, SwWrtShell::Right(), SwWrtShell::SttSelect(), and toInt64().
Referenced by ExecuteContextMenuAction().
|
private |
|
private |
Collapse - Remember the state for content types.
|
private |
|
private |
|
private |
|
private |
Expand - Remember the state for content types.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 4831 of file content.cxx.
References SwRewriter::AddRule(), Chars, SwEditShell::Delete(), DELETE, SwCursorShell::EndAction(), SwWrtShell::EndSelect(), SwEditShell::EndUndo(), SwWrtShell::EnterAddMode(), SwWrtShell::HasSelection(), if(), SwCursorShell::IsSttPara(), SwWrtShell::LeaveAddMode(), m_pActiveShell, m_xTreeView, SwCursorShell::MakeOutlineSel(), SwWrtShell::Right(), SwCursorShell::StartAction(), SwEditShell::StartUndo(), SwWrtShell::SttSelect(), SwResId(), and UndoArg1.
Referenced by EditEntry().
void SwContentTree::Display | ( | bool | bActiveView | ) |
Show the file.
Definition at line 2516 of file content.cxx.
References ACTIVE, bReadOnly, clear(), Expand(), GetAbsPos(), SwView::GetDocShell(), GetEntryCount(), GetParentWindow(), SwWrtShell::GetView(), GetWrtShell(), HIDDEN, insert(), InsertContent(), SfxObjectShell::IsReadOnly(), m_aActiveContentArr, m_aHiddenContentArr, m_aOverlayObjectDelayTimer, m_bIgnoreDocChange, m_bIsLastReadOnly, m_eState, m_nActiveBlock, m_nHiddenBlock, m_nLastSelType, m_nOutlineLevel, m_nRootType, SwNavigationPI::m_xContent5ToolBox, SwNavigationPI::m_xContent6ToolBox, m_xOverlayObject, m_xTreeView, nPos, OUTLINE, Select(), sId, Task::Stop(), weld::toId(), UNKNOWN, and UpdateLastSelType().
Referenced by ExecuteContextMenuAction(), MoveOutline(), SetActiveShell(), SetConstantShell(), SetHiddenShell(), SetOutlineLevel(), ShowActualView(), ShowHiddenShell(), and ToggleToRoot().
|
private |
Definition at line 4989 of file content.cxx.
References SwRewriter::AddRule(), Any, SwRewriter::Apply(), args, SwPostItMgr::AssureStdModeAtShell(), BOOKMARK, SwAbstractDialogFactory::Create(), SwAbstractDialogFactory::CreateSwRenameXNamedDlg(), DELETE, SwDoc::DeleteFormatRefMark(), IDocumentMarkAccess::deleteMark(), DeleteOutlineSelections(), SwFEShell::DeleteRow(), SwTextField::DeleteTextField(), SwEditShell::DeleteTOX(), SwWrtShell::DelRight(), DRAWOBJECT, EDIT, SwCursorShell::EndAction(), ENDNOTE, SwEditShell::EndUndo(), SfxDispatcher::Execute(), SfxDispatcher::ExecuteList(), IDocumentMarkAccess::findMark(), FN_EDIT_BOOKMARK, FN_EDIT_FIELD, FN_EDIT_REGION, FN_FORMAT_FOOTNOTE_DLG, FN_FORMAT_FRAME_DLG, FN_FORMAT_GRAFIC_DLG, FN_FORMAT_TABLE_DLG, FN_INSERT_MULTI_TOX, FN_NAME_SHAPE, FN_POSTIT, FN_TABLE_SELECT_ALL, FOOTNOTE, FRAME, IDocumentSettingAccess::get(), SwDoc::GetAttrPool(), SfxObjectShell::GetBaseModel(), GetDispatcher(), SfxViewFrame::GetDispatcher(), SwViewShell::GetDoc(), SwView::GetDocShell(), SwTextFieldContent::GetFormatField(), SwViewShell::getIDocumentMarkAccess(), SwViewShell::getIDocumentSettingAccess(), SfxItemPool::GetItemSurrogates(), SwContent::GetName(), SwNode::GetNodes(), SwViewShell::GetNodes(), SwContent::GetParent(), SwView::GetPostItMgr(), SwFormatField::GetTextField(), SwTextRefMark::GetTextNode(), SwTOXBase::GetTOXName(), SwContentType::GetType(), SwWrtShell::GetView(), SfxViewShell::GetViewFrame(), SwViewShell::GetWin(), GotoContent(), grab_focus(), GRAPHIC, INDEX, KEY_RETURN, vcl::Window::KeyInput(), m_aUpdTimer, m_bIgnoreDocChange, m_bViewHasChanged, m_pActiveShell, m_xTreeView, name, nPos, nType, OLE, OUTLINE, POSTIT, PROTECT_BOOKMARKS, REFERENCE, REGION, RENAME, RES_TXTATR_REFMARK(), RMV_IDX, SwCursorShell::StartAction(), SwEditShell::StartUndo(), SwResId(), TABLE, TEXTFIELD, UndoArg1, UndoArg2, UndoArg3, UNPROTECT_TABLE, UPD_IDX, URLFIELD, and xModel.
Referenced by ExecuteContextMenuAction().
void SwContentTree::ExecCommand | ( | std::u16string_view | rCmd, |
bool | bModifier | ||
) |
Execute commands of the Navigator.
Definition at line 3257 of file content.cxx.
References ACTIVE, CONSTANT, SwViewShell::GetNodes(), SwNodes::GetOutLineNds(), GetParentWindow(), SwNode::GetTextNode(), GetWrtShell(), if(), IsReadOnly(), m_eState, m_pActiveShell, m_xTreeView, nPos, o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size(), and u.
Referenced by ExecuteContextMenuAction().
|
private |
Definition at line 4547 of file content.cxx.
References ACTIVE, BOOKMARK, SwCursorShell::ClearMark(), CopyOutlineSelections(), SwPostItMgr::Delete(), DELETE, Display(), DRAWOBJECT, EDIT, EditEntry(), ENDNOTE, SwWrtShell::EndSelect(), SwWrtShell::EnterAddMode(), SwWrtShell::EnterStdMode(), ExecCommand(), SfxDispatcher::Execute(), SwContentType::FillMemberList(), FN_OUTLINE_TO_CLIPBOARD, FN_TABLE_SELECT_ALL, fnRegionEnd, fnRegionStart, FOOTNOTE, FRAME, SwWrtShell::GetAttrOutlineContentVisible(), SwCursorShell::GetCurrentShellCursor(), SfxViewFrame::GetDispatcher(), SwViewShell::GetDoc(), SwDoc::GetDocShell(), SwModule::GetFirstView(), SwViewShell::getIDocumentOutlineNodesAccess(), SwContent::GetName(), SwModule::GetNextView(), SwDoc::GetNodes(), IDocumentOutlineNodes::getOutlineLevel(), SwNodes::GetOutLineNds(), IDocumentOutlineNodes::getOutlineNodesCount(), SwOutlineContent::GetOutlinePos(), SwContent::GetParent(), GetParentWindow(), SwView::GetPostItMgr(), SwContentType::GetSortType(), SwNode::GetTextNode(), SwContentType::GetType(), SwWrtShell::GetView(), SfxViewShell::GetViewFrame(), SwView::GetWrtShell(), GotoContent(), GotoCurrRegionAndSkip(), SwWrtShell::GotoOutline(), SwWrtShell::GotoPage(), SwWrtShell::GotoRegion(), SwWrtShell::GotoTable(), grab_focus(), GRAPHIC, HIDDEN, SwPostItMgr::Hide(), INDEX, SwWrtShell::InvalidateOutlineContentVisibility(), SwWrtShell::IsOutlineContentVisible(), SwCursorShell::IsReadOnlyAvailable(), SwEditShell::IsTOXBaseReadonly(), SwCursorShell::KillPams(), SwWrtShell::LeaveAddMode(), m_bIgnoreDocChange, m_bViewHasChanged, m_eState, m_nOutlineLevel, m_nOutlineTracking, m_pActiveShell, m_xTreeView, SwCursorShell::MakeOutlineSel(), mTrackContentType, nPos, SwOutlineNodes::npos, OLE, OUTLINE, POSTIT, REFERENCE, REGION, RENAME, RMV_IDX, SwPostItMgr::SetActiveSidebarWin(), SwTextNode::SetAttrOutlineContentVisible(), SetConstantShell(), SetContentTypeTracking(), SwEditShell::SetModified(), SetOutlineLevel(), SetOutlineTracking(), SwNavigationPI::SetRegionDropMode(), SwContentType::SetSortType(), SwEditShell::SetTOXBaseReadonly(), SwPostItMgr::Show(), SwWrtShell::SttSelect(), TABLE, TEXTFIELD, u, UNPROTECT_TABLE, UPD_IDX, SwCursorShell::UpdateCursor(), SwNavigationPI::UpdateListBox(), and URLFIELD.
sal_Int8 SwContentTree::ExecuteDrop | ( | const ExecuteDropEvent & | rEvt | ) |
Definition at line 1297 of file content.cxx.
References DND_ACTION_NONE, SwNavigationPI::ExecuteDrop(), SwViewShell::getIDocumentOutlineNodesAccess(), IDocumentOutlineNodes::getOutlineNodesCount(), GetParentWindow(), GetWrtShell(), IsInDrag(), lcl_GetOutlineKey(), m_nOutlineLevel, m_nRootType, m_xTreeView, ExecuteDropEvent::maPosPixel, MAXLEVEL, mOutLineNodeMap, MoveOutline(), SwOutlineNodes::npos, and OUTLINE.
Referenced by SwContentTreeDropTarget::ExecuteDrop().
|
private |
Definition at line 2219 of file content.cxx.
References SwViewShell::getIDocumentOutlineNodesAccess(), IDocumentOutlineNodes::getOutlineNode(), SwContentType::GetType(), GetWrtShell(), HIDDEN, m_bIsRoot, m_eState, m_nActiveBlock, m_nHiddenBlock, m_nRootType, m_pConfig, m_xTreeView, mOutLineNodeMap, nPos, OUTLINE, RequestingChildren(), and SwNavigationConfig::SetActiveBlock().
Referenced by Display().
|
private |
Definition at line 2699 of file content.cxx.
References BOOKMARK, cMarkSeparator, CONSTANT, NaviContentBookmark::Copy(), TransferDataContainer::CopyINetBookmark(), DND_ACTION_LINK, DND_ACTION_MOVE, ENDNOTE, FOOTNOTE, SwNumRule::Get(), GetActiveView(), SwTextNode::GetActualListLevel(), SwView::GetDocShell(), SwViewShell::getIDocumentOutlineNodesAccess(), SwViewShell::GetLayout(), SfxObjectShell::GetMedium(), SwTextNode::GetNumberVector(), IDocumentOutlineNodes::getOutlineNode(), SwEditShell::GetOutlineNumRule(), IDocumentOutlineNodes::getOutlineText(), SwContent::GetParent(), GetParentWindow(), SwNavigationPI::GetRegionDropMode(), SvxNumberFormat::GetStart(), SwContentType::GetType(), SwContentType::GetTypeToken(), GetURL(), INetURLObject::GetURLNoMark(), SfxMedium::GetURLObject(), SwWrtShell::GetView(), GetWrtShell(), SwView::GetWrtShellPtr(), GRAPHIC, SfxObjectShell::HasName(), INDEX, SwTextNode::IsNumbered(), SwEditShell::IsOutlineCopyable(), m_bIsOutlineMoveable, m_eState, m_pActiveShell, m_xTreeView, nPos, OLE, OUTLINE, POSTIT, REFERENCE, REGION, TEXTFIELD, and URLFIELD.
|
private |
Before any data will be deleted, the last active entry has to be found.
After this the UserData will be deleted
Definition at line 3110 of file content.cxx.
References m_xTreeView, and UpdateLastSelType().
Referenced by SetActiveShell(), SetConstantShell(), and SetHiddenShell().
|
inline |
Definition at line 300 of file conttree.hxx.
References m_xTreeView.
Referenced by SwContentTreeDropTarget::AcceptDrop().
|
private |
Definition at line 2468 of file content.cxx.
References weld::GetAbsPos(), and m_xTreeView.
Referenced by Display().
|
inline |
Definition at line 263 of file conttree.hxx.
References m_pActiveShell.
Referenced by lcl_SetOutlineContentEntriesSensitivities().
|
private |
Definition at line 2478 of file content.cxx.
References m_xTreeView, and nCount.
Referenced by HasContentChanged().
Definition at line 2187 of file content.cxx.
References DRAWOBJECT, SwViewShell::GetDoc(), IDocumentDrawModelAccess::GetDrawModel(), SwViewShell::GetDrawView(), SwDoc::getIDocumentDrawModelAccess(), SdrObject::GetName(), SwContent::GetName(), SdrObjList::GetObj(), SdrObjList::GetObjCount(), SdrModel::GetPage(), SwContent::GetParent(), SwContentType::GetType(), i, m_pActiveShell, and nCount.
Referenced by BringEntryToAttention().
|
private |
Definition at line 2501 of file content.cxx.
References m_xTreeView.
|
private |
|
inline |
Definition at line 264 of file conttree.hxx.
References m_pHiddenShell.
|
inline |
Definition at line 247 of file conttree.hxx.
References m_nOutlineLevel.
Referenced by RequestingChildren().
|
private |
Definition at line 5573 of file content.cxx.
References m_pDialog.
Referenced by AcceptDrop(), Display(), ExecCommand(), ExecuteContextMenuAction(), ExecuteDrop(), FillTransferData(), MoveOutline(), Select(), SetHiddenShell(), ShowActualView(), and ToggleToRoot().
|
inline |
Definition at line 242 of file conttree.hxx.
References HIDDEN, m_eState, m_pActiveShell, and m_pHiddenShell.
Referenced by Display(), ExecCommand(), ExecuteDrop(), Expand(), FillTransferData(), lcl_GetOutlineKey(), lcl_SetOutlineContentEntriesSensitivities(), MoveOutline(), Notify(), and UpdateTracking().
|
private |
Definition at line 5335 of file content.cxx.
References BOOKMARK, Chars, DRAWOBJECT, SwCursorShell::EndAction(), SwCursorShell::EndCursorMove(), ENDNOTE, SwWrtShell::EnterSelFrameMode(), fnTableStart, FOOTNOTE, FRAME, SfxObjectShell::GetBaseModel(), SwCursorShell::GetCursor(), SwCursorShell::GetCursorDocPos(), SwViewShell::GetDoc(), SwView::GetDocShell(), SwView::GetEditWin(), SwNodes::GetEndOfExtras(), SwNodeIndex::GetIndex(), SwNode::GetIndex(), SwURLFieldContent::GetINetAttr(), SwPaM::GetMark(), SwContent::GetName(), SwDoc::GetNodes(), SwContent::GetParent(), SwPaM::GetPoint(), SwView::GetPostItMgr(), SwContentType::GetType(), SwWrtShell::GetView(), SwView::GetVisArea(), tools::Rectangle::getX(), Point::getY(), GotoCurrTable(), SwWrtShell::GotoDrawingObject(), SwWrtShell::GotoFly(), SwWrtShell::GotoFootnoteAnchor(), SwWrtShell::GotoFormatField(), SwWrtShell::GotoINetAttr(), SwWrtShell::GotoMark(), SwWrtShell::GotoNextTOXBase(), SwWrtShell::GotoOutline(), SwCursorShell::GotoPrevTOXBase(), SwWrtShell::GotoRefMark(), SwWrtShell::GotoRegion(), SwWrtShell::GotoTable(), vcl::Window::GrabFocus(), GRAPHIC, SwCursorShell::HideCursor(), INDEX, SwCursorShell::IsCursorInTable(), SwCursorShell::IsCursorVisible(), SwFEShell::IsFrameSelected(), SwFEShell::IsObjSelected(), lcl_AssureStdModeAtShell(), SwWrtShell::Left(), m_bSelectTo, m_nLastGotoContentWasOutlinePos, m_nLastSelType, m_pActiveShell, m_sSelectedItem, SwCursorShell::MoveTable(), SwPosition::nContent, SwPosition::nNode, nPos, SwOutlineNodes::npos, OLE, OUTLINE, POSTIT, REFERENCE, REGION, RES_TXTATR_INETFMT(), SwWrtShell::Right(), SwPostItMgr::SetActiveSidebarWin(), SwCursorShell::SetMark(), SwView::SetVisArea(), sName, SwCursorShell::StartAction(), SwView::StopShellTimer(), SwCursorShell::SttCursorMove(), TABLE, TEXTFIELD, SwCursorShell::UpdateCursor(), URLFIELD, xController, and xModel.
Referenced by EditEntry(), and ExecuteContextMenuAction().
|
inline |
Definition at line 290 of file conttree.hxx.
References m_xTreeView.
Referenced by EditEntry(), and ExecuteContextMenuAction().
|
private |
Check if the displayed content is valid.
Definition at line 2892 of file content.cxx.
References SwContentType::FillMemberList(), GetChildCount(), SwContentType::GetMember(), SwContentType::GetMemberCount(), SwContent::GetName(), SwContentType::GetType(), HIDDEN, i, m_aActiveContentArr, m_bIsRoot, m_eState, m_sSpace, m_xTreeView, nType, remove(), SAL_WARN, and weld::toId().
void SwContentTree::HideTree | ( | ) |
Definition at line 3546 of file content.cxx.
References m_aUpdTimer, m_xTreeView, and Task::Stop().
|
private |
Definition at line 2104 of file content.cxx.
References m_nEntryCount, and m_xTreeView.
Referenced by Display(), InsertContent(), and RequestingChildren().
|
private |
Definition at line 2076 of file content.cxx.
References SwContentType::GetMember(), SwContentType::GetMemberCount(), SwContent::GetName(), SwContentType::GetType(), GRAPHIC, i, insert(), SwContent::IsInvisible(), m_sSpace, m_xTreeView, nCount, REGION, sId, and weld::toId().
Referenced by Display(), and RequestingChildren().
|
inline |
Definition at line 260 of file conttree.hxx.
|
inline |
Definition at line 259 of file conttree.hxx.
|
inline |
Definition at line 280 of file conttree.hxx.
References m_aDropTargetHelper.
|
inline |
Definition at line 261 of file conttree.hxx.
bool SwContentTree::IsInDrag | ( | ) | const |
Definition at line 1259 of file content.cxx.
References m_xTreeView.
Referenced by AcceptDrop(), and ExecuteDrop().
|
private |
Definition at line 4176 of file content.cxx.
References a, Display(), SwEditShell::EndAllAction(), SwEditShell::EndUndo(), GetParentWindow(), GetWrtShell(), m_aActiveContentArr, m_aDndOutlinesSelected, m_xTreeView, SwNavigationPI::MoveOutline(), SwOutlineNodes::npos, OUTLINE, OUTLINE_UD, SwEditShell::StartAllAction(), and SwEditShell::StartUndo().
Referenced by ExecuteDrop().
|
overridevirtual |
Reimplemented from SfxListener.
Definition at line 3192 of file content.cxx.
References bReadOnly, SfxViewEventHint::GetController(), SwView::GetDocShell(), SfxEventHint::GetEventName(), SfxHint::GetId(), SwXTextView::GetView(), SwWrtShell::GetView(), GetWrtShell(), SfxObjectShell::IsReadOnly(), m_aUpdTimer, m_bDocHasChanged, m_bIgnoreDocChange, m_bIsLastReadOnly, m_nRootType, m_pActiveShell, m_xTreeView, SfxListener::Notify(), OUTLINE, Select(), SelectOutlinesWithSelection(), SetActiveShell(), UNKNOWN, and UpdateTracking().
|
private |
Definition at line 5611 of file content.cxx.
References sdr::overlay::Invert, m_aOverlayObjectDelayTimer, m_xOverlayObject, Timer::Start(), and Task::Stop().
Referenced by BringBookmarksToAttention(), BringDrawingObjectsToAttention(), BringEntryToAttention(), BringFootnotesToAttention(), BringFramesToAttention(), BringPostItFieldsToAttention(), BringReferencesToAttention(), BringTextFieldsToAttention(), BringTypesWithFlowFramesToAttention(), and BringURLFieldsToAttention().
|
private |
Definition at line 2111 of file content.cxx.
References m_nEntryCount, m_xTreeView, and remove().
Referenced by HasContentChanged(), and remove().
bool SwContentTree::RequestingChildren | ( | const weld::TreeIter & | rParent | ) |
Definition at line 2124 of file content.cxx.
References SwContentType::GetMember(), SwContentType::GetMemberCount(), SwContent::GetName(), GetOutlineLevel(), SwContentType::GetType(), i, insert(), InsertContent(), SwContent::IsInvisible(), m_sSpace, m_xTreeView, nCount, OUTLINE, sId, and weld::toId().
Referenced by Expand().
void SwContentTree::Select | ( | ) |
Definition at line 4936 of file content.cxx.
References GetParentWindow(), m_bIsLastReadOnly, m_bIsRoot, m_nRootType, SwNavigationPI::m_xContent6ToolBox, m_xTreeView, and OUTLINE.
Referenced by Display(), lcl_SelectByContentTypeAndAddress(), lcl_SelectByContentTypeAndName(), Notify(), SelectContentType(), and UpdateTracking().
void SwContentTree::SelectContentType | ( | std::u16string_view | rContentTypeName | ) |
Definition at line 5578 of file content.cxx.
References m_xTreeView, and Select().
void SwContentTree::SelectOutlinesWithSelection | ( | ) |
Definition at line 4122 of file content.cxx.
References SwCursorShell::GetCursor(), SwCursor::GetNext(), SwCursorShell::GetOutlinePos(), SwPaM::HasMark(), m_pActiveShell, m_xTreeView, and OUTLINE.
Referenced by Notify().
|
inline |
Definition at line 285 of file conttree.hxx.
References m_xTreeView.
|
inline |
Definition at line 295 of file conttree.hxx.
References eMode, and m_xTreeView.
void SwContentTree::SetActiveShell | ( | SwWrtShell * | pSh | ) |
Document change - set new Shell.
Definition at line 3136 of file content.cxx.
References ACTIVE, clear(), CONSTANT, Display(), SfxListener::EndListeningAll(), FindActiveTypeAndRemoveUserData(), SwView::GetDocShell(), SwFormat::GetFrameDir(), AllSettings::GetLayoutRTL(), SwPageDesc::GetMaster(), SwFEShell::GetPageDesc(), SwWrtShell::GetView(), i, m_aActiveContentArr, m_eState, m_pActiveShell, m_xTreeView, and SfxListener::StartListening().
Referenced by Notify(), and ~SwContentTree().
void SwContentTree::SetConstantShell | ( | SwWrtShell * | pSh | ) |
Set an open view as active.
Definition at line 3178 of file content.cxx.
References CONSTANT, Display(), SfxListener::EndListeningAll(), FindActiveTypeAndRemoveUserData(), SwView::GetDocShell(), SwWrtShell::GetView(), i, m_aActiveContentArr, m_eState, m_pActiveShell, and SfxListener::StartListening().
Referenced by ExecuteContextMenuAction().
void SwContentTree::SetContentTypeTracking | ( | ContentTypeId | eCntTypeId, |
bool | bSet | ||
) |
Definition at line 4892 of file content.cxx.
References m_pConfig, mTrackContentType, and SwNavigationConfig::SetContentTypeTrack().
Referenced by ExecuteContextMenuAction().
void SwContentTree::SetHiddenShell | ( | SwWrtShell * | pSh | ) |
After a file is dropped on the Navigator, the new shell will be set.
Definition at line 3122 of file content.cxx.
References Display(), FindActiveTypeAndRemoveUserData(), GetParentWindow(), HIDDEN, i, m_aHiddenContentArr, m_eState, m_pHiddenShell, and SwNavigationPI::UpdateListBox().
void SwContentTree::SetOutlineLevel | ( | sal_uInt8 | nSet | ) |
Definition at line 4869 of file content.cxx.
References ACTIVE, Display(), m_aActiveContentArr, m_aHiddenContentArr, m_eState, m_nOutlineLevel, m_pConfig, OUTLINE, and SwNavigationConfig::SetOutlineLevel().
Referenced by ExecuteContextMenuAction().
void SwContentTree::SetOutlineTracking | ( | sal_uInt8 | nSet | ) |
Definition at line 4886 of file content.cxx.
References m_nOutlineTracking, m_pConfig, and SwNavigationConfig::SetOutlineTracking().
Referenced by ExecuteContextMenuAction().
void SwContentTree::SetRootType | ( | ContentTypeId | nType | ) |
Definition at line 4969 of file content.cxx.
References m_bIsRoot, m_nRootType, m_pConfig, nType, and SwNavigationConfig::SetRootType().
void SwContentTree::ShowActualView | ( | ) |
Definition at line 4909 of file content.cxx.
References ACTIVE, Display(), GetParentWindow(), m_eState, and SwNavigationPI::UpdateListBox().
void SwContentTree::ShowHiddenShell | ( | ) |
Definition at line 4899 of file content.cxx.
References Display(), HIDDEN, m_eState, and m_pHiddenShell.
void SwContentTree::ShowTree | ( | ) |
Definition at line 3540 of file content.cxx.
References m_aUpdTimer, m_xTreeView, and Timer::Start().
void SwContentTree::ToggleToRoot | ( | ) |
Switch the display to Root.
Definition at line 2840 of file content.cxx.
References Display(), DRAWOBJECT, GetParentWindow(), SwContentType::GetType(), HIDDEN, i, m_aActiveContentArr, m_bIsRoot, m_eState, m_nLastSelType, m_nRootType, m_pConfig, SwNavigationPI::m_xContent5ToolBox, m_xTreeView, OUTLINE, weld::Toolbar::set_item_active(), SwNavigationConfig::SetRootType(), and UNKNOWN.
|
private |
Definition at line 3094 of file content.cxx.
References m_nLastSelType, and m_xTreeView.
Referenced by Display(), and FindActiveTypeAndRemoveUserData().
void SwContentTree::UpdateTracking | ( | ) |
Definition at line 3763 of file content.cxx.
References aName, BOOKMARK, DbForm, DRAWOBJECT, DrawObject, DrawObjectEditMode, ENDNOTE, eType, SwNode::FindSectionNode(), FOOTNOTE, FRAME, Frame, Ftn, IDocumentMarkAccess::getBookmarksBegin(), IDocumentMarkAccess::getBookmarksEnd(), SwCursorShell::GetContentAtPos(), SwCursorShell::GetCurField(), SwEditShell::GetCurrSection(), SwCursorShell::GetCursor(), SwCursorShell::GetCursorDocPos(), SwEditShell::GetCurTOX(), SwViewShell::GetDrawView(), SwFEShell::GetFlyName(), SwViewShell::getIDocumentMarkAccess(), SdrMarkView::GetMarkedObjectByIndex(), SdrMarkView::GetMarkedObjectCount(), SdrObject::GetName(), SwFormat::GetName(), SwCursorShell::GetOutlinePos(), SwPaM::GetPoint(), SwFormatRefMark::GetRefName(), SwWrtShell::GetSelectionType(), SwEditShell::GetTableFormat(), GetWrtShell(), GRAPHIC, Graphic, HIDDEN, INDEX, InetAttr, SwCursorShell::IsCursorInTable(), lcl_SelectByContentTypeAndAddress(), lcl_SelectByContentTypeAndName(), lcl_SelectDrawObjectByName(), m_bIgnoreDocChange, m_bIsRoot, m_eState, m_nLastGotoContentWasOutlinePos, m_nLastSelType, m_nOutlineTracking, m_nRootType, m_pActiveShell, m_sSelectedItem, m_xTreeView, MAXLEVEL, mTrackContentType, SwOutlineNodes::npos, OLE, Ole, OUTLINE, Postit, POSTIT, REFERENCE, RefMark, REGION, Select(), SwResId(), TABLE, Text, TEXTFIELD, ToxContent, and URLFIELD.
Referenced by Notify().
|
private |
Definition at line 99 of file conttree.hxx.
Referenced by Display(), HasContentChanged(), MoveOutline(), SetActiveShell(), SetConstantShell(), SetOutlineLevel(), SwContentTree(), and ToggleToRoot().
|
private |
Definition at line 101 of file conttree.hxx.
Referenced by SwContentTree().
|
private |
Definition at line 132 of file conttree.hxx.
Referenced by MoveOutline().
|
private |
Definition at line 93 of file conttree.hxx.
Referenced by IsDropFormatSupported().
|
private |
Definition at line 100 of file conttree.hxx.
Referenced by Display(), SetHiddenShell(), SetOutlineLevel(), and SwContentTree().
|
private |
Definition at line 97 of file conttree.hxx.
Referenced by Display(), OverlayObject(), and SwContentTree().
|
private |
Definition at line 96 of file conttree.hxx.
Referenced by EditEntry(), HideTree(), Notify(), ShowTree(), SwContentTree(), and ~SwContentTree().
|
private |
Definition at line 134 of file conttree.hxx.
Referenced by Notify().
|
private |
Definition at line 135 of file conttree.hxx.
Referenced by Display(), EditEntry(), ExecuteContextMenuAction(), Notify(), and UpdateTracking().
|
private |
Definition at line 126 of file conttree.hxx.
|
private |
Definition at line 127 of file conttree.hxx.
|
private |
Definition at line 128 of file conttree.hxx.
Referenced by AcceptDrop(), and FillTransferData().
|
private |
Definition at line 125 of file conttree.hxx.
Referenced by AcceptDrop(), Expand(), HasContentChanged(), Select(), SetRootType(), ToggleToRoot(), and UpdateTracking().
|
private |
Definition at line 138 of file conttree.hxx.
Referenced by GotoContent().
|
private |
Definition at line 129 of file conttree.hxx.
Referenced by EditEntry(), and ExecuteContextMenuAction().
|
private |
Referenced by Display(), ExecCommand(), ExecuteContextMenuAction(), Expand(), FillTransferData(), GetWrtShell(), HasContentChanged(), IsActiveView(), IsConstantView(), IsHiddenView(), SetActiveShell(), SetConstantShell(), SetHiddenShell(), SetOutlineLevel(), ShowActualView(), ShowHiddenShell(), ToggleToRoot(), and UpdateTracking().
|
private |
Definition at line 111 of file conttree.hxx.
Referenced by Display(), Expand(), and SwContentTree().
|
private |
Definition at line 113 of file conttree.hxx.
Referenced by clear(), GetEntryCount(), insert(), and remove().
|
private |
Definition at line 112 of file conttree.hxx.
|
private |
Definition at line 121 of file conttree.hxx.
Referenced by GotoContent(), and UpdateTracking().
|
private |
Definition at line 115 of file conttree.hxx.
Referenced by Display(), GotoContent(), ToggleToRoot(), UpdateLastSelType(), and UpdateTracking().
|
private |
Definition at line 116 of file conttree.hxx.
Referenced by Display(), ExecuteContextMenuAction(), ExecuteDrop(), GetOutlineLevel(), and SetOutlineLevel().
|
private |
Definition at line 118 of file conttree.hxx.
Referenced by ExecuteContextMenuAction(), SetOutlineTracking(), and UpdateTracking().
|
private |
Definition at line 114 of file conttree.hxx.
Referenced by Display(), ExecuteDrop(), Expand(), Notify(), Select(), SetRootType(), ToggleToRoot(), and UpdateTracking().
|
private |
Definition at line 137 of file conttree.hxx.
|
private |
Definition at line 106 of file conttree.hxx.
Referenced by BringBookmarksToAttention(), BringEntryToAttention(), BringFootnotesToAttention(), BringPostItFieldsToAttention(), BringReferencesToAttention(), BringTextFieldsToAttention(), BringURLFieldsToAttention(), CopyOutlineSelections(), DeleteOutlineSelections(), EditEntry(), ExecCommand(), ExecuteContextMenuAction(), FillTransferData(), GetActiveWrtShell(), GetDrawingObjectsByContent(), GetWrtShell(), GotoContent(), Notify(), SelectOutlinesWithSelection(), SetActiveShell(), SetConstantShell(), and UpdateTracking().
|
private |
Definition at line 107 of file conttree.hxx.
Referenced by Expand(), SetContentTypeTracking(), SetOutlineLevel(), SetOutlineTracking(), SetRootType(), SwContentTree(), and ToggleToRoot().
|
private |
Definition at line 94 of file conttree.hxx.
Referenced by GetParentWindow().
|
private |
Definition at line 105 of file conttree.hxx.
Referenced by GetHiddenWrtShell(), GetWrtShell(), SetHiddenShell(), and ShowHiddenShell().
|
private |
Definition at line 102 of file conttree.hxx.
|
private |
Definition at line 103 of file conttree.hxx.
Referenced by GotoContent(), and UpdateTracking().
|
private |
Definition at line 95 of file conttree.hxx.
Referenced by HasContentChanged(), InsertContent(), and RequestingChildren().
|
private |
Definition at line 140 of file conttree.hxx.
|
private |
Definition at line 141 of file conttree.hxx.
Referenced by Display(), and OverlayObject().
|
private |
Definition at line 92 of file conttree.hxx.
Referenced by BringEntryToAttention(), clear(), CopyOutlineSelections(), DeleteOutlineSelections(), Display(), EditEntry(), ExecCommand(), ExecuteContextMenuAction(), ExecuteDrop(), Expand(), FillTransferData(), FindActiveTypeAndRemoveUserData(), get_widget(), GetAbsPos(), GetChildCount(), GetEntryAtAbsPos(), grab_focus(), HasContentChanged(), HideTree(), insert(), InsertContent(), IsInDrag(), MoveOutline(), Notify(), remove(), RequestingChildren(), Select(), SelectContentType(), SelectOutlinesWithSelection(), set_accessible_name(), set_selection_mode(), SetActiveShell(), ShowTree(), SwContentTree(), ToggleToRoot(), UpdateLastSelType(), and UpdateTracking().
|
private |
Definition at line 109 of file conttree.hxx.
Referenced by ExecuteDrop(), Expand(), SwContentTree(), and ~SwContentTree().
|
private |
Definition at line 119 of file conttree.hxx.
Referenced by ExecuteContextMenuAction(), SetContentTypeTracking(), SwContentTree(), and UpdateTracking().