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#pragma once
21
22#include "address.hxx"
23#include <optional>
24
26{
29 std::optional<OUString> pStrTargetVal;
30
32 ScSolveParam( const ScSolveParam& r );
33 ScSolveParam( const ScAddress& rFormulaCell,
34 const ScAddress& rVariableCell,
35 const OUString& rTargetValStr );
37
39 bool operator== ( const ScSolveParam& r ) const;
40};
41
46{
47 enum Mode { Column = 0, Row = 1, Both = 2 };
48
54
56 ScTabOpParam( const ScTabOpParam& r );
58 const ScRefAddress& rFormulaCell, const ScRefAddress& rFormulaEnd,
59 const ScRefAddress& rRowCell, const ScRefAddress& rColCell, Mode eMode );
60
61 ScTabOpParam& operator= ( const ScTabOpParam& r );
62 bool operator== ( const ScTabOpParam& r ) const;
63};
64
65/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
struct _ADOColumn Column
#define SC_DLLPUBLIC
Definition: scdllapi.h:27
ScAddress aRefVariableCell
Definition: paramisc.hxx:28
std::optional< OUString > pStrTargetVal
Definition: paramisc.hxx:29
ScSolveParam & operator=(const ScSolveParam &r)
Definition: global2.cxx:216
bool operator==(const ScSolveParam &r) const
Definition: global2.cxx:224
ScAddress aRefFormulaCell
Definition: paramisc.hxx:27
Parameter for data table aka multiple operations.
Definition: paramisc.hxx:46
ScRefAddress aRefFormulaEnd
Definition: paramisc.hxx:50
ScRefAddress aRefColCell
Definition: paramisc.hxx:52
ScRefAddress aRefFormulaCell
Definition: paramisc.hxx:49
ScRefAddress aRefRowCell
Definition: paramisc.hxx:51
bool operator==(const XclFontData &rLeft, const XclFontData &rRight)
Definition: xlstyle.cxx:518