Version 7.6.3.2-android, tag libreoffice-7.6.3.2-android
[LibreOffice.git] / offapi / com / sun / star / sheet / XScenario.idl
blob373478a0bdb9010cd247ffb159ff2edf43530181
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 .
22 module com { module sun { module star { module sheet {
25 /** provides access to the settings of a scenario sheet.
27 @see com::sun::star::sheet::Spreadsheet
29 published interface XScenario: com::sun::star::uno::XInterface
32 /** returns `TRUE` if the current object is a scenario.
34 boolean getIsScenario();
37 /** returns the comment for the scenario.
39 string getScenarioComment();
42 /** sets a new comment for the scenario.
44 void setScenarioComment( [in] string aScenarioComment );
47 /** adds more ranges to the scenario.
49 void addRanges(
50 [in] sequence< com::sun::star::table::CellRangeAddress > aRanges );
53 /** applies the scenario.
55 <p>The contents of the scenario ranges are copied into the first
56 non-scenario sheet which is in front of the sheet containing
57 the scenario by itself.</p>
59 void apply();
64 }; }; }; };
66 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */