summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/xmlsourcedlg.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-10-11 00:20:46 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-11-28 13:28:23 -0500
commit3911c022ef8d0b1b682d96e57281015298bfa9f7 (patch)
tree00c4433156df30533c615cd968d0fd627151eaf2 /sc/source/ui/inc/xmlsourcedlg.hxx
parent5d034b9130f1481ad437812367855f577ce06da7 (diff)
Get the reference edit box to work properly.
Change-Id: Ifd01fe05312c0ece867100019a9f84162e5778c4
Diffstat (limited to 'sc/source/ui/inc/xmlsourcedlg.hxx')
-rw-r--r--sc/source/ui/inc/xmlsourcedlg.hxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/sc/source/ui/inc/xmlsourcedlg.hxx b/sc/source/ui/inc/xmlsourcedlg.hxx
index ee8225cd0d3c..c145f8b9ec4e 100644
--- a/sc/source/ui/inc/xmlsourcedlg.hxx
+++ b/sc/source/ui/inc/xmlsourcedlg.hxx
@@ -54,7 +54,8 @@ class ScXMLSourceDlg : public ScAnyRefDlg
ScDocument* mpDoc;
- bool mbRefMode;
+ formula::RefEdit* mpActiveEdit;
+ bool mbDlgLostFocus;
public:
ScXMLSourceDlg(
@@ -63,6 +64,7 @@ public:
virtual sal_Bool IsRefInputMode() const;
virtual void SetReference(const ScRange& rRange, ScDocument* pDoc);
+ virtual void Deactivate();
virtual void SetActive();
virtual sal_Bool Close();
@@ -70,7 +72,11 @@ private:
void SelectSourceFile();
void LoadSourceFileStructure(const OUString& rPath);
+ void HandleGetFocus(Control* pCtrl);
+ void HandleLoseFocus(Control* pCtrl);
+ DECL_LINK(GetFocusHdl, Control*);
+ DECL_LINK(LoseFocusHdl, Control*);
DECL_LINK(BtnPressedHdl, Button*);
};