1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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 .
21 module com
{ module sun
{ module star
{ module sheet
{
24 /** provides a method to set an external name at the sheet.
26 <p>An external reference in a cell formula is implemented using a
27 hidden sheet which is linked to the sheet in the external document.
28 The name of the hidden sheet is composed of the URL of the external
29 document and the external sheet name.</p>
33 interface XExternalSheetName
: com
::sun
::star
::uno
::XInterface
36 /** sets an external name at the sheet.
38 <p>This method allows to compose the sheet name from the URL of the
39 external document and the name of the external sheet.</p>
42 the URL of the external document.
45 the name of the sheet in the external document.
47 @throws ::com::sun::star::container::ElementExistException
48 a sheet with that external name already exists in this document
50 void setExternalName
( [in] string aUrl
, [in] string aSheetName
)
51 raises
(com
::sun
::star
::container
::ElementExistException
);
58 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */