1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef __com_sun_star_util_MeasureUnit_idl__
20 #define __com_sun_star_util_MeasureUnit_idl__
24 module com
{ module sun
{ module star
{ module util
{
27 /** These constants are used to specify a measure.<p>
28 A component using these constants may not support all units.
30 published constants MeasureUnit
32 /** all measures for this component are in 100th millimeter */
33 const short MM_100TH
= 0;
35 /** all measures for this component are in 10th millimeter */
36 const short MM_10TH
= 1;
38 /** all measures for this component are in millimeter */
41 /** all measures for this component are in centimeters */
44 /** all measures for this component are in 1000th inch */
45 const short INCH_1000TH
= 4;
47 /** all measures for this component are in 100th inch */
48 const short INCH_100TH
= 5;
50 /** all measures for this component are in 10th inch */
51 const short INCH_10TH
= 6;
53 /** all measures for this component are in inch */
56 /** all measures for this component are in points */
57 const short POINT
= 8;
59 /** all measures for this component are in twips */
62 /** all measures for this component are in meters */
65 /** all measures for this component are in kilometers */
68 /** all measures for this component are in pica */
69 const short PICA
= 12;
71 /** all measures for this component are in foot */
72 const short FOOT
= 13;
74 /** all measures for this component are in miles */
75 const short MILE
= 14;
77 /** all measures for this component are in percentage */
78 const short PERCENT
= 15;
80 /** all measures for this component are in pixel */
81 const short PIXEL
= 16;
83 /** all measures for this component are in APPFONT */
84 const short APPFONT
= 17;
86 /** all measures for this component are in SYSFONT */
87 const short SYSFONT
= 18;
96 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */