summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2004-10-04 18:39:11 +0000
committerKurt Zenker <kz@openoffice.org>2004-10-04 18:39:11 +0000
commit4714422468ae1736659b6e15bff14e3095184ee6 (patch)
tree5e65ebb496a342ac9b23865d3d04c6800afa7bc8
parent62669d59da045288a337314389b49585215d437f (diff)
INTEGRATION: CWS mav09 (1.10.34); FILE MERGED
2004/09/16 21:41:22 mav 1.10.34.4: RESYNC: (1.10-1.11); FILE MERGED 2004/08/12 17:01:40 mav 1.10.34.3: #i27773# introduce version back 2004/05/04 13:03:16 mba 1.10.34.2: #i27773#: remove so3 2004/04/14 13:56:06 mba 1.10.34.1: #i27773#: remove so3; new storage API
-rw-r--r--basctl/source/basicide/basdoc.cxx40
1 files changed, 14 insertions, 26 deletions
diff --git a/basctl/source/basicide/basdoc.cxx b/basctl/source/basicide/basdoc.cxx
index 6ab54c3269f2..1bf5c1406ef4 100644
--- a/basctl/source/basicide/basdoc.cxx
+++ b/basctl/source/basicide/basdoc.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: basdoc.cxx,v $
*
- * $Revision: 1.12 $
+ * $Revision: 1.13 $
*
- * last change: $Author: rt $ $Date: 2004-09-20 09:59:58 $
+ * last change: $Author: kz $ $Date: 2004-10-04 19:39:11 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -75,7 +75,6 @@
#include <svx/xmlsecctrl.hxx>
#include <basdoc.hxx>
-#include <basidesh.hrc>
#define BasicDocShell
#include <basslots.hxx>
@@ -86,13 +85,7 @@
TYPEINIT1(BasicDocShell, SfxObjectShell);
DBG_NAME(BasicDocShell);
-SFX_IMPL_SIMPLE_OBJECTFACTORY( BasicDocShell, SFXOBJECTSHELL_STD_NORMAL, sbasic )
-{
- Factory().SetExplorerImageId( IMG_MACROLIB );
- Factory().RegisterHelpFile( String( RTL_CONSTASCII_USTRINGPARAM( "sbasic" ) ) );
- Factory().SetDocumentServiceName( String::CreateFromAscii("com.sun.star.script.BasicIDE") );
- Factory().RegisterMenuBar( IDEResId(RID_BASICMENU) );
-}
+SFX_IMPL_OBJECTFACTORY( BasicDocShell, SvGlobalName(), SFXOBJECTSHELL_STD_NORMAL, "sbasic" )
SFX_IMPL_INTERFACE( BasicDocShell, SfxObjectShell, IDEResId( 0 ) )
{
@@ -107,31 +100,19 @@ BasicDocShell::BasicDocShell( SfxObjectCreateMode eMode ) : SfxObjectShell( eMod
SetModel( new SIDEModel(this) );
}
-
-
-
__EXPORT BasicDocShell::~BasicDocShell()
{
delete pPrinter;
}
-
-
-
void __EXPORT BasicDocShell::Execute( SfxRequest& rReq )
{
}
-
-
-
void __EXPORT BasicDocShell::GetState(SfxItemSet &rSet)
{
}
-
-
-
SfxPrinter* BasicDocShell::GetPrinter( BOOL bCreate )
{
if ( !pPrinter && bCreate )
@@ -140,9 +121,6 @@ SfxPrinter* BasicDocShell::GetPrinter( BOOL bCreate )
return pPrinter;
}
-
-
-
void BasicDocShell::SetPrinter( SfxPrinter* pPr )
{
if ( pPr != pPrinter )
@@ -152,7 +130,6 @@ void BasicDocShell::SetPrinter( SfxPrinter* pPr )
}
}
-
void BasicDocShell::FillStatusBar( StatusBar& rStatusBar )
{
String aTmp;
@@ -189,4 +166,15 @@ void BasicDocShell::FillStatusBar( StatusBar& rStatusBar )
}
+void BasicDocShell::FillClass( SvGlobalName * pClassName,
+ sal_uInt32 * pFormat,
+ String * pAppName,
+ String * pFullTypeName,
+ String * pShortTypeName,
+ sal_Int32 nVersion ) const
+{}
+
+void BasicDocShell::Draw( OutputDevice *, const JobSetup & rSetup,
+ USHORT nAspect )
+{}