summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/xmlsourcedlg.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-09-28 20:22:23 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-11-28 13:28:21 -0500
commit8ca9f3c53e231bd528ff0f0a8af511ba9f517172 (patch)
treead4323c8e42e67537258ac5aaf22f27e4dce1235 /sc/source/ui/inc/xmlsourcedlg.hxx
parent650dbb4f1600aaceec1394c62355f3702ea28a05 (diff)
Use file picker dialog to pick the source xml file.
Change-Id: Ie927d8a83fa93e3f61c2c2133fe655854667854c
Diffstat (limited to 'sc/source/ui/inc/xmlsourcedlg.hxx')
-rw-r--r--sc/source/ui/inc/xmlsourcedlg.hxx14
1 files changed, 13 insertions, 1 deletions
diff --git a/sc/source/ui/inc/xmlsourcedlg.hxx b/sc/source/ui/inc/xmlsourcedlg.hxx
index 2213d4236948..5a54c70b84bf 100644
--- a/sc/source/ui/inc/xmlsourcedlg.hxx
+++ b/sc/source/ui/inc/xmlsourcedlg.hxx
@@ -15,6 +15,10 @@
#include "vcl/fixed.hxx"
#include "svtools/svtreebx.hxx"
+#include <boost/scoped_ptr.hpp>
+
+class ScDocument;
+
class ScXMLSourceTree : public SvTreeListBox
{
Image maImgElemDefault;
@@ -37,9 +41,17 @@ class ScXMLSourceDlg : public ModalDialog
Image maImgFileOpen;
+ ScDocument* mpDoc;
+
public:
- ScXMLSourceDlg(Window* pParent);
+ ScXMLSourceDlg(Window* pParent, ScDocument* pDoc);
virtual ~ScXMLSourceDlg();
+
+private:
+
+ void SelectSourceFile();
+
+ DECL_LINK(BtnPressedHdl, Button*);
};
#endif