LibreOffice Module sc (master) 1
docfunc.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 <tools/solar.h>
23#include <global.hxx>
24#include <formula/grammar.hxx>
25#include <tabbgcolor.hxx>
26#include <unotools/resmgr.hxx>
27
28#include <memory>
29#include <vector>
30#include <map>
31
33class SdrUndoAction;
34class ScAddress;
35class ScDocShell;
36class ScMarkData;
37class ScPatternAttr;
38class ScRange;
39class ScRangeList;
40class ScFormulaCell;
41class ScTokenArray;
42struct ScTabOpParam;
44class ScDocProtection;
49class ScRangeName;
50class ScPostIt;
51
52enum class TransliterationFlags;
53enum class CreateNameFlags;
54namespace sc
55{
56 struct ColRowSpan;
57 class SparklineAttributes;
58 class SparklineGroup;
59 class Sparkline;
60}
61
63{
65
66protected:
67 bool AdjustRowHeight( const ScRange& rRange, bool bPaint, bool bApi );
68 void CreateOneName( ScRangeName& rList,
69 SCCOL nPosX, SCROW nPosY, SCTAB nTab,
70 SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2,
71 bool& rCancel, bool bApi );
72 void NotifyInputHandler( const ScAddress& rPos );
73
74 ScDocFunc( ScDocShell& rDocSh ): rDocShell(rDocSh) {}
75public:
76 virtual ~ScDocFunc() {}
77
78 void NotifyDrawUndo(std::unique_ptr<SdrUndoAction>);
79
80 // for grouping multiple operations into one with a new name
81 void EnterListAction(TranslateId pNameResId);
82 void EndListAction();
83
84 bool DetectiveAddPred(const ScAddress& rPos);
85 bool DetectiveDelPred(const ScAddress& rPos);
86 bool DetectiveAddSucc(const ScAddress& rPos);
87 bool DetectiveDelSucc(const ScAddress& rPos);
88 bool DetectiveAddError(const ScAddress& rPos);
89 bool DetectiveMarkInvalid(SCTAB nTab);
90 bool DetectiveDelAll(SCTAB nTab);
91 bool DetectiveRefresh(bool bAutomatic = false);
92 void DetectiveCollectAllPreds(const ScRangeList& rSrcRanges, ::std::vector<ScTokenRef>& rRefTokens);
93 void DetectiveCollectAllSuccs(const ScRangeList& rSrcRanges, ::std::vector<ScTokenRef>& rRefTokens);
94
96 const ScMarkData& rMark, InsertDeleteFlags nFlags, bool bRecord, bool bApi );
97
98 bool DeleteCell(
99 const ScAddress& rPos, const ScMarkData& rMark, InsertDeleteFlags nFlags, bool bRecord, bool bApi );
100
102 bool bApi );
103
104 bool SetNormalString( bool& o_rbNumFmtSet, const ScAddress& rPos, const OUString& rText, bool bApi );
105 bool SetValueCell( const ScAddress& rPos, double fVal, bool bInteraction );
106 void SetValueCells( const ScAddress& rPos, const std::vector<double>& aVals, bool bInteraction );
107 bool SetStringCell( const ScAddress& rPos, const OUString& rStr, bool bInteraction );
108 bool SetEditCell( const ScAddress& rPos, const EditTextObject& rStr, bool bInteraction );
109
110 bool SetStringOrEditCell( const ScAddress& rPos, const OUString& rStr, bool bInteraction );
111
116 bool SetFormulaCell( const ScAddress& rPos, ScFormulaCell* pCell, bool bInteraction );
117 bool SetFormulaCells( const ScAddress& rPos, std::vector<ScFormulaCell*>& rCells, bool bInteraction );
118 void PutData( const ScAddress& rPos, ScEditEngineDefaulter& rEngine, bool bApi );
119 bool SetCellText(
120 const ScAddress& rPos, const OUString& rText, bool bInterpret, bool bEnglish, bool bApi,
121 const formula::FormulaGrammar::Grammar eGrammar );
122
123 SC_DLLPUBLIC bool ShowNote( const ScAddress& rPos, bool bShow );
124
125 void SetNoteText( const ScAddress& rPos, const OUString& rNoteText, bool bApi );
126 void ReplaceNote( const ScAddress& rPos, const OUString& rNoteText, const OUString* pAuthor, const OUString* pDate, bool bApi );
127 SC_DLLPUBLIC ScPostIt* ImportNote( const ScAddress& rPos, const OUString& rNoteText );
128
129 bool ApplyAttributes( const ScMarkData& rMark, const ScPatternAttr& rPattern,
130 bool bApi );
131 bool ApplyStyle( const ScMarkData& rMark, const OUString& rStyleName,
132 bool bApi );
133
134 bool InsertCells( const ScRange& rRange,const ScMarkData* pTabMark,
135 InsCellCmd eCmd, bool bRecord, bool bApi, bool bPartOfPaste = false );
136
137 bool DeleteCells( const ScRange& rRange, const ScMarkData* pTabMark,
138 DelCellCmd eCmd, bool bApi );
139
140 bool MoveBlock( const ScRange& rSource, const ScAddress& rDestPos,
141 bool bCut, bool bRecord, bool bPaint, bool bApi );
142
143 SC_DLLPUBLIC bool InsertTable( SCTAB nTab, const OUString& rName, bool bRecord, bool bApi );
144 bool RenameTable( SCTAB nTab, const OUString& rName, bool bRecord, bool bApi );
145 bool DeleteTable( SCTAB nTab, bool bRecord );
146
147 bool SetTabBgColor( SCTAB nTab, const Color& rColor, bool bRecord, bool bApi );
148 bool SetTabBgColor( ScUndoTabColorInfo::List& rUndoTabColorList, bool bApi );
149
150 void SetTableVisible( SCTAB nTab, bool bVisible, bool bApi );
151
152 bool SetLayoutRTL( SCTAB nTab, bool bRTL );
153
155 bool bWidth, const std::vector<sc::ColRowSpan>& rRanges, SCTAB nTab,
156 ScSizeMode eMode, sal_uInt16 nSizeTwips, bool bRecord, bool bApi );
157
158 bool InsertPageBreak( bool bColumn, const ScAddress& rPos,
159 bool bRecord, bool bSetModified );
160 bool RemovePageBreak( bool bColumn, const ScAddress& rPos,
161 bool bRecord, bool bSetModified );
162
163 void ProtectSheet( SCTAB nTab, const ScTableProtection& rProtect );
164
165 bool Protect( SCTAB nTab, const OUString& rPassword );
166 bool Unprotect( SCTAB nTab, const OUString& rPassword, bool bApi );
167
168 void ClearItems( const ScMarkData& rMark, const sal_uInt16* pWhich, bool bApi );
169 bool ChangeIndent( const ScMarkData& rMark, bool bIncrement, bool bApi );
170 bool AutoFormat( const ScRange& rRange, const ScMarkData* pTabMark,
171 sal_uInt16 nFormatNo, bool bApi );
172
173 SC_DLLPUBLIC bool
174 EnterMatrix( const ScRange& rRange, const ScMarkData* pTabMark,
175 const ScTokenArray* pTokenArray,
176 const OUString& rString, bool bApi, bool bEnglish,
177 const OUString& rFormulaNmsp,
179
180 bool TabOp( const ScRange& rRange, const ScMarkData* pTabMark,
181 const ScTabOpParam& rParam, bool bRecord, bool bApi );
182
183 bool FillSimple( const ScRange& rRange, const ScMarkData* pTabMark,
184 FillDir eDir, bool bApi );
185 bool FillSeries( const ScRange& rRange, const ScMarkData* pTabMark,
186 FillDir eDir, FillCmd eCmd, FillDateCmd eDateCmd,
187 double fStart, double fStep, double fMax,
188 bool bApi );
189
190 // FillAuto: rRange is change from Source-Range to Dest-Range
191 SC_DLLPUBLIC bool
192 FillAuto( ScRange& rRange, const ScMarkData* pTabMark, FillDir eDir, FillCmd eCmd, FillDateCmd eDateCmd, sal_uLong nCount, double fStep, double fMax, bool bRecord, bool bApi );
193
194 bool FillAuto( ScRange& rRange, const ScMarkData* pTabMark,
195 FillDir eDir, sal_uLong nCount, bool bApi );
196
197 void ResizeMatrix( const ScRange& rOldRange, const ScAddress& rNewEnd );
198
199 SC_DLLPUBLIC bool
200 MergeCells( const ScCellMergeOption& rOption, bool bContents,
201 bool bRecord, bool bApi, bool bEmptyMergedCells = false );
202 bool UnmergeCells( const ScRange& rRange, bool bRecord, ScUndoRemoveMerge* pUndoRemoveMerge );
203 SC_DLLPUBLIC bool
204 UnmergeCells( const ScCellMergeOption& rOption, bool bRecord, ScUndoRemoveMerge* pUndoRemoveMerge );
205
206 // takes ownership of pNewRanges, nTab = -1 for local range names
207 void SetNewRangeNames( std::unique_ptr<ScRangeName> pNewRanges, bool bModifyDoc, SCTAB nTab );
208 void ModifyRangeNames( const ScRangeName& rNewRanges, SCTAB nTab = -1 );
215 void ModifyAllRangeNames(const std::map<OUString, ScRangeName>& rRangeMap);
216
217 bool CreateNames( const ScRange& rRange, CreateNameFlags nFlags, bool bApi, SCTAB nTab = -1 ); // -1 for global range names
218 bool InsertNameList( const ScAddress& rStartPos, bool bApi );
219
220 void InsertAreaLink( const OUString& rFile, const OUString& rFilter,
221 const OUString& rOptions, const OUString& rSource,
222 const ScRange& rDestRange, sal_Int32 nRefreshDelaySeconds,
223 bool bFitBlock, bool bApi );
224
229 void ReplaceConditionalFormat( sal_uLong nOldIndex, std::unique_ptr<ScConditionalFormat> pFormat, SCTAB nTab, const ScRangeList& rRanges );
230
238
239 void ConvertFormulaToValue( const ScRange& rRange, bool bInteraction );
240
241 SC_DLLPUBLIC bool InsertSparklines(ScRange const& rDataRange, ScRange const& rSparklineRange,
242 std::shared_ptr<sc::SparklineGroup> pSparklineGroup);
243
244 SC_DLLPUBLIC bool DeleteSparkline(ScAddress const& rAddress);
245 SC_DLLPUBLIC bool DeleteSparklineGroup(std::shared_ptr<sc::SparklineGroup> const& pSparklineGroup, SCTAB nTab);
246 SC_DLLPUBLIC bool ChangeSparklineGroupAttributes(std::shared_ptr<sc::SparklineGroup> const& pExistingSparklineGroup,
247 sc::SparklineAttributes const& rNewAttributes);
248 SC_DLLPUBLIC bool GroupSparklines(ScRange const& rRange, std::shared_ptr<sc::SparklineGroup> const& rpGroup);
249 SC_DLLPUBLIC bool UngroupSparklines(ScRange const& rRange);
250 SC_DLLPUBLIC bool ChangeSparkline(std::shared_ptr<sc::Sparkline> const& rpSparkline, SCTAB nTab, ScRangeList const& rDataRange);
251
252private:
253 void ProtectDocument(const ScDocProtection& rProtect);
254};
255
256class ScDocFuncDirect final : public ScDocFunc
257{
258public:
259 ScDocFuncDirect( ScDocShell& rDocSh ) : ScDocFunc( rDocSh ) {}
260};
261
262void VBA_DeleteModule( ScDocShell& rDocSh, const OUString& sModuleName );
263
264/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
ScDocFuncDirect(ScDocShell &rDocSh)
Definition: docfunc.hxx:259
void ModifyRangeNames(const ScRangeName &rNewRanges, SCTAB nTab=-1)
Definition: docfunc.cxx:5137
void EndListAction()
Definition: docfunc.cxx:5769
SC_DLLPUBLIC bool DeleteSparkline(ScAddress const &rAddress)
Definition: docfunc.cxx:5853
bool DetectiveAddError(const ScAddress &rPos)
Definition: docfunc.cxx:360
bool MoveBlock(const ScRange &rSource, const ScAddress &rDestPos, bool bCut, bool bRecord, bool bPaint, bool bApi)
Definition: docfunc.cxx:2852
bool AutoFormat(const ScRange &rRange, const ScMarkData *pTabMark, sal_uInt16 nFormatNo, bool bApi)
Definition: docfunc.cxx:4205
bool SetStringOrEditCell(const ScAddress &rPos, const OUString &rStr, bool bInteraction)
Definition: docfunc.cxx:1008
ScDocShell & rDocShell
Definition: docfunc.hxx:64
SC_DLLPUBLIC bool ChangeSparkline(std::shared_ptr< sc::Sparkline > const &rpSparkline, SCTAB nTab, ScRangeList const &rDataRange)
Definition: docfunc.cxx:5913
bool AdjustRowHeight(const ScRange &rRange, bool bPaint, bool bApi)
Definition: docfunc.cxx:151
bool Protect(SCTAB nTab, const OUString &rPassword)
Definition: docfunc.cxx:4010
bool SetNormalString(bool &o_rbNumFmtSet, const ScAddress &rPos, const OUString &rText, bool bApi)
Definition: docfunc.cxx:799
bool UnmergeCells(const ScRange &rRange, bool bRecord, ScUndoRemoveMerge *pUndoRemoveMerge)
Definition: docfunc.cxx:5050
bool SetTabBgColor(SCTAB nTab, const Color &rColor, bool bRecord, bool bApi)
Definition: docfunc.cxx:3534
void ResizeMatrix(const ScRange &rOldRange, const ScAddress &rNewEnd)
Definition: docfunc.cxx:5472
bool DetectiveAddPred(const ScAddress &rPos)
Definition: docfunc.cxx:209
void ProtectDocument(const ScDocProtection &rProtect)
Definition: docfunc.cxx:3981
void SetConditionalFormatList(ScConditionalFormatList *pList, SCTAB nTab)
Sets or replaces the conditional format list of a table.
Definition: docfunc.cxx:5679
bool SetFormulaCell(const ScAddress &rPos, ScFormulaCell *pCell, bool bInteraction)
Below two methods take ownership of the formula cell instance(s).
Definition: docfunc.cxx:1023
void ModifyAllRangeNames(const std::map< OUString, ScRangeName > &rRangeMap)
Modify all range names, global scope names as well as sheet local ones, in one go.
Definition: docfunc.cxx:5188
bool ChangeIndent(const ScMarkData &rMark, bool bIncrement, bool bApi)
Definition: docfunc.cxx:4136
virtual ~ScDocFunc()
Definition: docfunc.hxx:76
bool SetValueCell(const ScAddress &rPos, double fVal, bool bInteraction)
Definition: docfunc.cxx:867
bool CreateNames(const ScRange &rRange, CreateNameFlags nFlags, bool bApi, SCTAB nTab=-1)
Definition: docfunc.cxx:5274
bool RenameTable(SCTAB nTab, const OUString &rName, bool bRecord, bool bApi)
Definition: docfunc.cxx:3500
SC_DLLPUBLIC bool FillAuto(ScRange &rRange, const ScMarkData *pTabMark, FillDir eDir, FillCmd eCmd, FillDateCmd eDateCmd, sal_uLong nCount, double fStep, double fMax, bool bRecord, bool bApi)
Definition: docfunc.cxx:4797
bool InsertCells(const ScRange &rRange, const ScMarkData *pTabMark, InsCellCmd eCmd, bool bRecord, bool bApi, bool bPartOfPaste=false)
Definition: docfunc.cxx:1736
ScDocFunc(ScDocShell &rDocSh)
Definition: docfunc.hxx:74
bool RemovePageBreak(bool bColumn, const ScAddress &rPos, bool bRecord, bool bSetModified)
Definition: docfunc.cxx:3886
bool SetCellText(const ScAddress &rPos, const OUString &rText, bool bInterpret, bool bEnglish, bool bApi, const formula::FormulaGrammar::Grammar eGrammar)
Definition: docfunc.cxx:1240
void ProtectSheet(SCTAB nTab, const ScTableProtection &rProtect)
Definition: docfunc.cxx:3949
bool SetStringCell(const ScAddress &rPos, const OUString &rStr, bool bInteraction)
Definition: docfunc.cxx:936
SC_DLLPUBLIC bool ShowNote(const ScAddress &rPos, bool bShow)
Definition: docfunc.cxx:1288
bool TabOp(const ScRange &rRange, const ScMarkData *pTabMark, const ScTabOpParam &rParam, bool bRecord, bool bApi)
Definition: docfunc.cxx:4405
SC_DLLPUBLIC bool MergeCells(const ScCellMergeOption &rOption, bool bContents, bool bRecord, bool bApi, bool bEmptyMergedCells=false)
Definition: docfunc.cxx:4933
void SetNewRangeNames(std::unique_ptr< ScRangeName > pNewRanges, bool bModifyDoc, SCTAB nTab)
Definition: docfunc.cxx:5142
bool DeleteCells(const ScRange &rRange, const ScMarkData *pTabMark, DelCellCmd eCmd, bool bApi)
Definition: docfunc.cxx:2271
bool SetFormulaCells(const ScAddress &rPos, std::vector< ScFormulaCell * > &rCells, bool bInteraction)
Definition: docfunc.cxx:1072
bool DetectiveMarkInvalid(SCTAB nTab)
Definition: docfunc.cxx:397
bool InsertPageBreak(bool bColumn, const ScAddress &rPos, bool bRecord, bool bSetModified)
Definition: docfunc.cxx:3823
bool FillSeries(const ScRange &rRange, const ScMarkData *pTabMark, FillDir eDir, FillCmd eCmd, FillDateCmd eDateCmd, double fStart, double fStep, double fMax, bool bApi)
Definition: docfunc.cxx:4659
SC_DLLPUBLIC bool InsertTable(SCTAB nTab, const OUString &rName, bool bRecord, bool bApi)
Definition: docfunc.cxx:3269
void ReplaceConditionalFormat(sal_uLong nOldIndex, std::unique_ptr< ScConditionalFormat > pFormat, SCTAB nTab, const ScRangeList &rRanges)
Definition: docfunc.cxx:5603
void NotifyDrawUndo(std::unique_ptr< SdrUndoAction >)
Definition: docfunc.cxx:120
void EnterListAction(TranslateId pNameResId)
Definition: docfunc.cxx:5760
SC_DLLPUBLIC bool DeleteContents(const ScMarkData &rMark, InsertDeleteFlags nFlags, bool bRecord, bool bApi)
Definition: docfunc.cxx:583
void InsertAreaLink(const OUString &rFile, const OUString &rFilter, const OUString &rOptions, const OUString &rSource, const ScRange &rDestRange, sal_Int32 nRefreshDelaySeconds, bool bFitBlock, bool bApi)
Definition: docfunc.cxx:5514
void SetTableVisible(SCTAB nTab, bool bVisible, bool bApi)
Definition: docfunc.cxx:3419
bool ApplyStyle(const ScMarkData &rMark, const OUString &rStyleName, bool bApi)
Definition: docfunc.cxx:1495
SC_DLLPUBLIC bool UngroupSparklines(ScRange const &rRange)
Definition: docfunc.cxx:5904
SC_DLLPUBLIC bool InsertSparklines(ScRange const &rDataRange, ScRange const &rSparklineRange, std::shared_ptr< sc::SparklineGroup > pSparklineGroup)
Definition: docfunc.cxx:5774
void SetNoteText(const ScAddress &rPos, const OUString &rNoteText, bool bApi)
Definition: docfunc.cxx:1316
void SetValueCells(const ScAddress &rPos, const std::vector< double > &aVals, bool bInteraction)
Definition: docfunc.cxx:902
SC_DLLPUBLIC bool SetWidthOrHeight(bool bWidth, const std::vector< sc::ColRowSpan > &rRanges, SCTAB nTab, ScSizeMode eMode, sal_uInt16 nSizeTwips, bool bRecord, bool bApi)
Definition: docfunc.cxx:3652
bool DetectiveDelPred(const ScAddress &rPos)
Definition: docfunc.cxx:245
void CreateOneName(ScRangeName &rList, SCCOL nPosX, SCROW nPosY, SCTAB nTab, SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2, bool &rCancel, bool bApi)
Definition: docfunc.cxx:5209
bool DetectiveDelSucc(const ScAddress &rPos)
Definition: docfunc.cxx:321
SC_DLLPUBLIC bool ChangeSparklineGroupAttributes(std::shared_ptr< sc::SparklineGroup > const &pExistingSparklineGroup, sc::SparklineAttributes const &rNewAttributes)
Definition: docfunc.cxx:5885
bool ApplyAttributes(const ScMarkData &rMark, const ScPatternAttr &rPattern, bool bApi)
Definition: docfunc.cxx:1426
void ConvertFormulaToValue(const ScRange &rRange, bool bInteraction)
Definition: docfunc.cxx:5727
bool SetEditCell(const ScAddress &rPos, const EditTextObject &rStr, bool bInteraction)
Definition: docfunc.cxx:973
bool DeleteTable(SCTAB nTab, bool bRecord)
Definition: docfunc.cxx:3321
bool DetectiveDelAll(SCTAB nTab)
Definition: docfunc.cxx:436
void NotifyInputHandler(const ScAddress &rPos)
Definition: docfunc.cxx:1128
SC_DLLPUBLIC bool DeleteSparklineGroup(std::shared_ptr< sc::SparklineGroup > const &pSparklineGroup, SCTAB nTab)
Definition: docfunc.cxx:5868
bool FillSimple(const ScRange &rRange, const ScMarkData *pTabMark, FillDir eDir, bool bApi)
Definition: docfunc.cxx:4545
bool InsertNameList(const ScAddress &rStartPos, bool bApi)
Definition: docfunc.cxx:5363
void PutData(const ScAddress &rPos, ScEditEngineDefaulter &rEngine, bool bApi)
Definition: docfunc.cxx:1160
bool DeleteCell(const ScAddress &rPos, const ScMarkData &rMark, InsertDeleteFlags nFlags, bool bRecord, bool bApi)
Definition: docfunc.cxx:674
bool DetectiveRefresh(bool bAutomatic=false)
Definition: docfunc.cxx:476
SC_DLLPUBLIC bool EnterMatrix(const ScRange &rRange, const ScMarkData *pTabMark, const ScTokenArray *pTokenArray, const OUString &rString, bool bApi, bool bEnglish, const OUString &rFormulaNmsp, const formula::FormulaGrammar::Grammar)
Definition: docfunc.cxx:4317
void ClearItems(const ScMarkData &rMark, const sal_uInt16 *pWhich, bool bApi)
Definition: docfunc.cxx:4092
void DetectiveCollectAllPreds(const ScRangeList &rSrcRanges, ::std::vector< ScTokenRef > &rRefTokens)
Definition: docfunc.cxx:573
SC_DLLPUBLIC bool GroupSparklines(ScRange const &rRange, std::shared_ptr< sc::SparklineGroup > const &rpGroup)
Definition: docfunc.cxx:5895
bool TransliterateText(const ScMarkData &rMark, TransliterationFlags nType, bool bApi)
Definition: docfunc.cxx:741
bool SetLayoutRTL(SCTAB nTab, bool bRTL)
Definition: docfunc.cxx:3469
SC_DLLPUBLIC ScPostIt * ImportNote(const ScAddress &rPos, const OUString &rNoteText)
Definition: docfunc.cxx:1408
bool DetectiveAddSucc(const ScAddress &rPos)
Definition: docfunc.cxx:284
bool Unprotect(SCTAB nTab, const OUString &rPassword, bool bApi)
Definition: docfunc.cxx:4034
void DetectiveCollectAllSuccs(const ScRangeList &rSrcRanges, ::std::vector< ScTokenRef > &rRefTokens)
Definition: docfunc.cxx:578
void ReplaceNote(const ScAddress &rPos, const OUString &rNoteText, const OUString *pAuthor, const OUString *pDate, bool bApi)
Definition: docfunc.cxx:1342
todo: It should be possible to have MarkArrays for each table, in order to enable "search all" across...
Definition: markdata.hxx:43
Additional class containing cell annotation data.
Definition: postit.hxx:58
sheet protection state container
Common properties for a group of sparklines.
void VBA_DeleteModule(ScDocShell &rDocSh, const OUString &sModuleName)
Definition: docfunc.cxx:3240
DelCellCmd
Definition: global.hxx:281
InsCellCmd
Definition: global.hxx:290
InsertDeleteFlags
Definition: global.hxx:149
ScSizeMode
Definition: global.hxx:351
FillDateCmd
Definition: global.hxx:334
FillCmd
Definition: global.hxx:317
FillDir
Definition: global.hxx:309
CAUTION! The following defines must be in the same namespace as the respective type.
Definition: broadcast.cxx:15
QPRO_FUNC_TYPE nType
Definition: qproform.cxx:398
#define SC_DLLPUBLIC
Definition: scdllapi.h:27
CreateNameFlags
Definition: scui_def.hxx:50
sal_uIntPtr sal_uLong
Parameter for data table aka multiple operations.
Definition: paramisc.hxx:46
::std::vector< ScUndoTabColorInfo > List
Definition: tabbgcolor.hxx:36
TransliterationFlags
sal_Int16 SCTAB
Definition: types.hxx:22
sal_Int16 SCCOL
Definition: types.hxx:21
sal_Int32 SCROW
Definition: types.hxx:17