LibreOffice LibreOffice 25.8 SDK API Reference

Loading...
Searching...
No Matches
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
22module com { module sun { module star { module util {
23
24
28published 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
91 const short FONT_EM = 19;
92
97 const short FONT_CJK_ADVANCE = 20;
98
99};
100
101
102}; }; }; };
103
104/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::util::MeasureUnit
These constants are used to specify a measure.
Definition MeasureUnit.idl:29
com::sun::star::util::MeasureUnit::POINT
const short POINT
all measures for this component are in points
Definition MeasureUnit.idl:55
com::sun::star::util::MeasureUnit::INCH_10TH
const short INCH_10TH
all measures for this component are in 10th inch
Definition MeasureUnit.idl:49
com::sun::star::util::MeasureUnit::MM_100TH
const short MM_100TH
all measures for this component are in 100th millimeter
Definition MeasureUnit.idl:31
com::sun::star::util::MeasureUnit::APPFONT
const short APPFONT
all measures for this component are in APPFONT
Definition MeasureUnit.idl:82
com::sun::star::util::MeasureUnit::KM
const short KM
all measures for this component are in kilometers
Definition MeasureUnit.idl:64
com::sun::star::util::MeasureUnit::TWIP
const short TWIP
all measures for this component are in twips
Definition MeasureUnit.idl:58
com::sun::star::util::MeasureUnit::PERCENT
const short PERCENT
all measures for this component are in percentage
Definition MeasureUnit.idl:76
com::sun::star::util::MeasureUnit::INCH
const short INCH
all measures for this component are in inch
Definition MeasureUnit.idl:52
com::sun::star::util::MeasureUnit::MM_10TH
const short MM_10TH
all measures for this component are in 10th millimeter
Definition MeasureUnit.idl:34
com::sun::star::util::MeasureUnit::INCH_100TH
const short INCH_100TH
all measures for this component are in 100th inch
Definition MeasureUnit.idl:46
com::sun::star::util::MeasureUnit::MM
const short MM
all measures for this component are in millimeter
Definition MeasureUnit.idl:37
com::sun::star::util::MeasureUnit::FOOT
const short FOOT
all measures for this component are in foot
Definition MeasureUnit.idl:70
com::sun::star::util::MeasureUnit::PICA
const short PICA
all measures for this component are in pica
Definition MeasureUnit.idl:67
com::sun::star::util::MeasureUnit::PIXEL
const short PIXEL
all measures for this component are in pixel
Definition MeasureUnit.idl:79
com::sun::star::util::MeasureUnit::MILE
const short MILE
all measures for this component are in miles
Definition MeasureUnit.idl:73
com::sun::star::util::MeasureUnit::CM
const short CM
all measures for this component are in centimeters
Definition MeasureUnit.idl:40
com::sun::star::util::MeasureUnit::FONT_EM
const short FONT_EM
all measures for this component are in em relative to the font
Definition MeasureUnit.idl:91
com::sun::star::util::MeasureUnit::FONT_CJK_ADVANCE
const short FONT_CJK_ADVANCE
all measures for this component are in ic, per the CSS definition
Definition MeasureUnit.idl:97
com::sun::star::util::MeasureUnit::M
const short M
all measures for this component are in meters
Definition MeasureUnit.idl:61
com::sun::star::util::MeasureUnit::INCH_1000TH
const short INCH_1000TH
all measures for this component are in 1000th inch
Definition MeasureUnit.idl:43
com::sun::star::util::MeasureUnit::SYSFONT
const short SYSFONT
all measures for this component are in SYSFONT
Definition MeasureUnit.idl:85
com
Definition Ambiguous.idl:20