| /************************************************************** |
| * |
| * Licensed to the Apache Software Foundation (ASF) under one |
| * or more contributor license agreements. See the NOTICE file |
| * distributed with this work for additional information |
| * regarding copyright ownership. The ASF licenses this file |
| * to you under the Apache License, Version 2.0 (the |
| * "License"); you may not use this file except in compliance |
| * with the License. You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, |
| * software distributed under the License is distributed on an |
| * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| * KIND, either express or implied. See the License for the |
| * specific language governing permissions and limitations |
| * under the License. |
| * |
| *************************************************************/ |
| |
| |
| #ifndef __com_sun_star_drawing_XShapes_idl__ |
| #define __com_sun_star_drawing_XShapes_idl__ |
| |
| #ifndef __com_sun_star_container_XIndexAccess_idl__ |
| #include <com/sun/star/container/XIndexAccess.idl> |
| #endif |
| |
| #ifndef __com_sun_star_drawing_XShape_idl__ |
| #include <com/sun/star/drawing/XShape.idl> |
| #endif |
| |
| |
| //============================================================================= |
| |
| module com { module sun { module star { module drawing { |
| |
| //============================================================================= |
| |
| /** makes it possible to access, add, and remove the |
| <type>Shape</type>s in a collection. |
| |
| @see DrawPage |
| @see MasterPage |
| @see DrawingDocumentDrawView |
| */ |
| published interface XShapes: com::sun::star::container::XIndexAccess |
| { |
| //------------------------------------------------------------------------- |
| |
| /** inserts a <type>Shape</type> into this collection. |
| |
| @param xShape |
| a <type>Shape</type> that will be inserted. |
| */ |
| void add( [in] com::sun::star::drawing::XShape xShape ); |
| |
| //------------------------------------------------------------------------- |
| |
| /** removes a <type>Shape</type> from this collection. |
| |
| @param xShape |
| the <type>Shape</type> will be removed from the |
| collection and disposed. |
| */ |
| void remove( [in] com::sun::star::drawing::XShape xShape ); |
| |
| }; |
| |
| //============================================================================= |
| |
| }; }; }; }; |
| |
| #endif |
| |