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