/* -*- 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_form_control_GridControl_idl__
#define __com_sun_star_form_control_GridControl_idl__
#include The model of the control has to support the com::sun::star::form::component::GridControl
service. Only the column position can be modified using this interface, as the row position within
a table control bound to a data source is given implicitly (by the cursor position of the data source). Besides the normal operation mode (which is used to display the database form's data) the control may
for instance support a filter mode. The selection used with the methods com::sun::star::view::XSelectionSupplier::getSelection()
and com::sun::star::view::XSelectionSupplier::select() is a sequence of Any's. A grid control can contain own UI elements for traveling within the database form it belongs to (This
concept seems to make sense, as a grid control - in opposite to other data aware controls - displays
not only one record at a time, but a larger number of records of the database form.) Usual URLs to use include
Here the elements of the Sequence are the bookmarks (in the com::sun::star::sdb::RowSet)
of the (to-be-) selected rows.
With the help of this interface, external components which wish to handle such travelings themselves can
register interceptors for the actions in question.
A concrete implementation of this service may offer more or less URLs, but if it offers some of the URLs above, it must stick to the meanings defined above.
*/ [optional] interface com::sun::star::frame::XDispatchProviderInterception; }; }; }; }; }; }; #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */