1 /*************************************************************************
3 * OpenOffice.org - a multi-platform office productivity suite
5 * $RCSfile: embservconst.h,v $
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,
34 ************************************************************************/
36 #ifndef _EMBSERVCONST_H_
37 #define _EMBSERVCONST_H_
41 #ifndef _COMPHELPER_CLASSIDS_HXX
42 #include <comphelper/classids.hxx>
46 #include <sal/types.h>
49 const sal_Int32 nConstBufferSize
= 32000;
51 #define SUPPORTED_FACTORIES_NUM 10
54 #define DECLSPEC_SELECTANY
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
;
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
};