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 (SfxBindings *, vcl::Window *)
 
virtual ~SwNavigationPI () override
 
virtual void dispose () override
 
void UpdateListBox ()
 
void MoveOutline (SwOutlineNodes::size_type nSource, SwOutlineNodes::size_type nTarget, bool bWithCilds)
 
virtual void StateChanged (sal_uInt16 nSID, 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
 
void CreateNavigationTool (const tools::Rectangle &rRect, bool bSetFocus, vcl::Window *pParent)
 
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 SfxControllerItem
SfxBindingsGetBindings ()
 
const SfxBindingsGetBindings () const
 
 SfxControllerItem ()
 
 SfxControllerItem (sal_uInt16 nId, SfxBindings &)
 
virtual ~SfxControllerItem ()
 
void Bind (sal_uInt16 nNewId, SfxBindings *)
 
void UnBind ()
 
void ReBind ()
 
bool IsBound () const
 
void ClearCache ()
 
SfxControllerItemGetItemLink ()
 
SfxControllerItemChangeItemLink (SfxControllerItem *pNewLink)
 
void SetId (sal_uInt16 nItemId)
 
sal_uInt16 GetId () const
 
MapUnit GetCoreMetric () const
 
SAL_DLLPRIVATE void BindInternal_Impl (sal_uInt16 nNewId, SfxBindings *)
 
- 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 OUString CreateDropFileName (TransferableDataHelper &rData)
 
static OUString CleanEntry (const OUString &rEntry)
 
- Static Public Member Functions inherited from SfxControllerItem
static SfxItemState GetItemState (const SfxPoolItem *pState)
 

Protected Member Functions

virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 
NumEditActionGetPageEdit ()
 
void ToggleTree ()
 
void SetGlobalMode (bool bSet)
 

Private Member Functions

bool IsZoomedIn () const
 
void ZoomOut ()
 
void ZoomIn ()
 
void FillBox ()
 
void MakeMark ()
 
 DECL_LINK (DocListBoxSelectHdl, ListBox &, void)
 
 DECL_LINK (ToolBoxSelectHdl, ToolBox *, void)
 
 DECL_LINK (ToolBoxClickHdl, ToolBox *, void)
 
 DECL_LINK (ToolBoxDropdownClickHdl, ToolBox *, void)
 
 DECL_LINK (EditAction, NumEditAction &, void)
 
 DECL_LINK (EditGetFocus, Control &, void)
 
 DECL_LINK (DoneLink, SfxPoolItem const *, void)
 
 DECL_LINK (MenuSelectHdl, Menu *, bool)
 
 DECL_LINK (ChangePageHdl, Timer *, void)
 
 DECL_LINK (PageEditModifyHdl, SpinField &, void)
 
 DECL_LINK (PopupModeEndHdl, FloatingWindow *, void)
 
 DECL_LINK (ClosePopupWindow, SfxPopupWindow *, void)
 
void UsePage ()
 
void SetPopupWindow (SfxPopupWindow *)
 

Private Attributes

VclPtr< SwNavHelpToolBoxm_aContentToolBox
 
VclPtr< ToolBoxm_aGlobalToolBox
 
VclPtr< NumEditActionm_xEdit
 
VclPtr< VclContainerm_aContentBox
 
VclPtr< SwContentTreem_aContentTree
 
VclPtr< VclContainerm_aGlobalBox
 
VclPtr< SwGlobalTreem_aGlobalTree
 
VclPtr< ListBoxm_aDocListBox
 
Idle m_aPageChgIdle
 
OUString m_sContentFileName
 
OUString m_aContextArr [3]
 
OUString m_aStatusArr [4]
 
std::unique_ptr< SfxObjectShellLockm_pxObjectShell
 
SwViewm_pContentView
 
SwWrtShellm_pContentWrtShell
 
SwViewm_pActContView
 
SwViewm_pCreateView
 
VclPtr< SfxPopupWindowm_pPopupWindow
 
VclPtr< SfxPopupWindowm_pFloatingWindow
 
SwNavigationConfigm_pConfig
 
SfxBindingsm_rBindings
 
sal_uInt16 m_nAutoMarkIdx
 
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
 
std::unique_ptr< weld::Containerm_xContainer
 

Detailed Description

Definition at line 63 of file navipi.hxx.

Constructor & Destructor Documentation

SwNavigationPI::SwNavigationPI ( SfxBindings _pBindings,
vcl::Window pParent 
)

Definition at line 597 of file navipi.cxx.

References tools::Rectangle::Bottom(), SpinField::CalcMinimumSizeForText(), ToolBox::CheckItem(), VclPtr< reference_type >::Create(), NumericFormatter::CreateFieldText(), EMBEDDED, SvTreeListBox::EnableAsyncDrag(), FN_PAGENUMBER, VclPtr< reference_type >::get(), GetCreateView(), OutputDevice::GetFont(), ToolBox::GetItemBits(), ToolBox::GetItemId(), ToolBox::GetItemRect(), PanelLayout::GetOptimalSize(), GetPageEdit(), vcl::Window::GetQuickHelpText(), vcl::Window::GetStyle(), SwView::GetWrtShellPtr(), vcl::Window::GrabFocus(), HID_NAVIGATOR_GLOBAL_TOOLBOX, HID_NAVIGATOR_LISTBOX, HID_NAVIGATOR_TOOLBOX, ToolBox::HideItem(), i, ToolBox::InsertBreak(), ToolBox::InsertSeparator(), ToolBox::InsertWindow(), SwEditShell::IsGlblDocSaveLinks(), SwNavigationConfig::IsGlobalActive(), IsGlobalDoc(), tools::Rectangle::Left(), LINK, m_aContentBox, m_aContentToolBox, m_aContentTree, m_aContextArr, m_aDocListBox, m_aExpandedSize, m_aGlobalBox, m_aGlobalToolBox, m_aGlobalTree, m_aPageChgIdle, m_aStatusArr, m_pConfig, m_xEdit, SAL_N_ELEMENTS, vcl::Window::set_expand(), vcl::Window::SetAccessibleName(), NumEditAction::SetActionHdl(), ToolBox::SetClickHdl(), SwNavHelpToolBox::SetDialog(), SpinField::SetDownHdl(), SvTreeListBox::SetDragDropMode(), ToolBox::SetDropdownClickHdl(), ListBox::SetDropDownLineCount(), NumericFormatter::SetFirst(), SvTreeListBox::SetFont(), OutputDevice::SetFont(), SvTreeListBox::SetForceMakeVisible(), Control::SetGetFocusHdl(), vcl::Window::SetHelpId(), ToolBox::SetHelpId(), Timer::SetInvokeHandler(), ToolBox::SetItemBits(), ToolBox::SetLineCount(), NumericFormatter::SetMin(), Task::SetPriority(), ToolBox::SetSelectHdl(), ListBox::SetSelectHdl(), SvTreeListBox::SetSelectionMode(), vcl::Window::SetSizePixel(), SvTreeListBox::SetSpaceBetweenEntries(), vcl::Window::SetStyle(), SpinField::SetUpHdl(), vcl::Font::SetWeight(), SfxGetpApp(), ToolBox::ShowItem(), SwContentTree::ShowTree(), SfxListener::StartListening(), SwResId(), ToggleTree(), tools::Rectangle::Top(), UsePage(), WB_BORDER, WB_CLIPCHILDREN, WB_HASBUTTONS, WB_HASBUTTONSATROOT, WB_HSCROLL, WB_LEFT, WB_REPEAT, WB_SPIN, WB_TABSTOP, and WEIGHT_NORMAL.

SwNavigationPI::~SwNavigationPI ( )
overridevirtual

Definition at line 758 of file navipi.cxx.

Member Function Documentation

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

Definition at line 85 of file navipi.cxx.

References i.

Referenced by SwContentType::FillMemberList().

OUString SwNavigationPI::CreateDropFileName ( TransferableDataHelper rData)
static
void SwNavigationPI::CreateNavigationTool ( const tools::Rectangle rRect,
bool  bSetFocus,
vcl::Window pParent 
)
SwNavigationPI::DECL_LINK ( DocListBoxSelectHdl  ,
ListBox ,
void   
)
private
SwNavigationPI::DECL_LINK ( ToolBoxSelectHdl  ,
ToolBox ,
void   
)
private
SwNavigationPI::DECL_LINK ( ToolBoxClickHdl  ,
ToolBox ,
void   
)
private
SwNavigationPI::DECL_LINK ( ToolBoxDropdownClickHdl  ,
ToolBox ,
void   
)
private
SwNavigationPI::DECL_LINK ( EditAction  ,
NumEditAction ,
void   
)
private
SwNavigationPI::DECL_LINK ( EditGetFocus  ,
Control ,
void   
)
private
SwNavigationPI::DECL_LINK ( DoneLink  ,
SfxPoolItem const *  ,
void   
)
private
SwNavigationPI::DECL_LINK ( MenuSelectHdl  ,
Menu ,
bool   
)
private
SwNavigationPI::DECL_LINK ( ChangePageHdl  ,
Timer ,
void   
)
private
SwNavigationPI::DECL_LINK ( PageEditModifyHdl  ,
SpinField ,
void   
)
private
SwNavigationPI::DECL_LINK ( PopupModeEndHdl  ,
FloatingWindow ,
void   
)
private
SwNavigationPI::DECL_LINK ( ClosePopupWindow  ,
SfxPopupWindow ,
void   
)
private
void SwNavigationPI::dispose ( void  )
overridevirtual
sal_Int8 SwNavigationPI::ExecuteDrop ( const ExecuteDropEvent rEvt)
void SwNavigationPI::FillBox ( )
private
SwView * SwNavigationPI::GetCreateView ( ) const
NumEditAction & SwNavigationPI::GetPageEdit ( )
protected

Definition at line 891 of file navipi.cxx.

References FN_PAGENUMBER, ToolBox::GetItemWindow(), and m_aContentToolBox.

Referenced by SwNavigationPI(), and UsePage().

RegionMode SwNavigationPI::GetRegionDropMode ( ) const
inline

Definition at line 151 of file navipi.hxx.

References m_nRegionMode.

Referenced by SwContentTree::FillTransferData().

FactoryFunction SwNavigationPI::GetUITestFactory ( ) const
override

Definition at line 438 of file navipi.cxx.

References SwNavigationPIUIObject::create().

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

Definition at line 158 of file navipi.hxx.

References m_bGlobalMode.

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

bool SwNavigationPI::IsZoomedIn ( ) const
inlineprivate

Definition at line 102 of file navipi.hxx.

References m_bIsZoomedIn.

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

void SwNavigationPI::MakeMark ( )
private
void SwNavigationPI::MoveOutline ( SwOutlineNodes::size_type  nSource,
SwOutlineNodes::size_type  nTarget,
bool  bWithCilds 
)
void SwNavigationPI::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
)
overrideprotectedvirtual
void SwNavigationPI::SetGlobalMode ( bool  bSet)
inlineprotected

