LibreOffice
LibreOffice 6.2 SDK API Reference
MeasureProperties.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_drawing_MeasureProperties_idl__
20 #define __com_sun_star_drawing_MeasureProperties_idl__
21 
23 
25 
27 
28 
29 
30  module com { module sun { module star { module drawing {
31 
32 
35 published service MeasureProperties
36 {
40  [property] boolean MeasureBelowReferenceEdge;
41 
44  [property] long MeasureHelpLine1Length;
45 
48  [property] long MeasureHelpLine2Length;
49 
53  [property] long MeasureHelpLineDistance;
54 
57  [property] long MeasureHelpLineOverhang;
58 
62 
65  [property] long MeasureLineDistance;
66 
69  [property] long MeasureOverhang;
70 
73  [property] boolean MeasureShowUnit;
74 
77  [property] boolean MeasureTextAutoAngle;
78 
81  [property] long MeasureTextAutoAngleView;
82 
85  [property] long MeasureTextFixedAngle;
86 
90 
94 
97  [property] boolean MeasureTextIsFixedAngle;
98 
101  [property] boolean MeasureTextRotate90;
102 
105  [property] boolean MeasureTextUpsideDown;
106 
112  [optional, property] short MeasureDecimalPlaces;
113  };
114 
115 
116 }; }; }; };
117 
118 #endif
119 
120 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
long MeasureTextAutoAngleView
This is the automatic angle.
Definition: MeasureProperties.idl:81
This service describes a MeasureShape.
Definition: MeasureProperties.idl:35
long MeasureLineDistance
This is the distance from the reference edge to the measure line.
Definition: MeasureProperties.idl:65
long MeasureHelpLineOverhang
This is the overhang of the two help lines.
Definition: MeasureProperties.idl:57
MeasureKind
determines whether a measured shape is a standard measure or a radius measure.
Definition: MeasureKind.idl:31
Definition: Ambiguous.idl:22
long MeasureHelpLine1Length
This is the length of the first help line.
Definition: MeasureProperties.idl:44
MeasureTextVertPos
This enumeration defines the relative vertical placement of the text inside a measure shape...
Definition: MeasureTextVertPos.idl:29
short MeasureDecimalPlaces
This value is the number of decimal places that is used to format the measure value.
Definition: MeasureProperties.idl:112
MeasureTextHorzPos
This enumeration defines the relative horizontal placement of the text inside a measure shape...
Definition: MeasureTextHorzPos.idl:29
boolean MeasureTextRotate90
If this value is TRUE, the text is rotated 90 degrees.
Definition: MeasureProperties.idl:101
boolean MeasureTextAutoAngle
If this is TRUE, the angle of the measure is set automatically.
Definition: MeasureProperties.idl:77
long MeasureHelpLineDistance
This is the distance from the measure line to the start of the help lines.
Definition: MeasureProperties.idl:53
boolean MeasureTextIsFixedAngle
If this value is TRUE, the measure has a fixed angle.
Definition: MeasureProperties.idl:97
com::sun::star::drawing::MeasureTextHorzPos MeasureTextHorizontalPosition
This is the horizontal position of the measure text.
Definition: MeasureProperties.idl:89
boolean MeasureTextUpsideDown
If this value is TRUE, the text is printed upside down.
Definition: MeasureProperties.idl:105
boolean MeasureShowUnit
If this is TRUE, the unit of measure is shown in the measure text.
Definition: MeasureProperties.idl:73
long MeasureTextFixedAngle
This is the fixed angle.
Definition: MeasureProperties.idl:85
long MeasureOverhang
This is the overhang of the reference line over the help lines.
Definition: MeasureProperties.idl:69
com::sun::star::drawing::MeasureTextVertPos MeasureTextVerticalPosition
This is the vertical position of the text.
Definition: MeasureProperties.idl:93
boolean MeasureBelowReferenceEdge
If this property is TRUE, the measure is drawn below the reference edge instead of above it...
Definition: MeasureProperties.idl:40
long MeasureHelpLine2Length
This is the length of the second help line.
Definition: MeasureProperties.idl:48
com::sun::star::drawing::MeasureKind MeasureKind
This enumeration specifies the MeasureKind.
Definition: MeasureProperties.idl:61