summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2011-11-19 04:37:03 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2011-11-23 06:25:32 +0100
commitb3d22ae4ca7ad191f6f807c72660b78d3ac6e833 (patch)
treea650871e7329c5af11996d387c36ffcf2c965e3f /sc/source/ui/inc
parent1e6ad2af4bfd14f96926cd976fb2edb626de3d10 (diff)
ManageNames: make Define Name dialog work again
Diffstat (limited to 'sc/source/ui/inc')
-rw-r--r--sc/source/ui/inc/namedefdlg.hxx9
-rw-r--r--sc/source/ui/inc/namemgrtable.hxx2
-rw-r--r--sc/source/ui/inc/reffact.hxx1
3 files changed, 11 insertions, 1 deletions
diff --git a/sc/source/ui/inc/namedefdlg.hxx b/sc/source/ui/inc/namedefdlg.hxx
index 33a1ae2cacbf..acb533403411 100644
--- a/sc/source/ui/inc/namedefdlg.hxx
+++ b/sc/source/ui/inc/namedefdlg.hxx
@@ -76,11 +76,20 @@ private:
DECL_LINK( CancelBtnHdl, void * );
DECL_LINK( AddBtnHdl, void* );
DECL_LINK( NameModifyHdl, void* );
+
+protected:
+ virtual void RefInputDone( sal_Bool bForced = sal_False );
+
public:
ScNameDefDlg( SfxBindings* pB, SfxChildWindow* pCW, Window* pParent,
ScDocument* pDoc, std::map<rtl::OUString, ScRangeName*> aRangeMap,
const ScAddress& aCursorPos, const bool bUndo);
+ virtual void SetReference( const ScRange& rRef, ScDocument* pDoc );
+ virtual sal_Bool IsRefInputMode() const;
+
+ virtual void SetActive();
+ virtual sal_Bool Close();
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/namemgrtable.hxx b/sc/source/ui/inc/namemgrtable.hxx
index 52d864f235e2..efe7bc297f49 100644
--- a/sc/source/ui/inc/namemgrtable.hxx
+++ b/sc/source/ui/inc/namemgrtable.hxx
@@ -39,7 +39,7 @@ struct ScRangeNameLine
//TODO: cache the lines for performance improvements
//otherwise handling of a large set of range names might get extremely slow
//Need some sort of a filter to handle several range names
-SC_DLLPUBLIC class ScRangeManagerTable : public SvTabListBox
+class SC_DLLPUBLIC ScRangeManagerTable : public SvTabListBox
{
private:
HeaderBar maHeaderBar;
diff --git a/sc/source/ui/inc/reffact.hxx b/sc/source/ui/inc/reffact.hxx
index fc30485dbe92..63e55ef769c2 100644
--- a/sc/source/ui/inc/reffact.hxx
+++ b/sc/source/ui/inc/reffact.hxx
@@ -45,6 +45,7 @@
//==================================================================
DECL_WRAPPER(ScNameDlgWrapper)
+DECL_WRAPPER(ScNameDefDlgWrapper)
DECL_WRAPPER(ScSolverDlgWrapper)
DECL_WRAPPER(ScOptSolverDlgWrapper)
DECL_WRAPPER(ScPivotLayoutWrapper)