LibreOffice LibreOffice 25.2 SDK API Reference

XSheetLinkable.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
21module com { module sun { module star { module sheet {
22
23
36published interface XSheetLinkable: com::sun::star::uno::XInterface
37{
38
45 com::sun::star::sheet::SheetLinkMode getLinkMode();
46
47
58 void setLinkMode( [in] com::sun::star::sheet::SheetLinkMode nLinkMode );
59
60
63 string getLinkUrl();
64
65
71 void setLinkUrl( [in] string aLinkUrl );
72
73
76 string getLinkSheetName();
77
78
84 void setLinkSheetName( [in] string aLinkSheetName );
85
86
93 void link( [in] string aUrl,
94 [in] string aSheetName,
95 [in] string aFilterName,
96 [in] string aFilterOptions,
97 [in] com::sun::star::sheet::SheetLinkMode nMode );
98
99};
100
101
102}; }; }; };
103
104/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::sheet::XSheetLinkable
enables a sheet to refer to another sheet in a different document.
Definition: XSheetLinkable.idl:37
com::sun::star::sheet::XSheetLinkable::setLinkSheetName
void setLinkSheetName([in] string aLinkSheetName)
sets the name of the linked sheet in the source document.
com::sun::star::sheet::XSheetLinkable::getLinkUrl
string getLinkUrl()
returns the target URL of the link.
com::sun::star::sheet::XSheetLinkable::link
void link([in] string aUrl, [in] string aSheetName, [in] string aFilterName, [in] string aFilterOptions, [in] com::sun::star::sheet::SheetLinkMode nMode)
links the sheet to another sheet in another document.
com::sun::star::sheet::XSheetLinkable::getLinkMode
com::sun::star::sheet::SheetLinkMode getLinkMode()
returns the link mode of the spreadsheet.
com::sun::star::sheet::XSheetLinkable::getLinkSheetName
string getLinkSheetName()
returns the sheet name of the sheet in the source document.
com::sun::star::sheet::XSheetLinkable::setLinkMode
void setLinkMode([in] com::sun::star::sheet::SheetLinkMode nLinkMode)
enables the linking of the sheet and controls whether formulas are copied.
com::sun::star::sheet::XSheetLinkable::setLinkUrl
void setLinkUrl([in] string aLinkUrl)
sets the target URL of the link.
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition: XInterface.idl:46
com::sun::star::sheet::SheetLinkMode
SheetLinkMode
used to specify how a sheet is linked to another sheet.
Definition: SheetLinkMode.idl:31
com
Definition: Ambiguous.idl:20