57 class SparklineAttributes;
71 bool& rCancel,
bool bApi );
120 const ScAddress& rPos,
const OUString& rText,
bool bInterpret,
bool bEnglish,
bool bApi,
126 void ReplaceNote(
const ScAddress& rPos,
const OUString& rNoteText,
const OUString* pAuthor,
const OUString* pDate,
bool bApi );
135 InsCellCmd eCmd,
bool bRecord,
bool bApi,
bool bPartOfPaste =
false );
141 bool bCut,
bool bRecord,
bool bPaint,
bool bApi );
144 bool RenameTable(
SCTAB nTab,
const OUString& rName,
bool bRecord,
bool bApi );
155 bool bWidth,
const std::vector<sc::ColRowSpan>& rRanges,
SCTAB nTab,
156 ScSizeMode eMode, sal_uInt16 nSizeTwips,
bool bRecord,
bool bApi );
159 bool bRecord,
bool bSetModified );
161 bool bRecord,
bool bSetModified );
166 bool Unprotect(
SCTAB nTab,
const OUString& rPassword,
bool bApi );
171 sal_uInt16 nFormatNo,
bool bApi );
176 const OUString& rString,
bool bApi,
bool bEnglish,
177 const OUString& rFormulaNmsp,
187 double fStart,
double fStep,
double fMax,
201 bool bRecord,
bool bApi,
bool bEmptyMergedCells =
false );
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 );
242 std::shared_ptr<sc::SparklineGroup> pSparklineGroup);
ScDocFuncDirect(ScDocShell &rDocSh)
void ModifyRangeNames(const ScRangeName &rNewRanges, SCTAB nTab=-1)
SC_DLLPUBLIC bool DeleteSparkline(ScAddress const &rAddress)
bool DetectiveAddError(const ScAddress &rPos)
bool MoveBlock(const ScRange &rSource, const ScAddress &rDestPos, bool bCut, bool bRecord, bool bPaint, bool bApi)
bool AutoFormat(const ScRange &rRange, const ScMarkData *pTabMark, sal_uInt16 nFormatNo, bool bApi)
bool SetStringOrEditCell(const ScAddress &rPos, const OUString &rStr, bool bInteraction)
SC_DLLPUBLIC bool ChangeSparkline(std::shared_ptr< sc::Sparkline > const &rpSparkline, SCTAB nTab, ScRangeList const &rDataRange)
bool AdjustRowHeight(const ScRange &rRange, bool bPaint, bool bApi)
bool Protect(SCTAB nTab, const OUString &rPassword)
bool SetNormalString(bool &o_rbNumFmtSet, const ScAddress &rPos, const OUString &rText, bool bApi)
bool UnmergeCells(const ScRange &rRange, bool bRecord, ScUndoRemoveMerge *pUndoRemoveMerge)
bool SetTabBgColor(SCTAB nTab, const Color &rColor, bool bRecord, bool bApi)
void ResizeMatrix(const ScRange &rOldRange, const ScAddress &rNewEnd)
bool DetectiveAddPred(const ScAddress &rPos)
void ProtectDocument(const ScDocProtection &rProtect)
void SetConditionalFormatList(ScConditionalFormatList *pList, SCTAB nTab)
Sets or replaces the conditional format list of a table.
bool SetFormulaCell(const ScAddress &rPos, ScFormulaCell *pCell, bool bInteraction)
Below two methods take ownership of the formula cell instance(s).
void ModifyAllRangeNames(const std::map< OUString, ScRangeName > &rRangeMap)
Modify all range names, global scope names as well as sheet local ones, in one go.
bool ChangeIndent(const ScMarkData &rMark, bool bIncrement, bool bApi)
bool SetValueCell(const ScAddress &rPos, double fVal, bool bInteraction)
bool CreateNames(const ScRange &rRange, CreateNameFlags nFlags, bool bApi, SCTAB nTab=-1)
bool RenameTable(SCTAB nTab, const OUString &rName, bool bRecord, bool bApi)
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)
bool InsertCells(const ScRange &rRange, const ScMarkData *pTabMark, InsCellCmd eCmd, bool bRecord, bool bApi, bool bPartOfPaste=false)
ScDocFunc(ScDocShell &rDocSh)
bool RemovePageBreak(bool bColumn, const ScAddress &rPos, bool bRecord, bool bSetModified)
bool SetCellText(const ScAddress &rPos, const OUString &rText, bool bInterpret, bool bEnglish, bool bApi, const formula::FormulaGrammar::Grammar eGrammar)
void ProtectSheet(SCTAB nTab, const ScTableProtection &rProtect)
bool SetStringCell(const ScAddress &rPos, const OUString &rStr, bool bInteraction)
SC_DLLPUBLIC bool ShowNote(const ScAddress &rPos, bool bShow)
bool TabOp(const ScRange &rRange, const ScMarkData *pTabMark, const ScTabOpParam &rParam, bool bRecord, bool bApi)
SC_DLLPUBLIC bool MergeCells(const ScCellMergeOption &rOption, bool bContents, bool bRecord, bool bApi, bool bEmptyMergedCells=false)
void SetNewRangeNames(std::unique_ptr< ScRangeName > pNewRanges, bool bModifyDoc, SCTAB nTab)
bool DeleteCells(const ScRange &rRange, const ScMarkData *pTabMark, DelCellCmd eCmd, bool bApi)
bool SetFormulaCells(const ScAddress &rPos, std::vector< ScFormulaCell * > &rCells, bool bInteraction)
bool DetectiveMarkInvalid(SCTAB nTab)
bool InsertPageBreak(bool bColumn, const ScAddress &rPos, bool bRecord, bool bSetModified)
bool FillSeries(const ScRange &rRange, const ScMarkData *pTabMark, FillDir eDir, FillCmd eCmd, FillDateCmd eDateCmd, double fStart, double fStep, double fMax, bool bApi)
SC_DLLPUBLIC bool InsertTable(SCTAB nTab, const OUString &rName, bool bRecord, bool bApi)
void ReplaceConditionalFormat(sal_uLong nOldIndex, std::unique_ptr< ScConditionalFormat > pFormat, SCTAB nTab, const ScRangeList &rRanges)
void NotifyDrawUndo(std::unique_ptr< SdrUndoAction >)
void EnterListAction(TranslateId pNameResId)
SC_DLLPUBLIC bool DeleteContents(const ScMarkData &rMark, InsertDeleteFlags nFlags, bool bRecord, bool bApi)
void InsertAreaLink(const OUString &rFile, const OUString &rFilter, const OUString &rOptions, const OUString &rSource, const ScRange &rDestRange, sal_Int32 nRefreshDelaySeconds, bool bFitBlock, bool bApi)
void SetTableVisible(SCTAB nTab, bool bVisible, bool bApi)
bool ApplyStyle(const ScMarkData &rMark, const OUString &rStyleName, bool bApi)
SC_DLLPUBLIC bool UngroupSparklines(ScRange const &rRange)
SC_DLLPUBLIC bool InsertSparklines(ScRange const &rDataRange, ScRange const &rSparklineRange, std::shared_ptr< sc::SparklineGroup > pSparklineGroup)
void SetNoteText(const ScAddress &rPos, const OUString &rNoteText, bool bApi)
void SetValueCells(const ScAddress &rPos, const std::vector< double > &aVals, bool bInteraction)
SC_DLLPUBLIC bool SetWidthOrHeight(bool bWidth, const std::vector< sc::ColRowSpan > &rRanges, SCTAB nTab, ScSizeMode eMode, sal_uInt16 nSizeTwips, bool bRecord, bool bApi)
bool DetectiveDelPred(const ScAddress &rPos)
void CreateOneName(ScRangeName &rList, SCCOL nPosX, SCROW nPosY, SCTAB nTab, SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2, bool &rCancel, bool bApi)
bool DetectiveDelSucc(const ScAddress &rPos)
SC_DLLPUBLIC bool ChangeSparklineGroupAttributes(std::shared_ptr< sc::SparklineGroup > const &pExistingSparklineGroup, sc::SparklineAttributes const &rNewAttributes)
bool ApplyAttributes(const ScMarkData &rMark, const ScPatternAttr &rPattern, bool bApi)
void ConvertFormulaToValue(const ScRange &rRange, bool bInteraction)
bool SetEditCell(const ScAddress &rPos, const EditTextObject &rStr, bool bInteraction)
bool DeleteTable(SCTAB nTab, bool bRecord)
bool DetectiveDelAll(SCTAB nTab)
void NotifyInputHandler(const ScAddress &rPos)
SC_DLLPUBLIC bool DeleteSparklineGroup(std::shared_ptr< sc::SparklineGroup > const &pSparklineGroup, SCTAB nTab)
bool FillSimple(const ScRange &rRange, const ScMarkData *pTabMark, FillDir eDir, bool bApi)
bool InsertNameList(const ScAddress &rStartPos, bool bApi)
void PutData(const ScAddress &rPos, ScEditEngineDefaulter &rEngine, bool bApi)
bool DeleteCell(const ScAddress &rPos, const ScMarkData &rMark, InsertDeleteFlags nFlags, bool bRecord, bool bApi)
bool DetectiveRefresh(bool bAutomatic=false)
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)
void ClearItems(const ScMarkData &rMark, const sal_uInt16 *pWhich, bool bApi)
void DetectiveCollectAllPreds(const ScRangeList &rSrcRanges, ::std::vector< ScTokenRef > &rRefTokens)
SC_DLLPUBLIC bool GroupSparklines(ScRange const &rRange, std::shared_ptr< sc::SparklineGroup > const &rpGroup)
bool TransliterateText(const ScMarkData &rMark, TransliterationFlags nType, bool bApi)
bool SetLayoutRTL(SCTAB nTab, bool bRTL)
SC_DLLPUBLIC ScPostIt * ImportNote(const ScAddress &rPos, const OUString &rNoteText)
bool DetectiveAddSucc(const ScAddress &rPos)
bool Unprotect(SCTAB nTab, const OUString &rPassword, bool bApi)
void DetectiveCollectAllSuccs(const ScRangeList &rSrcRanges, ::std::vector< ScTokenRef > &rRefTokens)
void ReplaceNote(const ScAddress &rPos, const OUString &rNoteText, const OUString *pAuthor, const OUString *pDate, bool bApi)
todo: It should be possible to have MarkArrays for each table, in order to enable "search all" across...
Additional class containing cell annotation data.
sheet protection state container
Common properties for a group of sparklines.
void VBA_DeleteModule(ScDocShell &rDocSh, const OUString &sModuleName)
CAUTION! The following defines must be in the same namespace as the respective type.
Parameter for data table aka multiple operations.
::std::vector< ScUndoTabColorInfo > List