xref: /aoo41x/main/sd/inc/glob.hxx (revision 7a32b0c8)
1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 
24 #ifndef SD_GLOB_HXX
25 #define SD_GLOB_HXX
26 
27 #include <tools/solar.h>
28 
29 #include <rsc/rscsfx.hxx>
30 
31 //------------------------------------------------------------------
32 
33 #define DIA_SLOW	0
34 #define DIA_MEDIUM	1
35 #define DIA_FAST	2
36 
37 #define SD_IF_SDAPP                     SFX_INTERFACE_SD_START + 0
38 #define SD_IF_SDDRAWDOCSHELL            SFX_INTERFACE_SD_START + 1
39 #define SD_IF_SDVIEWSHELL               SFX_INTERFACE_SD_START + 2
40 #define SD_IF_SDDRAWVIEWSHELL           SFX_INTERFACE_SD_START + 3
41 #define SD_IF_SDOUTLINEVIEWSHELL        SFX_INTERFACE_SD_START + 5
42 #define SD_IF_SDDRAWSTDOBJECTBAR        SFX_INTERFACE_SD_START + 6
43 #define SD_IF_SDDRAWTEXTOBJECTBAR       SFX_INTERFACE_SD_START + 7
44 #define SD_IF_SDDRAWBEZIEROBJECTBAR     SFX_INTERFACE_SD_START + 8
45 #define SD_IF_SDDRAWGLUEPOINTSOBJECTBAR SFX_INTERFACE_SD_START + 9
46 #define SD_IF_SDGRAPHICDOCSHELL         SFX_INTERFACE_SD_START + 10
47 #define SD_IF_SDGRAPHICVIEWSHELL        SFX_INTERFACE_SD_START + 11
48 #define SD_IF_SDGRAPHICSTDOBJECTBAR     SFX_INTERFACE_SD_START + 12
49 #define SD_IF_SDDRAWGRAFOBJECTBAR		SFX_INTERFACE_SD_START + 13
50 #define SD_IF_SDPRESVIEWSHELL           SFX_INTERFACE_SD_START + 14
51 #define SD_IF_SDPREVIEWVIEWSHELL        SFX_INTERFACE_SD_START + 15
52 #define SD_IF_SDVIEWSHELLBASE           SFX_INTERFACE_SD_START + 16
53 #define SD_IF_SD3DOBJECTBAR				SFX_INTERFACE_SD_START + 17
54 #define SD_IF_SDFONTWORKOBJECTBAR		SFX_INTERFACE_SD_START + 18
55 #define SD_IF_SDSLIDESORTERVIEWSHELL    SFX_INTERFACE_SD_START + 19
56 #define SD_IF_SDSIDEBARVIEWSHELL        SFX_INTERFACE_SD_START + 20
57 #define SD_IF_SDMASTERPAGESSELECTOR     SFX_INTERFACE_SD_START + 21
58 #define SD_IF_SDLAYOUTMENU              SFX_INTERFACE_SD_START + 22
59 #define SD_IF_SDDRAWMEDIAOBJECTBAR		SFX_INTERFACE_SD_START + 23
60 #define SD_IF_SDLEFTIMPRESSPANESHELL    SFX_INTERFACE_SD_START + 24
61 #define SD_IF_SDLEFTDRAWPANESHELL       SFX_INTERFACE_SD_START + 25
62 #define SD_IF_SDRIGHTPANESHELL          SFX_INTERFACE_SD_START + 26
63 #define SD_IF_SDDRAWTABLEOBJECTBAR		SFX_INTERFACE_SD_START + 27
64 #define SD_IF_SDANNOTATIONSHELL         SFX_INTERFACE_SD_START + 28
65 #define SD_IF_SDTOOLPANELPANESHELL      SFX_INTERFACE_SD_START + 29
66 #define SD_IF_SDTOOLPANELSHELL          SFX_INTERFACE_SD_START + 30
67 
68 // Inventor-Id fuer StarDraw UserData
69 const sal_uInt32 SdUDInventor=sal_uInt32('S')*0x00000001+
70 						  sal_uInt32('D')*0x00000100+
71 						  sal_uInt32('U')*0x00010000+
72 						  sal_uInt32('D')*0x01000000;
73 
74 // Object-Ids fuer StarDraw UserData
75 #define SD_ANIMATIONINFO_ID 1
76 #define SD_IMAPINFO_ID		2
77 
78 // FamilyId der Praesentationsvorlagen
79 #define SD_STYLE_FAMILY_GRAPHICS		SFX_STYLE_FAMILY_PARA
80 #define SD_STYLE_FAMILY_PSEUDO			SFX_STYLE_FAMILY_PSEUDO
81 #define SD_STYLE_FAMILY_CELL			SFX_STYLE_FAMILY_FRAME
82 #define SD_STYLE_FAMILY_MASTERPAGE		SFX_STYLE_FAMILY_PAGE		// ex LT_FAMILY
83 
84 // Trennzeichen zwischen Layoutname und Vorlagenname der Praesentationsvorlagen
85 #define SD_LT_SEPARATOR "~LT~"
86 
87 // Optionsstream-Identifier
88 #define SD_OPTION_MORPHING	"Morph"
89 #define SD_OPTION_VECTORIZE "Vectorize"
90 
91 //------------------------------------------------------------------
92 
93 #endif // _SD_GLOB_HXX
94 
95 
96