LibreOffice: com/sun/star/drawing/XShape.idl Source File

LibreOffice LibreOffice 25.8 SDK API Reference

Loading...
Searching...
No Matches
XShape.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
28published interface XShape: com::sun::star::drawing::XShapeDescriptor
29{
30
36 com::sun::star::awt::Point getPosition();
37
38
44 void setPosition( [in] com::sun::star::awt::Point aPosition );
45
46
52 com::sun::star::awt::Size getSize();
53
54
60 void setSize( [in] com::sun::star::awt::Size aSize )
61 raises( com::sun::star::beans::PropertyVetoException );
62
63};
64
65
66}; }; }; };
67
68/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::beans::PropertyVetoException
This exception is thrown when a proposed change to a property represents an unacceptable value.
Definition PropertyVetoException.idl:31
com::sun::star::drawing::XShapeDescriptor
offers some settings which are allowed even for objects which are not yet inserted into a draw page.
Definition XShapeDescriptor.idl:31
com::sun::star::drawing::XShape
lets you do a basic transformation on a Shape and get its type.
Definition XShape.idl:29
com::sun::star::drawing::XShape::getSize
com::sun::star::awt::Size getSize()
gets the size of this object.
com::sun::star::drawing::XShape::setSize
void setSize([in] com::sun::star::awt::Size aSize)
sets the size of this object.
com::sun::star::drawing::XShape::getPosition
com::sun::star::awt::Point getPosition()
gets the current position of this object.
com::sun::star::drawing::XShape::setPosition
void setPosition([in] com::sun::star::awt::Point aPosition)
sets the current position of this object
com
Definition Ambiguous.idl:20
com::sun::star::awt::Point
specifies a 2-dimensional point using the Cartesian coordinate system.
Definition Point.idl:28
com::sun::star::awt::Size
specifies the 2-dimensional size of an area using width and height.
Definition Size.idl:28