merge the formfield patch from ooo-build
[ooovba.git] / sd / inc / glob.hxx
blobaee353afb454099ca4a295f75adbee964ec9e766
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: glob.hxx,v $
10 * $Revision: 1.13 $
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_GLOB_HXX
32 #define SD_GLOB_HXX
34 #include <tools/solar.h>
36 #include <rsc/rscsfx.hxx>
38 //------------------------------------------------------------------
40 #define DIA_SLOW 0
41 #define DIA_MEDIUM 1
42 #define DIA_FAST 2
44 #define SD_IF_SDAPP SFX_INTERFACE_SD_START + 0
45 #define SD_IF_SDDRAWDOCSHELL SFX_INTERFACE_SD_START + 1
46 #define SD_IF_SDVIEWSHELL SFX_INTERFACE_SD_START + 2
47 #define SD_IF_SDDRAWVIEWSHELL SFX_INTERFACE_SD_START + 3
48 #define SD_IF_SDOUTLINEVIEWSHELL SFX_INTERFACE_SD_START + 5
49 #define SD_IF_SDDRAWSTDOBJECTBAR SFX_INTERFACE_SD_START + 6
50 #define SD_IF_SDDRAWTEXTOBJECTBAR SFX_INTERFACE_SD_START + 7
51 #define SD_IF_SDDRAWBEZIEROBJECTBAR SFX_INTERFACE_SD_START + 8
52 #define SD_IF_SDDRAWGLUEPOINTSOBJECTBAR SFX_INTERFACE_SD_START + 9
53 #define SD_IF_SDGRAPHICDOCSHELL SFX_INTERFACE_SD_START + 10
54 #define SD_IF_SDGRAPHICVIEWSHELL SFX_INTERFACE_SD_START + 11
55 #define SD_IF_SDGRAPHICSTDOBJECTBAR SFX_INTERFACE_SD_START + 12
56 #define SD_IF_SDDRAWGRAFOBJECTBAR SFX_INTERFACE_SD_START + 13
57 #define SD_IF_SDPRESVIEWSHELL SFX_INTERFACE_SD_START + 14
58 #define SD_IF_SDPREVIEWVIEWSHELL SFX_INTERFACE_SD_START + 15
59 #define SD_IF_SDVIEWSHELLBASE SFX_INTERFACE_SD_START + 16
60 #define SD_IF_SD3DOBJECTBAR SFX_INTERFACE_SD_START + 17
61 #define SD_IF_SDFONTWORKOBJECTBAR SFX_INTERFACE_SD_START + 18
62 #define SD_IF_SDSLIDESORTERVIEWSHELL SFX_INTERFACE_SD_START + 19
63 #define SD_IF_SDTASKPANEVIEWSHELL SFX_INTERFACE_SD_START + 20
64 #define SD_IF_SDMASTERPAGESSELECTOR SFX_INTERFACE_SD_START + 21
65 #define SD_IF_SDLAYOUTMENU SFX_INTERFACE_SD_START + 22
66 #define SD_IF_SDDRAWMEDIAOBJECTBAR SFX_INTERFACE_SD_START + 23
67 #define SD_IF_SDLEFTIMPRESSPANESHELL SFX_INTERFACE_SD_START + 24
68 #define SD_IF_SDLEFTDRAWPANESHELL SFX_INTERFACE_SD_START + 25
69 #define SD_IF_SDRIGHTPANESHELL SFX_INTERFACE_SD_START + 26
70 #define SD_IF_SDDRAWTABLEOBJECTBAR SFX_INTERFACE_SD_START + 27
71 #define SD_IF_SDANNOTATIONSHELL SFX_INTERFACE_SD_START + 28
73 // Inventor-Id fuer StarDraw UserData
74 const UINT32 SdUDInventor=UINT32('S')*0x00000001+
75 UINT32('D')*0x00000100+
76 UINT32('U')*0x00010000+
77 UINT32('D')*0x01000000;
79 // Object-Ids fuer StarDraw UserData
80 #define SD_ANIMATIONINFO_ID 1
81 #define SD_IMAPINFO_ID 2
83 // FamilyId der Praesentationsvorlagen
84 #define SD_STYLE_FAMILY_GRAPHICS SFX_STYLE_FAMILY_PARA
85 #define SD_STYLE_FAMILY_PSEUDO SFX_STYLE_FAMILY_PSEUDO
86 #define SD_STYLE_FAMILY_CELL SFX_STYLE_FAMILY_FRAME
87 #define SD_STYLE_FAMILY_MASTERPAGE SFX_STYLE_FAMILY_PAGE // ex LT_FAMILY
89 // Trennzeichen zwischen Layoutname und Vorlagenname der Praesentationsvorlagen
90 #define SD_LT_SEPARATOR "~LT~"
92 // Optionsstream-Identifier
93 #define SD_OPTION_MORPHING "Morph"
94 #define SD_OPTION_VECTORIZE "Vectorize"
96 //------------------------------------------------------------------
98 #endif // _SD_GLOB_HXX