xref: /aoo42x/main/sd/inc/glob.hxx (revision 4d7c9de0)
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_SDSLIDEVIEWSHELL          SFX_INTERFACE_SD_START + 4
42 #define SD_IF_SDOUTLINEVIEWSHELL        SFX_INTERFACE_SD_START + 5
43 #define SD_IF_SDDRAWSTDOBJECTBAR        SFX_INTERFACE_SD_START + 6
44 #define SD_IF_SDDRAWTEXTOBJECTBAR       SFX_INTERFACE_SD_START + 7
45 #define SD_IF_SDDRAWBEZIEROBJECTBAR     SFX_INTERFACE_SD_START + 8
46 #define SD_IF_SDDRAWGLUEPOINTSOBJECTBAR SFX_INTERFACE_SD_START + 9
47 #define SD_IF_SDGRAPHICDOCSHELL         SFX_INTERFACE_SD_START + 10
48 #define SD_IF_SDGRAPHICVIEWSHELL        SFX_INTERFACE_SD_START + 11
49 #define SD_IF_SDGRAPHICSTDOBJECTBAR     SFX_INTERFACE_SD_START + 12
50 #define SD_IF_SDDRAWGRAFOBJECTBAR		SFX_INTERFACE_SD_START + 13
51 #define SD_IF_SDPRESVIEWSHELL           SFX_INTERFACE_SD_START + 14
52 #define SD_IF_SDPREVIEWVIEWSHELL        SFX_INTERFACE_SD_START + 15
53 #define SD_IF_SDVIEWSHELLBASE           SFX_INTERFACE_SD_START + 16
54 #define SD_IF_SD3DOBJECTBAR				SFX_INTERFACE_SD_START + 17
55 #define SD_IF_SDFONTWORKOBJECTBAR		SFX_INTERFACE_SD_START + 18
56 #define SD_IF_SDSLIDESORTERVIEWSHELL    SFX_INTERFACE_SD_START + 19
57 #define SD_IF_SDSIDEBARVIEWSHELL        SFX_INTERFACE_SD_START + 20
58 #define SD_IF_SDMASTERPAGESSELECTOR     SFX_INTERFACE_SD_START + 21
59 #define SD_IF_SDLAYOUTMENU              SFX_INTERFACE_SD_START + 22
60 #define SD_IF_SDDRAWMEDIAOBJECTBAR		SFX_INTERFACE_SD_START + 23
61 #define SD_IF_SDLEFTIMPRESSPANESHELL    SFX_INTERFACE_SD_START + 24
62 #define SD_IF_SDLEFTDRAWPANESHELL       SFX_INTERFACE_SD_START + 25
63 #define SD_IF_SDRIGHTPANESHELL          SFX_INTERFACE_SD_START + 26
64 #define SD_IF_SDDRAWTABLEOBJECTBAR		SFX_INTERFACE_SD_START + 27
65 #define SD_IF_SDANNOTATIONSHELL         SFX_INTERFACE_SD_START + 28
66 #define SD_IF_SDTOOLPANELPANESHELL      SFX_INTERFACE_SD_START + 29
67 #define SD_IF_SDTOOLPANELSHELL          SFX_INTERFACE_SD_START + 30
68 
69 // Inventor-Id fuer StarDraw UserData
70 const sal_uInt32 SdUDInventor=sal_uInt32('S')*0x00000001+
71 						  sal_uInt32('D')*0x00000100+
72 						  sal_uInt32('U')*0x00010000+
73 						  sal_uInt32('D')*0x01000000;
74 
75 // Object-Ids fuer StarDraw UserData
76 #define SD_ANIMATIONINFO_ID 1
77 #define SD_IMAPINFO_ID		2
78 
79 // FamilyId der Praesentationsvorlagen
80 #define SD_STYLE_FAMILY_GRAPHICS		SFX_STYLE_FAMILY_PARA
81 #define SD_STYLE_FAMILY_PSEUDO			SFX_STYLE_FAMILY_PSEUDO
82 #define SD_STYLE_FAMILY_CELL			SFX_STYLE_FAMILY_FRAME
83 #define SD_STYLE_FAMILY_MASTERPAGE		SFX_STYLE_FAMILY_PAGE		// ex LT_FAMILY
84 
85 // Trennzeichen zwischen Layoutname und Vorlagenname der Praesentationsvorlagen
86 #define SD_LT_SEPARATOR "~LT~"
87 
88 // Optionsstream-Identifier
89 #define SD_OPTION_MORPHING	"Morph"
90 #define SD_OPTION_VECTORIZE "Vectorize"
91 
92 //------------------------------------------------------------------
93 
94 #endif // _SD_GLOB_HXX
95 
96 
97