LibreOffice Module sw (master)
1
|
TreeListBox for content indicator. More...
#include <conttree.hxx>
Private Types | |
enum | State { State::ACTIVE, State::CONSTANT, State::HIDDEN } |
Private Member Functions | |
void | FindActiveTypeAndRemoveUserData () |
Before any data will be deleted, the last active entry has to be found. More... | |
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 OString &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 (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) | |
TreeListBox for content indicator.
Definition at line 87 of file conttree.hxx.
|
strongprivate |
Enumerator | |
---|---|
ACTIVE | |
CONSTANT | |
HIDDEN |
Definition at line 119 of file conttree.hxx.
SwContentTree::SwContentTree | ( | std::unique_ptr< weld::TreeView > | xTreeView, |
SwNavigationPI * | pDialog | ||
) |
Definition at line 1041 of file content.cxx.
References ACTIVE, CONTEXT_COUNT, false, SwNavigationConfig::GetActiveBlock(), HID_NAVIGATOR_TREELIST, i, LINK, m_aActiveContentArr, m_aContextStrings, m_aHiddenContentArr, m_aUpdTimer, m_nActiveBlock, m_pConfig, m_xTreeView, m_xTreeView, mTrackContentType, OUTLINE, Timer::SetInvokeHandler(), Timer::SetTimeout(), SwResId(), and UNKNOWN.
SwContentTree::~SwContentTree | ( | ) |
Definition at line 1096 of file content.cxx.
References clear(), m_aUpdTimer, SetActiveShell(), and Task::Stop().
sal_Int8 SwContentTree::AcceptDrop | ( | const AcceptDropEvent & | rEvt | ) |
Definition at line 1181 of file content.cxx.
References SwNavigationPI::AcceptDrop(), DND_ACTION_NONE, GetParentWindow(), IsInDrag(), m_bIsOutlineMoveable, m_bIsRoot, and AcceptDropEvent::mnAction.
Referenced by SwContentTreeDropTarget::AcceptDrop().
void SwContentTree::clear | ( | ) |
In the clear the content types have to be deleted, also.
Definition at line 2511 of file content.cxx.
References m_nEntryCount, and m_xTreeView.
Referenced by Display(), SetActiveShell(), and ~SwContentTree().
|
private |
Definition at line 5065 of file content.cxx.
References a, CRSR_SKIP_CHARS, SwWrtShell::EndSelect(), SwWrtShell::EnterAddMode(), SfxBindings::Execute(), SfxViewFrame::GetBindings(), SwViewShell::GetDoc(), SwWrtShell::GetView(), SfxViewShell::GetViewFrame(), SwCursorShell::IsSttPara(), lcl_AssureStdModeAtShell(), SwWrtShell::LeaveAddMode(), SwViewShell::LockView(), m_pActiveShell, m_xTreeView, SwCursorShell::MakeOutlineSel(), nCount, SwWrtShell::Right(), and SwWrtShell::SttSelect().
Referenced by ExecuteContextMenuAction().
|
private |
Expand - Remember the state for content types.
|
private |
Collapse - Remember the state for content types.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 4622 of file content.cxx.
References SwRewriter::AddRule(), CRSR_SKIP_CHARS, DELETE, SwEditShell::Delete(), SwCursorShell::EndAction(), SwWrtShell::EndSelect(), SwEditShell::EndUndo(), SwWrtShell::EnterAddMode(), SwWrtShell::HasSelection(), 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 2325 of file content.cxx.
References ACTIVE, bReadOnly, clear(), Expand(), GetAbsPos(), SwView::GetDocShell(), GetEntryCount(), SwContent::GetName(), GetParentWindow(), SwWrtShell::GetView(), GetWrtShell(), HIDDEN, i, insert(), SwContent::IsInvisible(), SfxObjectShell::IsReadOnly(), m_aActiveContentArr, m_aHiddenContentArr, m_bIgnoreDocChange, m_bIsLastReadOnly, m_eState, m_nActiveBlock, m_nHiddenBlock, m_nLastSelType, m_nOutlineLevel, m_nRootType, m_sSpace, SwNavigationPI::m_xContent5ToolBox, SwNavigationPI::m_xContent6ToolBox, m_xTreeView, nPos, OUTLINE, REGION, Select(), sId, weld::toId(), UNKNOWN, and UpdateLastSelType().
Referenced by ExecCommand(), ExecuteContextMenuAction(), MoveOutline(), SetActiveShell(), SetConstantShell(), SetHiddenShell(), SetOutlineLevel(), ShowActualView(), ShowHiddenShell(), and ToggleToRoot().
|
private |
Definition at line 4780 of file content.cxx.
References SwRewriter::AddRule(), Any, SwRewriter::Apply(), SwPostItMgr::AssureStdModeAtShell(), BOOKMARK, SwAbstractDialogFactory::Create(), SwAbstractDialogFactory::CreateSwRenameXNamedDlg(), DELETE, IDocumentMarkAccess::deleteMark(), DeleteOutlineSelections(), SwFEShell::DeleteRow(), SwTextField::DeleteTextField(), SwEditShell::DeleteTOX(), SwWrtShell::DelRight(), DRAWOBJECT, EDIT, SwCursorShell::EndAction(), ENDNOTE, SwEditShell::EndUndo(), VclAbstractDialog::Execute(), SfxDispatcher::Execute(), SfxDispatcher::ExecuteList(), IDocumentMarkAccess::findMark(), FN_EDIT_FIELD, FN_EDIT_REGION, FN_FORMAT_FOOTNOTE_DLG, FN_FORMAT_FRAME_DLG, FN_FORMAT_GRAFIC_DLG, FN_FORMAT_TABLE_DLG, FN_INSERT_BOOKMARK, FN_INSERT_MULTI_TOX, FN_NAME_SHAPE, FN_POSTIT, FN_TABLE_SELECT_ALL, FOOTNOTE, FRAME, IDocumentSettingAccess::get(), SfxObjectShell::GetBaseModel(), GetDispatcher(), SfxViewFrame::GetDispatcher(), SwView::GetDocShell(), SwFormatField::GetField(), SwTextFieldContent::GetFormatField(), SwViewShell::getIDocumentMarkAccess(), SwViewShell::getIDocumentSettingAccess(), SwContent::GetName(), SwContent::GetParent(), SwView::GetPostItMgr(), SwFormatField::GetTextField(), SwTOXBase::GetTOXName(), SwContentType::GetType(), SwField::GetTypeId(), SwWrtShell::GetView(), SfxViewShell::GetViewFrame(), GotoContent(), grab_focus(), GRAPHIC, INDEX, m_aUpdTimer, m_bIgnoreDocChange, m_bViewHasChanged, m_pActiveShell, m_xTreeView, nPos, nType, OLE, OUTLINE, POSTIT, Postit, PROTECT_BOOKMARKS, REFERENCE, REGION, RENAME, RMV_IDX, AbstractSwRenameXNamedDlg::SetAlternativeAccess(), AbstractSwRenameXNamedDlg::SetForbiddenChars(), SwCursorShell::StartAction(), SwEditShell::StartUndo(), SwResId(), TABLE, TEXTFIELD, UndoArg1, UndoArg2, UndoArg3, UNPROTECT_TABLE, UPD_IDX, URLFIELD, and xModel.
Referenced by ExecuteContextMenuAction().
void SwContentTree::ExecCommand | ( | std::string_view | rCmd, |
bool | bModifier | ||
) |
Execute commands of the Navigator.
Definition at line 3074 of file content.cxx.
References a, ACTIVE, o3tl::sorted_vector< Value, Compare, Find, class >::begin(), SwCursorShell::ClearMark(), CONSTANT, SwCursorShell::DeleteCurrent, Display(), o3tl::sorted_vector< Value, Compare, Find, class >::end(), SwEditShell::EndAllAction(), SwEditShell::EndUndo(), o3tl::sorted_vector< Value, Compare, Find, class >::find(), GetAbsPos(), GetEntryAtAbsPos(), GetEntryCount(), SwViewShell::GetNodes(), GetOutlineLevel(), SwNodes::GetOutLineNds(), SwCursorShell::GetOutlinePos(), GetParentWindow(), SwNode::GetTextNode(), GetWrtShell(), SwWrtShell::GotoOutline(), SwEditShell::IsOutlineMovable(), SwEditShell::IsProtectedOutlinePara(), IsReadOnly(), m_aActiveContentArr, m_bIgnoreDocChange, m_bIsRoot, m_eState, m_nOutlineLevel, m_nRootType, m_pActiveShell, m_xTreeView, SwCursorShell::MakeOutlineSel(), MAXLEVEL, SwEditShell::MoveOutlinePara(), nPos, SwOutlineNodes::npos, OUTLINE, OUTLINE_LR, OUTLINE_UD, SwEditShell::OutlineUpDown(), SwWrtShell::Pop(), SwCursorShell::Push(), Select(), o3tl::sorted_vector< Value, Compare, Find, class >::size(), SwEditShell::StartAllAction(), and SwEditShell::StartUndo().
Referenced by ExecuteContextMenuAction().
|
private |
Definition at line 4346 of file content.cxx.
References ACTIVE, BOOKMARK, SwCursorShell::ClearMark(), CopyOutlineSelections(), DELETE, SwPostItMgr::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(), SetOutlineLevel(), SetOutlineTracking(), SwNavigationPI::SetRegionDropMode(), SwContentType::SetSortType(), SwEditShell::SetTOXBaseReadonly(), SwPostItMgr::Show(), SwWrtShell::SttSelect(), TABLE, TEXTFIELD, UNPROTECT_TABLE, UPD_IDX, SwCursorShell::UpdateCursor(), SwNavigationPI::UpdateListBox(), and URLFIELD.
sal_Int8 SwContentTree::ExecuteDrop | ( | const ExecuteDropEvent & | rEvt | ) |
Definition at line 1213 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 2051 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 2519 of file content.cxx.
References BOOKMARK, cMarkSeparator, CONSTANT, NaviContentBookmark::Copy(), TransferDataContainer::CopyINetBookmark(), DND_ACTION_LINK, DND_ACTION_MOVE, 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(), GetURL(), INetURLObject::GetURLNoMark(), SfxMedium::GetURLObject(), SwWrtShell::GetView(), GetWrtShell(), 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 2928 of file content.cxx.
References m_xTreeView, and UpdateLastSelType().
Referenced by SetActiveShell(), SetConstantShell(), and SetHiddenShell().
|
inline |
Definition at line 271 of file conttree.hxx.
References m_xTreeView.
Referenced by SwContentTreeDropTarget::AcceptDrop().
|
private |
Definition at line 2277 of file content.cxx.
References weld::GetAbsPos(), and m_xTreeView.
Referenced by Display(), and ExecCommand().
|
inline |
Definition at line 234 of file conttree.hxx.
References m_pActiveShell.
Referenced by lcl_SetOutlineContentEntriesSensitivities().
|
private |
Definition at line 2287 of file content.cxx.
References m_xTreeView, and nCount.
Referenced by HasContentChanged().
Definition at line 2019 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.
|
private |
|
private |
Definition at line 2282 of file content.cxx.
References m_nEntryCount.
Referenced by Display(), and ExecCommand().
|
inline |
Definition at line 235 of file conttree.hxx.
References m_pHiddenShell.
|
inline |
Definition at line 218 of file conttree.hxx.
References m_nOutlineLevel.
Referenced by ExecCommand(), and RequestingChildren().
|
private |
Definition at line 5244 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 213 of file conttree.hxx.
References HIDDEN, m_eState, and m_pActiveShell.
Referenced by Display(), ExecCommand(), ExecuteDrop(), Expand(), FillTransferData(), lcl_GetOutlineKey(), lcl_SetOutlineContentEntriesSensitivities(), MoveOutline(), Notify(), and UpdateTracking().
Definition at line 5091 of file content.cxx.
References BOOKMARK, CRSR_SKIP_CHARS, DRAWOBJECT, ENDNOTE, SwWrtShell::EnterSelFrameMode(), FOOTNOTE, FRAME, SwCursorShell::GetCursorDocPos(), SwView::GetEditWin(), SwContent::GetName(), SwContent::GetParent(), SwView::GetPostItMgr(), SwContentType::GetType(), SwWrtShell::GetView(), 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::IsCursorVisible(), SwFEShell::IsFrameSelected(), SwFEShell::IsObjSelected(), lcl_AssureStdModeAtShell(), m_nLastGotoContentWasOutlinePos, m_nLastSelType, m_pActiveShell, nPos, SwOutlineNodes::npos, OLE, OUTLINE, Point, POSTIT, REFERENCE, REGION, RES_TXTATR_INETFMT(), SwWrtShell::Right(), SwPostItMgr::SetActiveSidebarWin(), SwView::SetVisArea(), sName, SwView::StopShellTimer(), TABLE, TEXTFIELD, and URLFIELD.
Referenced by EditEntry(), and ExecuteContextMenuAction().
|
inline |
Definition at line 261 of file conttree.hxx.
Referenced by EditEntry(), and ExecuteContextMenuAction().
|
private |
Check if the displayed content is valid.
Definition at line 2710 of file content.cxx.
References SwContentType::FillMemberList(), GetChildCount(), SwContentType::GetMember(), SwContentType::GetMemberCount(), SwContent::GetName(), HIDDEN, i, m_aActiveContentArr, m_bIsRoot, m_eState, m_sSpace, m_xTreeView, nType, SAL_WARN, weld::toId(), and void().
void SwContentTree::HideTree | ( | ) |
Definition at line 3389 of file content.cxx.
References m_aUpdTimer, m_xTreeView, and Task::Stop().
|
private |
Definition at line 1918 of file content.cxx.
References m_nEntryCount, and m_xTreeView.
Referenced by Display(), and RequestingChildren().
|
inline |
Definition at line 231 of file conttree.hxx.
|
inline |
Definition at line 230 of file conttree.hxx.
|
inline |
Definition at line 251 of file conttree.hxx.
References DropTargetHelper::IsDropFormatSupported().
|
inline |
Definition at line 232 of file conttree.hxx.
bool SwContentTree::IsInDrag | ( | ) | const |
Definition at line 1175 of file content.cxx.
References m_xTreeView.
Referenced by AcceptDrop(), and ExecuteDrop().
|
private |
Definition at line 3979 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 |
Definition at line 3010 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 1925 of file content.cxx.
References m_nEntryCount, m_xTreeView, and void().
bool SwContentTree::RequestingChildren | ( | const weld::TreeIter & | rParent | ) |
Definition at line 1938 of file content.cxx.
References SwContent::GetName(), GetOutlineLevel(), i, insert(), SwContent::IsInvisible(), m_sSpace, m_xTreeView, nCount, OUTLINE, REGION, sId, and weld::toId().
Referenced by Expand().
void SwContentTree::Select | ( | ) |
Definition at line 4727 of file content.cxx.
References GetParentWindow(), m_bIsLastReadOnly, m_bIsRoot, m_nRootType, SwNavigationPI::m_xContent6ToolBox, m_xTreeView, and OUTLINE.
Referenced by Display(), ExecCommand(), lcl_SelectByContentTypeAndAddress(), lcl_SelectByContentTypeAndName(), Notify(), SelectContentType(), SelectOutlinesWithSelection(), and UpdateTracking().
void SwContentTree::SelectContentType | ( | std::u16string_view | rContentTypeName | ) |
Definition at line 5249 of file content.cxx.
References m_xTreeView, and Select().
void SwContentTree::SelectOutlinesWithSelection | ( | ) |
Definition at line 3925 of file content.cxx.
References SwCursorShell::GetCursor(), SwCursor::GetNext(), SwCursorShell::GetOutlinePos(), SwPaM::HasMark(), m_pActiveShell, m_xTreeView, OUTLINE, and Select().
Referenced by Notify().
|
inline |
Definition at line 256 of file conttree.hxx.
|
inline |
Definition at line 266 of file conttree.hxx.
void SwContentTree::SetActiveShell | ( | SwWrtShell * | pSh | ) |
Document change - set new Shell.
Definition at line 2954 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 2996 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 4683 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 2940 of file content.cxx.
References Display(), FindActiveTypeAndRemoveUserData(), GetParentWindow(), HIDDEN, i, m_aHiddenContentArr, m_eState, m_pHiddenShell, and SwNavigationPI::UpdateListBox().
Definition at line 4660 of file content.cxx.
References ACTIVE, Display(), m_aActiveContentArr, m_aHiddenContentArr, m_eState, m_nOutlineLevel, m_pConfig, OUTLINE, and SwNavigationConfig::SetOutlineLevel().
Referenced by ExecuteContextMenuAction().
Definition at line 4677 of file content.cxx.
References m_nOutlineTracking, m_pConfig, and SwNavigationConfig::SetOutlineTracking().
Referenced by ExecuteContextMenuAction().
void SwContentTree::SetRootType | ( | ContentTypeId | nType | ) |
Definition at line 4760 of file content.cxx.
References m_bIsRoot, m_nRootType, m_pConfig, and SwNavigationConfig::SetRootType().
void SwContentTree::ShowActualView | ( | ) |
Definition at line 4700 of file content.cxx.
References ACTIVE, Display(), GetParentWindow(), m_eState, and SwNavigationPI::UpdateListBox().
void SwContentTree::ShowHiddenShell | ( | ) |
Definition at line 4690 of file content.cxx.
References Display(), HIDDEN, m_eState, and m_pHiddenShell.
void SwContentTree::ShowTree | ( | ) |
Definition at line 3383 of file content.cxx.
References m_aUpdTimer, m_xTreeView, and Timer::Start().
void SwContentTree::ToggleToRoot | ( | ) |
Switch the display to Root.
Definition at line 2658 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 2912 of file content.cxx.
References m_nLastSelType, and m_xTreeView.
Referenced by Display(), and FindActiveTypeAndRemoveUserData().
void SwContentTree::UpdateTracking | ( | ) |
Definition at line 3605 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_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 96 of file conttree.hxx.
Referenced by Display(), ExecCommand(), HasContentChanged(), MoveOutline(), SetActiveShell(), SetConstantShell(), SetOutlineLevel(), SwContentTree(), and ToggleToRoot().
|
private |
Definition at line 98 of file conttree.hxx.
Referenced by SwContentTree().
|
private |
Definition at line 128 of file conttree.hxx.
Referenced by MoveOutline().
|
private |
Definition at line 91 of file conttree.hxx.
|
private |
Definition at line 97 of file conttree.hxx.
Referenced by Display(), SetHiddenShell(), SetOutlineLevel(), and SwContentTree().
|
private |
Definition at line 94 of file conttree.hxx.
Referenced by EditEntry(), HideTree(), Notify(), ShowTree(), SwContentTree(), and ~SwContentTree().
|
private |
Definition at line 130 of file conttree.hxx.
Referenced by Notify().
|
private |
Definition at line 131 of file conttree.hxx.
Referenced by Display(), EditEntry(), ExecCommand(), ExecuteContextMenuAction(), Notify(), and UpdateTracking().
|
private |
Definition at line 122 of file conttree.hxx.
|
private |
Definition at line 123 of file conttree.hxx.
|
private |
Definition at line 124 of file conttree.hxx.
Referenced by AcceptDrop(), and FillTransferData().
|
private |
Definition at line 121 of file conttree.hxx.
Referenced by AcceptDrop(), ExecCommand(), Expand(), HasContentChanged(), Select(), SetRootType(), ToggleToRoot(), and UpdateTracking().
|
private |
Definition at line 125 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 107 of file conttree.hxx.
Referenced by Display(), Expand(), and SwContentTree().
|
private |
Definition at line 109 of file conttree.hxx.
Referenced by clear(), GetEntryCount(), insert(), and remove().
|
private |
Definition at line 108 of file conttree.hxx.
|
private |
Definition at line 117 of file conttree.hxx.
Referenced by GotoContent(), and UpdateTracking().
|
private |
Definition at line 111 of file conttree.hxx.
Referenced by Display(), GotoContent(), ToggleToRoot(), UpdateLastSelType(), and UpdateTracking().
|
private |
Definition at line 112 of file conttree.hxx.
Referenced by Display(), ExecCommand(), ExecuteContextMenuAction(), ExecuteDrop(), GetOutlineLevel(), and SetOutlineLevel().
|
private |
Definition at line 114 of file conttree.hxx.
Referenced by ExecuteContextMenuAction(), SetOutlineTracking(), and UpdateTracking().
|
private |
Definition at line 110 of file conttree.hxx.
Referenced by Display(), ExecCommand(), ExecuteDrop(), Expand(), Notify(), Select(), SetRootType(), ToggleToRoot(), and UpdateTracking().
|
private |
Definition at line 102 of file conttree.hxx.
Referenced by CopyOutlineSelections(), DeleteOutlineSelections(), EditEntry(), ExecCommand(), ExecuteContextMenuAction(), FillTransferData(), GetActiveWrtShell(), GetDrawingObjectsByContent(), GetWrtShell(), GotoContent(), Notify(), SelectOutlinesWithSelection(), SetActiveShell(), SetConstantShell(), and UpdateTracking().
|
private |
Definition at line 103 of file conttree.hxx.
Referenced by Expand(), SetContentTypeTracking(), SetOutlineLevel(), SetOutlineTracking(), SetRootType(), SwContentTree(), and ToggleToRoot().
|
private |
Definition at line 92 of file conttree.hxx.
Referenced by GetParentWindow().
|
private |
Definition at line 101 of file conttree.hxx.
Referenced by GetHiddenWrtShell(), SetHiddenShell(), and ShowHiddenShell().
|
private |
Definition at line 99 of file conttree.hxx.
|
private |
Definition at line 93 of file conttree.hxx.
Referenced by Display(), HasContentChanged(), and RequestingChildren().
|
private |
Definition at line 90 of file conttree.hxx.
|
private |
Definition at line 89 of file conttree.hxx.
Referenced by clear(), CopyOutlineSelections(), DeleteOutlineSelections(), Display(), EditEntry(), ExecCommand(), ExecuteContextMenuAction(), ExecuteDrop(), Expand(), FillTransferData(), FindActiveTypeAndRemoveUserData(), get_widget(), GetAbsPos(), GetChildCount(), GetEntryAtAbsPos(), HasContentChanged(), HideTree(), insert(), IsInDrag(), MoveOutline(), Notify(), remove(), RequestingChildren(), Select(), SelectContentType(), SelectOutlinesWithSelection(), SetActiveShell(), ShowTree(), SwContentTree(), ToggleToRoot(), UpdateLastSelType(), and UpdateTracking().
Definition at line 105 of file conttree.hxx.
Referenced by ExecuteDrop(), and Expand().
|
private |
Definition at line 115 of file conttree.hxx.
Referenced by ExecuteContextMenuAction(), SetContentTypeTracking(), SwContentTree(), and UpdateTracking().