LibreOffice LibreOffice 25.2 SDK API Reference

XGridDataModel.idl
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
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/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
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 .
18 */
19
20
21
22module com { module sun { module star { module awt { module grid {
23
31published interface XGridDataModel
32{
35 interface ::com::sun::star::lang::XComponent;
36
39 interface ::com::sun::star::util::XCloneable;
40
43 [attribute, readonly] long RowCount;
44
47 [attribute, readonly] long ColumnCount;
48
54 any getCellData( [in] long Column, [in] long RowIndex )
55 raises ( ::com::sun::star::lang::IndexOutOfBoundsException );
56
67 any getCellToolTip( [in] long Column, [in] long RowIndex )
68 raises ( ::com::sun::star::lang::IndexOutOfBoundsException );
69
79 any
80 getRowHeading( [in] long RowIndex )
81 raises ( ::com::sun::star::lang::IndexOutOfBoundsException );
82
93 sequence< any >
94 getRowData( [in] long RowIndex )
95 raises ( ::com::sun::star::lang::IndexOutOfBoundsException );
96};
97
98
99}; }; }; };};
100
101/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::lang::IndexOutOfBoundsException
This exception is thrown to indicate that a container has been accessed with an illegal index.
Definition: IndexOutOfBoundsException.idl:31
com::sun::star::awt::grid::XGridDataModel
An instance of this interface is used by the UnoControlGrid to retrieve the content data that is disp...
Definition: XGridDataModel.idl:32
com::sun::star::awt::grid::XGridDataModel::getRowHeading
any getRowHeading([in] long RowIndex)
retrieves the heading of a given row
com::sun::star::awt::grid::XGridDataModel::ColumnCount
long ColumnCount
denotes the number of columns for which the model can provide data
Definition: XGridDataModel.idl:47
com::sun::star::awt::grid::XGridDataModel::getCellToolTip
any getCellToolTip([in] long Column, [in] long RowIndex)
retrieves the tool tip to be displayed when the mouse hovers over a given cell
com::sun::star::awt::grid::XGridDataModel::getCellData
any getCellData([in] long Column, [in] long RowIndex)
retrieves the data for a given cell
com::sun::star::awt::grid::XGridDataModel::RowCount
long RowCount
denotes the number of rows for which the model can provide data
Definition: XGridDataModel.idl:39
com::sun::star::awt::grid::XGridDataModel::getRowData
sequence< any > getRowData([in] long RowIndex)
retrieves the data for a complete row
com
Definition: Ambiguous.idl:20