diff options
author | Bernhard Widl <bernhard.widl@cib.de> | 2017-09-15 17:39:48 +0200 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2017-09-19 01:11:25 +0200 |
commit | 7d5245848c28f5786258476cd7aa2a4523645de3 (patch) | |
tree | dc57a024f062b9d18bf647710652b67206c3b0d7 /sw/inc/swabstdlg.hxx | |
parent | c686dc4f33c7461a28df95603d06591a3a0171cd (diff) |
tdf#79877 revert to old behavior when clicking on input fields.
doubleclick on input field brings up old input fields dialog
that dialog now starts at current field and has previous/next navigation
Change-Id: Ie3eec38d62cbf8a8248acb4fd84731c078ebadd4
Reviewed-on: https://gerrit.libreoffice.org/42333
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'sw/inc/swabstdlg.hxx')
-rw-r--r-- | sw/inc/swabstdlg.hxx | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/sw/inc/swabstdlg.hxx b/sw/inc/swabstdlg.hxx index ba607870619d..c582500ac0b0 100644 --- a/sw/inc/swabstdlg.hxx +++ b/sw/inc/swabstdlg.hxx @@ -111,9 +111,11 @@ protected: virtual ~AbstractFieldInputDlg() override = default; public: //from class SalFrame - virtual void SetWindowState( const OString & rStr ) = 0; - virtual OString GetWindowState() const = 0; - virtual void EndDialog(sal_Int32 nResult) override = 0; + virtual void SetWindowState( const OString & rStr ) = 0; + virtual OString GetWindowState() const = 0; + virtual void EndDialog(sal_Int32 nResult) override = 0; + virtual bool PrevButtonPressed() const = 0; + virtual bool NextButtonPressed() const = 0; }; class AbstractInsFootNoteDlg : public VclAbstractDialog @@ -282,8 +284,10 @@ class AbstractDropDownFieldDialog : public VclAbstractDialog protected: virtual ~AbstractDropDownFieldDialog() override = default; public: - virtual OString GetWindowState() const = 0; //this method inherit from SystemWindow - virtual void SetWindowState( const OString & rStr ) = 0; //this method inherit from SystemWindow + virtual OString GetWindowState() const = 0; //this method inherit from SystemWindow + virtual void SetWindowState( const OString & rStr ) = 0; //this method inherit from SystemWindow + virtual bool PrevButtonPressed() const = 0; + virtual bool NextButtonPressed() const = 0; }; class AbstractSwLabDlg : public SfxAbstractTabDialog @@ -404,7 +408,7 @@ public: virtual VclPtr<SfxAbstractTabDialog> CreateSwFootNoteOptionDlg(vcl::Window *pParent, SwWrtShell &rSh) = 0; virtual VclPtr<AbstractDropDownFieldDialog> CreateDropDownFieldDialog(SwWrtShell &rSh, - SwField* pField, bool bNextButton) = 0; + SwField* pField, bool bPrevButton, bool bNextButton) = 0; virtual VclPtr<SfxAbstractTabDialog> CreateSwEnvDlg ( vcl::Window* pParent, const SfxItemSet& rSet, SwWrtShell* pWrtSh, Printer* pPrt, bool bInsert ) = 0; virtual VclPtr<AbstractSwLabDlg> CreateSwLabDlg(const SfxItemSet& rSet, @@ -463,7 +467,7 @@ public: SwGlossaryHdl* pGlosHdl, SwWrtShell *pWrtShell) = 0; virtual VclPtr<AbstractFieldInputDlg> CreateFieldInputDlg(vcl::Window *pParent, - SwWrtShell &rSh, SwField* pField, bool bNextButton) = 0; + SwWrtShell &rSh, SwField* pField, bool bPrevButton, bool bNextButton) = 0; virtual VclPtr<AbstractInsFootNoteDlg> CreateInsFootNoteDlg(vcl::Window * pParent, SwWrtShell &rSh, bool bEd = false) = 0; virtual VclPtr<VclAbstractDialog> CreateTitlePageDlg ( vcl::Window * pParent ) = 0; |