1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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
36 // further formats (only via CopyData/PasteData)
40 ONLY_USED_IN_SW
= 8, // the SW module essentially creates its own ID's and this is one of them
45 EDITENGINE_ODF_TEXT_FLAT
= 15,
46 INTERNALLINK_STATE
= 16,
48 NETSCAPE_BOOKMARK
= 18,
59 STARWRITERWEB_40
= 29,
60 STARWRITERWEB_50
= 30,
61 STARWRITERGLOB_40
= 31,
62 STARWRITERGLOB_50
= 32,
79 STAROBJECT_PAINTDOC
= 49,
84 CNT_MSGATTACHFILE
= 54,
94 STAR_FRAMESET_DOC
= 64,
105 SVX_FORMFIELDEXCH
= 75,
106 EXTENDED_TABBAR
= 76,
107 SBA_DATAEXCHANGE
= 77,
108 SBA_FIELDDATAEXCHANGE
= 78,
109 SBA_PRIVATE_URL
= 79,
113 OBJECTDESCRIPTOR
= 83,
114 LINKSRCDESCRIPTOR
= 84,
119 FILEGRPDESCRIPTOR
= 89,
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,
131 NETSCAPE_IMAGE
= 101,
132 SBA_FORMEXCHANGE
= 102,
133 SBA_REPORTEXCHANGE
= 103,
134 UNIFORMRESOURCELOCATOR
= 104,
135 STARCHARTDOCUMENT_50
= 105,
138 STARWRITERWEB_60
= 108,
139 STARWRITERGLOB_60
= 109,
141 STARIMPRESS_60
= 111,
146 DBACCESS_QUERY
= 116,
147 DBACCESS_TABLE
= 117,
148 DBACCESS_COMMAND
= 118,
153 HTML_NO_COMMENT
= 123,
155 STARWRITERWEB_8
= 125,
156 STARWRITERGLOB_8
= 126,
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,
170 HC_GDIMETAFILE
= 140,
172 STARWRITERGLOB_8_TEMPLATE
= 142,
178 // the point at which we start allocating "runtime" format IDs
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);
189 #define SOT_FORMAT_SYSTEM_START SotClipboardFormatId::NONE
191 #endif // INCLUDED_SOT_FORMATS_HXX
193 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */