summaryrefslogtreecommitdiff
path: root/sw/source/uibase/inc/navipi.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/inc/navipi.hxx')
-rw-r--r--sw/source/uibase/inc/navipi.hxx15
1 files changed, 9 insertions, 6 deletions
diff --git a/sw/source/uibase/inc/navipi.hxx b/sw/source/uibase/inc/navipi.hxx
index 0b0d0134a811..c203284ca500 100644
--- a/sw/source/uibase/inc/navipi.hxx
+++ b/sw/source/uibase/inc/navipi.hxx
@@ -73,6 +73,8 @@ class SwNavigationPI : public PanelLayout
OUString m_sContentFileName;
OUString m_aStatusArr[4];
+ VclPtr<SfxNavigator> m_xNavigatorDlg;
+
std::unique_ptr<SfxObjectShellLock> m_pxObjectShell;
SwView *m_pContentView;
SwWrtShell *m_pContentWrtShell;
@@ -111,6 +113,8 @@ class SwNavigationPI : public PanelLayout
bool EditAction();
void UsePage();
+ void UpdateInitShow();
+
protected:
// release ObjectShellLock early enough for app end
@@ -121,14 +125,13 @@ protected:
public:
- static VclPtr<PanelLayout> Create(vcl::Window* pParent,
+ static std::unique_ptr<PanelLayout> Create(weld::Widget* pParent,
const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rxFrame,
SfxBindings* pBindings);
- SwNavigationPI(vcl::Window* pParent,
+ SwNavigationPI(weld::Widget* pParent,
const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rxFrame,
- SfxBindings* _pBindings);
+ SfxBindings* _pBindings, SfxNavigator* pNavigatorDlg);
virtual ~SwNavigationPI() override;
- virtual void dispose() override;
void UpdateListBox();
void MoveOutline(SwOutlineNodes::size_type nSource, SwOutlineNodes::size_type nTarget);
@@ -140,8 +143,6 @@ public:
virtual void GetControlState(const sal_uInt16 /*nSId*/,
boost::property_tree::ptree& /*rState*/) override {};
- virtual void StateChanged(StateChangedType nStateChange) override;
-
static OUString CreateDropFileName( TransferableDataHelper& rData );
static OUString CleanEntry(const OUString& rEntry);
@@ -155,6 +156,8 @@ public:
bool IsGlobalMode() const {return m_bGlobalMode;}
SwView* GetCreateView() const;
+
+ virtual weld::Window* GetFrameWeld() const override;
};
class SwNavigatorWrapper final : public SfxNavigatorWrapper