1bbfc4cc7SAndrew Rist /************************************************************** 2cdf0e10cSrcweir * 3bbfc4cc7SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4bbfc4cc7SAndrew Rist * or more contributor license agreements. See the NOTICE file 5bbfc4cc7SAndrew Rist * distributed with this work for additional information 6bbfc4cc7SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7bbfc4cc7SAndrew Rist * to you under the Apache License, Version 2.0 (the 8bbfc4cc7SAndrew Rist * "License"); you may not use this file except in compliance 9bbfc4cc7SAndrew Rist * with the License. You may obtain a copy of the License at 10bbfc4cc7SAndrew Rist * 11bbfc4cc7SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12bbfc4cc7SAndrew Rist * 13bbfc4cc7SAndrew Rist * Unless required by applicable law or agreed to in writing, 14bbfc4cc7SAndrew Rist * software distributed under the License is distributed on an 15bbfc4cc7SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16bbfc4cc7SAndrew Rist * KIND, either express or implied. See the License for the 17bbfc4cc7SAndrew Rist * specific language governing permissions and limitations 18bbfc4cc7SAndrew Rist * under the License. 19bbfc4cc7SAndrew Rist * 20bbfc4cc7SAndrew Rist *************************************************************/ 21bbfc4cc7SAndrew Rist 22bbfc4cc7SAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir #ifndef _SOT_FORMATS_HXX 25cdf0e10cSrcweir #define _SOT_FORMATS_HXX 26cdf0e10cSrcweir 27cdf0e10cSrcweir #ifdef _SOT_FORMATS_INCLUDE_SYSTEMFORMATS 28cdf0e10cSrcweir 29cdf0e10cSrcweir #ifdef WNT 30cdf0e10cSrcweir #ifdef _MSC_VER 31cdf0e10cSrcweir #pragma warning(push, 1) 32cdf0e10cSrcweir #pragma warning(disable: 4917) 33cdf0e10cSrcweir #endif 34cdf0e10cSrcweir #include <tools/prewin.h> 35cdf0e10cSrcweir #include <shlobj.h> 36cdf0e10cSrcweir #include <tools/postwin.h> 37cdf0e10cSrcweir #ifdef _MSC_VER 38cdf0e10cSrcweir #pragma warning(pop) 39cdf0e10cSrcweir #endif 40cdf0e10cSrcweir #endif 41cdf0e10cSrcweir 42cdf0e10cSrcweir #endif 43cdf0e10cSrcweir #include <sot/exchange.hxx> 44cdf0e10cSrcweir 45cdf0e10cSrcweir #define SOT_FORMAT_SYSTEM_START ((sal_uLong)0) 46cdf0e10cSrcweir #define SOT_FORMAT_STRING ((sal_uLong)FORMAT_STRING) 47cdf0e10cSrcweir #define SOT_FORMAT_BITMAP ((sal_uLong)FORMAT_BITMAP) 48cdf0e10cSrcweir #define SOT_FORMAT_GDIMETAFILE ((sal_uLong)FORMAT_GDIMETAFILE) 49cdf0e10cSrcweir #define SOT_FORMAT_PRIVATE ((sal_uLong)FORMAT_PRIVATE) 50cdf0e10cSrcweir #define SOT_FORMAT_FILE ((sal_uLong)FORMAT_FILE) 51cdf0e10cSrcweir #define SOT_FORMAT_FILE_LIST ((sal_uLong)FORMAT_FILE_LIST) 52cdf0e10cSrcweir #define SOT_FORMAT_RTF ((sal_uLong)FORMAT_RTF) 53cdf0e10cSrcweir 54cdf0e10cSrcweir #define SOT_FORMATSTR_ID_DRAWING ((sal_uLong)11) 55cdf0e10cSrcweir #define SOT_FORMATSTR_ID_SVXB ((sal_uLong)12) 56cdf0e10cSrcweir #define SOT_FORMATSTR_ID_SVIM ((sal_uLong)13) 57cdf0e10cSrcweir #define SOT_FORMATSTR_ID_XFA ((sal_uLong)14) 58cdf0e10cSrcweir #define SOT_FORMATSTR_ID_EDITENGINE ((sal_uLong)15) 59cdf0e10cSrcweir #define SOT_FORMATSTR_ID_INTERNALLINK_STATE ((sal_uLong)16) 60cdf0e10cSrcweir #define SOT_FORMATSTR_ID_SOLK ((sal_uLong)17) 61cdf0e10cSrcweir #define SOT_FORMATSTR_ID_NETSCAPE_BOOKMARK ((sal_uLong)18) 62cdf0e10cSrcweir #define SOT_FORMATSTR_ID_TREELISTBOX ((sal_uLong)19) 63cdf0e10cSrcweir #define SOT_FORMATSTR_ID_NATIVE ((sal_uLong)20) 64cdf0e10cSrcweir #define SOT_FORMATSTR_ID_OWNERLINK ((sal_uLong)21) 65cdf0e10cSrcweir #define SOT_FORMATSTR_ID_STARSERVER ((sal_uLong)22) 66cdf0e10cSrcweir #define SOT_FORMATSTR_ID_STAROBJECT ((sal_uLong)23) 67cdf0e10cSrcweir #define SOT_FORMATSTR_ID_APPLETOBJECT ((sal_uLong)24) 68cdf0e10cSrcweir #define SOT_FORMATSTR_ID_PLUGIN_OBJECT ((sal_uLong)25) 69cdf0e10cSrcweir #define SOT_FORMATSTR_ID_STARWRITER_30 ((sal_uLong)26) 70cdf0e10cSrcweir #define SOT_FORMATSTR_ID_STARWRITER_40 ((sal_uLong)27) 71cdf0e10cSrcweir #define SOT_FORMATSTR_ID_STARWRITER_50 ((sal_uLong)28) 72cdf0e10cSrcweir #define SOT_FORMATSTR_ID_STARWRITERWEB_40 ((sal_uLong)29) 73cdf0e10cSrcweir #define SOT_FORMATSTR_ID_STARWRITERWEB_50 ((sal_uLong)30) 74cdf0e10cSrcweir #define SOT_FORMATSTR_ID_STARWRITERGLOB_40 ((sal_uLong)31) 75cdf0e10cSrcweir #define SOT_FORMATSTR_ID_STARWRITERGLOB_50 ((sal_uLong)32) 76cdf0e10cSrcweir #define SOT_FORMATSTR_ID_STARDRAW ((sal_uLong)33) 77cdf0e10cSrcweir #define SOT_FORMATSTR_ID_STARDRAW_40 ((sal_uLong)34) 78cdf0e10cSrcweir #define SOT_FORMATSTR_ID_STARIMPRESS_50 ((sal_uLong)35) 79cdf0e10cSrcweir #define SOT_FORMATSTR_ID_STARDRAW_50 ((sal_uLong)36) 80cdf0e10cSrcweir #define SOT_FORMATSTR_ID_STARCALC ((sal_uLong)37) 81cdf0e10cSrcweir #define SOT_FORMATSTR_ID_STARCALC_40 ((sal_uLong)38) 82cdf0e10cSrcweir #define SOT_FORMATSTR_ID_STARCALC_50 ((sal_uLong)39) 83cdf0e10cSrcweir #define SOT_FORMATSTR_ID_STARCHART ((sal_uLong)40) 84cdf0e10cSrcweir #define SOT_FORMATSTR_ID_STARCHART_40 ((sal_uLong)41) 85cdf0e10cSrcweir #define SOT_FORMATSTR_ID_STARCHART_50 ((sal_uLong)42) 86cdf0e10cSrcweir #define SOT_FORMATSTR_ID_STARIMAGE ((sal_uLong)43) 87cdf0e10cSrcweir #define SOT_FORMATSTR_ID_STARIMAGE_40 ((sal_uLong)44) 88cdf0e10cSrcweir #define SOT_FORMATSTR_ID_STARIMAGE_50 ((sal_uLong)45) 89cdf0e10cSrcweir #define SOT_FORMATSTR_ID_STARMATH ((sal_uLong)46) 90cdf0e10cSrcweir #define SOT_FORMATSTR_ID_STARMATH_40 ((sal_uLong)47) 91cdf0e10cSrcweir #define SOT_FORMATSTR_ID_STARMATH_50 ((sal_uLong)48) 92cdf0e10cSrcweir #define SOT_FORMATSTR_ID_STAROBJECT_PAINTDOC ((sal_uLong)49) 93cdf0e10cSrcweir #define SOT_FORMATSTR_ID_FILLED_AREA ((sal_uLong)50) 94cdf0e10cSrcweir #define SOT_FORMATSTR_ID_HTML ((sal_uLong)51) 95cdf0e10cSrcweir #define SOT_FORMATSTR_ID_HTML_SIMPLE ((sal_uLong)52) 96cdf0e10cSrcweir #define SOT_FORMATSTR_ID_CHAOS ((sal_uLong)53) 97cdf0e10cSrcweir #define SOT_FORMATSTR_ID_CNT_MSGATTACHFILE ((sal_uLong)54) 98cdf0e10cSrcweir #define SOT_FORMATSTR_ID_BIFF_5 ((sal_uLong)55) 99cdf0e10cSrcweir #define SOT_FORMATSTR_ID_BIFF__5 ((sal_uLong)56) 100cdf0e10cSrcweir #define SOT_FORMATSTR_ID_SYLK ((sal_uLong)57) 101cdf0e10cSrcweir #define SOT_FORMATSTR_ID_SYLK_BIGCAPS ((sal_uLong)58) 102cdf0e10cSrcweir #define SOT_FORMATSTR_ID_LINK ((sal_uLong)59) 103cdf0e10cSrcweir #define SOT_FORMATSTR_ID_DIF ((sal_uLong)60) 104cdf0e10cSrcweir #define SOT_FORMATSTR_ID_STARDRAW_TABBAR ((sal_uLong)61) 105cdf0e10cSrcweir #define SOT_FORMATSTR_ID_SONLK ((sal_uLong)62) 106cdf0e10cSrcweir #define SOT_FORMATSTR_ID_MSWORD_DOC ((sal_uLong)63) 107cdf0e10cSrcweir #define SOT_FORMATSTR_ID_STAR_FRAMESET_DOC ((sal_uLong)64) 108cdf0e10cSrcweir #define SOT_FORMATSTR_ID_OFFICE_DOC ((sal_uLong)65) 109cdf0e10cSrcweir #define SOT_FORMATSTR_ID_NOTES_DOCINFO ((sal_uLong)66) 110cdf0e10cSrcweir #define SOT_FORMATSTR_ID_NOTES_HNOTE ((sal_uLong)67) 111cdf0e10cSrcweir #define SOT_FORMATSTR_ID_NOTES_NATIVE ((sal_uLong)68) 112cdf0e10cSrcweir #define SOT_FORMATSTR_ID_SFX_DOC ((sal_uLong)69) 113cdf0e10cSrcweir #define SOT_FORMATSTR_ID_EVDF ((sal_uLong)70) 114cdf0e10cSrcweir #define SOT_FORMATSTR_ID_ESDF ((sal_uLong)71) 115cdf0e10cSrcweir #define SOT_FORMATSTR_ID_IDF ((sal_uLong)72) 116cdf0e10cSrcweir #define SOT_FORMATSTR_ID_EFTP ((sal_uLong)73) 117cdf0e10cSrcweir #define SOT_FORMATSTR_ID_EFD ((sal_uLong)74) 118cdf0e10cSrcweir #define SOT_FORMATSTR_ID_SVX_FORMFIELDEXCH ((sal_uLong)75) 119cdf0e10cSrcweir #define SOT_FORMATSTR_ID_EXTENDED_TABBAR ((sal_uLong)76) 120cdf0e10cSrcweir #define SOT_FORMATSTR_ID_SBA_DATAEXCHANGE ((sal_uLong)77) 121cdf0e10cSrcweir #define SOT_FORMATSTR_ID_SBA_FIELDDATAEXCHANGE ((sal_uLong)78) 122cdf0e10cSrcweir #define SOT_FORMATSTR_ID_SBA_PRIVATE_URL ((sal_uLong)79) 123cdf0e10cSrcweir #define SOT_FORMATSTR_ID_SBA_TABED ((sal_uLong)80) 124cdf0e10cSrcweir #define SOT_FORMATSTR_ID_SBA_TABID ((sal_uLong)81) 125cdf0e10cSrcweir #define SOT_FORMATSTR_ID_SBA_JOIN ((sal_uLong)82) 126cdf0e10cSrcweir #define SOT_FORMATSTR_ID_OBJECTDESCRIPTOR ((sal_uLong)83) 127cdf0e10cSrcweir #define SOT_FORMATSTR_ID_LINKSRCDESCRIPTOR ((sal_uLong)84) 128cdf0e10cSrcweir #define SOT_FORMATSTR_ID_EMBED_SOURCE ((sal_uLong)85) 129cdf0e10cSrcweir #define SOT_FORMATSTR_ID_LINK_SOURCE ((sal_uLong)86) 130cdf0e10cSrcweir #define SOT_FORMATSTR_ID_EMBEDDED_OBJ ((sal_uLong)87) 131cdf0e10cSrcweir #define SOT_FORMATSTR_ID_FILECONTENT ((sal_uLong)88) 132cdf0e10cSrcweir #define SOT_FORMATSTR_ID_FILEGRPDESCRIPTOR ((sal_uLong)89) 133cdf0e10cSrcweir #define SOT_FORMATSTR_ID_FILENAME ((sal_uLong)90) 134cdf0e10cSrcweir #define SOT_FORMATSTR_ID_SD_OLE ((sal_uLong)91) 135cdf0e10cSrcweir #define SOT_FORMATSTR_ID_EMBEDDED_OBJ_OLE ((sal_uLong)92) 136cdf0e10cSrcweir #define SOT_FORMATSTR_ID_EMBED_SOURCE_OLE ((sal_uLong)93) 137cdf0e10cSrcweir #define SOT_FORMATSTR_ID_OBJECTDESCRIPTOR_OLE ((sal_uLong)94) 138cdf0e10cSrcweir #define SOT_FORMATSTR_ID_LINKSRCDESCRIPTOR_OLE ((sal_uLong)95) 139cdf0e10cSrcweir #define SOT_FORMATSTR_ID_LINK_SOURCE_OLE ((sal_uLong)96) 140cdf0e10cSrcweir #define SOT_FORMATSTR_ID_SBA_CTRLDATAEXCHANGE ((sal_uLong)97) 141cdf0e10cSrcweir #define SOT_FORMATSTR_ID_OUTPLACE_OBJ ((sal_uLong)98) 142cdf0e10cSrcweir #define SOT_FORMATSTR_ID_CNT_OWN_CLIP ((sal_uLong)99) 143cdf0e10cSrcweir #define SOT_FORMATSTR_ID_INET_IMAGE ((sal_uLong)100) 144cdf0e10cSrcweir #define SOT_FORMATSTR_ID_NETSCAPE_IMAGE ((sal_uLong)101) 145cdf0e10cSrcweir #define SOT_FORMATSTR_ID_SBA_FORMEXCHANGE ((sal_uLong)102) 146cdf0e10cSrcweir #define SOT_FORMATSTR_ID_SBA_REPORTEXCHANGE ((sal_uLong)103) 147cdf0e10cSrcweir #define SOT_FORMATSTR_ID_UNIFORMRESOURCELOCATOR ((sal_uLong)104) 148cdf0e10cSrcweir #define SOT_FORMATSTR_ID_STARCHARTDOCUMENT_50 ((sal_uLong)105) 149cdf0e10cSrcweir #define SOT_FORMATSTR_ID_GRAPHOBJ ((sal_uLong)106) 150cdf0e10cSrcweir #define SOT_FORMATSTR_ID_STARWRITER_60 ((sal_uLong)107) 151cdf0e10cSrcweir #define SOT_FORMATSTR_ID_STARWRITERWEB_60 ((sal_uLong)108) 152cdf0e10cSrcweir #define SOT_FORMATSTR_ID_STARWRITERGLOB_60 ((sal_uLong)109) 153cdf0e10cSrcweir #define SOT_FORMATSTR_ID_STARDRAW_60 ((sal_uLong)110) 154cdf0e10cSrcweir #define SOT_FORMATSTR_ID_STARIMPRESS_60 ((sal_uLong)111) 155cdf0e10cSrcweir #define SOT_FORMATSTR_ID_STARCALC_60 ((sal_uLong)112) 156cdf0e10cSrcweir #define SOT_FORMATSTR_ID_STARCHART_60 ((sal_uLong)113) 157cdf0e10cSrcweir #define SOT_FORMATSTR_ID_STARMATH_60 ((sal_uLong)114) 158cdf0e10cSrcweir #define SOT_FORMATSTR_ID_WMF ((sal_uLong)115) 159cdf0e10cSrcweir #define SOT_FORMATSTR_ID_DBACCESS_QUERY ((sal_uLong)116) 160cdf0e10cSrcweir #define SOT_FORMATSTR_ID_DBACCESS_TABLE ((sal_uLong)117) 161cdf0e10cSrcweir #define SOT_FORMATSTR_ID_DBACCESS_COMMAND ((sal_uLong)118) 162cdf0e10cSrcweir #define SOT_FORMATSTR_ID_DIALOG_60 ((sal_uLong)119) 163cdf0e10cSrcweir #define SOT_FORMATSTR_ID_EMF ((sal_uLong)120) 164cdf0e10cSrcweir #define SOT_FORMATSTR_ID_BIFF_8 ((sal_uLong)121) 165cdf0e10cSrcweir #define SOT_FORMATSTR_ID_BMP ((sal_uLong)122) 166cdf0e10cSrcweir #define SOT_FORMATSTR_ID_HTML_NO_COMMENT ((sal_uLong)123) 167cdf0e10cSrcweir #define SOT_FORMATSTR_ID_STARWRITER_8 ((sal_uLong)124) 168cdf0e10cSrcweir #define SOT_FORMATSTR_ID_STARWRITERWEB_8 ((sal_uLong)125) 169cdf0e10cSrcweir #define SOT_FORMATSTR_ID_STARWRITERGLOB_8 ((sal_uLong)126) 170cdf0e10cSrcweir #define SOT_FORMATSTR_ID_STARDRAW_8 ((sal_uLong)127) 171cdf0e10cSrcweir #define SOT_FORMATSTR_ID_STARIMPRESS_8 ((sal_uLong)128) 172cdf0e10cSrcweir #define SOT_FORMATSTR_ID_STARCALC_8 ((sal_uLong)129) 173cdf0e10cSrcweir #define SOT_FORMATSTR_ID_STARCHART_8 ((sal_uLong)130) 174cdf0e10cSrcweir #define SOT_FORMATSTR_ID_STARMATH_8 ((sal_uLong)131) 175cdf0e10cSrcweir #define SOT_FORMATSTR_ID_XFORMS ((sal_uLong)132) 176cdf0e10cSrcweir #define SOT_FORMATSTR_ID_STARWRITER_8_TEMPLATE ((sal_uLong)133) 177cdf0e10cSrcweir #define SOT_FORMATSTR_ID_STARDRAW_8_TEMPLATE ((sal_uLong)134) 178cdf0e10cSrcweir #define SOT_FORMATSTR_ID_STARIMPRESS_8_TEMPLATE ((sal_uLong)135) 179cdf0e10cSrcweir #define SOT_FORMATSTR_ID_STARCALC_8_TEMPLATE ((sal_uLong)136) 180cdf0e10cSrcweir #define SOT_FORMATSTR_ID_STARCHART_8_TEMPLATE ((sal_uLong)137) 181cdf0e10cSrcweir #define SOT_FORMATSTR_ID_STARMATH_8_TEMPLATE ((sal_uLong)138) 182cdf0e10cSrcweir #define SOT_FORMATSTR_ID_STARBASE_8 ((sal_uLong)139) 183cdf0e10cSrcweir #define SOT_FORMATSTR_ID_HC_GDIMETAFILE ((sal_uLong)140) 184*45fd3b9aSArmin Le Grand #define SOT_FORMATSTR_ID_PNG ((sal_uLong)141) 185*45fd3b9aSArmin Le Grand #define SOT_FORMATSTR_ID_USER_END SOT_FORMATSTR_ID_PNG 186cdf0e10cSrcweir 187cdf0e10cSrcweir #endif // _SOT_FORMATS_HXX 188cdf0e10cSrcweir 189