LibreOffice Module sc (master)  1
clipparam.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_CLIPPARAM_HXX
21 #define INCLUDED_SC_INC_CLIPPARAM_HXX
22 
23 #include "rangelst.hxx"
24 #include "charthelper.hxx"
25 
31 {
33 
36  bool mbCutMode;
37  sal_uInt32 mnSourceDocID;
39 
40  ScClipParam();
41  ScClipParam(const ScRange& rRange, bool bCutMode);
42 
43  bool isMultiRange() const;
44 
50  SCCOL getPasteColSize();
51 
56  SCROW getPasteRowSize();
57 
61  ScRange getWholeRange() const;
62 
63  void transpose();
64 
65  sal_uInt32 getSourceDocID() const { return mnSourceDocID; }
66  void setSourceDocID( sal_uInt32 nVal ) { mnSourceDocID = nVal; }
67 };
68 
69 #endif
70 
71 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
struct _ADOColumn Column
ScRangeListVector maProtectedChartRangesVector
Definition: clipparam.hxx:38
void setSourceDocID(sal_uInt32 nVal)
Definition: clipparam.hxx:66
Direction meDirection
Definition: clipparam.hxx:35
bool mbCutMode
Definition: clipparam.hxx:36
sal_uInt32 getSourceDocID() const
Definition: clipparam.hxx:65
sal_Int16 SCCOL
Definition: types.hxx:22
ScRangeList maRanges
Definition: clipparam.hxx:34
sal_uInt32 mnSourceDocID
Definition: clipparam.hxx:37
::std::vector< ScRangeList > ScRangeListVector
Definition: charthelper.hxx:30
sal_Int32 SCROW
Definition: types.hxx:18
This struct stores general clipboard parameters associated with a ScDocument instance created in clip...
Definition: clipparam.hxx:30
#define SC_DLLPUBLIC
Definition: scdllapi.h:28