Version 7.6.3.2-android, tag libreoffice-7.6.3.2-android
[LibreOffice.git] / offapi / com / sun / star / sheet / ExternalReference.idl
blobf512aea2b06adc96110d811fef0c1e144daab194
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
20 module com { module sun { module star { module sheet {
23 /** Data structure to store information about an external reference. An
24 external reference can be either a single cell reference, a cell range
25 reference, or a named range.
27 @see FormulaMapGroupSpecialOffset::PUSH
29 @since OOo 3.1
31 struct ExternalReference
34 /** Index of an externally linked document. Each externally-linked document
35 has a unique index value.
37 <p>You can get the index value of an external document from the
38 corresponding com::sun::star::sheet::ExternalDocLink
39 instance through its attribute com::sun::star::sheet::ExternalDocLink::TokenIndex.</p>
41 @see com::sun::star::sheet::ExternalDocLink
42 @see com::sun::star::sheet::ExternalDocLink::TokenIndex
44 long Index;
46 // /** Name of the sheet that the external reference points to.
48 // <p>In case of a cell range reference that spans across multiple
49 // sheets, this is the name of the first sheet in that range.</p>
51 // <p>Note that an external range name ignores this value at the moment,
52 // but <i>it may make use of this data in the future when Calc supports a
53 // sheet-specific range name.</i></p>
54 // */
55 // string SheetName;
57 /** Reference data.
59 <p>This can store either SingleReference for a single
60 cell reference, ComplexReference for a cell range
61 reference, or simply a string for a defined name.</p>
63 <p>The SingleReference::Sheet member shall contain
64 the index of the external sheet cache containing the values of the
65 externally referenced cells.</p>
67 @see com::sun::star::sheet::SingleReference
68 @see com::sun::star::sheet::ComplexReference
70 any Reference;
74 }; }; }; };
76 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */