bump product version to 6.3.0.0.beta1
[LibreOffice.git] / include / sot / formats.hxx
blob12727ffb34c9606ea9f115d418f03b9498660717
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #ifndef INCLUDED_SOT_FORMATS_HXX
21 #define INCLUDED_SOT_FORMATS_HXX
23 #include <sal/types.h>
25 // - predefined formats -
26 // Do NOT change the order of these values as the implementation depends on them!
27 enum class SotClipboardFormatId : sal_uInt32
29 // standard formats for that Copy/Paste methods exist
30 STRING = 1,
31 BITMAP = 2,
32 GDIMETAFILE = 3,
33 PRIVATE = 4,
34 SIMPLE_FILE = 5,
35 FILE_LIST = 6,
36 // further formats (only via CopyData/PasteData)
37 RTF = 10,
39 NONE = 0,
40 ONLY_USED_IN_SW = 8, // the SW module essentially creates its own ID's and this is one of them
41 DRAWING = 11,
42 SVXB = 12,
43 SVIM = 13,
44 XFA = 14,
45 EDITENGINE_ODF_TEXT_FLAT = 15,
46 INTERNALLINK_STATE = 16,
47 SOLK = 17,
48 NETSCAPE_BOOKMARK = 18,
49 TREELISTBOX = 19,
50 NATIVE = 20,
51 OWNERLINK = 21,
52 STARSERVER = 22,
53 STAROBJECT = 23,
54 APPLETOBJECT = 24,
55 PLUGIN_OBJECT = 25,
56 STARWRITER_30 = 26,
57 STARWRITER_40 = 27,
58 STARWRITER_50 = 28,
59 STARWRITERWEB_40 = 29,
60 STARWRITERWEB_50 = 30,
61 STARWRITERGLOB_40 = 31,
62 STARWRITERGLOB_50 = 32,
63 STARDRAW = 33,
64 STARDRAW_40 = 34,
65 STARIMPRESS_50 = 35,
66 STARDRAW_50 = 36,
67 STARCALC = 37,
68 STARCALC_40 = 38,
69 STARCALC_50 = 39,
70 STARCHART = 40,
71 STARCHART_40 = 41,
72 STARCHART_50 = 42,
73 STARIMAGE = 43,
74 STARIMAGE_40 = 44,
75 STARIMAGE_50 = 45,
76 STARMATH = 46,
77 STARMATH_40 = 47,
78 STARMATH_50 = 48,
79 STAROBJECT_PAINTDOC = 49,
80 FILLED_AREA = 50,
81 HTML = 51,
82 HTML_SIMPLE = 52,
83 CHAOS = 53,
84 CNT_MSGATTACHFILE = 54,
85 BIFF_5 = 55,
86 BIFF__5 = 56,
87 SYLK = 57,
88 SYLK_BIGCAPS = 58,
89 LINK = 59,
90 DIF = 60,
91 STARDRAW_TABBAR = 61,
92 SONLK = 62,
93 MSWORD_DOC = 63,
94 STAR_FRAMESET_DOC = 64,
95 OFFICE_DOC = 65,
96 NOTES_DOCINFO = 66,
97 NOTES_HNOTE = 67,
98 NOTES_NATIVE = 68,
99 SFX_DOC = 69,
100 EVDF = 70,
101 ESDF = 71,
102 IDF = 72,
103 EFTP = 73,
104 EFD = 74,
105 SVX_FORMFIELDEXCH = 75,
106 EXTENDED_TABBAR = 76,
107 SBA_DATAEXCHANGE = 77,
108 SBA_FIELDDATAEXCHANGE = 78,
109 SBA_PRIVATE_URL = 79,
110 SBA_TABED = 80,
111 SBA_TABID = 81,
112 SBA_JOIN = 82,
113 OBJECTDESCRIPTOR = 83,
114 LINKSRCDESCRIPTOR = 84,
115 EMBED_SOURCE = 85,
116 LINK_SOURCE = 86,
117 EMBEDDED_OBJ = 87,
118 FILECONTENT = 88,
119 FILEGRPDESCRIPTOR = 89,
120 FILENAME = 90,
121 SD_OLE = 91,
122 EMBEDDED_OBJ_OLE = 92,
123 EMBED_SOURCE_OLE = 93,
124 OBJECTDESCRIPTOR_OLE = 94,
125 LINKSRCDESCRIPTOR_OLE = 95,
126 LINK_SOURCE_OLE = 96,
127 SBA_CTRLDATAEXCHANGE = 97,
128 OUTPLACE_OBJ = 98,
129 CNT_OWN_CLIP = 99,
130 INET_IMAGE = 100,
131 NETSCAPE_IMAGE = 101,
132 SBA_FORMEXCHANGE = 102,
133 SBA_REPORTEXCHANGE = 103,
134 UNIFORMRESOURCELOCATOR = 104,
135 STARCHARTDOCUMENT_50 = 105,
136 GRAPHOBJ = 106,
137 STARWRITER_60 = 107,
138 STARWRITERWEB_60 = 108,
139 STARWRITERGLOB_60 = 109,
140 STARDRAW_60 = 110,
141 STARIMPRESS_60 = 111,
142 STARCALC_60 = 112,
143 STARCHART_60 = 113,
144 STARMATH_60 = 114,
145 WMF = 115,
146 DBACCESS_QUERY = 116,
147 DBACCESS_TABLE = 117,
148 DBACCESS_COMMAND = 118,
149 DIALOG_60 = 119,
150 EMF = 120,
151 BIFF_8 = 121,
152 BMP = 122,
153 HTML_NO_COMMENT = 123,
154 STARWRITER_8 = 124,
155 STARWRITERWEB_8 = 125,
156 STARWRITERGLOB_8 = 126,
157 STARDRAW_8 = 127,
158 STARIMPRESS_8 = 128,
159 STARCALC_8 = 129,
160 STARCHART_8 = 130,
161 STARMATH_8 = 131,
162 XFORMS = 132,
163 STARWRITER_8_TEMPLATE = 133,
164 STARDRAW_8_TEMPLATE = 134,
165 STARIMPRESS_8_TEMPLATE = 135,
166 STARCALC_8_TEMPLATE = 136,
167 STARCHART_8_TEMPLATE = 137,
168 STARMATH_8_TEMPLATE = 138,
169 STARBASE_8 = 139,
170 HC_GDIMETAFILE = 140,
171 PNG = 141,
172 STARWRITERGLOB_8_TEMPLATE = 142,
173 MATHML = 143,
174 JPEG = 144,
175 RICHTEXT = 145,
176 STRING_TSVC = 146,
177 PDF = 147,
178 // the point at which we start allocating "runtime" format IDs
179 USER_END = PDF
182 /** Make it easier to iterate over format IDs */
183 inline SotClipboardFormatId& operator++(SotClipboardFormatId& eFormat)
185 eFormat = static_cast<SotClipboardFormatId>(static_cast<sal_uInt32>(eFormat) + 1);
186 return eFormat;
189 #define SOT_FORMAT_SYSTEM_START SotClipboardFormatId::NONE
191 #endif // INCLUDED_SOT_FORMATS_HXX
193 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */