Update to m13
[ooovba.git] / embedserv / source / inc / embservconst.h
blob07b1e2e765be73b2fa8ca6b1cf3fac257d5427fc
1 /*************************************************************************
3 * OpenOffice.org - a multi-platform office productivity suite
5 * $RCSfile: embservconst.h,v $
7 * $Revision: 1.1.8.2 $
9 * last change: $Author: mav $ $Date: 2008/10/30 11:59:06 $
11 * The Contents of this file are made available subject to
12 * the terms of GNU Lesser General Public License Version 2.1.
15 * GNU Lesser General Public License Version 2.1
16 * =============================================
17 * Copyright 2005 by Sun Microsystems, Inc.
18 * 901 San Antonio Road, Palo Alto, CA 94303, USA
20 * This library is free software; you can redistribute it and/or
21 * modify it under the terms of the GNU Lesser General Public
22 * License version 2.1, as published by the Free Software Foundation.
24 * This library is distributed in the hope that it will be useful,
25 * but WITHOUT ANY WARRANTY; without even the implied warranty of
26 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
27 * Lesser General Public License for more details.
29 * You should have received a copy of the GNU Lesser General Public
30 * License along with this library; if not, write to the Free Software
31 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
32 * MA 02111-1307 USA
34 ************************************************************************/
36 #ifndef _EMBSERVCONST_H_
37 #define _EMBSERVCONST_H_
39 #include <initguid.h>
41 #ifndef _COMPHELPER_CLASSIDS_HXX
42 #include <comphelper/classids.hxx>
43 #endif
45 #ifndef _SAL_TYPES_H_
46 #include <sal/types.h>
47 #endif
49 const sal_Int32 nConstBufferSize = 32000;
51 #define SUPPORTED_FACTORIES_NUM 10
53 #ifdef __MINGW32__
54 #define DECLSPEC_SELECTANY
55 #endif
56 #if defined(__MINGW32__) && !defined(INITGUID)
57 EXTERN_C const GUID DECLSPEC_SELECTANY OID_WriterTextServer;
58 EXTERN_C const GUID DECLSPEC_SELECTANY OID_WriterOASISTextServer;
60 EXTERN_C const GUID DECLSPEC_SELECTANY OID_CalcServer;
61 EXTERN_C const GUID DECLSPEC_SELECTANY OID_CalcOASISServer;
63 EXTERN_C const GUID DECLSPEC_SELECTANY OID_DrawingServer;
64 EXTERN_C const GUID DECLSPEC_SELECTANY OID_DrawingOASISServer;
66 EXTERN_C const GUID DECLSPEC_SELECTANY OID_PresentationServer;
67 EXTERN_C const GUID DECLSPEC_SELECTANY OID_PresentationOASISServer;
69 EXTERN_C const GUID DECLSPEC_SELECTANY OID_MathServer;
70 EXTERN_C const GUID DECLSPEC_SELECTANY OID_MathOASISServer;
71 #else
72 EXTERN_C const GUID DECLSPEC_SELECTANY OID_WriterTextServer = { SO3_SW_OLE_EMBED_CLASSID_60 };
73 EXTERN_C const GUID DECLSPEC_SELECTANY OID_WriterOASISTextServer = { SO3_SW_OLE_EMBED_CLASSID_8 };
75 EXTERN_C const GUID DECLSPEC_SELECTANY OID_CalcServer = { SO3_SC_OLE_EMBED_CLASSID_60 };
76 EXTERN_C const GUID DECLSPEC_SELECTANY OID_CalcOASISServer = { SO3_SC_OLE_EMBED_CLASSID_8 };
78 EXTERN_C const GUID DECLSPEC_SELECTANY OID_DrawingServer = { SO3_SDRAW_OLE_EMBED_CLASSID_60 };
79 EXTERN_C const GUID DECLSPEC_SELECTANY OID_DrawingOASISServer = { SO3_SDRAW_OLE_EMBED_CLASSID_8 };
81 EXTERN_C const GUID DECLSPEC_SELECTANY OID_PresentationServer = { SO3_SIMPRESS_OLE_EMBED_CLASSID_60 };
82 EXTERN_C const GUID DECLSPEC_SELECTANY OID_PresentationOASISServer = { SO3_SIMPRESS_OLE_EMBED_CLASSID_8 };
84 EXTERN_C const GUID DECLSPEC_SELECTANY OID_MathServer = { SO3_SM_OLE_EMBED_CLASSID_60 };
85 EXTERN_C const GUID DECLSPEC_SELECTANY OID_MathOASISServer = { SO3_SM_OLE_EMBED_CLASSID_8 };
86 #endif
88 #endif