xref: /aoo4110/main/offapi/com/sun/star/awt/FieldUnit.idl (revision b1cdbd2c)
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_awt_FieldUnit_idl__
24#define __com_sun_star_awt_FieldUnit_idl__
25
26//=============================================================================
27
28 module com {  module sun {  module star {  module awt {
29
30//=============================================================================
31
32/** specifies attributes for the MetricField map units.
33
34	<p><b>IMPORTANT:</b> These constands have to be disjunct with
35	constants in <type>util/MeasureUnit</type>.</p>
36 */
37constants FieldUnit
38{
39    const short FUNIT_NONE = 0;
40    const short FUNIT_MM = 1;
41    const short FUNIT_CM = 2;
42    const short FUNIT_M = 3;
43    const short FUNIT_KM = 4;
44    const short FUNIT_TWIP = 5;
45    const short FUNIT_POINT = 6;
46    const short FUNIT_PICA = 7;
47    const short FUNIT_INCH = 8;
48    const short FUNIT_FOOT = 9;
49    const short FUNIT_MILE = 10;
50    const short FUNIT_CUSTOM = 11;
51    const short FUNIT_PERCENT = 12;
52    const short FUNIT_100TH_MM = 13;
53};
54
55//=============================================================================
56
57}; }; }; };
58
59#endif
60