tdf#130857 qt weld: Implement QtInstanceWidget::strip_mnemonic
[LibreOffice.git] / offapi / com / sun / star / util / MeasureUnit.idl
blobef3f52de9a64e27947a0e4269b77873f7b44da46
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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 .
22 module com { module sun { module star { module util {
25 /** These constants are used to specify a measure.<p>
26 A component using these constants may not support all units.
28 published constants MeasureUnit
30 /** all measures for this component are in 100th millimeter */
31 const short MM_100TH = 0;
33 /** all measures for this component are in 10th millimeter */
34 const short MM_10TH = 1;
36 /** all measures for this component are in millimeter */
37 const short MM = 2;
39 /** all measures for this component are in centimeters */
40 const short CM = 3;
42 /** all measures for this component are in 1000th inch */
43 const short INCH_1000TH = 4;
45 /** all measures for this component are in 100th inch */
46 const short INCH_100TH = 5;
48 /** all measures for this component are in 10th inch */
49 const short INCH_10TH = 6;
51 /** all measures for this component are in inch */
52 const short INCH = 7;
54 /** all measures for this component are in points */
55 const short POINT = 8;
57 /** all measures for this component are in twips */
58 const short TWIP = 9;
60 /** all measures for this component are in meters */
61 const short M = 10;
63 /** all measures for this component are in kilometers */
64 const short KM = 11;
66 /** all measures for this component are in pica */
67 const short PICA = 12;
69 /** all measures for this component are in foot */
70 const short FOOT = 13;
72 /** all measures for this component are in miles */
73 const short MILE = 14;
75 /** all measures for this component are in percentage */
76 const short PERCENT = 15;
78 /** all measures for this component are in pixel */
79 const short PIXEL = 16;
81 /** all measures for this component are in APPFONT */
82 const short APPFONT = 17;
84 /** all measures for this component are in SYSFONT */
85 const short SYSFONT = 18;
87 /** all measures for this component are in em relative to the font
89 @since LibreOffice 25.2
91 const short FONT_EM = 19;
93 /** all measures for this component are in ic, per the CSS definition
95 @since LibreOffice 25.2
97 const short FONT_CJK_ADVANCE = 20;
102 }; }; }; };
104 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */