1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: grdocsh.hxx,v $
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>
37 #ifndef _SFX_INTERNO_HXX //autogen
38 #include <bf_sfx2/interno.hxx>
40 #ifndef _SFX_OBJSH_HXX //autogen
41 #include <bf_sfx2/objsh.hxx>
44 #ifndef _SD_DOCSHELL_HXX
45 #include "docshell.hxx"
53 #ifndef _PRESENTATION_HXX
59 /*************************************************************************
61 |* Document-Shell fuer Draw-Dokumente
63 \************************************************************************/
65 class SdGraphicDocShell
: public SdDrawDocShell
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
);
79 #ifndef SV_DECL_SDGRAPHICDOCSHELL_DEFINED
80 #define SV_DECL_SDGRAPHICDOCSHELL_DEFINED
81 SV_DECL_REF(SdGraphicDocShell
)
84 SV_IMPL_REF (SdGraphicDocShell
)
87 } //namespace binfilter
88 #endif // _SD_GRDOCSH_HXX