Update ooo320-m1
[ooovba.git] / binfilter / inc / bf_sd / grdocsh.hxx
blob8283ff0f343fa272934d46f3efbc09eeecbc533e
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: grdocsh.hxx,v $
10 * $Revision: 1.3 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #ifndef _SD_GRDOCSH_HXX
32 #define _SD_GRDOCSH_HXX
34 #ifndef _SFX_OBJFAC_HXX //autogen
35 #include <bf_sfx2/docfac.hxx>
36 #endif
37 #ifndef _SFX_INTERNO_HXX //autogen
38 #include <bf_sfx2/interno.hxx>
39 #endif
40 #ifndef _SFX_OBJSH_HXX //autogen
41 #include <bf_sfx2/objsh.hxx>
42 #endif
44 #ifndef _SD_DOCSHELL_HXX
45 #include "docshell.hxx"
46 #endif
47 #ifndef _SD_GLOB_HXX
48 #include "glob.hxx"
49 #endif
50 #ifndef _SDMOD_HXX
51 #include "sdmod.hxx"
52 #endif
53 #ifndef _PRESENTATION_HXX
54 #include "pres.hxx"
55 #endif
56 namespace binfilter {
59 /*************************************************************************
61 |* Document-Shell fuer Draw-Dokumente
63 \************************************************************************/
65 class SdGraphicDocShell : public SdDrawDocShell
67 public:
68 TYPEINFO();
70 SFX_DECL_OBJECTFACTORY_DLL(SdGraphicDocShell, SD_MOD());
72 SdGraphicDocShell(SfxObjectCreateMode eMode = SFX_CREATE_MODE_EMBEDDED,
73 BOOL bSdDataObj=FALSE, DocumentType=DOCUMENT_TYPE_DRAW);
74 SdGraphicDocShell(SdDrawDocument* pDoc, SfxObjectCreateMode eMode = SFX_CREATE_MODE_EMBEDDED,
75 BOOL bSdDataObj=FALSE, DocumentType=DOCUMENT_TYPE_DRAW);
76 ~SdGraphicDocShell();
79 #ifndef SV_DECL_SDGRAPHICDOCSHELL_DEFINED
80 #define SV_DECL_SDGRAPHICDOCSHELL_DEFINED
81 SV_DECL_REF(SdGraphicDocShell)
82 #endif
84 SV_IMPL_REF (SdGraphicDocShell)
87 } //namespace binfilter
88 #endif // _SD_GRDOCSH_HXX