xref: /aoo41x/main/sd/inc/glob.hxx (revision cdf0e10c)
1 /*************************************************************************
2  *
3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4  *
5  * Copyright 2000, 2010 Oracle and/or its affiliates.
6  *
7  * OpenOffice.org - a multi-platform office productivity suite
8  *
9  * This file is part of OpenOffice.org.
10  *
11  * OpenOffice.org is free software: you can redistribute it and/or modify
12  * it under the terms of the GNU Lesser General Public License version 3
13  * only, as published by the Free Software Foundation.
14  *
15  * OpenOffice.org is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18  * GNU Lesser General Public License version 3 for more details
19  * (a copy is included in the LICENSE file that accompanied this code).
20  *
21  * You should have received a copy of the GNU Lesser General Public License
22  * version 3 along with OpenOffice.org.  If not, see
23  * <http://www.openoffice.org/license.html>
24  * for a copy of the LGPLv3 License.
25  *
26  ************************************************************************/
27 
28 #ifndef SD_GLOB_HXX
29 #define SD_GLOB_HXX
30 
31 #include <tools/solar.h>
32 
33 #include <rsc/rscsfx.hxx>
34 
35 //------------------------------------------------------------------
36 
37 #define DIA_SLOW	0
38 #define DIA_MEDIUM	1
39 #define DIA_FAST	2
40 
41 #define SD_IF_SDAPP                     SFX_INTERFACE_SD_START + 0
42 #define SD_IF_SDDRAWDOCSHELL            SFX_INTERFACE_SD_START + 1
43 #define SD_IF_SDVIEWSHELL               SFX_INTERFACE_SD_START + 2
44 #define SD_IF_SDDRAWVIEWSHELL           SFX_INTERFACE_SD_START + 3
45 #define SD_IF_SDOUTLINEVIEWSHELL        SFX_INTERFACE_SD_START + 5
46 #define SD_IF_SDDRAWSTDOBJECTBAR        SFX_INTERFACE_SD_START + 6
47 #define SD_IF_SDDRAWTEXTOBJECTBAR       SFX_INTERFACE_SD_START + 7
48 #define SD_IF_SDDRAWBEZIEROBJECTBAR     SFX_INTERFACE_SD_START + 8
49 #define SD_IF_SDDRAWGLUEPOINTSOBJECTBAR SFX_INTERFACE_SD_START + 9
50 #define SD_IF_SDGRAPHICDOCSHELL         SFX_INTERFACE_SD_START + 10
51 #define SD_IF_SDGRAPHICVIEWSHELL        SFX_INTERFACE_SD_START + 11
52 #define SD_IF_SDGRAPHICSTDOBJECTBAR     SFX_INTERFACE_SD_START + 12
53 #define SD_IF_SDDRAWGRAFOBJECTBAR		SFX_INTERFACE_SD_START + 13
54 #define SD_IF_SDPRESVIEWSHELL           SFX_INTERFACE_SD_START + 14
55 #define SD_IF_SDPREVIEWVIEWSHELL        SFX_INTERFACE_SD_START + 15
56 #define SD_IF_SDVIEWSHELLBASE           SFX_INTERFACE_SD_START + 16
57 #define SD_IF_SD3DOBJECTBAR				SFX_INTERFACE_SD_START + 17
58 #define SD_IF_SDFONTWORKOBJECTBAR		SFX_INTERFACE_SD_START + 18
59 #define SD_IF_SDSLIDESORTERVIEWSHELL    SFX_INTERFACE_SD_START + 19
60 #define SD_IF_SDTASKPANEVIEWSHELL       SFX_INTERFACE_SD_START + 20
61 #define SD_IF_SDMASTERPAGESSELECTOR     SFX_INTERFACE_SD_START + 21
62 #define SD_IF_SDLAYOUTMENU              SFX_INTERFACE_SD_START + 22
63 #define SD_IF_SDDRAWMEDIAOBJECTBAR		SFX_INTERFACE_SD_START + 23
64 #define SD_IF_SDLEFTIMPRESSPANESHELL    SFX_INTERFACE_SD_START + 24
65 #define SD_IF_SDLEFTDRAWPANESHELL       SFX_INTERFACE_SD_START + 25
66 #define SD_IF_SDRIGHTPANESHELL          SFX_INTERFACE_SD_START + 26
67 #define SD_IF_SDDRAWTABLEOBJECTBAR		SFX_INTERFACE_SD_START + 27
68 #define SD_IF_SDANNOTATIONSHELL         SFX_INTERFACE_SD_START + 28
69 #define SD_IF_SDTOOLPANELPANESHELL      SFX_INTERFACE_SD_START + 29
70 #define SD_IF_SDTOOLPANELSHELL          SFX_INTERFACE_SD_START + 30
71 
72 // Inventor-Id fuer StarDraw UserData
73 const sal_uInt32 SdUDInventor=sal_uInt32('S')*0x00000001+
74 						  sal_uInt32('D')*0x00000100+
75 						  sal_uInt32('U')*0x00010000+
76 						  sal_uInt32('D')*0x01000000;
77 
78 // Object-Ids fuer StarDraw UserData
79 #define SD_ANIMATIONINFO_ID 1
80 #define SD_IMAPINFO_ID		2
81 
82 // FamilyId der Praesentationsvorlagen
83 #define SD_STYLE_FAMILY_GRAPHICS		SFX_STYLE_FAMILY_PARA
84 #define SD_STYLE_FAMILY_PSEUDO			SFX_STYLE_FAMILY_PSEUDO
85 #define SD_STYLE_FAMILY_CELL			SFX_STYLE_FAMILY_FRAME
86 #define SD_STYLE_FAMILY_MASTERPAGE		SFX_STYLE_FAMILY_PAGE		// ex LT_FAMILY
87 
88 // Trennzeichen zwischen Layoutname und Vorlagenname der Praesentationsvorlagen
89 #define SD_LT_SEPARATOR "~LT~"
90 
91 // Optionsstream-Identifier
92 #define SD_OPTION_MORPHING	"Morph"
93 #define SD_OPTION_VECTORIZE "Vectorize"
94 
95 //------------------------------------------------------------------
96 
97 #endif // _SD_GLOB_HXX
98 
99 
100