1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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 drawing
{
25 /** This service describes a MeasureShape.
27 published service MeasureProperties
29 /** If this property is `TRUE`, the measure is drawn below the
30 reference edge instead of above it.
32 [property
] boolean MeasureBelowReferenceEdge
;
34 /** This is the length of the first help line.
36 [property
] long MeasureHelpLine1Length
;
38 /** This is the length of the second help line.
40 [property
] long MeasureHelpLine2Length
;
42 /** This is the distance from the measure line to the start of the
45 [property
] long MeasureHelpLineDistance
;
47 /** This is the overhang of the two help lines.
49 [property
] long MeasureHelpLineOverhang
;
51 /** This enumeration specifies the MeasureKind.
53 [property
] com
::sun
::star
::drawing
::MeasureKind MeasureKind
;
55 /** This is the distance from the reference edge to the measure line.
57 [property
] long MeasureLineDistance
;
59 /** This is the overhang of the reference line over the help lines.
61 [property
] long MeasureOverhang
;
63 /** If this is `TRUE`, the unit of measure is shown in the measure text.
65 [property
] boolean MeasureShowUnit
;
67 /** If this is `TRUE`, the angle of the measure is set automatically.
69 [property
] boolean MeasureTextAutoAngle
;
71 /** This is the automatic angle.
73 [property
] long MeasureTextAutoAngleView
;
75 /** This is the fixed angle.
77 [property
] long MeasureTextFixedAngle
;
79 /** This is the horizontal position of the measure text.
81 [property
] com
::sun
::star
::drawing
::MeasureTextHorzPos MeasureTextHorizontalPosition
;
83 /** This is the vertical position of the text.
85 [property
] com
::sun
::star
::drawing
::MeasureTextVertPos MeasureTextVerticalPosition
;
87 /** If this value is `TRUE`, the measure has a fixed angle.
89 [property
] boolean MeasureTextIsFixedAngle
;
91 /** If this value is `TRUE`, the text is rotated 90 degrees.
93 [property
] boolean MeasureTextRotate90
;
95 /** If this value is `TRUE`, the text is printed upside down.
97 [property
] boolean MeasureTextUpsideDown
;
99 /** This value is the number of decimal places that is used to format the
104 [optional, property
] short MeasureDecimalPlaces
;
110 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */