LibreOffice: com/sun/star/sheet/XCellRangesAccess.idl Source File

LibreOffice LibreOffice 7.3 SDK API Reference

XCellRangesAccess.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#ifndef __com_sun_star_sheet_XCellRangesAccess_idl__
21#define __com_sun_star_sheet_XCellRangesAccess_idl__
22
23#include <com/sun/star/uno/XInterface.idl>
24#include <com/sun/star/lang/IndexOutOfBoundsException.idl>
25#include <com/sun/star/lang/IllegalArgumentException.idl>
26#include <com/sun/star/table/XCell.idl>
27#include <com/sun/star/table/XCellRange.idl>
28
29
30module com { module sun { module star { module sheet {
31
32
37published interface XCellRangesAccess: com::sun::star::uno::XInterface
38{
39
59 com::sun::star::table::XCell getCellByPosition(
60 [in] long nColumn,
61 [in] long nRow,
62 [in] long nSheet )
63 raises( com::sun::star::lang::IndexOutOfBoundsException );
64
65
91 com::sun::star::table::XCellRange getCellRangeByPosition(
92 [in] long nLeft,
93 [in] long nTop,
94 [in] long nRight,
95 [in] long nBottom,
96 [in] long nSheet )
97 raises( com::sun::star::lang::IndexOutOfBoundsException );
98
99
115 sequence <com::sun::star::table::XCellRange> getCellRangesByName( [in] string aRange )
116 raises( com::sun::star::lang::IllegalArgumentException );
117
118};
119
120
121}; }; }; };
122
123#endif
124
125/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
IllegalArgumentException.idl
IndexOutOfBoundsException.idl
XCellRange.idl
XCell.idl
XInterface.idl
com::sun::star::lang::IllegalArgumentException
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument.
Definition: IllegalArgumentException.idl:31
com::sun::star::lang::IndexOutOfBoundsException
This exception is thrown to indicate that a container has been accessed with an illegal index.
Definition: IndexOutOfBoundsException.idl:35
com::sun::star::sheet::XCellRangesAccess
provides access to the cells or to sub-ranges of all sheets.
Definition: XCellRangesAccess.idl:38
com::sun::star::sheet::XCellRangesAccess::getCellRangesByName
sequence< com::sun::star::table::XCellRange > getCellRangesByName([in] string aRange)
Returns a sub-range of cells within the range.
com::sun::star::sheet::XCellRangesAccess::getCellByPosition
com::sun::star::table::XCell getCellByPosition([in] long nColumn, [in] long nRow, [in] long nSheet)
Returns a single cell within the range.
com::sun::star::sheet::XCellRangesAccess::getCellRangeByPosition
com::sun::star::table::XCellRange getCellRangeByPosition([in] long nLeft, [in] long nTop, [in] long nRight, [in] long nBottom, [in] long nSheet)
Returns a sub-range of cells within the range.
com::sun::star::table::XCellRange
provides access to the cells or to sub-ranges of a cell range.
Definition: XCellRange.idl:36
com::sun::star::table::XCell
provides methods to access the contents of a cell in a table.
Definition: XCell.idl:35
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition: XInterface.idl:48
com
Definition: Ambiguous.idl:22