Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / offapi / com / sun / star / drawing / MeasureShape.idl
blob53d1e11911ff6366498f1ad2efb43c995d297d98
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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 .
19 #ifndef __com_sun_star_drawing_MeasureShape_idl__
20 #define __com_sun_star_drawing_MeasureShape_idl__
22 #include <com/sun/star/drawing/Shape.idl>
24 #include <com/sun/star/drawing/MeasureProperties.idl>
26 #include <com/sun/star/drawing/Text.idl>
28 #include <com/sun/star/drawing/ShadowProperties.idl>
29 #include <com/sun/star/drawing/LineProperties.idl>
31 #include <com/sun/star/drawing/RotationDescriptor.idl>
33 #include <com/sun/star/awt/Point.idl>
36 module com { module sun { module star { module drawing {
39 /** This service is for a dimensioning shape.
41 published service MeasureShape
43 service com::sun::star::drawing::Shape;
45 service com::sun::star::drawing::MeasureProperties;
47 service com::sun::star::drawing::LineProperties;
49 service com::sun::star::drawing::Text;
51 service com::sun::star::drawing::ShadowProperties;
53 service com::sun::star::drawing::RotationDescriptor;
55 /** this point is the start of the measured distance */
56 [property] com::sun::star::awt::Point StartPosition;
59 /** this point is the end of the measured distance */
60 [property] com::sun::star::awt::Point EndPosition;
64 }; }; }; };
66 #endif
68 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */