diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2011-03-01 14:08:19 -0500 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2011-03-01 16:15:59 -0500 |
commit | 65b0689ed0e28a82fdaa24268dba9d65654975d3 (patch) | |
tree | aba277eac05ba810de6f678a6bc379e125682542 /sc/source/ui/inc/dapitype.hxx | |
parent | 6529718c2262125ba952ecb7910c356afd2f3611 (diff) |
Initial change to display named range option in the source dialog.
Diffstat (limited to 'sc/source/ui/inc/dapitype.hxx')
-rw-r--r-- | sc/source/ui/inc/dapitype.hxx | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/sc/source/ui/inc/dapitype.hxx b/sc/source/ui/inc/dapitype.hxx index 25b3453822e0..ff4f3863eef8 100644 --- a/sc/source/ui/inc/dapitype.hxx +++ b/sc/source/ui/inc/dapitype.hxx @@ -36,6 +36,8 @@ #include <vcl/lstbox.hxx> #include <com/sun/star/uno/Sequence.hxx> +#include <vector> + //------------------------------------------------------------------------ class ScDataPilotSourceTypeDlg : public ModalDialog @@ -43,6 +45,8 @@ class ScDataPilotSourceTypeDlg : public ModalDialog private: FixedLine aFlFrame; RadioButton aBtnSelection; + RadioButton aBtnNamedRange; + ListBox aLbNamedRange; RadioButton aBtnDatabase; RadioButton aBtnExternal; OKButton aBtnOk; @@ -53,8 +57,11 @@ public: ScDataPilotSourceTypeDlg( Window* pParent, BOOL bEnableExternal ); ~ScDataPilotSourceTypeDlg(); - BOOL IsDatabase() const; - BOOL IsExternal() const; + bool IsDatabase() const; + bool IsExternal() const; + bool IsNamedRange() const; + rtl::OUString GetSelectedNamedRange() const; + void SetNamedRanges(const ::std::vector<rtl::OUString>& rNames); }; |