/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   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 .
 */
#ifndef __com_sun_star_drawing_XShapeArranger_idl__
#define __com_sun_star_drawing_XShapeArranger_idl__

#include <com/sun/star/uno/XInterface.idl>

#include <com/sun/star/drawing/XShapes.idl>

#include <com/sun/star/drawing/Arrangement.idl>

#include <com/sun/star/drawing/XShape.idl>



 module com {  module sun {  module star {  module drawing {

/** Objects implementing this interface can be used to arrange
    Shapes.

    @deprecated
 */
published interface XShapeArranger: com::sun::star::uno::XInterface
{
    /** applies the specified Arrangement to
        the specified collection of Shapes.
     */
    void arrange( [in] com::sun::star::drawing::XShapes xShapes,
             [in] com::sun::star::drawing::Arrangement eType );

    /** moves the specified Shapes by a specified number
        of objects more to the front.
     */
    void bringToFront( [in] com::sun::star::drawing::XShapes xShapes,
             [in] short nSteps );

    /** moves the specified Shapes
        <var>nSteps</var> objects more to the back.
     */
    void sendToBack( [in] com::sun::star::drawing::XShapes xShapes,
             [in] short nSteps );

    /** moves the specified collection of Shapes
        behind the specified single Shape.
     */
    void setBehindShape( [in] com::sun::star::drawing::XShapes xShapes,
             [in] com::sun::star::drawing::XShape xShape );

    /** moves the specified collection of Shapes in
        front of the specified single Shape.
     */
    void setInFrontOf( [in] com::sun::star::drawing::XShapes xShapes,
             [in] com::sun::star::drawing::XShape xShape );

    /** reverses the order of the specified collection of
        Shapes.
     */
    void reverseOrder( [in] com::sun::star::drawing::XShapes xShapes );

};


}; }; }; };

#endif

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
