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: EmbedMapUnits.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_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.
43 constants EmbedMapUnits
45 // ----------------------------------------------------------------------
46 /** In this type of map mode one logical point is equal to one-hundredth
49 const long ONE_100TH_MM
= 0;
51 // ----------------------------------------------------------------------
52 /** In this type of map mode one logical point is equal to one-tenth
55 const long ONE_10TH_MM
= 1;
57 // ----------------------------------------------------------------------
58 /** In this type of map mode one logical point is equal to one
61 const long ONE_MM
= 2;
63 // ----------------------------------------------------------------------
64 /** In this type of map mode one logical point is equal to one
67 const long ONE_CM
= 3;
69 // ----------------------------------------------------------------------
70 /** In this type of map mode one logical point is equal to one-thousandth
73 const long ONE_1000TH_INCH
= 4;
75 // ----------------------------------------------------------------------
76 /** In this type of map mode one logical point is equal to one-hundredth
79 const long ONE_100TH_INCH
= 5;
81 // ----------------------------------------------------------------------
82 /** In this type of map mode one logical point is equal to one-tenth
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
98 // ----------------------------------------------------------------------
99 /** In this type of map mode one logical point is equal to one twentieth
100 of typographical point.
104 // ----------------------------------------------------------------------
105 /** In this type of map mode one logical point is equal to one pixel.
107 const long PIXEL
= 10;
110 //=============================================================================