lok: vcl: fix multiple floatwin removal case more robustly.
[LibreOffice.git] / oovbaapi / ooo / vba / excel / XLineObjects.idl
blob031108cb624cd9beb3d1090473ebfab42ff64b80
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 .
20 #ifndef __ooo_vba_excel_XLineObjects_idl__
21 #define __ooo_vba_excel_XLineObjects_idl__
23 #include <com/sun/star/uno/XInterface.idl>
25 module ooo { module vba { module excel {
27 /** Collections that implement this interface provide access to a specific type
28 of drawing objects in a single sheet.
30 <p>The following sheet symbols represent collections of line objects, and
31 therefore implement this interface:</p>
32 <ul><li>Arcs: arc objects, and</li>
33 <li>Lines: straight line objects.</li></ul>
35 <p>This symbol is now deprecated in VBA but kept for compatibility with old
36 VBA scripts.</p>
38 interface XLineObjects : com::sun::star::uno::XInterface
40 /** Adds a new line object to the sheet this collection belongs to. The
41 type of the object is determined by the type of the collection.
43 @param X1 Position of the first X coordinate in points (1/72 inch).
44 @param Y1 Position of the first Y coordinate in points (1/72 inch).
45 @param X2 Position of the last X coordinate in points (1/72 inch).
46 @param Y2 Position of the last Y coordinate in points (1/72 inch).
48 @return The created line object.
50 any Add( [in] any X1, [in] any Y1, [in] any X2, [in] any Y2 );
53 }; }; };
55 #endif
57 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */