LibreOffice Module sw (master)  1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
SwNavigationPI Class Referencefinal

#include <navipi.hxx>

Inheritance diagram for SwNavigationPI:
[legend]
Collaboration diagram for SwNavigationPI:
[legend]

Public Member Functions

 SwNavigationPI (weld::Widget *pParent, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > &rxFrame, SfxBindings *_pBindings, SfxNavigator *pNavigatorDlg)
 
virtual ~SwNavigationPI () 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
 
RegionMode GetRegionDropMode () const
 
void SetRegionDropMode (RegionMode nNewMode)
 
sal_Int8 AcceptDrop ()
 
sal_Int8 ExecuteDrop (const ExecuteDropEvent &rEvt)
 
bool IsGlobalDoc () const
 
bool IsGlobalMode () const
 
SwViewGetCreateView () const
 
virtual weld::WindowGetFrameWeld () const override
 
- Public Member Functions inherited from PanelLayout
 PanelLayout (weld::Widget *pParent, const OString &rID, const OUString &rUIXMLDescription)
 
void SetPanel (sfx2::sidebar::Panel *pPanel)
 
virtual ~PanelLayout ()
 
Size get_preferred_size () const
 
void queue_resize ()
 
- Public Member Functions inherited from sfx2::sidebar::ControllerItem::ItemUpdateReceiverInterface
virtual ~ItemUpdateReceiverInterface ()
 
- 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
 
SfxBroadcasterGetBroadcasterJOE (sal_uInt16 nNo) const
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 

Static Public Member Functions

static std::unique_ptr< PanelLayoutCreate (weld::Widget *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)
 

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)
 
 DECL_LINK (SetFocusChildHdl, weld::Container &, void)
 
bool EditAction ()
 
void UsePage ()
 
void UpdateInitShow ()
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 
void ToggleTree ()
 
void SetGlobalMode (bool bSet)
 

Private Attributes

::sfx2::sidebar::ControllerItem m_aDocFullName
 
::sfx2::sidebar::ControllerItem m_aPageStats
 
std::unique_ptr< weld::Toolbarm_xContent1ToolBox
 
std::unique_ptr< weld::Toolbarm_xContent2ToolBox
 
std::unique_ptr< weld::Toolbarm_xContent3ToolBox
 
std::unique_ptr< weld::Toolbarm_xContent4ToolBox
 
std::unique_ptr< weld::Toolbarm_xContent5ToolBox
 
std::unique_ptr< weld::Toolbarm_xContent6ToolBox
 
std::unique_ptr< ToolbarUnoDispatcherm_xContent2Dispatch
 
std::unique_ptr< ToolbarUnoDispatcherm_xContent3Dispatch
 
std::unique_ptr< weld::Menum_xHeadingsMenu
 
std::unique_ptr< weld::Menum_xDragModeMenu
 
std::unique_ptr< weld::Menum_xUpdateMenu
 
std::unique_ptr< weld::Menum_xInsertMenu
 
std::unique_ptr< weld::Toolbarm_xGlobalToolBox
 
std::unique_ptr< weld::SpinButtonm_xEdit
 
std::unique_ptr< weld::Widgetm_xContentBox
 
std::unique_ptr< SwContentTreem_xContentTree
 
std::unique_ptr< weld::Widgetm_xGlobalBox
 
std::unique_ptr< SwGlobalTreem_xGlobalTree
 
std::unique_ptr< weld::ComboBoxm_xDocListBox
 
Idle m_aPageChgIdle
 
OUString m_sContentFileName
 
OUString m_aStatusArr [4]
 
VclPtr< SfxNavigatorm_xNavigatorDlg
 
std::unique_ptr< SfxObjectShellLockm_pxObjectShell
 
SwViewm_pContentView
 
SwWrtShellm_pContentWrtShell
 
SwViewm_pActContView
 
SwViewm_pCreateView
 
SwNavigationConfigm_pConfig
 
SfxBindingsm_rBindings
 
RegionMode m_nRegionMode
 
Size m_aExpandedSize
 
bool m_bIsZoomedIn: 1
 
bool m_bGlobalMode: 1
 

Friends

class SwNavigatorWin
 
class SwContentTree
 
class SwGlobalTree
 

Additional Inherited Members

- Protected Member Functions inherited from PanelLayout
virtual void DataChanged (const DataChangedEvent &rEvent)
 
virtual void DumpAsPropertyTree (tools::JsonWriter &)
 
- Protected Attributes inherited from PanelLayout
std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Containerm_xContainer
 
sfx2::sidebar::Panelm_pPanel
 

Detailed Description

Definition at line 42 of file navipi.hxx.

Constructor & Destructor Documentation

SwNavigationPI::SwNavigationPI ( weld::Widget pParent,
const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > &  rxFrame,
SfxBindings _pBindings,
SfxNavigator pNavigatorDlg 
)
SwNavigationPI::~SwNavigationPI ( )
overridevirtual

Member Function Documentation

sal_Int8 SwNavigationPI::AcceptDrop ( )

Definition at line 914 of file navipi.cxx.

References DND_ACTION_COPY, DND_ACTION_NONE, and m_xContentTree.

Referenced by SwContentTree::AcceptDrop().

OUString SwNavigationPI::CleanEntry ( const OUString &  rEntry)
static

Definition at line 54 of file navipi.cxx.

References i.

Referenced by SwContentType::FillMemberList().

std::unique_ptr< PanelLayout > SwNavigationPI::Create ( weld::Widget pParent,
const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > &  rxFrame,
SfxBindings pBindings 
)
static

Definition at line 468 of file navipi.cxx.

OUString SwNavigationPI::CreateDropFileName ( TransferableDataHelper rData)
static
SwNavigationPI::DECL_LINK ( DocListBoxSelectHdl  ,
weld::ComboBox ,
void   
)
private
SwNavigationPI::DECL_LINK ( ToolBoxSelectHdl  ,
const OString &  ,
void   
)
private
SwNavigationPI::DECL_LINK ( ToolBoxClickHdl  ,
const OString &  ,
void   
)
private
SwNavigationPI::DECL_LINK ( ToolBox5DropdownClickHdl  ,
const OString &  ,
void   
)
private
SwNavigationPI::DECL_LINK ( ToolBox6DropdownClickHdl  ,
const OString &  ,
void   
)
private
SwNavigationPI::DECL_LINK ( DoneLink  ,
SfxPoolItem const *  ,
void   
)
private
SwNavigationPI::DECL_LINK ( DropModeMenuSelectHdl  ,
const OString &  ,
void   
)
private
SwNavigationPI::DECL_LINK ( HeadingsMenuSelectHdl  ,
const OString &  ,
void   
)
private
SwNavigationPI::DECL_LINK ( GlobalMenuSelectHdl  ,
const OString &  ,
void   
)
private
SwNavigationPI::DECL_LINK ( ChangePageHdl  ,
Timer ,
void   
)
private
SwNavigationPI::DECL_LINK ( PageEditModifyHdl  ,
weld::SpinButton ,
void   
)
private
SwNavigationPI::DECL_LINK ( EditActionHdl  ,
weld::Entry ,
bool   
)
private
SwNavigationPI::DECL_LINK ( SetFocusChildHdl  ,
weld::Container ,
void   
)
private
bool SwNavigationPI::EditAction ( )
private
sal_Int8 SwNavigationPI::ExecuteDrop ( const ExecuteDropEvent rEvt)
void SwNavigationPI::FillBox ( )
private

Definition at line 131 of file navipi.cxx.

References GetCreateView(), SwView::GetWrtShellPtr(), m_pActContView, m_pContentWrtShell, and m_xContentTree.

Referenced by ZoomOut().

virtual void SwNavigationPI::GetControlState ( const sal_uInt16  ,
boost::property_tree::ptree &   
)
inlineoverridevirtual
SwView * SwNavigationPI::GetCreateView ( ) const
weld::Window * SwNavigationPI::GetFrameWeld ( ) const
overridevirtual

Reimplemented from PanelLayout.

Definition at line 631 of file navipi.cxx.

References PanelLayout::GetFrameWeld(), and m_xNavigatorDlg.

Referenced by SwGlobalTree::InsertRegion().

RegionMode SwNavigationPI::GetRegionDropMode ( ) const
inline

Definition at line 147 of file navipi.hxx.

References m_nRegionMode.

Referenced by SwContentTree::FillTransferData().

bool SwNavigationPI::IsGlobalDoc ( ) const
bool SwNavigationPI::IsGlobalMode ( ) const
inline

Definition at line 154 of file navipi.hxx.

References m_bGlobalMode.

