LibreOffice Module sc (master)  1
paramisc.hxx
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 INCLUDED_SC_INC_PARAMISC_HXX
21 #define INCLUDED_SC_INC_PARAMISC_HXX
22 
23 #include "address.hxx"
24 #include <optional>
25 
27 {
30  std::optional<OUString> pStrTargetVal;
31 
32  ScSolveParam();
33  ScSolveParam( const ScSolveParam& r );
34  ScSolveParam( const ScAddress& rFormulaCell,
35  const ScAddress& rVariableCell,
36  const OUString& rTargetValStr );
37  ~ScSolveParam();
38 
40  bool operator== ( const ScSolveParam& r ) const;
41 };
42 
47 {
48  enum Mode { Column = 0, Row = 1, Both = 2 };
49 
55 
56  ScTabOpParam();
57  ScTabOpParam( const ScTabOpParam& r );
59  const ScRefAddress& rFormulaCell, const ScRefAddress& rFormulaEnd,
60  const ScRefAddress& rRowCell, const ScRefAddress& rColCell, Mode eMode );
61 
62  ScTabOpParam& operator= ( const ScTabOpParam& r );
63  bool operator== ( const ScTabOpParam& r ) const;
64 };
65 
66 #endif // INCLUDED_SC_INC_PARAMISC_HXX
67 
68 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
bool operator==(const XclFontData &rLeft, const XclFontData &rRight)
Definition: xlstyle.cxx:517
struct _ADOColumn Column
ScRefAddress aRefRowCell
Definition: paramisc.hxx:52
bool operator==(const ScSolveParam &r) const
Definition: global2.cxx:221
ScAddress aRefVariableCell
Definition: paramisc.hxx:29
std::optional< OUString > pStrTargetVal
Definition: paramisc.hxx:30
Parameter for data table aka multiple operations.
Definition: paramisc.hxx:46
ScRefAddress aRefFormulaCell
Definition: paramisc.hxx:50
ScSolveParam & operator=(const ScSolveParam &r)
Definition: global2.cxx:213
ScRefAddress aRefColCell
Definition: paramisc.hxx:53
ScAddress aRefFormulaCell
Definition: paramisc.hxx:28
ScRefAddress aRefFormulaEnd
Definition: paramisc.hxx:51
#define SC_DLLPUBLIC
Definition: scdllapi.h:28