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 () |
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 (FocusHdl, 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 116 of file conttree.hxx.
SwContentTree::SwContentTree | ( | std::unique_ptr< weld::TreeView > | xTreeView, |
SwNavigationPI * | pDialog | ||
) |
Definition at line 888 of file content.cxx.
References ACTIVE, CONTEXT_COUNT, SwNavigationConfig::GetActiveBlock(), HID_NAVIGATOR_TREELIST, i, LINK, m_aActiveContentArr, m_aContextStrings, m_aHiddenContentArr, m_aUpdTimer, m_nActiveBlock, m_pConfig, m_xDialog, m_xDialog, m_xTreeView, m_xTreeView, Timer::SetInvokeHandler(), Timer::SetTimeout(), SwResId(), and UNKNOWN.
SwContentTree::~SwContentTree | ( | ) |
Definition at line 940 of file content.cxx.
References VclPtr< reference_type >::clear(), clear(), m_aUpdTimer, m_xDialog, SetActiveShell(), and Task::Stop().
sal_Int8 SwContentTree::AcceptDrop | ( | const AcceptDropEvent & | rEvt | ) |
Definition at line 1026 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 2227 of file content.cxx.
References m_nEntryCount, and m_xTreeView.
Referenced by Display(), SetActiveShell(), and ~SwContentTree().
|
inline |
Definition at line 263 of file conttree.hxx.
|
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 3981 of file content.cxx.
References SwRewriter::AddRule(), SwCursorShell::ClearMark(), DELETE, SwEditShell::Delete(), SwCursorShell::EndAction(), SwWrtShell::EndSelect(), SwEditShell::EndUndo(), SwWrtShell::EnterAddMode(), SwWrtShell::LeaveAddMode(), m_pActiveShell, m_xTreeView, SwCursorShell::MakeOutlineSel(), SwEditShell::SetTextFormatColl(), SwCursorShell::StartAction(), SwEditShell::StartUndo(), SwWrtShell::SttSelect(), SwResId(), and UndoArg1.
Referenced by EditEntry().
void SwContentTree::Display | ( | bool | bActiveView | ) |
Show the file.
Definition at line 1998 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_bIgnoreViewChange, 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, UNKNOWN, UpdateLastSelType(), and void().
Referenced by ExecCommand(), ExecuteContextMenuAction(), MoveOutline(), SetActiveShell(), SetConstantShell(), SetHiddenShell(), SetOutlineLevel(), ShowActualView(), ShowHiddenShell(), and ToggleToRoot().
|
private |
Definition at line 4102 of file content.cxx.
References SwRewriter::AddRule(), Any, SwRewriter::Apply(), assert(), SwPostItMgr::AssureStdModeAtShell(), BOOKMARK, SwAbstractDialogFactory::Create(), SwAbstractDialogFactory::CreateSwRenameXNamedDlg(), DELETE, IDocumentMarkAccess::deleteMark(), DeleteOutlineSelections(), SwFEShell::DeleteRow(), SwEditShell::DeleteTOX(), SwWrtShell::DelRight(), DRAWOBJECT, EDIT, SwCursorShell::EndAction(), SwEditShell::EndUndo(), SfxDispatcher::Execute(), SfxDispatcher::ExecuteList(), IDocumentMarkAccess::findMark(), FN_EDIT_FIELD, FN_EDIT_REGION, 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, FRAME, IDocumentSettingAccess::get(), SfxObjectShell::GetBaseModel(), SfxViewFrame::GetDispatcher(), GetDispatcher(), SwView::GetDocShell(), GetFrameWeld(), SwViewShell::getIDocumentMarkAccess(), SwViewShell::getIDocumentSettingAccess(), SwContent::GetName(), SwContent::GetParent(), GetParentWindow(), SwView::GetPostItMgr(), SwTOXBase::GetTOXName(), SwContentType::GetType(), SwWrtShell::GetView(), SfxViewShell::GetViewFrame(), GotoContent(), grab_focus(), GRAPHIC, INDEX, m_aUpdTimer, m_bIgnoreViewChange, m_bViewHasChanged, m_pActiveShell, m_xTreeView, nType, OLE, OUTLINE, POSTIT, PROTECT_BOOKMARKS, REFERENCE, REGION, RENAME, RMV_IDX, SwPostItMgr::SetActiveSidebarWin(), SwCursorShell::StartAction(), SwEditShell::StartUndo(), SwResId(), TABLE, UndoArg1, UndoArg2, UndoArg3, UNPROTECT_TABLE, UPD_IDX, SwNavigationPI::UpdateListBox(), URLFIELD, and xModel.
Referenced by ExecuteContextMenuAction().
void SwContentTree::ExecCommand | ( | std::string_view | rCmd, |
bool | bModifier | ||
) |
Execute commands of the Navigator.
Definition at line 2778 of file content.cxx.
References ACTIVE, assert(), 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(), SwTextNode::GetAttrOutlineContentVisible(), SwViewShell::GetDoc(), GetEntryAtAbsPos(), GetEntryCount(), SwViewShell::GetNodes(), SwDoc::GetNodes(), GetOutlineLevel(), SwNodes::GetOutLineNds(), SwCursorShell::GetOutlinePos(), GetParentWindow(), SwNode::GetTextNode(), SwViewShell::GetViewOptions(), GetWrtShell(), SwWrtShell::GotoOutline(), SwEditShell::IsOutlineMovable(), SwEditShell::IsProtectedOutlinePara(), IsReadOnly(), SwViewOption::IsShowOutlineContentVisibilityButton(), SwNode::IsTextNode(), m_aActiveContentArr, m_bIgnoreViewChange, 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(), SwEditShell::StartUndo(), and SwWrtShell::ToggleOutlineContentVisibility().
Referenced by ExecuteContextMenuAction().
|
private |
Definition at line 3775 of file content.cxx.
References ACTIVE, SwCursorShell::ClearMark(), DELETE, SwPostItMgr::Delete(), Display(), EDIT, EditEntry(), SwWrtShell::EndSelect(), SwWrtShell::EnterAddMode(), SwWrtShell::EnterStdMode(), ExecCommand(), SfxDispatcher::Execute(), FN_OUTLINE_TO_CLIPBOARD, fnRegionEnd, fnRegionStart, SwCursorShell::GetCurrentShellCursor(), SfxViewFrame::GetDispatcher(), SwModule::GetFirstView(), SwViewShell::getIDocumentOutlineNodesAccess(), SwContent::GetName(), SwModule::GetNextView(), IDocumentOutlineNodes::getOutlineLevel(), IDocumentOutlineNodes::getOutlineNodesCount(), SwOutlineContent::GetOutlinePos(), SwContent::GetParent(), GetParentWindow(), SwView::GetPostItMgr(), SwContentType::GetType(), SwWrtShell::GetView(), SfxViewShell::GetViewFrame(), SwView::GetWrtShell(), GotoContent(), GotoCurrRegionAndSkip(), SwWrtShell::GotoPage(), SwWrtShell::GotoRegion(), SwWrtShell::GotoTable(), grab_focus(), HIDDEN, SwPostItMgr::Hide(), SwWrtShell::IsOutlineContentVisible(), SwCursorShell::IsReadOnlyAvailable(), SwEditShell::IsTOXBaseReadonly(), SwCursorShell::KillPams(), SwWrtShell::LeaveAddMode(), m_bIgnoreViewChange, m_bViewHasChanged, m_eState, m_nOutlineLevel, m_nOutlineTracking, m_pActiveShell, m_xTreeView, SwCursorShell::MakeOutlineSel(), nPos, SwOutlineNodes::npos, OUTLINE, REGION, RENAME, RMV_IDX, SwWrtShell::SelAll(), SwPostItMgr::SetActiveSidebarWin(), SetConstantShell(), SetOutlineLevel(), SwNavigationPI::SetRegionDropMode(), SwEditShell::SetTOXBaseReadonly(), SwPostItMgr::Show(), SwWrtShell::SttSelect(), TABLE, SwWrtShell::ToggleOutlineContentVisibility(), UNPROTECT_TABLE, UPD_IDX, SwCursorShell::UpdateCursor(), and SwNavigationPI::UpdateListBox().
sal_Int8 SwContentTree::ExecuteDrop | ( | const ExecuteDropEvent & | rEvt | ) |
Definition at line 1058 of file content.cxx.
References assert(), 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 1736 of file content.cxx.
References assert(), 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 2235 of file content.cxx.
References assert(), 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(), INetURLObject::GetURLNoMark(), SfxMedium::GetURLObject(), SwWrtShell::GetView(), GetWrtShell(), GRAPHIC, SfxObjectShell::HasName(), INDEX, SwTextNode::IsNumbered(), SwEditShell::IsOutlineCopyable(), m_bIsOutlineMoveable, m_eState, m_pActiveShell, m_xTreeView, NONE, nPos, OLE, OUTLINE, POSTIT, REFERENCE, REGION, 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 2639 of file content.cxx.
References m_xTreeView, and UpdateLastSelType().
Referenced by SetActiveShell(), SetConstantShell(), SetHiddenShell(), and ToggleToRoot().
|
inline |
Definition at line 258 of file conttree.hxx.
|
inline |
Definition at line 273 of file conttree.hxx.
References m_xTreeView.
Referenced by SwContentTreeDropTarget::AcceptDrop().
|
private |
Definition at line 1950 of file content.cxx.
References weld::GetAbsPos(), and m_xTreeView.
Referenced by Display(), and ExecCommand().
|
inline |
Definition at line 226 of file conttree.hxx.
References m_pActiveShell.
Referenced by lcl_SetOutlineContentEntriesSensitivities().
|
private |
Definition at line 1960 of file content.cxx.
References m_xTreeView.
Referenced by HasContentChanged().
Definition at line 1704 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, and m_pActiveShell.
|
private |
|
private |
Definition at line 1955 of file content.cxx.
References m_nEntryCount.
Referenced by Display(), and ExecCommand().
|
inline |
Definition at line 227 of file conttree.hxx.
References m_pHiddenShell.
|
inline |
Definition at line 213 of file conttree.hxx.
References m_nOutlineLevel.
Referenced by ExecCommand(), HasContentChanged(), and RequestingChildren().
|
private |
Definition at line 4495 of file content.cxx.
References m_xDialog.
Referenced by AcceptDrop(), Display(), EditEntry(), ExecCommand(), ExecuteContextMenuAction(), ExecuteDrop(), FillTransferData(), MoveOutline(), Select(), SetHiddenShell(), ShowActualView(), and ToggleToRoot().
|
inline |
Definition at line 208 of file conttree.hxx.
References HIDDEN, m_eState, and m_pActiveShell.
Referenced by Display(), ExecCommand(), ExecuteDrop(), Expand(), FillTransferData(), HasContentChanged(), lcl_GetOutlineKey(), lcl_SetOutlineContentEntriesSensitivities(), MoveOutline(), Notify(), and UpdateTracking().
Definition at line 4364 of file content.cxx.
References BOOKMARK, CRSR_SKIP_CHARS, DRAWOBJECT, SwWrtShell::EnterSelFrameMode(), FRAME, SwCursorShell::GetCursorDocPos(), SwView::GetEditWin(), SwContent::GetName(), SwContent::GetParent(), SwView::GetPostItMgr(), SwContentType::GetType(), SwWrtShell::GetView(), SwWrtShell::GotoDrawingObject(), SwWrtShell::GotoFly(), 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_pActiveShell, OLE, OUTLINE, Point, POSTIT, REFERENCE, REGION, RES_TXTATR_INETFMT(), SwWrtShell::Right(), SwPostItMgr::SetActiveSidebarWin(), SwView::SetVisArea(), sName, SwView::StopShellTimer(), TABLE, and URLFIELD.
Referenced by EditEntry(), and ExecuteContextMenuAction().
|
inline |
Definition at line 252 of file conttree.hxx.
Referenced by EditEntry(), and ExecuteContextMenuAction().
|
private |
Check if the displayed content is valid.
Definition at line 2414 of file content.cxx.
References assert(), SwContentType::FillMemberList(), GetChildCount(), SwViewShell::getIDocumentOutlineNodesAccess(), SwContentType::GetMember(), SwContentType::GetMemberCount(), SwContent::GetName(), IDocumentOutlineNodes::getOutlineLevel(), GetOutlineLevel(), SwCursorShell::GetOutlinePos(), GetWrtShell(), HIDDEN, i, SwContentType::Init(), m_aActiveContentArr, m_aUpdTimer, m_bIsRoot, m_eState, m_nRootType, m_sSpace, m_xTreeView, MAXLEVEL, SwOutlineNodes::npos, nType, OUTLINE, sId, Timer::Start(), and void().
void SwContentTree::HideTree | ( | ) |
Definition at line 3124 of file content.cxx.
References m_aUpdTimer, m_xTreeView, and Task::Stop().
|
private |
Definition at line 1592 of file content.cxx.
References m_nEntryCount, and m_xTreeView.
Referenced by Display(), and RequestingChildren().
|
inline |
Definition at line 223 of file conttree.hxx.
|
inline |
Definition at line 222 of file conttree.hxx.
|
inline |
Definition at line 242 of file conttree.hxx.
References DropTargetHelper::IsDropFormatSupported().
|
inline |
Definition at line 224 of file conttree.hxx.
bool SwContentTree::IsInDrag | ( | ) | const |
Definition at line 1020 of file content.cxx.
References m_xTreeView.
Referenced by AcceptDrop(), and ExecuteDrop().
|
private |
Definition at line 3398 of file content.cxx.
References Display(), SwEditShell::EndAllAction(), SwEditShell::EndUndo(), SwTextNode::GetAttrOutlineContentVisible(), SwViewShell::GetDoc(), SwDoc::GetNodes(), SwNodes::GetOutLineNds(), GetParentWindow(), SwNode::GetTextNode(), SwViewShell::GetViewOptions(), GetWrtShell(), SwViewOption::IsShowOutlineContentVisibilityButton(), SwNode::IsTextNode(), m_aActiveContentArr, m_aDndOutlinesSelected, m_xTreeView, SwNavigationPI::MoveOutline(), nPos, SwOutlineNodes::npos, OUTLINE, OUTLINE_UD, o3tl::sorted_vector< Value, Compare, Find, class >::size(), SwEditShell::StartAllAction(), SwEditShell::StartUndo(), and SwWrtShell::ToggleOutlineContentVisibility().
Referenced by ExecuteDrop().
|
overridevirtual |
Definition at line 2714 of file content.cxx.
References bReadOnly, SfxViewEventHint::GetController(), SwView::GetDocShell(), SfxEventHint::GetEventName(), SfxHint::GetId(), SwXTextView::GetView(), SwWrtShell::GetView(), GetWrtShell(), SfxObjectShell::IsReadOnly(), m_aUpdTimer, m_bIgnoreViewChange, m_bIsLastReadOnly, m_bViewHasChanged, m_nRootType, m_pActiveShell, m_xTreeView, SfxListener::Notify(), OUTLINE, Select(), SelectOutlinesWithSelection(), SetActiveShell(), UNKNOWN, and UpdateTracking().
|
private |
Definition at line 1599 of file content.cxx.
References m_nEntryCount, m_xTreeView, and void().
bool SwContentTree::RequestingChildren | ( | const weld::TreeIter & | rParent | ) |
Definition at line 1612 of file content.cxx.
References assert(), SwContentType::GetMemberCount(), SwContent::GetName(), GetOutlineLevel(), i, insert(), SwContent::IsInvisible(), m_sSpace, m_xTreeView, OUTLINE, REGION, and sId.
Referenced by Expand().
void SwContentTree::Select | ( | ) |
Definition at line 4050 of file content.cxx.
References GetParentWindow(), m_bIsLastReadOnly, m_bIsRoot, m_nRootType, SwNavigationPI::m_xContent6ToolBox, m_xTreeView, and OUTLINE.
Referenced by Display(), ExecCommand(), lcl_SelectByContentTypeAndName(), Notify(), SelectOutlinesWithSelection(), and UpdateTracking().
void SwContentTree::SelectOutlinesWithSelection | ( | ) |
Definition at line 3344 of file content.cxx.
References SwCursor::GetNext(), SwCursorShell::GetOutlinePos(), SwCursorShell::GetSwCursor(), SwPaM::HasMark(), m_pActiveShell, m_xTreeView, OUTLINE, and Select().
Referenced by Notify().
|
inline |
Definition at line 247 of file conttree.hxx.
|
inline |
Definition at line 268 of file conttree.hxx.
void SwContentTree::SetActiveShell | ( | SwWrtShell * | pSh | ) |
Document change - set new Shell.
Definition at line 2665 of file content.cxx.
References ACTIVE, clear(), CONSTANT, Display(), SfxListener::EndListening(), FindActiveTypeAndRemoveUserData(), SwView::GetDocShell(), SwWrtShell::GetView(), i, m_aActiveContentArr, m_eState, m_pActiveShell, and SfxListener::StartListening().
Referenced by Notify(), and ~SwContentTree().
void SwContentTree::SetConstantShell | ( | SwWrtShell * | pSh | ) |
Set an open view as active.
Definition at line 2699 of file content.cxx.
References CONSTANT, Display(), SfxListener::EndListening(), FindActiveTypeAndRemoveUserData(), SwView::GetDocShell(), SwWrtShell::GetView(), i, m_aActiveContentArr, m_eState, m_pActiveShell, and SfxListener::StartListening().
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 2651 of file content.cxx.
References Display(), FindActiveTypeAndRemoveUserData(), GetParentWindow(), HIDDEN, i, m_aHiddenContentArr, m_eState, m_pHiddenShell, and SwNavigationPI::UpdateListBox().
Definition at line 4011 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::SetRootType | ( | ContentTypeId | nType | ) |
Definition at line 4082 of file content.cxx.
References m_bIsRoot, m_nRootType, m_pConfig, and SwNavigationConfig::SetRootType().
void SwContentTree::ShowActualView | ( | ) |
Definition at line 4037 of file content.cxx.
References ACTIVE, Display(), GetParentWindow(), m_eState, and SwNavigationPI::UpdateListBox().
void SwContentTree::ShowHiddenShell | ( | ) |
Definition at line 4027 of file content.cxx.
References Display(), HIDDEN, m_eState, and m_pHiddenShell.
void SwContentTree::ShowTree | ( | ) |
Definition at line 3118 of file content.cxx.
References m_aUpdTimer, m_xTreeView, and Timer::Start().
void SwContentTree::ToggleToRoot | ( | ) |
Switch the display to Root.
Definition at line 2373 of file content.cxx.
References assert(), Display(), FindActiveTypeAndRemoveUserData(), GetParentWindow(), SwContentType::GetType(), HIDDEN, m_bIsRoot, m_eState, m_nRootType, m_pConfig, SwNavigationPI::m_xContent5ToolBox, m_xTreeView, OUTLINE, weld::Toolbar::set_item_active(), SwNavigationConfig::SetRootType(), and UNKNOWN.
|
private |
Definition at line 2623 of file content.cxx.
References assert(), m_nLastSelType, m_xTreeView, and nId.
Referenced by Display(), and FindActiveTypeAndRemoveUserData().
void SwContentTree::UpdateTracking | ( | ) |
Definition at line 3211 of file content.cxx.
References aName, DbForm, DRAWOBJECT, DrawObject, DrawObjectEditMode, FRAME, Frame, SwViewShell::GetDrawView(), SwFEShell::GetFlyName(), SdrMarkView::GetMarkedObjectByIndex(), SdrMarkView::GetMarkedObjectCount(), SdrObject::GetName(), SwFormat::GetName(), SwCursorShell::GetOutlinePos(), SwWrtShell::GetSelectionType(), SwEditShell::GetTableFormat(), GetWrtShell(), GRAPHIC, Graphic, HIDDEN, SwCursorShell::IsCursorInTable(), lcl_SelectByContentTypeAndName(), m_bIgnoreViewChange, m_bIsRoot, m_eState, m_nOutlineTracking, m_nRootType, m_pActiveShell, m_xTreeView, MAXLEVEL, SwOutlineNodes::npos, OLE, Ole, OUTLINE, Select(), SwResId(), and TABLE.
Referenced by Notify().
|
private |
Definition at line 96 of file conttree.hxx.
Referenced by Display(), ExecCommand(), HasContentChanged(), MoveOutline(), SetActiveShell(), SetConstantShell(), SetOutlineLevel(), and SwContentTree().
|
private |
Definition at line 98 of file conttree.hxx.
Referenced by SwContentTree().
|
private |
Definition at line 125 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(), HasContentChanged(), HideTree(), Notify(), ShowTree(), SwContentTree(), and ~SwContentTree().
|
private |
Definition at line 127 of file conttree.hxx.
Referenced by Display(), EditEntry(), ExecCommand(), ExecuteContextMenuAction(), Notify(), and UpdateTracking().
|
private |
Definition at line 119 of file conttree.hxx.
|
private |
Definition at line 120 of file conttree.hxx.
|
private |
Definition at line 121 of file conttree.hxx.
Referenced by AcceptDrop(), and FillTransferData().
|
private |
Definition at line 118 of file conttree.hxx.
Referenced by AcceptDrop(), ExecCommand(), Expand(), HasContentChanged(), Select(), SetRootType(), ToggleToRoot(), and UpdateTracking().
|
private |
Definition at line 122 of file conttree.hxx.
Referenced by EditEntry(), ExecuteContextMenuAction(), and Notify().
|
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 111 of file conttree.hxx.
Referenced by Display(), and UpdateLastSelType().
|
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(), and UpdateTracking().
|
private |
Definition at line 110 of file conttree.hxx.
Referenced by Display(), ExecCommand(), ExecuteDrop(), Expand(), HasContentChanged(), Notify(), Select(), SetRootType(), ToggleToRoot(), and UpdateTracking().
|
private |
Definition at line 102 of file conttree.hxx.
Referenced by 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(), SetOutlineLevel(), SetRootType(), SwContentTree(), and ToggleToRoot().
|
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 92 of file conttree.hxx.
Referenced by GetParentWindow(), SwContentTree(), and ~SwContentTree().
|
private |
Definition at line 90 of file conttree.hxx.
|
private |
Definition at line 89 of file conttree.hxx.
Referenced by clear(), DeleteOutlineSelections(), Display(), EditEntry(), ExecCommand(), ExecuteContextMenuAction(), ExecuteDrop(), Expand(), FillTransferData(), FindActiveTypeAndRemoveUserData(), get_widget(), GetAbsPos(), GetChildCount(), GetEntryAtAbsPos(), HasContentChanged(), HideTree(), insert(), IsInDrag(), MoveOutline(), Notify(), remove(), RequestingChildren(), Select(), SelectOutlinesWithSelection(), ShowTree(), SwContentTree(), ToggleToRoot(), UpdateLastSelType(), and UpdateTracking().
Definition at line 105 of file conttree.hxx.
Referenced by ExecuteDrop(), and Expand().