20 #ifndef INCLUDED_SC_INC_DETFUNC_HXX
21 #define INCLUDED_SC_INC_DETFUNC_HXX
35 #define SC_DET_MAXCIRCLE 1000
78 void DeleteArrowsAt(
SCCOL nCol,
SCROW nRow,
bool bDestPnt );
87 bool bFromOtherTab,
bool bRed,
89 void InsertToOtherTab(
SCCOL nStartCol,
SCROW nStartRow,
96 bool DrawAlienEntry(
const ScRange& rRef,
102 sal_uInt16 InsertPredLevelArea(
const ScRange& rRef,
104 sal_uInt16 FindPredLevel(
SCCOL nCol,
SCROW nRow, sal_uInt16 nLevel, sal_uInt16 nDeleteLevel );
105 sal_uInt16 FindPredLevelArea(
const ScRange& rRef,
106 sal_uInt16 nLevel, sal_uInt16 nDeleteLevel );
113 sal_uInt16 nLevel, sal_uInt16 nDeleteLevel );
129 bool DeleteCirclesAt(
SCCOL nCol,
SCROW nRow );
131 bool MarkInvalid(
bool& rOverflow);
133 void GetAllPreds(
SCCOL nCol1,
SCROW nRow1,
SCCOL nCol2,
SCROW nRow2, ::std::vector<ScTokenRef>& rRefTokens);
134 void GetAllSuccs(
SCCOL nCol1,
SCROW nRow1,
SCCOL nCol2,
SCROW nRow2, ::std::vector<ScTokenRef>& rRefTokens);
136 static void UpdateAllComments(
ScDocument& rDoc );
137 void UpdateAllArrowColors();
139 static bool IsNonAlienArrow(
const SdrObject* pObject );
144 const ScRange& rSource,
bool bRedLine );
146 static Color GetArrowColor();
147 static Color GetErrorColor();
148 static Color GetCommentColor();
149 static void InitializeColors();
150 static bool IsColorsInitialized();
151 static void AppendChangTrackNoteSeparator(OUString &str);
ScDetectiveFunc(ScDocument &rDocument, SCTAB nTable)
static bool bColorsInitialized
static Color nCommentColor