summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2011-11-18 23:39:01 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2011-11-23 06:25:31 +0100
commit1e6ad2af4bfd14f96926cd976fb2edb626de3d10 (patch)
tree9d18cdf852b16df705409bdf417c8a4a975c5fef /sc/inc
parent3224ddaf1a2039e19f3acdb74cf61a973da343b1 (diff)
ManageNames: restructure the code
move namepast.cxx to namedlg namedefdlg is "modeless"(only in technical sense) and needs to be in sc while namepast is modal and needs to be in scui move the table implementation to an own file, we can reuse it for namepast.cxx
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/scabstdlg.hxx11
1 files changed, 2 insertions, 9 deletions
diff --git a/sc/inc/scabstdlg.hxx b/sc/inc/scabstdlg.hxx
index ecb6fe610915..43e674e42eb2 100644
--- a/sc/inc/scabstdlg.hxx
+++ b/sc/inc/scabstdlg.hxx
@@ -230,12 +230,8 @@ public:
class AbstractScNamePasteDlg : public VclAbstractDialog //add for ScNamePasteDlg
{
public:
- virtual String GetSelectedName() const = 0;
-};
-
-class AbstractScNameAddDlg : public VclAbstractDialog // Define Name Dialog
-{
-public:
+ virtual std::vector<rtl::OUString> GetSelectedNames() const = 0;
+ virtual bool IsAllSelected() const = 0;
};
class AbstractScPivotFilterDlg : public VclAbstractDialog //add for ScPivotFilterDlg
@@ -424,9 +420,6 @@ public:
virtual AbstractScNamePasteDlg * CreateScNamePasteDlg ( Window * pParent, const ScRangeName* pList, //add for ScNamePasteDlg
const ScRangeName* pLocalList, int nId , bool bInsList=true ) = 0;
- virtual AbstractScNameAddDlg* CreateScNameAddDlg ( Window* pParent, ScDocument* pDoc, std::map<rtl::OUString, ScRangeName*> aRangeMap,
- const ScAddress& aCursorPos, const bool bUndo, int nId) = 0;
-
virtual AbstractScPivotFilterDlg * CreateScPivotFilterDlg ( Window* pParent, //add for ScPivotFilterDlg
const SfxItemSet& rArgSet, sal_uInt16 nSourceTab , int nId ) = 0;