summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2009-12-29 12:32:37 -0500
committerKohei Yoshida <kyoshida@novell.com>2009-12-29 12:32:37 -0500
commit2605839fcb9701ebf3b9f1b773ad91cb3b669f78 (patch)
tree43c6f2e47b5fdf89437a2b1facb877d92672508b /inc
parentcfcb5a25dec927279a739d53884058b9221bcb49 (diff)
Load each xls document into frame.
Diffstat (limited to 'inc')
-rw-r--r--inc/global.hxx16
1 files changed, 15 insertions, 1 deletions
diff --git a/inc/global.hxx b/inc/global.hxx
index fbb780f..db9cf96 100644
--- a/inc/global.hxx
+++ b/inc/global.hxx
@@ -2,15 +2,29 @@
#ifndef __GLOBAL_HXX__
#define __GLOBAL_HXX__
-#include <com/sun/star/frame/XDesktop.hpp>
+#include "cppuhelper/implementationentry.hxx"
#include <string>
+namespace com { namespace sun { namespace star {
+ namespace frame {
+ class XDesktop;
+ }
+
+ namespace sheet {
+ class XSpreadsheetDocument;
+ }
+}}}
+
namespace test {
::com::sun::star::uno::Reference< ::com::sun::star::frame::XDesktop >
bootstrap();
+::com::sun::star::uno::Reference< ::com::sun::star::sheet::XSpreadsheetDocument >
+ loadComponent(const ::com::sun::star::uno::Reference<
+ ::com::sun::star::frame::XDesktop>& xDesktop, const ::rtl::OUString& rPath);
+
void info(const ::std::string& msg);
void error(const ::std::string& msg);