merge the formfield patch from ooo-build
[ooovba.git] / offapi / com / sun / star / embed / EmbedMapUnits.idl
blobb1af00ba3db225384f8b9c849bec6d50aa4cbc48
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: EmbedMapUnits.idl,v $
10 * $Revision: 1.4 $
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_EmbedMapUnits_idl__
31 #define __com_sun_star_embed_EmbedMapUnits_idl__
34 //============================================================================
36 module com { module sun { module star { module embed {
38 //============================================================================
39 /** contains list of possible map modes supported by embedded object.
41 @see XVisualObject
43 constants EmbedMapUnits
45 // ----------------------------------------------------------------------
46 /** In this type of map mode one logical point is equal to one-hundredth
47 of milimetre.
49 const long ONE_100TH_MM = 0;
51 // ----------------------------------------------------------------------
52 /** In this type of map mode one logical point is equal to one-tenth
53 of milimetre.
55 const long ONE_10TH_MM = 1;
57 // ----------------------------------------------------------------------
58 /** In this type of map mode one logical point is equal to one
59 milimetre.
61 const long ONE_MM = 2;
63 // ----------------------------------------------------------------------
64 /** In this type of map mode one logical point is equal to one
65 centimetre.
67 const long ONE_CM = 3;
69 // ----------------------------------------------------------------------
70 /** In this type of map mode one logical point is equal to one-thousandth
71 of inch.
73 const long ONE_1000TH_INCH = 4;
75 // ----------------------------------------------------------------------
76 /** In this type of map mode one logical point is equal to one-hundredth
77 of inch.
79 const long ONE_100TH_INCH = 5;
81 // ----------------------------------------------------------------------
82 /** In this type of map mode one logical point is equal to one-tenth
83 of inch.
85 const long ONE_10TH_INCH = 6;
87 // ----------------------------------------------------------------------
88 /** In this type of map mode one logical point is equal to one inch.
90 const long ONE_INCH = 7;
92 // ----------------------------------------------------------------------
93 /** In this type of map mode one logical point is equal to one
94 typographical point.
96 const long POINT = 8;
98 // ----------------------------------------------------------------------
99 /** In this type of map mode one logical point is equal to one twentieth
100 of typographical point.
102 const long TWIP = 9;
104 // ----------------------------------------------------------------------
105 /** In this type of map mode one logical point is equal to one pixel.
107 const long PIXEL = 10;
110 //=============================================================================
112 }; }; }; };
114 #endif