Referenced by NotifyItemUpdate(), ToggleTree(), ZoomOut(), and ~SwNavigationPI().

bool SwNavigationPI::IsZoomedIn ( ) const
inlineprivate

Definition at line 93 of file navipi.hxx.

References m_bIsZoomedIn.

Referenced by ToggleTree(), UpdateInitShow(), ZoomIn(), and ZoomOut().

void SwNavigationPI::MoveOutline ( SwOutlineNodes::size_type  nSource,
SwOutlineNodes::size_type  nTarget 
)
void SwNavigationPI::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
)
overrideprivatevirtual
void SwNavigationPI::NotifyItemUpdate ( const sal_uInt16  nSId,
const SfxItemState  eState,
const SfxPoolItem pState 
)
overridevirtual
void SwNavigationPI::SetGlobalMode ( bool  bSet)
inlineprivate

Definition at line 122 of file navipi.hxx.

References m_bGlobalMode.

Referenced by ToggleTree().

void SwNavigationPI::SetRegionDropMode ( RegionMode  nNewMode)
void SwNavigationPI::ToggleTree ( )
private
void SwNavigationPI::UpdateInitShow ( )
private
void SwNavigationPI::UpdateListBox ( )
void SwNavigationPI::UsePage ( )
private
void SwNavigationPI::ZoomIn ( )
private
void SwNavigationPI::ZoomOut ( )
private

Friends And Related Function Documentation

friend class SwContentTree
friend

Definition at line 47 of file navipi.hxx.

friend class SwGlobalTree
friend

Definition at line 48 of file navipi.hxx.

friend class SwNavigatorWin
friend

Definition at line 46 of file navipi.hxx.

Member Data Documentation

::sfx2::sidebar::ControllerItem SwNavigationPI::m_aDocFullName
private

Definition at line 50 of file navipi.hxx.

Referenced by ~SwNavigationPI().

Size SwNavigationPI::m_aExpandedSize
private

Definition at line 88 of file navipi.hxx.

Referenced by SwNavigationPI(), ZoomIn(), and ZoomOut().

Idle SwNavigationPI::m_aPageChgIdle
private

Definition at line 72 of file navipi.hxx.

Referenced by EditAction(), SwNavigationPI(), and ~SwNavigationPI().

::sfx2::sidebar::ControllerItem SwNavigationPI::m_aPageStats
private

Definition at line 51 of file navipi.hxx.

Referenced by ~SwNavigationPI().

OUString SwNavigationPI::m_aStatusArr[4]
private

Definition at line 74 of file navipi.hxx.

Referenced by SwNavigationPI(), and UpdateListBox().

bool SwNavigationPI::m_bGlobalMode
private

Definition at line 91 of file navipi.hxx.

Referenced by IsGlobalMode(), and SetGlobalMode().

bool SwNavigationPI::m_bIsZoomedIn
private

Definition at line 90 of file navipi.hxx.

Referenced by IsZoomedIn(), ZoomIn(), and ZoomOut().

RegionMode SwNavigationPI::m_nRegionMode
private

Definition at line 87 of file navipi.hxx.

Referenced by GetRegionDropMode(), and SetRegionDropMode().

SwView* SwNavigationPI::m_pActContView
private

Definition at line 81 of file navipi.hxx.

Referenced by FillBox().

SwNavigationConfig* SwNavigationPI::m_pConfig
private

Definition at line 84 of file navipi.hxx.

Referenced by NotifyItemUpdate(), SetRegionDropMode(), SwNavigationPI(), ZoomIn(), and ZoomOut().

SwView* SwNavigationPI::m_pContentView
private

Definition at line 79 of file navipi.hxx.

SwWrtShell* SwNavigationPI::m_pContentWrtShell
private

Definition at line 80 of file navipi.hxx.

Referenced by FillBox().

SwView* SwNavigationPI::m_pCreateView
private

Definition at line 82 of file navipi.hxx.

Referenced by EditAction(), GetCreateView(), and Notify().

std::unique_ptr<SfxObjectShellLock> SwNavigationPI::m_pxObjectShell
private

Definition at line 78 of file navipi.hxx.

Referenced by ExecuteDrop(), and ~SwNavigationPI().

SfxBindings& SwNavigationPI::m_rBindings
private

Definition at line 85 of file navipi.hxx.

Referenced by GetCreateView().

OUString SwNavigationPI::m_sContentFileName
private

Definition at line 73 of file navipi.hxx.

Referenced by ExecuteDrop().

std::unique_ptr<weld::Toolbar> SwNavigationPI::m_xContent1ToolBox
private

Definition at line 53 of file navipi.hxx.

Referenced by NotifyItemUpdate(), SwNavigationPI(), ToggleTree(), and ~SwNavigationPI().

std::unique_ptr<ToolbarUnoDispatcher> SwNavigationPI::m_xContent2Dispatch
private

Definition at line 59 of file navipi.hxx.

Referenced by ~SwNavigationPI().

std::unique_ptr<weld::Toolbar> SwNavigationPI::m_xContent2ToolBox
private

Definition at line 54 of file navipi.hxx.

Referenced by SwNavigationPI(), ToggleTree(), and ~SwNavigationPI().

std::unique_ptr<ToolbarUnoDispatcher> SwNavigationPI::m_xContent3Dispatch
private

Definition at line 60 of file navipi.hxx.

Referenced by ~SwNavigationPI().

std::unique_ptr<weld::Toolbar> SwNavigationPI::m_xContent3ToolBox
private

Definition at line 55 of file navipi.hxx.

Referenced by SwNavigationPI(), ToggleTree(), and ~SwNavigationPI().

std::unique_ptr<weld::Toolbar> SwNavigationPI::m_xContent4ToolBox
private

Definition at line 56 of file navipi.hxx.

Referenced by SwNavigationPI(), ToggleTree(), and ~SwNavigationPI().

std::unique_ptr<weld::Toolbar> SwNavigationPI::m_xContent5ToolBox
private
std::unique_ptr<weld::Toolbar> SwNavigationPI::m_xContent6ToolBox
private
std::unique_ptr<weld::Widget> SwNavigationPI::m_xContentBox
private

Definition at line 67 of file navipi.hxx.

Referenced by ToggleTree(), ZoomIn(), ZoomOut(), and ~SwNavigationPI().

std::unique_ptr<SwContentTree> SwNavigationPI::m_xContentTree
private
std::unique_ptr<weld::ComboBox> SwNavigationPI::m_xDocListBox
private

Definition at line 71 of file navipi.hxx.

Referenced by SwNavigationPI(), ToggleTree(), UpdateListBox(), ZoomIn(), ZoomOut(), and ~SwNavigationPI().

std::unique_ptr<weld::Menu> SwNavigationPI::m_xDragModeMenu
private

Definition at line 62 of file navipi.hxx.

Referenced by SwNavigationPI(), and ~SwNavigationPI().

std::unique_ptr<weld::SpinButton> SwNavigationPI::m_xEdit
private

Definition at line 66 of file navipi.hxx.

Referenced by EditAction(), NotifyItemUpdate(), SwNavigationPI(), UsePage(), and ~SwNavigationPI().

std::unique_ptr<weld::Widget> SwNavigationPI::m_xGlobalBox
private

Definition at line 69 of file navipi.hxx.

Referenced by ToggleTree(), ZoomIn(), ZoomOut(), and ~SwNavigationPI().

std::unique_ptr<weld::Toolbar> SwNavigationPI::m_xGlobalToolBox
private
std::unique_ptr<SwGlobalTree> SwNavigationPI::m_xGlobalTree
private

Definition at line 70 of file navipi.hxx.

Referenced by Notify(), SwNavigationPI(), ToggleTree(), ZoomIn(), ZoomOut(), and ~SwNavigationPI().

std::unique_ptr<weld::Menu> SwNavigationPI::m_xHeadingsMenu
private

Definition at line 61 of file navipi.hxx.

Referenced by SwNavigationPI(), and ~SwNavigationPI().

std::unique_ptr<weld::Menu> SwNavigationPI::m_xInsertMenu
private

Definition at line 64 of file navipi.hxx.

Referenced by SwNavigationPI(), and ~SwNavigationPI().

VclPtr<SfxNavigator> SwNavigationPI::m_xNavigatorDlg
private

Definition at line 76 of file navipi.hxx.

Referenced by GetFrameWeld(), SwNavigationPI(), UpdateInitShow(), ZoomIn(), and ZoomOut().

std::unique_ptr<weld::Menu> SwNavigationPI::m_xUpdateMenu
private

Definition at line 63 of file navipi.hxx.

Referenced by SwNavigationPI(), and ~SwNavigationPI().


The documentation for this class was generated from the following files: