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

LibreOffice LibreOffice 7.3 SDK API Reference

XExternalSheetCache.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_XExternalSheetCache_idl__
21#define __com_sun_star_sheet_XExternalSheetCache_idl__
22
23#include <com/sun/star/lang/IllegalArgumentException.idl>
24
25module com { module sun { module star { module sheet {
26
33 interface XExternalSheetCache
34{
43 void setCellValue( [in] long nColumn, [in] long nRow, [in] any aValue )
44 raises (com::sun::star::lang::IllegalArgumentException);
45
51 any getCellValue( [in] long nColumn, [in] long nRow )
52 raises (com::sun::star::lang::IllegalArgumentException);
53
59 sequence< long > getAllRows();
60
67 sequence< long > getAllColumns( [in] long nRow )
68 raises (com::sun::star::lang::IllegalArgumentException);
69
70
84 [attribute, readonly] long TokenIndex;
85
86};
87
88}; }; }; };
89
90#endif
91
92/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
IllegalArgumentException.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::sheet::XExternalSheetCache
Primary interface for the com::sun::star::sheet::ExternalSheetCache service.
Definition: XExternalSheetCache.idl:34
com::sun::star::sheet::XExternalSheetCache::getAllRows
sequence< long > getAllRows()
It returns a list of all row numbers where a cached cell or cells exist.
com::sun::star::sheet::XExternalSheetCache::setCellValue
void setCellValue([in] long nColumn, [in] long nRow, [in] any aValue)
It sets a cached value for a specified cell position.
com::sun::star::sheet::XExternalSheetCache::getAllColumns
sequence< long > getAllColumns([in] long nRow)
Given a row number, this method returns a list of all columns numbers that store cached cell values i...
com::sun::star::sheet::XExternalSheetCache::TokenIndex
long TokenIndex
Index corresponding to this instance of an external sheet cache for usage in formula tokens.
Definition: XExternalSheetCache.idl:84
com::sun::star::sheet::XExternalSheetCache::getCellValue
any getCellValue([in] long nColumn, [in] long nRow)
It retrieves a cached value from a specified cell position.
com
Definition: Accessible.idl:22