/*************************************************************************
 *
 *  OpenOffice.org - a multi-platform office productivity suite
 *
 *  $RCSfile: InteractionGridControl.idl,v $
 *
 *  $Revision: 1.7 $
 *
 *  last change: $Author: rt $ $Date: 2005-09-08 00:48:09 $
 *
 *  The Contents of this file are made available subject to
 *  the terms of GNU Lesser General Public License Version 2.1.
 *
 *
 *    GNU Lesser General Public License Version 2.1
 *    =============================================
 *    Copyright 2005 by Sun Microsystems, Inc.
 *    901 San Antonio Road, Palo Alto, CA 94303, USA
 *
 *    This library is free software; you can redistribute it and/or
 *    modify it under the terms of the GNU Lesser General Public
 *    License version 2.1, as published by the Free Software Foundation.
 *
 *    This library is distributed in the hope that it will be useful,
 *    but WITHOUT ANY WARRANTY; without even the implied warranty of
 *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 *    Lesser General Public License for more details.
 *
 *    You should have received a copy of the GNU Lesser General Public
 *    License along with this library; if not, write to the Free Software
 *    Foundation, Inc., 59 Temple Place, Suite 330, Boston,
 *    MA  02111-1307  USA
 *
 ************************************************************************/

#ifndef __com_sun_star_form_component_InteractionGridControl_idl__
#define __com_sun_star_form_component_InteractionGridControl_idl__

#ifndef __com_sun_star_form_control_GridControl_idl__
#include <com/sun/star/form/control/GridControl.idl>
#endif
#ifndef __com_sun_star_frame_XDispatch_idl__
#include <com/sun/star/frame/XDispatch.idl>
#endif

//=============================================================================

 module com {  module sun {  module star {  module form {  module control {

//=============================================================================

/** is an extended grid control, which allows the user to customize some of it's user interface's aspects.
*/
published service InteractionGridControl
{
    service com::sun::star::form::control::GridControl;

    /** allows access to the UI features of the control

        <p>Though concret implementations of the service may offer different sets of aspects which can be customized,
        the following commands have, if supported, a defined meaning:
        <dl>
            <dt>.uno:GridSlots/BrowserAttribs</dt><dd> (interactively) customize the overall appearance of the grid (font etc.)</dd>
            <dt>.uno:GridSlots/RowHeight</dt><dd> (interactively) customize the row height appearance of the grid</dd>
            <dt>.uno:GridSlots/ColumnAttribs</dt><dd> (interactively) customize the format of a given column</dd>
            <dt>.uno:GridSlots/ColumnWidth</dt><dd> (interactively) customize the width of a given column</dd>
        </dl>
        </p>

        <p>The following parameters may be passed when dispatching the commands above (as before, concrete implementations
        may extend this list):
        <dl>
            <dt>ColumnId</dt><dd> the id of the column in question, if the command is executed for a column</dd>
            <dt>ColumnModelPos</dt><dd> the model position of the column in question, if the command is executed for a column</dd>
            <dt>ColumnViewPos</dt><dd> the view position of the column in question, if the command is executed for a column. The
            view position may differ from the model position, as in a grid control, columns can be hidden.</dd>
        </dl>
        </p>
    */
    interface com::sun::star::frame::XDispatch;
};

//=============================================================================

}; }; }; }; };

/*=============================================================================

=============================================================================*/

#endif


