1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 23#ifndef __com_sun_star_embed_EmbedMapUnits_idl__ 24#define __com_sun_star_embed_EmbedMapUnits_idl__ 25 26 27//============================================================================ 28 29module com { module sun { module star { module embed { 30 31//============================================================================ 32/** contains list of possible map modes supported by embedded object. 33 34 @see XVisualObject 35*/ 36published constants EmbedMapUnits 37{ 38 // ---------------------------------------------------------------------- 39 /** In this type of map mode one logical point is equal to one-hundredth 40 of milimetre. 41 */ 42 const long ONE_100TH_MM = 0; 43 44 // ---------------------------------------------------------------------- 45 /** In this type of map mode one logical point is equal to one-tenth 46 of milimetre. 47 */ 48 const long ONE_10TH_MM = 1; 49 50 // ---------------------------------------------------------------------- 51 /** In this type of map mode one logical point is equal to one 52 milimetre. 53 */ 54 const long ONE_MM = 2; 55 56 // ---------------------------------------------------------------------- 57 /** In this type of map mode one logical point is equal to one 58 centimetre. 59 */ 60 const long ONE_CM = 3; 61 62 // ---------------------------------------------------------------------- 63 /** In this type of map mode one logical point is equal to one-thousandth 64 of inch. 65 */ 66 const long ONE_1000TH_INCH = 4; 67 68 // ---------------------------------------------------------------------- 69 /** In this type of map mode one logical point is equal to one-hundredth 70 of inch. 71 */ 72 const long ONE_100TH_INCH = 5; 73 74 // ---------------------------------------------------------------------- 75 /** In this type of map mode one logical point is equal to one-tenth 76 of inch. 77 */ 78 const long ONE_10TH_INCH = 6; 79 80 // ---------------------------------------------------------------------- 81 /** In this type of map mode one logical point is equal to one inch. 82 */ 83 const long ONE_INCH = 7; 84 85 // ---------------------------------------------------------------------- 86 /** In this type of map mode one logical point is equal to one 87 typographical point. 88 */ 89 const long POINT = 8; 90 91 // ---------------------------------------------------------------------- 92 /** In this type of map mode one logical point is equal to one twentieth 93 of typographical point. 94 */ 95 const long TWIP = 9; 96 97 // ---------------------------------------------------------------------- 98 /** In this type of map mode one logical point is equal to one pixel. 99 */ 100 const long PIXEL = 10; 101}; 102 103//============================================================================= 104 105}; }; }; }; 106 107#endif 108 109