2004-01-20 04:34:13 -06:00
|
|
|
/*************************************************************************
|
|
|
|
*
|
2008-04-10 14:40:50 -05:00
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
2004-01-20 04:34:13 -06:00
|
|
|
*
|
2008-04-10 14:40:50 -05:00
|
|
|
* Copyright 2008 by Sun Microsystems, Inc.
|
2004-01-20 04:34:13 -06:00
|
|
|
*
|
2008-04-10 14:40:50 -05:00
|
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
2004-01-20 04:34:13 -06:00
|
|
|
*
|
2008-04-10 14:40:50 -05:00
|
|
|
* $RCSfile: GraphicDocShell.hxx,v $
|
|
|
|
* $Revision: 1.7 $
|
2004-01-20 04:34:13 -06:00
|
|
|
*
|
2008-04-10 14:40:50 -05:00
|
|
|
* This file is part of OpenOffice.org.
|
2004-01-20 04:34:13 -06:00
|
|
|
*
|
2008-04-10 14:40:50 -05:00
|
|
|
* OpenOffice.org is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU Lesser General Public License version 3
|
|
|
|
* only, as published by the Free Software Foundation.
|
2004-01-20 04:34:13 -06:00
|
|
|
*
|
2008-04-10 14:40:50 -05:00
|
|
|
* OpenOffice.org is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU Lesser General Public License version 3 for more details
|
|
|
|
* (a copy is included in the LICENSE file that accompanied this code).
|
2004-01-20 04:34:13 -06:00
|
|
|
*
|
2008-04-10 14:40:50 -05:00
|
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
|
|
* version 3 along with OpenOffice.org. If not, see
|
|
|
|
* <http://www.openoffice.org/license.html>
|
|
|
|
* for a copy of the LGPLv3 License.
|
2004-01-20 04:34:13 -06:00
|
|
|
*
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
#ifndef SD_GRAPHIC_DOC_SHELL_HXX
|
|
|
|
#define SD_GRAPHIC_DOC_SHELL_HXX
|
|
|
|
|
|
|
|
#include <sfx2/docfac.hxx>
|
|
|
|
#include <sfx2/objsh.hxx>
|
|
|
|
#include "DrawDocShell.hxx"
|
|
|
|
#include "glob.hxx"
|
|
|
|
#include "sdmod.hxx"
|
|
|
|
#include "pres.hxx"
|
|
|
|
|
|
|
|
namespace sd {
|
|
|
|
|
|
|
|
/*************************************************************************
|
|
|
|
|*
|
|
|
|
|* Document-Shell fuer Draw-Dokumente
|
|
|
|
|*
|
|
|
|
\************************************************************************/
|
|
|
|
|
|
|
|
class GraphicDocShell
|
|
|
|
: public DrawDocShell
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
TYPEINFO();
|
|
|
|
|
2006-12-12 10:33:44 -06:00
|
|
|
SFX_DECL_INTERFACE(SD_IF_SDGRAPHICDOCSHELL)
|
2004-10-04 12:36:13 -05:00
|
|
|
SFX_DECL_OBJECTFACTORY();
|
2004-01-20 04:34:13 -06:00
|
|
|
|
2006-12-12 10:33:44 -06:00
|
|
|
using SotObject::GetInterface;
|
|
|
|
|
2004-01-20 04:34:13 -06:00
|
|
|
GraphicDocShell (
|
|
|
|
SfxObjectCreateMode eMode = SFX_CREATE_MODE_EMBEDDED,
|
|
|
|
BOOL bSdDataObj=FALSE,
|
2008-03-06 11:58:19 -06:00
|
|
|
DocumentType=DOCUMENT_TYPE_DRAW,
|
|
|
|
BOOL bScriptSupport=TRUE);
|
2006-12-12 10:33:44 -06:00
|
|
|
|
2004-01-20 04:34:13 -06:00
|
|
|
virtual ~GraphicDocShell (void);
|
|
|
|
};
|
|
|
|
|
|
|
|
#ifndef SV_DECL_SD_GRAPHIC_DOC_SHELL_DEFINED
|
|
|
|
#define SV_DECL_SD_GRAPHIC_DOC_SHELL_DEFINED
|
|
|
|
SV_DECL_REF(GraphicDocShell)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
SV_IMPL_REF (GraphicDocShell)
|
|
|
|
|
|
|
|
} // end of namespace sd
|
|
|
|
|
|
|
|
#endif
|