Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / offapi / com / sun / star / embed / Aspects.idl
blob87f615b96f424b1d68edd64007f680eff14a45fa
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 .
19 #ifndef __com_sun_star_embed_Aspects_idl__
20 #define __com_sun_star_embed_Aspects_idl__
24 module com { module sun { module star { module embed {
26 /** The constant set contains possible aspects for an embedded object.
28 <p>
29 This constant set provides a set of values that
30 can be used to specify the kind of object view.
31 It can be used for example by container to request
32 view representation of a certain kind from
33 XEmbeddedObject.
34 </p>
36 <p>
37 The first 32 bits are reserved for MS OLE aspects.
38 </p>
40 @see XEmbeddedObject
42 published constants Aspects
44 // MS OLE aspects
46 /** specifies view of the object to be displayed as an embedded object
47 inside a container.
49 const hyper MSOLE_CONTENT = 1;
51 /** specifies view of the object to be displayed in a browsing tool.
53 const hyper MSOLE_THUMBNAIL = 2;
55 /** specifies view of the object when object is represented by Icon.
57 const hyper MSOLE_ICON = 4;
59 /** specifies view of the object for print preview.
61 const hyper MSOLE_DOCPRINT = 8;
66 }; }; }; };
68 #endif
70 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */