summaryrefslogtreecommitdiff
path: root/sfx2/inc
diff options
context:
space:
mode:
authorAndreas Bregas <ab@openoffice.org>2000-11-13 11:43:17 +0000
committerAndreas Bregas <ab@openoffice.org>2000-11-13 11:43:17 +0000
commitbc45c46215b7296a898ec06fb3598102fc05a3ca (patch)
tree4da409d279ce69c0d72778be3672ee2a80d6f5d6 /sfx2/inc
parentf2a12478d68ca15cfa786bfaf86f99bb4575d76a (diff)
new CreateLib method for XML import/export
Diffstat (limited to 'sfx2/inc')
-rw-r--r--sfx2/inc/basmgr.hxx19
1 files changed, 17 insertions, 2 deletions
diff --git a/sfx2/inc/basmgr.hxx b/sfx2/inc/basmgr.hxx
index 495608c0f0bb..8165ccd0f543 100644
--- a/sfx2/inc/basmgr.hxx
+++ b/sfx2/inc/basmgr.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: basmgr.hxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 16:52:22 $
+ * last change: $Author: ab $ $Date: 2000-11-13 12:43:17 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -66,8 +66,20 @@
#include <basic/basmgr.hxx>
#endif
+#ifndef _COM_SUN_STAR_SCRIPT_XSTARBASICACCESS_HPP_
+#include <com/sun/star/script/XStarBasicAccess.hpp>
+#endif
+
+
+// Basic XML Import/Export
+com::sun::star::uno::Reference< com::sun::star::script::XStarBasicAccess >
+ getStarBasicAccess( BasicManager* pMgr );
+
+
class SfxBasicManager : public BasicManager
{
+ friend class LibraryContainer_Impl;
+
private:
BasicLibs* pLibs;
BasicErrorManager* pErrorMgr;
@@ -140,6 +152,9 @@ public:
BOOL IsExtern( USHORT nLib );
StarBASIC* CreateLib( const String& rLibName );
+ // For XML import/export:
+ StarBASIC* CreateLib( const String& rLibName, const String& Password,
+ const String& ExternalSourceURL, const String& LinkTargetURL );
StarBASIC* AddLib( SvStorage& rStorage, const String& rLibName, BOOL bReference );
void AddLib( StarBASIC* pLib );
BOOL MoveLib( USHORT nLib, USHORT nNewPos );