LibreOffice
LibreOffice 6.2 SDK API Reference
MeasureUnit.idl
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
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/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
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 .
18  */
19 #ifndef __com_sun_star_util_MeasureUnit_idl__
20 #define __com_sun_star_util_MeasureUnit_idl__
21 
22 
23 
24 module com { module sun { module star { module util {
25 
26 
30 published constants MeasureUnit
31 {
33  const short MM_100TH = 0;
34 
36  const short MM_10TH = 1;
37 
39  const short MM = 2;
40 
42  const short CM = 3;
43 
45  const short INCH_1000TH = 4;
46 
48  const short INCH_100TH = 5;
49 
51  const short INCH_10TH = 6;
52 
54  const short INCH = 7;
55 
57  const short POINT = 8;
58 
60  const short TWIP = 9;
61 
63  const short M = 10;
64 
66  const short KM = 11;
67 
69  const short PICA = 12;
70 
72  const short FOOT = 13;
73 
75  const short MILE = 14;
76 
78  const short PERCENT = 15;
79 
81  const short PIXEL = 16;
82 
84  const short APPFONT = 17;
85 
87  const short SYSFONT = 18;
88 
89 };
90 
91 
92 }; }; }; };
93 
94 #endif
95 
96 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
const short CM
all measures for this component are in centimeters
Definition: MeasureUnit.idl:42
const short MM_10TH
all measures for this component are in 10th millimeter
Definition: MeasureUnit.idl:36
const short PERCENT
all measures for this component are in percentage
Definition: MeasureUnit.idl:78
const short PIXEL
all measures for this component are in pixel
Definition: MeasureUnit.idl:81
const short MILE
all measures for this component are in miles
Definition: MeasureUnit.idl:75
const short INCH_100TH
all measures for this component are in 100th inch
Definition: MeasureUnit.idl:48
Definition: Ambiguous.idl:22
const short SYSFONT
all measures for this component are in SYSFONT
Definition: MeasureUnit.idl:87
const short PICA
all measures for this component are in pica
Definition: MeasureUnit.idl:69
const short KM
all measures for this component are in kilometers
Definition: MeasureUnit.idl:66
const short INCH_10TH
all measures for this component are in 10th inch
Definition: MeasureUnit.idl:51
const short TWIP
all measures for this component are in twips
Definition: MeasureUnit.idl:60
const short M
all measures for this component are in meters
Definition: MeasureUnit.idl:63
const short MM
all measures for this component are in millimeter
Definition: MeasureUnit.idl:39
const short MM_100TH
all measures for this component are in 100th millimeter
Definition: MeasureUnit.idl:33
const short INCH_1000TH
all measures for this component are in 1000th inch
Definition: MeasureUnit.idl:45
const short POINT
all measures for this component are in points
Definition: MeasureUnit.idl:57
const short APPFONT
all measures for this component are in APPFONT
Definition: MeasureUnit.idl:84
const short FOOT
all measures for this component are in foot
Definition: MeasureUnit.idl:72
const short INCH
all measures for this component are in inch
Definition: MeasureUnit.idl:54