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
This commit is contained in:
Kurt Zenker 2004-10-04 18:39:11 +00:00
parent 62669d59da
commit 4714422468

View file

@ -2,9 +2,9 @@
* *
* $RCSfile: basdoc.cxx,v $ * $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 * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
@ -75,7 +75,6 @@
#include <svx/xmlsecctrl.hxx> #include <svx/xmlsecctrl.hxx>
#include <basdoc.hxx> #include <basdoc.hxx>
#include <basidesh.hrc>
#define BasicDocShell #define BasicDocShell
#include <basslots.hxx> #include <basslots.hxx>
@ -86,13 +85,7 @@
TYPEINIT1(BasicDocShell, SfxObjectShell); TYPEINIT1(BasicDocShell, SfxObjectShell);
DBG_NAME(BasicDocShell); DBG_NAME(BasicDocShell);
SFX_IMPL_SIMPLE_OBJECTFACTORY( BasicDocShell, SFXOBJECTSHELL_STD_NORMAL, sbasic ) SFX_IMPL_OBJECTFACTORY( BasicDocShell, SvGlobalName(), 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_INTERFACE( BasicDocShell, SfxObjectShell, IDEResId( 0 ) ) SFX_IMPL_INTERFACE( BasicDocShell, SfxObjectShell, IDEResId( 0 ) )
{ {
@ -107,31 +100,19 @@ BasicDocShell::BasicDocShell( SfxObjectCreateMode eMode ) : SfxObjectShell( eMod
SetModel( new SIDEModel(this) ); SetModel( new SIDEModel(this) );
} }
__EXPORT BasicDocShell::~BasicDocShell() __EXPORT BasicDocShell::~BasicDocShell()
{ {
delete pPrinter; delete pPrinter;
} }
void __EXPORT BasicDocShell::Execute( SfxRequest& rReq ) void __EXPORT BasicDocShell::Execute( SfxRequest& rReq )
{ {
} }
void __EXPORT BasicDocShell::GetState(SfxItemSet &rSet) void __EXPORT BasicDocShell::GetState(SfxItemSet &rSet)
{ {
} }
SfxPrinter* BasicDocShell::GetPrinter( BOOL bCreate ) SfxPrinter* BasicDocShell::GetPrinter( BOOL bCreate )
{ {
if ( !pPrinter && bCreate ) if ( !pPrinter && bCreate )
@ -140,9 +121,6 @@ SfxPrinter* BasicDocShell::GetPrinter( BOOL bCreate )
return pPrinter; return pPrinter;
} }
void BasicDocShell::SetPrinter( SfxPrinter* pPr ) void BasicDocShell::SetPrinter( SfxPrinter* pPr )
{ {
if ( pPr != pPrinter ) if ( pPr != pPrinter )
@ -152,7 +130,6 @@ void BasicDocShell::SetPrinter( SfxPrinter* pPr )
} }
} }
void BasicDocShell::FillStatusBar( StatusBar& rStatusBar ) void BasicDocShell::FillStatusBar( StatusBar& rStatusBar )
{ {
String aTmp; 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 )
{}