xref: /aoo41x/main/sot/inc/sot/formats.hxx (revision 45fd3b9a)
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 _SOT_FORMATS_HXX
25 #define _SOT_FORMATS_HXX
26 
27 #ifdef _SOT_FORMATS_INCLUDE_SYSTEMFORMATS
28 
29 #ifdef WNT
30 #ifdef _MSC_VER
31 #pragma warning(push, 1)
32 #pragma warning(disable: 4917)
33 #endif
34 #include <tools/prewin.h>
35 #include <shlobj.h>
36 #include <tools/postwin.h>
37 #ifdef _MSC_VER
38 #pragma warning(pop)
39 #endif
40 #endif
41 
42 #endif
43 #include <sot/exchange.hxx>
44 
45 #define SOT_FORMAT_SYSTEM_START					((sal_uLong)0)
46 #define SOT_FORMAT_STRING           			((sal_uLong)FORMAT_STRING)
47 #define SOT_FORMAT_BITMAP           			((sal_uLong)FORMAT_BITMAP)
48 #define SOT_FORMAT_GDIMETAFILE          		((sal_uLong)FORMAT_GDIMETAFILE)
49 #define SOT_FORMAT_PRIVATE              		((sal_uLong)FORMAT_PRIVATE)
50 #define SOT_FORMAT_FILE                 		((sal_uLong)FORMAT_FILE)
51 #define SOT_FORMAT_FILE_LIST            		((sal_uLong)FORMAT_FILE_LIST)
52 #define SOT_FORMAT_RTF                  		((sal_uLong)FORMAT_RTF)
53 
54 #define SOT_FORMATSTR_ID_DRAWING				((sal_uLong)11)
55 #define SOT_FORMATSTR_ID_SVXB					((sal_uLong)12)
56 #define SOT_FORMATSTR_ID_SVIM					((sal_uLong)13)
57 #define SOT_FORMATSTR_ID_XFA					((sal_uLong)14)
58 #define SOT_FORMATSTR_ID_EDITENGINE				((sal_uLong)15)
59 #define SOT_FORMATSTR_ID_INTERNALLINK_STATE   	((sal_uLong)16)
60 #define SOT_FORMATSTR_ID_SOLK 					((sal_uLong)17)
61 #define SOT_FORMATSTR_ID_NETSCAPE_BOOKMARK		((sal_uLong)18)
62 #define SOT_FORMATSTR_ID_TREELISTBOX			((sal_uLong)19)
63 #define SOT_FORMATSTR_ID_NATIVE					((sal_uLong)20)
64 #define SOT_FORMATSTR_ID_OWNERLINK				((sal_uLong)21)
65 #define SOT_FORMATSTR_ID_STARSERVER				((sal_uLong)22)
66 #define SOT_FORMATSTR_ID_STAROBJECT				((sal_uLong)23)
67 #define SOT_FORMATSTR_ID_APPLETOBJECT			((sal_uLong)24)
68 #define SOT_FORMATSTR_ID_PLUGIN_OBJECT			((sal_uLong)25)
69 #define SOT_FORMATSTR_ID_STARWRITER_30			((sal_uLong)26)
70 #define SOT_FORMATSTR_ID_STARWRITER_40			((sal_uLong)27)
71 #define SOT_FORMATSTR_ID_STARWRITER_50			((sal_uLong)28)
72 #define SOT_FORMATSTR_ID_STARWRITERWEB_40		((sal_uLong)29)
73 #define SOT_FORMATSTR_ID_STARWRITERWEB_50		((sal_uLong)30)
74 #define SOT_FORMATSTR_ID_STARWRITERGLOB_40		((sal_uLong)31)
75 #define SOT_FORMATSTR_ID_STARWRITERGLOB_50		((sal_uLong)32)
76 #define SOT_FORMATSTR_ID_STARDRAW				((sal_uLong)33)
77 #define SOT_FORMATSTR_ID_STARDRAW_40			((sal_uLong)34)
78 #define SOT_FORMATSTR_ID_STARIMPRESS_50			((sal_uLong)35)
79 #define SOT_FORMATSTR_ID_STARDRAW_50			((sal_uLong)36)
80 #define SOT_FORMATSTR_ID_STARCALC				((sal_uLong)37)
81 #define SOT_FORMATSTR_ID_STARCALC_40			((sal_uLong)38)
82 #define SOT_FORMATSTR_ID_STARCALC_50			((sal_uLong)39)
83 #define SOT_FORMATSTR_ID_STARCHART				((sal_uLong)40)
84 #define SOT_FORMATSTR_ID_STARCHART_40			((sal_uLong)41)
85 #define SOT_FORMATSTR_ID_STARCHART_50			((sal_uLong)42)
86 #define SOT_FORMATSTR_ID_STARIMAGE				((sal_uLong)43)
87 #define SOT_FORMATSTR_ID_STARIMAGE_40			((sal_uLong)44)
88 #define SOT_FORMATSTR_ID_STARIMAGE_50			((sal_uLong)45)
89 #define SOT_FORMATSTR_ID_STARMATH				((sal_uLong)46)
90 #define SOT_FORMATSTR_ID_STARMATH_40			((sal_uLong)47)
91 #define SOT_FORMATSTR_ID_STARMATH_50			((sal_uLong)48)
92 #define SOT_FORMATSTR_ID_STAROBJECT_PAINTDOC	((sal_uLong)49)
93 #define SOT_FORMATSTR_ID_FILLED_AREA			((sal_uLong)50)
94 #define SOT_FORMATSTR_ID_HTML					((sal_uLong)51)
95 #define SOT_FORMATSTR_ID_HTML_SIMPLE			((sal_uLong)52)
96 #define SOT_FORMATSTR_ID_CHAOS					((sal_uLong)53)
97 #define SOT_FORMATSTR_ID_CNT_MSGATTACHFILE 		((sal_uLong)54)
98 #define SOT_FORMATSTR_ID_BIFF_5					((sal_uLong)55)
99 #define SOT_FORMATSTR_ID_BIFF__5 				((sal_uLong)56)
100 #define SOT_FORMATSTR_ID_SYLK					((sal_uLong)57)
101 #define SOT_FORMATSTR_ID_SYLK_BIGCAPS			((sal_uLong)58)
102 #define SOT_FORMATSTR_ID_LINK					((sal_uLong)59)
103 #define SOT_FORMATSTR_ID_DIF					((sal_uLong)60)
104 #define SOT_FORMATSTR_ID_STARDRAW_TABBAR		((sal_uLong)61)
105 #define SOT_FORMATSTR_ID_SONLK					((sal_uLong)62)
106 #define SOT_FORMATSTR_ID_MSWORD_DOC 			((sal_uLong)63)
107 #define SOT_FORMATSTR_ID_STAR_FRAMESET_DOC 		((sal_uLong)64)
108 #define SOT_FORMATSTR_ID_OFFICE_DOC 			((sal_uLong)65)
109 #define SOT_FORMATSTR_ID_NOTES_DOCINFO			((sal_uLong)66)
110 #define SOT_FORMATSTR_ID_NOTES_HNOTE			((sal_uLong)67)
111 #define SOT_FORMATSTR_ID_NOTES_NATIVE			((sal_uLong)68)
112 #define SOT_FORMATSTR_ID_SFX_DOC				((sal_uLong)69)
113 #define SOT_FORMATSTR_ID_EVDF					((sal_uLong)70)
114 #define SOT_FORMATSTR_ID_ESDF					((sal_uLong)71)
115 #define SOT_FORMATSTR_ID_IDF					((sal_uLong)72)
116 #define SOT_FORMATSTR_ID_EFTP					((sal_uLong)73)
117 #define SOT_FORMATSTR_ID_EFD					((sal_uLong)74)
118 #define SOT_FORMATSTR_ID_SVX_FORMFIELDEXCH		((sal_uLong)75)
119 #define SOT_FORMATSTR_ID_EXTENDED_TABBAR		((sal_uLong)76)
120 #define SOT_FORMATSTR_ID_SBA_DATAEXCHANGE		((sal_uLong)77)
121 #define SOT_FORMATSTR_ID_SBA_FIELDDATAEXCHANGE 	((sal_uLong)78)
122 #define SOT_FORMATSTR_ID_SBA_PRIVATE_URL		((sal_uLong)79)
123 #define SOT_FORMATSTR_ID_SBA_TABED				((sal_uLong)80)
124 #define SOT_FORMATSTR_ID_SBA_TABID				((sal_uLong)81)
125 #define SOT_FORMATSTR_ID_SBA_JOIN				((sal_uLong)82)
126 #define SOT_FORMATSTR_ID_OBJECTDESCRIPTOR		((sal_uLong)83)
127 #define SOT_FORMATSTR_ID_LINKSRCDESCRIPTOR		((sal_uLong)84)
128 #define SOT_FORMATSTR_ID_EMBED_SOURCE			((sal_uLong)85)
129 #define SOT_FORMATSTR_ID_LINK_SOURCE			((sal_uLong)86)
130 #define SOT_FORMATSTR_ID_EMBEDDED_OBJ			((sal_uLong)87)
131 #define SOT_FORMATSTR_ID_FILECONTENT			((sal_uLong)88)
132 #define SOT_FORMATSTR_ID_FILEGRPDESCRIPTOR	   	((sal_uLong)89)
133 #define SOT_FORMATSTR_ID_FILENAME				((sal_uLong)90)
134 #define SOT_FORMATSTR_ID_SD_OLE					((sal_uLong)91)
135 #define SOT_FORMATSTR_ID_EMBEDDED_OBJ_OLE		((sal_uLong)92)
136 #define SOT_FORMATSTR_ID_EMBED_SOURCE_OLE		((sal_uLong)93)
137 #define SOT_FORMATSTR_ID_OBJECTDESCRIPTOR_OLE	((sal_uLong)94)
138 #define SOT_FORMATSTR_ID_LINKSRCDESCRIPTOR_OLE	((sal_uLong)95)
139 #define SOT_FORMATSTR_ID_LINK_SOURCE_OLE		((sal_uLong)96)
140 #define SOT_FORMATSTR_ID_SBA_CTRLDATAEXCHANGE	((sal_uLong)97)
141 #define SOT_FORMATSTR_ID_OUTPLACE_OBJ			((sal_uLong)98)
142 #define SOT_FORMATSTR_ID_CNT_OWN_CLIP			((sal_uLong)99)
143 #define SOT_FORMATSTR_ID_INET_IMAGE				((sal_uLong)100)
144 #define SOT_FORMATSTR_ID_NETSCAPE_IMAGE			((sal_uLong)101)
145 #define SOT_FORMATSTR_ID_SBA_FORMEXCHANGE		((sal_uLong)102)
146 #define SOT_FORMATSTR_ID_SBA_REPORTEXCHANGE		((sal_uLong)103)
147 #define SOT_FORMATSTR_ID_UNIFORMRESOURCELOCATOR ((sal_uLong)104)
148 #define SOT_FORMATSTR_ID_STARCHARTDOCUMENT_50	((sal_uLong)105)
149 #define SOT_FORMATSTR_ID_GRAPHOBJ				((sal_uLong)106)
150 #define SOT_FORMATSTR_ID_STARWRITER_60          ((sal_uLong)107)
151 #define SOT_FORMATSTR_ID_STARWRITERWEB_60       ((sal_uLong)108)
152 #define SOT_FORMATSTR_ID_STARWRITERGLOB_60      ((sal_uLong)109)
153 #define SOT_FORMATSTR_ID_STARDRAW_60            ((sal_uLong)110)
154 #define SOT_FORMATSTR_ID_STARIMPRESS_60         ((sal_uLong)111)
155 #define SOT_FORMATSTR_ID_STARCALC_60            ((sal_uLong)112)
156 #define SOT_FORMATSTR_ID_STARCHART_60           ((sal_uLong)113)
157 #define SOT_FORMATSTR_ID_STARMATH_60            ((sal_uLong)114)
158 #define SOT_FORMATSTR_ID_WMF					((sal_uLong)115)
159 #define SOT_FORMATSTR_ID_DBACCESS_QUERY         ((sal_uLong)116)
160 #define SOT_FORMATSTR_ID_DBACCESS_TABLE         ((sal_uLong)117)
161 #define SOT_FORMATSTR_ID_DBACCESS_COMMAND       ((sal_uLong)118)
162 #define SOT_FORMATSTR_ID_DIALOG_60              ((sal_uLong)119)
163 #define SOT_FORMATSTR_ID_EMF					((sal_uLong)120)
164 #define SOT_FORMATSTR_ID_BIFF_8                 ((sal_uLong)121)
165 #define SOT_FORMATSTR_ID_BMP                    ((sal_uLong)122)
166 #define SOT_FORMATSTR_ID_HTML_NO_COMMENT        ((sal_uLong)123)
167 #define SOT_FORMATSTR_ID_STARWRITER_8           ((sal_uLong)124)
168 #define SOT_FORMATSTR_ID_STARWRITERWEB_8        ((sal_uLong)125)
169 #define SOT_FORMATSTR_ID_STARWRITERGLOB_8       ((sal_uLong)126)
170 #define SOT_FORMATSTR_ID_STARDRAW_8             ((sal_uLong)127)
171 #define SOT_FORMATSTR_ID_STARIMPRESS_8          ((sal_uLong)128)
172 #define SOT_FORMATSTR_ID_STARCALC_8             ((sal_uLong)129)
173 #define SOT_FORMATSTR_ID_STARCHART_8            ((sal_uLong)130)
174 #define SOT_FORMATSTR_ID_STARMATH_8             ((sal_uLong)131)
175 #define SOT_FORMATSTR_ID_XFORMS                 ((sal_uLong)132)
176 #define SOT_FORMATSTR_ID_STARWRITER_8_TEMPLATE  ((sal_uLong)133)
177 #define SOT_FORMATSTR_ID_STARDRAW_8_TEMPLATE    ((sal_uLong)134)
178 #define SOT_FORMATSTR_ID_STARIMPRESS_8_TEMPLATE ((sal_uLong)135)
179 #define SOT_FORMATSTR_ID_STARCALC_8_TEMPLATE    ((sal_uLong)136)
180 #define SOT_FORMATSTR_ID_STARCHART_8_TEMPLATE   ((sal_uLong)137)
181 #define SOT_FORMATSTR_ID_STARMATH_8_TEMPLATE    ((sal_uLong)138)
182 #define SOT_FORMATSTR_ID_STARBASE_8             ((sal_uLong)139)
183 #define SOT_FORMATSTR_ID_HC_GDIMETAFILE         ((sal_uLong)140)
184 #define SOT_FORMATSTR_ID_PNG                    ((sal_uLong)141)
185 #define SOT_FORMATSTR_ID_USER_END               SOT_FORMATSTR_ID_PNG
186 
187 #endif // _SOT_FORMATS_HXX
188 
189