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

#include <navipi.hxx>

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

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, bool bWithCilds)
 
virtual void NotifyItemUpdate (const sal_uInt16 nSId, const SfxItemState eState, const SfxPoolItem *pState) 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
 
SwViewGetCreateView () const
 
FactoryFunction GetUITestFactory () const override
 
- Public Member Functions inherited from PanelLayout
 PanelLayout (vcl::Window *pParent, const OString &rID, const OUString &rUIXMLDescription, const css::uno::Reference< css::frame::XFrame > &rFrame, bool bInterimBuilder=false)
 
virtual ~PanelLayout () override
 
virtual Size GetOptimalSize () const override
 
virtual void setPosSizePixel (long nX, long nY, long nWidth, long nHeight, PosSizeFlags nFlags=PosSizeFlags::All) override
 
virtual void queue_resize (StateChangedType eReason=StateChangedType::Layout) override
 
virtual bool EventNotify (NotifyEvent &rNEvt) override
 
- 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 VclPtr< vcl::WindowCreate (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 (ToolBox2DropdownClickHdl, const OString &, void)
 
 DECL_LINK (ToolBox3DropdownClickHdl, 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)
 
bool EditAction ()
 
void UsePage ()
 

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< ToolbarUnoDispatcherm_xContent1Dispatch
 
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]
 
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 SwNavigationChild
 
class SwContentTree
 
class SwGlobalTree
 
class SwNavigationPIUIObject
 

Additional Inherited Members

- Protected Attributes inherited from PanelLayout
std::unique_ptr< weld::Builderm_xBuilder
 
VclPtr< vcl::Windowm_xVclContentArea
 
std::unique_ptr< weld::Containerm_xContainer
 

Detailed Description

Definition at line 47 of file navipi.hxx.

Constructor & Destructor Documentation

SwNavigationPI::SwNavigationPI ( vcl::Window pParent,
const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > &  rxFrame,
SfxBindings _pBindings 
)
SwNavigationPI::~SwNavigationPI ( )
overridevirtual

Definition at line 643 of file navipi.cxx.

Member Function Documentation

sal_Int8 SwNavigationPI::AcceptDrop ( )

Definition at line 922 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 74 of file navipi.cxx.

References i.

Referenced by SwContentType::FillMemberList().

VclPtr< vcl::Window > SwNavigationPI::Create ( vcl::Window pParent,
const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > &  rxFrame,
SfxBindings pBindings 
)
static

Definition at line 498 of file navipi.cxx.

References VclPtr< reference_type >::Create().

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 ( ToolBox2DropdownClickHdl  ,
const OString &  ,
void   
)
private
SwNavigationPI::DECL_LINK ( ToolBox3DropdownClickHdl  ,
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
void SwNavigationPI::dispose ( void  )
overridevirtual
bool SwNavigationPI::EditAction ( )
private
sal_Int8 SwNavigationPI::ExecuteDrop ( const ExecuteDropEvent rEvt)
void SwNavigationPI::FillBox ( )
private

Definition at line 155 of file navipi.cxx.

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

Referenced by ZoomOut().

SwView * SwNavigationPI::GetCreateView ( ) const
RegionMode SwNavigationPI::GetRegionDropMode ( ) const
inline

Definition at line 144 of file navipi.hxx.

References m_nRegionMode.

Referenced by SwContentTree::FillTransferData().

FactoryFunction SwNavigationPI::GetUITestFactory ( ) const
override

Definition at line 395 of file navipi.cxx.

References SwNavigationPIUIObject::create().

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

Definition at line 151 of file navipi.hxx.

References m_bGlobalMode.

Referenced by dispose(), NotifyItemUpdate(), ToggleTree(), and ZoomOut().

bool SwNavigationPI::IsZoomedIn ( ) const
inlineprivate

Definition at line 93 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,
bool  bWithCilds 
)
void SwNavigationPI::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
)
overrideprotectedvirtual
void SwNavigationPI::NotifyItemUpdate ( const sal_uInt16  nSId,
const SfxItemState  eState,
const SfxPoolItem pState 
)
overridevirtual
void SwNavigationPI::SetGlobalMode ( bool  bSet)
inlineprotected

Definition at line 119 of file navipi.hxx.

References m_bGlobalMode.

Referenced by ToggleTree().

void SwNavigationPI::SetRegionDropMode ( RegionMode  nNewMode)
void SwNavigationPI::StateChanged ( StateChangedType  nStateChange)
overridevirtual
void SwNavigationPI::ToggleTree ( )
protected
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 52 of file navipi.hxx.

friend class SwGlobalTree
friend

Definition at line 53 of file navipi.hxx.

friend class SwNavigationChild
friend

Definition at line 51 of file navipi.hxx.

friend class SwNavigationPIUIObject
friend

Definition at line 54 of file navipi.hxx.

Member Data Documentation

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

Definition at line 56 of file navipi.hxx.

Referenced by dispose().

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 74 of file navipi.hxx.

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

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

Definition at line 57 of file navipi.hxx.

Referenced by dispose().

OUString SwNavigationPI::m_aStatusArr[4]
private

Definition at line 76 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 dispose(), and ExecuteDrop().

SfxBindings& SwNavigationPI::m_rBindings
private

Definition at line 85 of file navipi.hxx.

Referenced by GetCreateView().

OUString SwNavigationPI::m_sContentFileName
private

Definition at line 75 of file navipi.hxx.

Referenced by ExecuteDrop().

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

Definition at line 62 of file navipi.hxx.

Referenced by dispose().

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

Definition at line 59 of file navipi.hxx.

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

std::unique_ptr<weld::Toolbar> SwNavigationPI::m_xContent2ToolBox
private
std::unique_ptr<weld::Toolbar> SwNavigationPI::m_xContent3ToolBox
private
std::unique_ptr<weld::Widget> SwNavigationPI::m_xContentBox
private

Definition at line 69 of file navipi.hxx.

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

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

Definition at line 73 of file navipi.hxx.

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

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

Definition at line 64 of file navipi.hxx.

Referenced by dispose(), and SwNavigationPI().

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

Definition at line 68 of file navipi.hxx.

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

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

Definition at line 71 of file navipi.hxx.

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

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

Definition at line 72 of file navipi.hxx.

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

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

Definition at line 63 of file navipi.hxx.

Referenced by dispose(), and SwNavigationPI().

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

Definition at line 66 of file navipi.hxx.

Referenced by dispose(), and SwNavigationPI().

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

Definition at line 65 of file navipi.hxx.

Referenced by dispose(), and SwNavigationPI().


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