1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: Aspects.idl,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef __com_sun_star_embed_Aspects_idl__
31 #define __com_sun_star_embed_Aspects_idl__
34 //============================================================================
36 module com
{ module sun
{ module star
{ module embed
{
38 //============================================================================
39 /** The constant set contains possible aspects for an embedded object.
42 This constant set provides a set of values that
43 can be used to specify the kind of object view.
44 It can be used for example by container to request
45 view representation of a certain kind from
46 <type>XEmbeddedObject</type>.
50 The first 32 bits are reserved for MS OLE aspects.
59 // -----------------------------------------------------------------------
60 /** specifies view of the object to be displayed as an embedded object
63 const hyper MSOLE_CONTENT
= 1;
65 // -----------------------------------------------------------------------
66 /** specifies view of the object to be displayed in a browsing tool.
68 const hyper MSOLE_THUMBNAIL
= 2;
70 // -----------------------------------------------------------------------
71 /** specifies view of the object when object is represented by Icon.
73 const hyper MSOLE_ICON
= 4;
75 // -----------------------------------------------------------------------
76 /** specifies view of the object for print preview.
78 const hyper MSOLE_DOCPRINT
= 8;
82 //============================================================================