Definition at line 132 of file navipi.hxx.

References m_bGlobalMode.

Referenced by ToggleTree().

void SwNavigationPI::SetPopupWindow ( SfxPopupWindow pWindow)
private
void SwNavigationPI::SetRegionDropMode ( RegionMode  nNewMode)
void SwNavigationPI::StateChanged ( sal_uInt16  nSID,
SfxItemState  eState,
const SfxPoolItem pState 
)
overridevirtual
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 67 of file navipi.hxx.

friend class SwGlobalTree
friend

Definition at line 68 of file navipi.hxx.

friend class SwNavigationChild
friend

Definition at line 66 of file navipi.hxx.

friend class SwNavigationPIUIObject
friend

Definition at line 69 of file navipi.hxx.

Member Data Documentation

VclPtr<VclContainer> SwNavigationPI::m_aContentBox
private

Definition at line 74 of file navipi.hxx.

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

VclPtr<SwNavHelpToolBox> SwNavigationPI::m_aContentToolBox
private
VclPtr<SwContentTree> SwNavigationPI::m_aContentTree
private
OUString SwNavigationPI::m_aContextArr[3]
private

Definition at line 81 of file navipi.hxx.

Referenced by SwNavigationPI().

VclPtr<ListBox> SwNavigationPI::m_aDocListBox
private

Definition at line 78 of file navipi.hxx.

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

Size SwNavigationPI::m_aExpandedSize
private

Definition at line 97 of file navipi.hxx.

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

VclPtr<VclContainer> SwNavigationPI::m_aGlobalBox
private

Definition at line 76 of file navipi.hxx.

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

VclPtr<ToolBox> SwNavigationPI::m_aGlobalToolBox
private

Definition at line 72 of file navipi.hxx.

Referenced by dispose(), SwGlobalTree::SelectHdl(), StateChanged(), SwNavigationPI(), and ToggleTree().

VclPtr<SwGlobalTree> SwNavigationPI::m_aGlobalTree
private

Definition at line 77 of file navipi.hxx.

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

Idle SwNavigationPI::m_aPageChgIdle
private

Definition at line 79 of file navipi.hxx.

Referenced by dispose(), and SwNavigationPI().

OUString SwNavigationPI::m_aStatusArr[4]
private

Definition at line 82 of file navipi.hxx.

Referenced by SwNavigationPI(), and UpdateListBox().

bool SwNavigationPI::m_bGlobalMode
private

Definition at line 100 of file navipi.hxx.

Referenced by IsGlobalMode(), and SetGlobalMode().

bool SwNavigationPI::m_bIsZoomedIn
private

Definition at line 99 of file navipi.hxx.

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

sal_uInt16 SwNavigationPI::m_nAutoMarkIdx
private

Definition at line 95 of file navipi.hxx.

Referenced by MakeMark().

RegionMode SwNavigationPI::m_nRegionMode
private

Definition at line 96 of file navipi.hxx.

Referenced by GetRegionDropMode(), and SetRegionDropMode().

SwView* SwNavigationPI::m_pActContView
private

Definition at line 87 of file navipi.hxx.

Referenced by FillBox().

SwNavigationConfig* SwNavigationPI::m_pConfig
private

Definition at line 92 of file navipi.hxx.

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

SwView* SwNavigationPI::m_pContentView
private

Definition at line 85 of file navipi.hxx.

SwWrtShell* SwNavigationPI::m_pContentWrtShell
private

Definition at line 86 of file navipi.hxx.

Referenced by FillBox().

SwView* SwNavigationPI::m_pCreateView
private

Definition at line 88 of file navipi.hxx.

Referenced by GetCreateView(), and Notify().

VclPtr<SfxPopupWindow> SwNavigationPI::m_pFloatingWindow
private

Definition at line 90 of file navipi.hxx.

Referenced by dispose().

VclPtr<SfxPopupWindow> SwNavigationPI::m_pPopupWindow
private

Definition at line 89 of file navipi.hxx.

Referenced by dispose(), and SetPopupWindow().

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

Definition at line 84 of file navipi.hxx.

Referenced by dispose(), and ExecuteDrop().

SfxBindings& SwNavigationPI::m_rBindings
private

Definition at line 93 of file navipi.hxx.

Referenced by dispose(), and GetCreateView().

OUString SwNavigationPI::m_sContentFileName
private

Definition at line 80 of file navipi.hxx.

Referenced by ExecuteDrop().

VclPtr<NumEditAction> SwNavigationPI::m_xEdit
private

Definition at line 73 of file navipi.hxx.

Referenced by dispose(), and SwNavigationPI().


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