LibreOffice
LibreOffice 24.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 
20 
21 
22 module com { module sun { module star { module util {
23 
24 
28 published constants MeasureUnit
29 {
31  const short MM_100TH = 0;
32 
34  const short MM_10TH = 1;
35 
37  const short MM = 2;
38 
40  const short CM = 3;
41 
43  const short INCH_1000TH = 4;
44 
46  const short INCH_100TH = 5;
47 
49  const short INCH_10TH = 6;
50 
52  const short INCH = 7;
53 
55  const short POINT = 8;
56 
58  const short TWIP = 9;
59 
61  const short M = 10;
62 
64  const short KM = 11;
65 
67  const short PICA = 12;
68 
70  const short FOOT = 13;
71 
73  const short MILE = 14;
74 
76  const short PERCENT = 15;
77 
79  const short PIXEL = 16;
80 
82  const short APPFONT = 17;
83 
85  const short SYSFONT = 18;
86 
87 };
88 
89 
90 }; }; }; };
91 
92 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
const short CM
all measures for this component are in centimeters
Definition: MeasureUnit.idl:40
const short MM_10TH
all measures for this component are in 10th millimeter
Definition: MeasureUnit.idl:34
const short PERCENT
all measures for this component are in percentage
Definition: MeasureUnit.idl:76
const short PIXEL
all measures for this component are in pixel
Definition: MeasureUnit.idl:79
const short MILE
all measures for this component are in miles
Definition: MeasureUnit.idl:73
const short INCH_100TH
all measures for this component are in 100th inch
Definition: MeasureUnit.idl:46
Definition: Ambiguous.idl:20
const short SYSFONT
all measures for this component are in SYSFONT
Definition: MeasureUnit.idl:85
const short PICA
all measures for this component are in pica
Definition: MeasureUnit.idl:67
const short KM
all measures for this component are in kilometers
Definition: MeasureUnit.idl:64
const short INCH_10TH
all measures for this component are in 10th inch
Definition: MeasureUnit.idl:49
const short TWIP
all measures for this component are in twips
Definition: MeasureUnit.idl:58
const short M
all measures for this component are in meters
Definition: MeasureUnit.idl:61
const short MM
all measures for this component are in millimeter
Definition: MeasureUnit.idl:37
const short MM_100TH
all measures for this component are in 100th millimeter
Definition: MeasureUnit.idl:31
const short INCH_1000TH
all measures for this component are in 1000th inch
Definition: MeasureUnit.idl:43
const short POINT
all measures for this component are in points
Definition: MeasureUnit.idl:55
const short APPFONT
all measures for this component are in APPFONT
Definition: MeasureUnit.idl:82
const short FOOT
all measures for this component are in foot
Definition: MeasureUnit.idl:70
const short INCH
all measures for this component are in inch
Definition: MeasureUnit.idl:52