LibreOffice Module sw (master)
1
|
#include <navipi.hxx>
Public Member Functions | |
SwNavigationPI (vcl::Window *pParent, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > &rxFrame, SfxBindings *_pBindings) | |
virtual | ~SwNavigationPI () override |
virtual void | dispose () override |
void | UpdateListBox () |
void | MoveOutline (SwOutlineNodes::size_type nSource, SwOutlineNodes::size_type nTarget) |
virtual void | NotifyItemUpdate (const sal_uInt16 nSId, const SfxItemState eState, const SfxPoolItem *pState) override |
virtual void | GetControlState (const sal_uInt16, boost::property_tree::ptree &) override |
virtual void | StateChanged (StateChangedType nStateChange) override |
RegionMode | GetRegionDropMode () const |
void | SetRegionDropMode (RegionMode nNewMode) |
sal_Int8 | AcceptDrop () |
sal_Int8 | ExecuteDrop (const ExecuteDropEvent &rEvt) |
bool | IsGlobalDoc () const |
bool | IsGlobalMode () const |
SwView * | GetCreateView () const |
FactoryFunction | GetUITestFactory () const override |
![]() | |
PanelLayout (vcl::Window *pParent, const OString &rID, const OUString &rUIXMLDescription, const css::uno::Reference< css::frame::XFrame > &rFrame) | |
virtual | ~PanelLayout () override |
virtual Size | GetOptimalSize () const override |
virtual void | setPosSizePixel (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, PosSizeFlags nFlags=PosSizeFlags::All) override |
virtual void | queue_resize (StateChangedType eReason=StateChangedType::Layout) override |
virtual bool | EventNotify (NotifyEvent &rNEvt) override |
![]() | |
virtual | ~ItemUpdateReceiverInterface () |
![]() | |
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 |
void | RemoveBroadcaster_Impl (SfxBroadcaster &rBC) |
Static Public Member Functions | |
static VclPtr< vcl::Window > | Create (vcl::Window *pParent, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > &rxFrame, SfxBindings *pBindings) |
static OUString | CreateDropFileName (TransferableDataHelper &rData) |
static OUString | CleanEntry (const OUString &rEntry) |
Protected Member Functions | |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
void | ToggleTree () |
void | SetGlobalMode (bool bSet) |
Private Member Functions | |
bool | IsZoomedIn () const |
void | ZoomOut () |
void | ZoomIn () |
void | FillBox () |
DECL_LINK (DocListBoxSelectHdl, weld::ComboBox &, void) | |
DECL_LINK (ToolBoxSelectHdl, const OString &, void) | |
DECL_LINK (ToolBoxClickHdl, const OString &, void) | |
DECL_LINK (ToolBox5DropdownClickHdl, const OString &, void) | |
DECL_LINK (ToolBox6DropdownClickHdl, const OString &, void) | |
DECL_LINK (DoneLink, SfxPoolItem const *, void) | |
DECL_LINK (DropModeMenuSelectHdl, const OString &, void) | |
DECL_LINK (HeadingsMenuSelectHdl, const OString &, void) | |
DECL_LINK (GlobalMenuSelectHdl, const OString &, void) | |
DECL_LINK (ChangePageHdl, Timer *, void) | |
DECL_LINK (PageEditModifyHdl, weld::SpinButton &, void) | |
DECL_LINK (EditActionHdl, weld::Entry &, bool) | |
bool | EditAction () |
void | UsePage () |
Friends | |
class | SwNavigationChild |
class | SwContentTree |
class | SwGlobalTree |
class | SwNavigationPIUIObject |
Additional Inherited Members | |
![]() | |
std::unique_ptr< weld::Builder > | m_xBuilder |
VclPtr< vcl::Window > | m_xVclContentArea |
std::unique_ptr< weld::Container > | m_xContainer |
Definition at line 42 of file navipi.hxx.
SwNavigationPI::SwNavigationPI | ( | vcl::Window * | pParent, |
const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > & | rxFrame, | ||
SfxBindings * | _pBindings | ||
) |
Definition at line 502 of file navipi.cxx.
References EMBEDDED, GetCreateView(), SfxChildWindowContext::GetFloatingWindow(), PanelLayout::GetOptimalSize(), SwView::GetWrtShellPtr(), HID_NAVIGATOR_GLOBAL_TOOLBOX, HID_NAVIGATOR_LISTBOX, HID_NAVIGATOR_TOOLBOX, i, SwEditShell::IsGlblDocSaveLinks(), SwNavigationConfig::IsGlobalActive(), IsGlobalDoc(), LINK, m_aExpandedSize, m_aPageChgIdle, m_aStatusArr, m_pConfig, m_xContent1ToolBox, m_xContent2ToolBox, m_xContent3ToolBox, m_xContent4ToolBox, m_xContent5ToolBox, m_xContent6ToolBox, m_xContentTree, m_xDocListBox, m_xDragModeMenu, m_xEdit, m_xGlobalToolBox, m_xGlobalTree, m_xHeadingsMenu, m_xInsertMenu, m_xUpdateMenu, SAL_N_ELEMENTS, Timer::SetInvokeHandler(), Task::SetPriority(), SfxGetpApp(), SfxListener::StartListening(), SwResId(), ToggleTree(), and UsePage().
|
overridevirtual |
Definition at line 649 of file navipi.cxx.
sal_Int8 SwNavigationPI::AcceptDrop | ( | ) |
Definition at line 932 of file navipi.cxx.
References DND_ACTION_COPY, DND_ACTION_NONE, and m_xContentTree.
Referenced by SwContentTree::AcceptDrop().
|
static |
Definition at line 72 of file navipi.cxx.
References i.
Referenced by SwContentType::FillMemberList().
|
static |
Definition at line 489 of file navipi.cxx.
References VclPtr< reference_type >::Create().
|
static |
Definition at line 899 of file navipi.cxx.
References FileList::GetFile(), TransferableDataHelper::GetFileList(), TransferableDataHelper::GetINetBookmark(), INetURLObject::GetMainURL(), TransferableDataHelper::GetString(), INetBookmark::GetURL(), TransferableDataHelper::HasFormat(), INetURLObject::NONE, and void().
Referenced by ExecuteDrop(), and SwGlobalTreeDropTarget::ExecuteDrop().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Reimplemented from PanelLayout.
Definition at line 654 of file navipi.cxx.
References SfxControllerItem::dispose(), PanelLayout::dispose(), SfxListener::EndListening(), GetCreateView(), SwView::GetDocShell(), SwView::GetWrtShell(), SwCursorShell::IsAllProtect(), IsGlobalDoc(), IsGlobalMode(), m_aDocFullName, m_aPageChgIdle, m_aPageStats, m_pxObjectShell, m_xContent1ToolBox, m_xContent2Dispatch, m_xContent2ToolBox, m_xContent3Dispatch, m_xContent3ToolBox, m_xContent4ToolBox, m_xContent5ToolBox, m_xContent6ToolBox, m_xContentBox, m_xContentTree, m_xDocListBox, m_xDragModeMenu, m_xEdit, m_xGlobalBox, m_xGlobalToolBox, m_xGlobalTree, m_xHeadingsMenu, m_xInsertMenu, m_xUpdateMenu, SfxObjectShell::SetReadOnlyUI(), SfxGetpApp(), and Task::Stop().
|
private |
Definition at line 395 of file navipi.cxx.
References FN_STAT_PAGE, SfxViewFrame::GetBindings(), GetCreateView(), SwView::GetEditWin(), SfxViewShell::GetViewFrame(), SwView::GetWrtShell(), SwWrtShell::GotoPage(), vcl::Window::HasFocus(), SfxBindings::Invalidate(), Task::IsActive(), m_aPageChgIdle, m_pCreateView, m_xEdit, and Task::Stop().
sal_Int8 SwNavigationPI::ExecuteDrop | ( | const ExecuteDropEvent & | rEvt | ) |
Definition at line 947 of file navipi.cxx.
References SL::aData, CreateDropFileName(), GraphicDescriptor::Detect(), DND_ACTION_NONE, SfxDispatcher::ExecuteList(), GetActiveView(), SfxViewFrame::GetDispatcher(), SfxViewShell::GetViewFrame(), LINK, m_pxObjectShell, m_sContentFileName, m_xContentTree, ExecuteDropEvent::maDropEvent, ExecuteDropEvent::mnAction, and comphelper::string::stripEnd().
Referenced by SwContentTree::ExecuteDrop().
|
private |
Definition at line 149 of file navipi.cxx.
References GetCreateView(), SwView::GetWrtShellPtr(), m_pActContView, m_pContentWrtShell, and m_xContentTree.
Referenced by ZoomOut().
|
inlineoverridevirtual |
Implements sfx2::sidebar::ControllerItem::ItemUpdateReceiverInterface.
Definition at line 139 of file navipi.hxx.
SwView * SwNavigationPI::GetCreateView | ( | ) | const |
Definition at line 1092 of file navipi.cxx.
References SfxViewFrame::GetBindings(), SwModule::GetFirstView(), SwModule::GetNextView(), SfxViewShell::GetViewFrame(), m_pCreateView, m_rBindings, and SfxListener::StartListening().
Referenced by dispose(), EditAction(), FillBox(), IsGlobalDoc(), MoveOutline(), Notify(), NotifyItemUpdate(), SwNavigationPI(), SwGlobalTree::Update(), UpdateListBox(), and UsePage().
|
inline |
Definition at line 147 of file navipi.hxx.
References m_nRegionMode.
Referenced by SwContentTree::FillTransferData().
|
override |
Definition at line 388 of file navipi.cxx.
References SwNavigationPIUIObject::create().
bool SwNavigationPI::IsGlobalDoc | ( | ) | const |
Definition at line 1053 of file navipi.cxx.
References GetCreateView(), SwView::GetWrtShell(), and SwEditShell::IsGlobalDoc().
Referenced by dispose(), NotifyItemUpdate(), SwNavigationPI(), and ToggleTree().
|
inline |
Definition at line 154 of file navipi.hxx.
References m_bGlobalMode.
Referenced by dispose(), NotifyItemUpdate(), ToggleTree(), and ZoomOut().
|
inlineprivate |
Definition at line 92 of file navipi.hxx.
References m_bIsZoomedIn.
Referenced by StateChanged(), ToggleTree(), ZoomIn(), and ZoomOut().
void SwNavigationPI::MoveOutline | ( | SwOutlineNodes::size_type | nSource, |
SwOutlineNodes::size_type | nTarget | ||
) |
Definition at line 87 of file navipi.cxx.
References SwCursorShell::ClearMark(), GetCreateView(), SwCursorShell::GetOutlinePos(), SwView::GetWrtShell(), SwWrtShell::GotoOutline(), SwCursorShell::IsCursorPtAtEnd(), SwEditShell::IsOutlineMovable(), SwCursorShell::MakeOutlineSel(), MAXLEVEL, SwEditShell::MoveOutlinePara(), SwOutlineNodes::npos, and SwCursorShell::SwapPam().
Referenced by SwContentTree::MoveOutline().
|
overrideprotectedvirtual |
Reimplemented from SfxListener.
Definition at line 765 of file navipi.cxx.
References SfxListener::EndListening(), GetCreateView(), SfxHint::GetId(), SwView::GetWrtShellPtr(), m_pCreateView, m_xContentTree, and m_xGlobalTree.
|
overridevirtual |
Implements sfx2::sidebar::ControllerItem::ItemUpdateReceiverInterface.
Definition at line 701 of file navipi.cxx.
References FN_STAT_PAGE, GetCreateView(), SwCursorShell::GetPageCnt(), SwView::GetWrtShell(), SwView::GetWrtShellPtr(), SwEditShell::IsGlblDocSaveLinks(), SwNavigationConfig::IsGlobalActive(), IsGlobalDoc(), IsGlobalMode(), m_pConfig, m_xContent1ToolBox, m_xContentTree, m_xEdit, m_xGlobalToolBox, ToggleTree(), and UpdateListBox().
|
inlineprotected |
void SwNavigationPI::SetRegionDropMode | ( | RegionMode | nNewMode | ) |
Definition at line 988 of file navipi.cxx.
References EMBEDDED, LINK, m_nRegionMode, m_pConfig, m_xContent6ToolBox, NONE, and SwNavigationConfig::SetRegionMode().
Referenced by SwContentTree::ExecuteContextMenuAction(), and SwNavigationChild::SwNavigationChild().
|
overridevirtual |
Definition at line 740 of file navipi.cxx.
References SfxChildWindowContext::GetFloatingWindow(), IsZoomedIn(), m_xContent6ToolBox, m_xContentTree, UpdateListBox(), and ZoomOut().
|
protected |
Definition at line 1009 of file navipi.cxx.
References IsGlobalDoc(), IsGlobalMode(), IsZoomedIn(), m_xContent1ToolBox, m_xContent2ToolBox, m_xContent3ToolBox, m_xContent4ToolBox, m_xContent5ToolBox, m_xContent6ToolBox, m_xContentBox, m_xContentTree, m_xDocListBox, m_xGlobalBox, m_xGlobalToolBox, m_xGlobalTree, SetGlobalMode(), and ZoomOut().
Referenced by NotifyItemUpdate(), and SwNavigationPI().
void SwNavigationPI::UpdateListBox | ( | ) |
Definition at line 806 of file navipi.cxx.
References GetCreateView(), SwView::GetDocShell(), SwModule::GetFirstView(), SwModule::GetNextView(), SfxObjectShell::GetTitle(), SfxObjectShell::IsHelpDocument(), m_aStatusArr, m_xContentTree, m_xDocListBox, and nCount.
Referenced by SwContentTree::EditEntry(), SwContentTree::ExecuteContextMenuAction(), NotifyItemUpdate(), SwContentTree::SetHiddenShell(), SwContentTree::ShowActualView(), and StateChanged().
|
private |
Definition at line 174 of file navipi.cxx.
References GetCreateView(), SwCursorShell::GetPageCnt(), SwCursorShell::GetPageNum(), SwView::GetWrtShell(), and m_xEdit.
Referenced by SwNavigationPI().
|
private |
Definition at line 449 of file navipi.cxx.
References PanelLayout::GetOptimalSize(), Size::Height(), IsZoomedIn(), m_aExpandedSize, m_bIsZoomedIn, m_pConfig, m_xContent6ToolBox, m_xContentBox, m_xContentTree, m_xDocListBox, m_xGlobalBox, m_xGlobalTree, Size::setHeight(), SfxDockingWindow::SetMinOutputSizePixel(), and SwNavigationConfig::SetSmall().
Referenced by SwNavigationChild::SwNavigationChild().
|
private |
Definition at line 417 of file navipi.cxx.
References FillBox(), PanelLayout::GetOptimalSize(), Size::Height(), IsGlobalMode(), IsZoomedIn(), m_aExpandedSize, m_bIsZoomedIn, m_pConfig, m_xContent6ToolBox, m_xContentBox, m_xContentTree, m_xDocListBox, m_xGlobalBox, m_xGlobalTree, Size::setHeight(), SfxDockingWindow::SetMinOutputSizePixel(), and SwNavigationConfig::SetSmall().
Referenced by StateChanged(), and ToggleTree().
|
friend |
Definition at line 47 of file navipi.hxx.
|
friend |
Definition at line 48 of file navipi.hxx.
|
friend |
Definition at line 46 of file navipi.hxx.
|
friend |
Definition at line 49 of file navipi.hxx.
|
private |
Definition at line 51 of file navipi.hxx.
Referenced by dispose().
|
private |
Definition at line 87 of file navipi.hxx.
Referenced by SwNavigationPI(), ZoomIn(), and ZoomOut().
|
private |
Definition at line 73 of file navipi.hxx.
Referenced by dispose(), EditAction(), and SwNavigationPI().
|
private |
Definition at line 52 of file navipi.hxx.
Referenced by dispose().
|
private |
Definition at line 75 of file navipi.hxx.
Referenced by SwNavigationPI(), and UpdateListBox().
|
private |
Definition at line 90 of file navipi.hxx.
Referenced by IsGlobalMode(), and SetGlobalMode().
|
private |
Definition at line 89 of file navipi.hxx.
Referenced by IsZoomedIn(), ZoomIn(), and ZoomOut().
|
private |
Definition at line 86 of file navipi.hxx.
Referenced by GetRegionDropMode(), and SetRegionDropMode().
|
private |
Definition at line 80 of file navipi.hxx.
Referenced by FillBox().
|
private |
Definition at line 83 of file navipi.hxx.
Referenced by NotifyItemUpdate(), SetRegionDropMode(), SwNavigationPI(), ZoomIn(), and ZoomOut().
|
private |
Definition at line 78 of file navipi.hxx.
|
private |
Definition at line 79 of file navipi.hxx.
Referenced by FillBox().
|
private |
Definition at line 81 of file navipi.hxx.
Referenced by EditAction(), GetCreateView(), and Notify().
|
private |
Definition at line 77 of file navipi.hxx.
Referenced by dispose(), and ExecuteDrop().
|
private |
Definition at line 84 of file navipi.hxx.
Referenced by GetCreateView().
|
private |
Definition at line 74 of file navipi.hxx.
Referenced by ExecuteDrop().
|
private |
Definition at line 54 of file navipi.hxx.
Referenced by dispose(), NotifyItemUpdate(), SwNavigationPI(), and ToggleTree().
|
private |
Definition at line 60 of file navipi.hxx.
Referenced by dispose().
|
private |
Definition at line 55 of file navipi.hxx.
Referenced by dispose(), SwNavigationPI(), and ToggleTree().
|
private |
Definition at line 61 of file navipi.hxx.
Referenced by dispose().
|
private |
Definition at line 56 of file navipi.hxx.
Referenced by dispose(), SwNavigationPI(), and ToggleTree().
|
private |
Definition at line 57 of file navipi.hxx.
Referenced by dispose(), SwNavigationPI(), and ToggleTree().
|
private |
Definition at line 58 of file navipi.hxx.
Referenced by SwContentTree::Display(), dispose(), SwNavigationChild::SwNavigationChild(), SwNavigationPI(), SwContentTree::ToggleToRoot(), and ToggleTree().
|
private |
Definition at line 59 of file navipi.hxx.
Referenced by SwContentTree::Display(), dispose(), SwContentTree::Select(), SetRegionDropMode(), StateChanged(), SwNavigationPI(), ToggleTree(), ZoomIn(), and ZoomOut().
|
private |
Definition at line 68 of file navipi.hxx.
Referenced by dispose(), ToggleTree(), ZoomIn(), and ZoomOut().
|
private |
Definition at line 69 of file navipi.hxx.
Referenced by AcceptDrop(), dispose(), SwNavigationPIUIObject::execute(), ExecuteDrop(), FillBox(), SwNavigationPIUIObject::get_state(), Notify(), NotifyItemUpdate(), StateChanged(), SwNavigationChild::SwNavigationChild(), SwNavigationPI(), ToggleTree(), UpdateListBox(), ZoomIn(), and ZoomOut().
|
private |
Definition at line 72 of file navipi.hxx.
Referenced by dispose(), SwNavigationPI(), ToggleTree(), UpdateListBox(), ZoomIn(), and ZoomOut().
|
private |
Definition at line 63 of file navipi.hxx.
Referenced by dispose(), and SwNavigationPI().
|
private |
Definition at line 67 of file navipi.hxx.
Referenced by dispose(), EditAction(), NotifyItemUpdate(), SwNavigationPI(), and UsePage().
|
private |
Definition at line 70 of file navipi.hxx.
Referenced by dispose(), ToggleTree(), ZoomIn(), and ZoomOut().
|
private |
Definition at line 66 of file navipi.hxx.
Referenced by dispose(), NotifyItemUpdate(), SwGlobalTree::Select(), SwNavigationPI(), and ToggleTree().
|
private |
Definition at line 71 of file navipi.hxx.
Referenced by dispose(), Notify(), SwNavigationPI(), ToggleTree(), ZoomIn(), and ZoomOut().
|
private |
Definition at line 62 of file navipi.hxx.
Referenced by dispose(), and SwNavigationPI().
|
private |
Definition at line 65 of file navipi.hxx.
Referenced by dispose(), and SwNavigationPI().
|
private |
Definition at line 64 of file navipi.hxx.
Referenced by dispose(), and SwNavigationPI().