LibreOffice LibreOffice 25.8 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
27published 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
53 [property] com::sun::star::drawing::MeasureKind MeasureKind;
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
81 [property] com::sun::star::drawing::MeasureTextHorzPos MeasureTextHorizontalPosition;
82
85 [property] com::sun::star::drawing::MeasureTextVertPos MeasureTextVerticalPosition;
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: */
com::sun::star::drawing::MeasureTextHorzPos
MeasureTextHorzPos
This enumeration defines the relative horizontal placement of the text inside a measure shape.
Definition: MeasureTextHorzPos.idl:28
com::sun::star::drawing::MeasureKind
MeasureKind
determines whether a measured shape is a standard measure or a radius measure.
Definition: MeasureKind.idl:30
com::sun::star::drawing::MeasureTextVertPos
MeasureTextVertPos
This enumeration defines the relative vertical placement of the text inside a measure shape.
Definition: MeasureTextVertPos.idl:28
com
Definition: Ambiguous.idl:20
com::sun::star::drawing::MeasureProperties
This service describes a MeasureShape.
Definition: MeasureProperties.idl:28
com::sun::star::drawing::MeasureProperties::MeasureHelpLineOverhang
long MeasureHelpLineOverhang
This is the overhang of the two help lines.
Definition: MeasureProperties.idl:49
com::sun::star::drawing::MeasureProperties::MeasureTextIsFixedAngle
boolean MeasureTextIsFixedAngle
If this value is TRUE, the measure has a fixed angle.
Definition: MeasureProperties.idl:89
com::sun::star::drawing::MeasureProperties::MeasureHelpLine2Length
long MeasureHelpLine2Length
This is the length of the second help line.
Definition: MeasureProperties.idl:40
com::sun::star::drawing::MeasureProperties::MeasureTextAutoAngleView
long MeasureTextAutoAngleView
This is the automatic angle.
Definition: MeasureProperties.idl:73
com::sun::star::drawing::MeasureProperties::MeasureTextFixedAngle
long MeasureTextFixedAngle
This is the fixed angle.
Definition: MeasureProperties.idl:77
com::sun::star::drawing::MeasureProperties::MeasureTextRotate90
boolean MeasureTextRotate90
If this value is TRUE, the text is rotated 90 degrees.
Definition: MeasureProperties.idl:93
com::sun::star::drawing::MeasureProperties::MeasureTextHorizontalPosition
com::sun::star::drawing::MeasureTextHorzPos MeasureTextHorizontalPosition
This is the horizontal position of the measure text.
Definition: MeasureProperties.idl:81
com::sun::star::drawing::MeasureProperties::MeasureTextAutoAngle
boolean MeasureTextAutoAngle
If this is TRUE, the angle of the measure is set automatically.
Definition: MeasureProperties.idl:69
com::sun::star::drawing::MeasureProperties::MeasureDecimalPlaces
short MeasureDecimalPlaces
This value is the number of decimal places that is used to format the measure value.
Definition: MeasureProperties.idl:104
com::sun::star::drawing::MeasureProperties::MeasureShowUnit
boolean MeasureShowUnit
If this is TRUE, the unit of measure is shown in the measure text.
Definition: MeasureProperties.idl:65
com::sun::star::drawing::MeasureProperties::MeasureBelowReferenceEdge
boolean MeasureBelowReferenceEdge
If this property is TRUE, the measure is drawn below the reference edge instead of above it.
Definition: MeasureProperties.idl:32
com::sun::star::drawing::MeasureProperties::MeasureTextUpsideDown
boolean MeasureTextUpsideDown
If this value is TRUE, the text is printed upside down.
Definition: MeasureProperties.idl:97
com::sun::star::drawing::MeasureProperties::MeasureLineDistance
long MeasureLineDistance
This is the distance from the reference edge to the measure line.
Definition: MeasureProperties.idl:57
com::sun::star::drawing::MeasureProperties::MeasureHelpLine1Length
long MeasureHelpLine1Length
This is the length of the first help line.
Definition: MeasureProperties.idl:36
com::sun::star::drawing::MeasureProperties::MeasureOverhang
long MeasureOverhang
This is the overhang of the reference line over the help lines.
Definition: MeasureProperties.idl:61
com::sun::star::drawing::MeasureProperties::MeasureKind
com::sun::star::drawing::MeasureKind MeasureKind
This enumeration specifies the MeasureKind.
Definition: MeasureProperties.idl:53
com::sun::star::drawing::MeasureProperties::MeasureHelpLineDistance
long MeasureHelpLineDistance
This is the distance from the measure line to the start of the help lines.
Definition: MeasureProperties.idl:45
com::sun::star::drawing::MeasureProperties::MeasureTextVerticalPosition
com::sun::star::drawing::MeasureTextVertPos MeasureTextVerticalPosition
This is the vertical position of the text.
Definition: MeasureProperties.idl:85