LibreOffice Module sc (master)
1
|
#include <detfunc.hxx>
Public Member Functions | |
ScDetectiveFunc (ScDocument &rDocument, SCTAB nTable) | |
bool | ShowSucc (SCCOL nCol, SCROW nRow) |
bool | ShowPred (SCCOL nCol, SCROW nRow) |
bool | ShowError (SCCOL nCol, SCROW nRow) |
bool | DeleteSucc (SCCOL nCol, SCROW nRow) |
bool | DeletePred (SCCOL nCol, SCROW nRow) |
bool | DeleteAll (ScDetectiveDelete eWhat) |
bool | DeleteCirclesAt (SCCOL nCol, SCROW nRow) |
bool | MarkInvalid (bool &rOverflow) |
void | GetAllPreds (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2,::std::vector< ScTokenRef > &rRefTokens) |
void | GetAllSuccs (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2,::std::vector< ScTokenRef > &rRefTokens) |
void | UpdateAllArrowColors () |
on all tables More... | |
ScDetectiveObjType | GetDetectiveObjectType (SdrObject *pObject, SCTAB nObjTab, ScAddress &rPosition, ScRange &rSource, bool &rRedLine) |
void | InsertObject (ScDetectiveObjType eType, const ScAddress &rPosition, const ScRange &rSource, bool bRedLine) |
Static Public Member Functions | |
static void | UpdateAllComments (ScDocument &rDoc) |
on all tables More... | |
static bool | IsNonAlienArrow (const SdrObject *pObject) |
static Color | GetArrowColor () |
static Color | GetErrorColor () |
static Color | GetCommentColor () |
static void | InitializeColors () |
static bool | IsColorsInitialized () |
static void | AppendChangTrackNoteSeparator (OUString &str) |
Private Types | |
enum | DrawPosMode { DrawPosMode::TopLeft, DrawPosMode::BottomRight, DrawPosMode::DetectiveArrow } |
Private Member Functions | |
Point | GetDrawPos (SCCOL nCol, SCROW nRow, DrawPosMode eMode) const |
tools::Rectangle | GetDrawRect (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2) const |
tools::Rectangle | GetDrawRect (SCCOL nCol, SCROW nRow) const |
bool | HasArrow (const ScAddress &rStart, SCCOL nEndCol, SCROW nEndRow, SCTAB nEndTab) |
void | DeleteArrowsAt (SCCOL nCol, SCROW nRow, bool bDestPnt) |
void | DeleteBox (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2) |
bool | HasError (const ScRange &rRange, ScAddress &rErrPos) |
void | InsertArrow (SCCOL nCol, SCROW nRow, SCCOL nRefStartCol, SCROW nRefStartRow, SCCOL nRefEndCol, SCROW nRefEndRow, bool bFromOtherTab, bool bRed, ScDetectiveData &rData) |
called from DrawEntry/DrawAlienEntry and InsertObject More... | |
void | InsertToOtherTab (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, bool bRed, ScDetectiveData &rData) |
bool | DrawEntry (SCCOL nCol, SCROW nRow, const ScRange &rRef, ScDetectiveData &rData) |
DrawEntry / DrawAlienEntry check for existing arrows and errors. More... | |
bool | DrawAlienEntry (const ScRange &rRef, ScDetectiveData &rData) |
void | DrawCircle (SCCOL nCol, SCROW nRow, ScDetectiveData &rData) |
sal_uInt16 | InsertPredLevel (SCCOL nCol, SCROW nRow, ScDetectiveData &rData, sal_uInt16 nLevel) |
sal_uInt16 | InsertPredLevelArea (const ScRange &rRef, ScDetectiveData &rData, sal_uInt16 nLevel) |
sal_uInt16 | FindPredLevel (SCCOL nCol, SCROW nRow, sal_uInt16 nLevel, sal_uInt16 nDeleteLevel) |
sal_uInt16 | FindPredLevelArea (const ScRange &rRef, sal_uInt16 nLevel, sal_uInt16 nDeleteLevel) |
sal_uInt16 | InsertErrorLevel (SCCOL nCol, SCROW nRow, ScDetectiveData &rData, sal_uInt16 nLevel) |
sal_uInt16 | InsertSuccLevel (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, ScDetectiveData &rData, sal_uInt16 nLevel) |
sal_uInt16 | FindSuccLevel (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, sal_uInt16 nLevel, sal_uInt16 nDeleteLevel) |
void | FindFrameForObject (const SdrObject *pObject, ScRange &rRange) |
void | Modified () |
Private Attributes | |
ScDocument & | rDoc |
SCTAB | nTab |
Static Private Attributes | |
static Color | nArrowColor = Color(0) |
static Color | nErrorColor = Color(0) |
static Color | nCommentColor = Color(0) |
static bool | bColorsInitialized = false |
Definition at line 49 of file detfunc.hxx.
|
strongprivate |
Enumerator | |
---|---|
TopLeft |
Top-left edge of the cell. |
BottomRight |
Bottom-right edge of the cell. |
DetectiveArrow |
Position inside cell for detective arrows. |
Definition at line 59 of file detfunc.hxx.
|
inline |
Definition at line 120 of file detfunc.hxx.
|
static |
Definition at line 1755 of file detfunc.cxx.
Referenced by ScAccessibleCellBase::GetAllDisplayNote().
bool ScDetectiveFunc::DeleteAll | ( | ScDetectiveDelete | eWhat | ) |
Definition at line 1291 of file detfunc.cxx.
References ScDrawLayer::AddCalcUndo(), Arrows, Circles, Detective, ScDocument::GetDrawLayer(), SdrObject::GetLayer(), SdrObjList::GetObjCount(), SdrModel::GetPage(), i, ScDrawLayer::IsNoteCaption(), Modified(), SdrObjListIter::Next(), nTab, pObject, rDoc, SdrObjList::RecalcObjOrdNums(), SdrObjList::RemoveObject(), and SC_LAYER_INTERN().
Referenced by ScDocFunc::DetectiveDelAll(), ScDocFunc::DetectiveRefresh(), MarkInvalid(), ScDocFunc::MergeCells(), and ScDocFunc::UnmergeCells().
Definition at line 662 of file detfunc.cxx.
References ScDrawLayer::AddCalcUndo(), SdrObject::Free(), ScDocument::GetDrawLayer(), GetDrawRect(), SdrObject::GetLayer(), SdrObjList::GetObjCount(), SdrModel::GetPage(), SdrObject::GetPoint(), SdrObject::GetPointCount(), i, tools::Rectangle::IsInside(), SdrObject::IsPolyObj(), ScDrawLayer::IsRecording(), Modified(), SdrObjListIter::Next(), nTab, pObject, rDoc, SdrObjList::RecalcObjOrdNums(), SdrObjList::RemoveObject(), and SC_LAYER_INTERN().
Referenced by FindPredLevel(), and FindSuccLevel().
Definition at line 732 of file detfunc.cxx.
References ScDrawLayer::AddCalcUndo(), tools::Rectangle::BottomRight(), ScDocument::GetDrawLayer(), GetDrawRect(), SdrObject::GetLayer(), SdrObjList::GetObjCount(), SdrModel::GetPage(), i, tools::Rectangle::Justify(), Modified(), SdrObjListIter::Next(), nTab, pObject, Point, rDoc, SdrObjList::RecalcObjOrdNums(), RectIsPoints(), SdrObjList::RemoveObject(), SC_LAYER_INTERN(), and tools::Rectangle::TopLeft().
Referenced by FindPredLevel(), and FindSuccLevel().
Definition at line 1236 of file detfunc.cxx.
References ScDrawLayer::AddCalcUndo(), tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), tools::Rectangle::AdjustTop(), tools::Rectangle::BottomRight(), ScDrawLayer::GetCellRect(), ScDocument::GetDrawLayer(), SdrObject::GetLayer(), SdrObjList::GetObjCount(), SdrModel::GetPage(), i, Modified(), SdrObjListIter::Next(), nTab, pObject, Point, rDoc, SdrObjList::RecalcObjOrdNums(), RectIsPoints(), SdrObjList::RemoveObject(), SC_LAYER_INTERN(), and tools::Rectangle::TopLeft().
Definition at line 1223 of file detfunc.cxx.
References FindPredLevel(), ScDocument::GetDrawLayer(), and rDoc.
Referenced by ScDocFunc::DetectiveDelPred().
Definition at line 1210 of file detfunc.cxx.
References FindSuccLevel(), ScDocument::GetDrawLayer(), and rDoc.
Referenced by ScDocFunc::DetectiveDelSucc().
|
private |
Definition at line 616 of file detfunc.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), HasArrow(), HasError(), InsertToOtherTab(), nTab, and ScAddress::Row().
Referenced by InsertSuccLevel().
|
private |
Definition at line 631 of file detfunc.cxx.
References ScDrawLayer::AddCalcUndo(), tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), tools::Rectangle::AdjustTop(), ScDrawLayer::GetCellRect(), ScDetectiveData::GetCircleSet(), ScDocument::GetDrawLayer(), ScDrawLayer::GetObjData(), SdrModel::GetPage(), SdrObjList::InsertObject(), ScDrawObjData::maEnd, ScDrawObjData::maStart, ScDrawObjData::meType, Modified(), nTab, pData, rDoc, SC_LAYER_INTERN(), ScAddress::Set(), ScAddress::SetInvalid(), SdrObject::SetLayer(), SdrObject::SetMergedItemSetAndBroadcast(), and ScDrawObjData::ValidationCircle.
Referenced by InsertObject(), and MarkInvalid().
|
private |
DrawEntry / DrawAlienEntry check for existing arrows and errors.
Definition at line 598 of file detfunc.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), HasArrow(), HasError(), InsertArrow(), nTab, ScAddress::Row(), and ScAddress::Tab().
Referenced by InsertErrorLevel(), InsertPredLevel(), and InsertSuccLevel().
Definition at line 1588 of file detfunc.cxx.
References ScRange::aEnd, ScRange::aStart, ScDocument::GetDrawLayer(), SdrObject::GetLayer(), SdrObjList::GetObj(), ScDrawLayer::GetObjDataTab(), SdrObject::GetOrdNum(), SdrModel::GetPage(), SdrObject::getParentSdrObjListFromSdrObject(), SdrObject::getSdrPageFromSdrObject(), SdrObjList::getSdrPageFromSdrObjList(), ScAddress::IsValid(), ScDrawObjData::maEnd, ScDrawObjData::maStart, nTab, rDoc, SC_LAYER_INTERN(), and ScAddress::Tab().
Referenced by GetDetectiveObjectType().
|
private |
Definition at line 899 of file detfunc.cxx.
References ScRange::aEnd, ScRange::aStart, CELLTYPE_FORMULA, ScAddress::Col(), DeleteArrowsAt(), DeleteBox(), FindPredLevelArea(), ScFormulaCell::GetDirty(), ScDetectiveRefIter::GetNextRef(), HasArrow(), ScFormulaCell::Interpret(), ScFormulaCell::IsRunning(), ScRefCellValue::meType, ScRefCellValue::mpFormula, nTab, rDoc, ScAddress::Row(), and ScFormulaCell::SetRunning().
Referenced by DeletePred(), and FindPredLevelArea().
|
private |
Definition at line 878 of file detfunc.cxx.
References CELLTYPE_FORMULA, ScAddress::Col(), FindPredLevel(), ScCellIterator::first(), ScCellIterator::GetPos(), ScCellIterator::getType(), ScCellIterator::next(), rDoc, and ScAddress::Row().
Referenced by FindPredLevel().
|
private |
Definition at line 1091 of file detfunc.cxx.
References ScRange::aEnd, ScRange::aStart, CELLTYPE_FORMULA, ScAddress::Col(), DeleteArrowsAt(), DeleteBox(), ScCellIterator::first(), ScFormulaCell::GetDirty(), ScCellIterator::getFormulaCell(), ScDetectiveRefIter::GetNextRef(), ScCellIterator::GetPos(), ScCellIterator::getType(), HasArrow(), ScFormulaCell::Interpret(), Intersect(), ScFormulaCell::IsRunning(), ScDocument::MaxCol(), ScDocument::MaxRow(), ScCellIterator::next(), nTab, rDoc, ScAddress::Row(), ScFormulaCell::SetRunning(), and ScAddress::Tab().
Referenced by DeleteSucc().
void ScDetectiveFunc::GetAllPreds | ( | SCCOL | nCol1, |
SCROW | nRow1, | ||
SCCOL | nCol2, | ||
SCROW | nRow2, | ||
::std::vector< ScTokenRef > & | rRefTokens | ||
) |
Definition at line 1418 of file detfunc.cxx.
References CELLTYPE_FORMULA, ScCellIterator::first(), ScCellIterator::getFormulaCell(), ScDetectiveRefIter::GetNextRefToken(), ScCellIterator::GetPos(), ScCellIterator::getType(), ScRefTokenHelper::join(), ScCellIterator::next(), nTab, p, and rDoc.
void ScDetectiveFunc::GetAllSuccs | ( | SCCOL | nCol1, |
SCROW | nRow1, | ||
SCCOL | nCol2, | ||
SCROW | nRow2, | ||
::std::vector< ScTokenRef > & | rRefTokens | ||
) |
Definition at line 1437 of file detfunc.cxx.
References CELLTYPE_FORMULA, ScRefTokenHelper::createRefToken(), ScCellIterator::first(), ScCellIterator::getFormulaCell(), ScDetectiveRefIter::GetNextRefToken(), ScCellIterator::GetPos(), ScCellIterator::getType(), ScRefTokenHelper::intersects(), ScRefTokenHelper::join(), ScDocument::MaxCol(), ScDocument::MaxRow(), ScCellIterator::next(), nTab, p, and rDoc.
|
static |
Definition at line 1717 of file detfunc.cxx.
References bColorsInitialized, InitializeColors(), and nArrowColor.
Referenced by ScModule::ConfigurationChanged(), GetDetectiveObjectType(), InsertArrow(), InsertToOtherTab(), and UpdateAllArrowColors().
|
static |
Definition at line 1731 of file detfunc.cxx.
References bColorsInitialized, InitializeColors(), and nCommentColor.
Referenced by ScModule::ConfigurationChanged(), and UpdateAllComments().
ScDetectiveObjType ScDetectiveFunc::GetDetectiveObjectType | ( | SdrObject * | pObject, |
SCTAB | nObjTab, | ||
ScAddress & | rPosition, | ||
ScRange & | rSource, | ||
bool & | rRedLine | ||
) |
Definition at line 1623 of file detfunc.cxx.
References eType, FindFrameForObject(), GetArrowColor(), GetErrorColor(), SdrObject::GetLayer(), SdrObject::GetMergedItem(), ScDrawLayer::GetObjDataTab(), SdrObject::GetPointCount(), SdrObject::IsPolyObj(), lcl_HasThickLine(), pData, SC_DETOBJ_ARROW, SC_DETOBJ_CIRCLE, SC_DETOBJ_FROMOTHERTAB, SC_DETOBJ_NONE, SC_DETOBJ_RECTANGLE, SC_DETOBJ_TOOTHERTAB, SC_LAYER_INTERN(), and XATTR_LINECOLOR().
Referenced by ScXMLExport::CollectInternalShape(), XclObjAny::SaveXml(), and UpdateAllArrowColors().
|
private |
Definition at line 306 of file detfunc.cxx.
References BottomRight, o3tl::convert(), DetectiveArrow, ScDocument::GetColWidth(), ScDocument::GetRowHeight(), i, ScDocument::IsNegativePage(), o3tl::mm100, nTab, Point, rDoc, ScDocument::SanitizeCol(), ScDocument::SanitizeRow(), TopLeft, o3tl::twip, and ScDocument::ValidColRow().
Referenced by GetDrawRect(), InsertArrow(), and InsertToOtherTab().
|
private |
Definition at line 341 of file detfunc.cxx.
References BottomRight, GetDrawPos(), tools::Rectangle::Justify(), and TopLeft.
Referenced by DeleteArrowsAt(), DeleteBox(), GetDrawRect(), HasArrow(), InsertArrow(), and InsertToOtherTab().
|
private |
Definition at line 350 of file detfunc.cxx.
References GetDrawRect().
|
static |
Definition at line 1724 of file detfunc.cxx.
References bColorsInitialized, InitializeColors(), and nErrorColor.
Referenced by ScModule::ConfigurationChanged(), GetDetectiveObjectType(), InsertArrow(), InsertToOtherTab(), and UpdateAllArrowColors().
|
private |
Definition at line 373 of file detfunc.cxx.
References ScAddress::Col(), SfxItemSet::Get(), ScDocument::GetDrawLayer(), GetDrawRect(), SdrObject::GetLayer(), SdrObject::GetMergedItemSet(), SdrModel::GetPage(), SdrObject::GetPoint(), SdrObject::GetPointCount(), tools::Rectangle::IsInside(), SdrObject::IsPolyObj(), lcl_IsOtherTab(), SdrObjListIter::Next(), nTab, pObject, rDoc, ScAddress::Row(), SC_LAYER_INTERN(), ScAddress::Tab(), XATTR_LINEEND(), and XATTR_LINESTART().
Referenced by DrawAlienEntry(), DrawEntry(), FindPredLevel(), and FindSuccLevel().
Definition at line 287 of file detfunc.cxx.
References ScRange::aStart, CELLTYPE_FORMULA, ScCellIterator::first(), ScFormulaCell::GetErrCode(), ScCellIterator::getFormulaCell(), ScCellIterator::GetPos(), ScCellIterator::getType(), ScCellIterator::next(), and rDoc.
Referenced by DrawAlienEntry(), DrawEntry(), InsertErrorLevel(), ShowError(), and UpdateAllArrowColors().
|
static |
Definition at line 1738 of file detfunc.cxx.
References bColorsInitialized, svtools::CALCDETECTIVE, svtools::CALCDETECTIVEERROR, svtools::CALCNOTESBACKGROUND, svtools::ColorConfig::GetColorValue(), nArrowColor, svtools::ColorConfigValue::nColor, nCommentColor, nErrorColor, and SC_MOD.
Referenced by ScModule::ConfigurationChanged(), GetArrowColor(), GetCommentColor(), and GetErrorColor().
|
private |
called from DrawEntry/DrawAlienEntry and InsertObject
Definition at line 445 of file detfunc.cxx.
References ScDrawLayer::AddCalcUndo(), basegfx::B2DPolygon::append(), ScDrawObjData::DetectiveArrow, DetectiveArrow, GetArrowColor(), ScDetectiveData::GetArrowSet(), ScDetectiveData::GetBoxSet(), ScDocument::GetDrawLayer(), GetDrawPos(), GetDrawRect(), GetErrorColor(), ScDetectiveData::GetFromTabSet(), ScDrawLayer::GetObjData(), SdrModel::GetPage(), SdrObjList::InsertObject(), ScDocument::IsNegativePage(), tools::Rectangle::Justify(), ScDrawObjData::maEnd, ScDrawObjData::maStart, ScDrawObjData::meType, Modified(), SdrTextObj::NbcSetLogicRect(), nTab, OBJ_LINE, pData, Point, SfxItemSet::Put(), rDoc, SC_LAYER_INTERN(), ScAddress::Set(), ScAddress::SetInvalid(), SdrObject::SetLayer(), and SdrObject::SetMergedItemSetAndBroadcast().
Referenced by DrawEntry(), and InsertObject().
|
private |
Definition at line 957 of file detfunc.cxx.
References CELLTYPE_FORMULA, ScAddress::Col(), DrawEntry(), ScFormulaCell::GetDirty(), ScDetectiveData::GetMaxLevel(), ScDetectiveRefIter::GetNextRef(), HasError(), InsertPredLevel(), ScFormulaCell::Interpret(), ScFormulaCell::IsRunning(), ScRefCellValue::meType, ScRefCellValue::mpFormula, nTab, rDoc, ScAddress::Row(), and ScFormulaCell::SetRunning().
Referenced by ShowError().
void ScDetectiveFunc::InsertObject | ( | ScDetectiveObjType | eType, |
const ScAddress & | rPosition, | ||
const ScRange & | rSource, | ||
bool | bRedLine | ||
) |
Definition at line 1685 of file detfunc.cxx.
References aData, ScRange::aEnd, ScRange::aStart, ScAddress::Col(), DrawCircle(), ScDocument::GetDrawLayer(), InsertArrow(), InsertToOtherTab(), rDoc, ScAddress::Row(), SC_DETOBJ_ARROW, SC_DETOBJ_CIRCLE, SC_DETOBJ_FROMOTHERTAB, and SC_DETOBJ_TOOTHERTAB.
|
private |
Definition at line 812 of file detfunc.cxx.
References ScRange::aEnd, ScRange::aStart, CELLTYPE_FORMULA, ScAddress::Col(), DrawEntry(), ScFormulaCell::GetDirty(), ScDetectiveData::GetMaxLevel(), ScDetectiveRefIter::GetNextRef(), InsertPredLevelArea(), ScFormulaCell::Interpret(), ScFormulaCell::IsRunning(), ScRefCellValue::meType, ScRefCellValue::mpFormula, nTab, rDoc, ScAddress::Row(), and ScFormulaCell::SetRunning().
Referenced by InsertErrorLevel(), InsertPredLevelArea(), and ShowPred().
|
private |
Definition at line 779 of file detfunc.cxx.
References CELLTYPE_FORMULA, ScAddress::Col(), ScCellIterator::first(), ScCellIterator::GetPos(), ScCellIterator::getType(), InsertPredLevel(), ScCellIterator::next(), rDoc, and ScAddress::Row().
Referenced by InsertPredLevel().
|
private |
Definition at line 1005 of file detfunc.cxx.
References ScRange::aEnd, ScRange::aStart, CELLTYPE_FORMULA, ScAddress::Col(), DrawAlienEntry(), DrawEntry(), ScCellIterator::first(), ScFormulaCell::GetDirty(), ScCellIterator::getFormulaCell(), ScDetectiveData::GetMaxLevel(), ScDetectiveRefIter::GetNextRef(), ScCellIterator::GetPos(), ScCellIterator::getType(), ScFormulaCell::Interpret(), Intersect(), ScFormulaCell::IsRunning(), ScDocument::MaxCol(), ScDocument::MaxRow(), MAXTAB, ScCellIterator::next(), nTab, rDoc, ScAddress::Row(), ScFormulaCell::SetRunning(), and ScAddress::Tab().
Referenced by ShowSucc().
|
private |
Definition at line 526 of file detfunc.cxx.
References ScDrawLayer::AddCalcUndo(), basegfx::B2DPolygon::append(), DetectiveArrow, GetArrowColor(), ScDetectiveData::GetBoxSet(), ScDocument::GetDrawLayer(), GetDrawPos(), GetDrawRect(), GetErrorColor(), ScDrawLayer::GetObjData(), SdrModel::GetPage(), ScDetectiveData::GetToTabSet(), SdrObjList::InsertObject(), ScDocument::IsNegativePage(), tools::Rectangle::Justify(), ScDrawObjData::maEnd, ScDrawObjData::maStart, Modified(), SdrTextObj::NbcSetLogicRect(), nTab, OBJ_LINE, pData, Point, SfxItemSet::Put(), rDoc, SC_LAYER_INTERN(), ScAddress::Set(), ScAddress::SetInvalid(), SdrObject::SetLayer(), and SdrObject::SetMergedItemSetAndBroadcast().
Referenced by DrawAlienEntry(), and InsertObject().
|
static |
Definition at line 1750 of file detfunc.cxx.
References bColorsInitialized.
Referenced by ScModule::ConfigurationChanged().
|
static |
Definition at line 425 of file detfunc.cxx.
References SfxItemSet::Get(), SdrObject::GetLayer(), SdrObject::GetMergedItemSet(), SdrObject::GetPointCount(), SdrObject::IsPolyObj(), lcl_IsOtherTab(), SC_LAYER_INTERN(), XATTR_LINEEND(), and XATTR_LINESTART().
Referenced by FuPoor::IsDetectiveHit(), and FuSelection::TestDetective().
bool ScDetectiveFunc::MarkInvalid | ( | bool & | rOverflow | ) |
Definition at line 1348 of file detfunc.cxx.
References aData, ATTR_MERGE_FLAG(), ATTR_VALIDDATA(), Circles, DeleteAll(), DrawCircle(), ScCellIterator::first(), ScDocument::GetDrawLayer(), ScPatternAttr::GetItem(), ScCellIterator::GetPos(), ScCellIterator::getRefCellValue(), ScDocument::GetValidationEntry(), ScValidationData::IsDataValid(), ScConditionEntry::IsIgnoreBlank(), ScDocument::MaxCol(), ScDocument::MaxRow(), ScCellIterator::next(), nIndex, nTab, pData, rDoc, ScAddress::Row(), and SC_DET_MAXCIRCLE.
Referenced by ScDocFunc::DetectiveMarkInvalid().
|
private |
Definition at line 275 of file detfunc.cxx.
References nTab, rDoc, and ScDocument::SetStreamValid().
Referenced by DeleteAll(), DeleteArrowsAt(), DeleteBox(), DeleteCirclesAt(), DrawCircle(), InsertArrow(), and InsertToOtherTab().
Definition at line 1191 of file detfunc.cxx.
References aData, ScDocument::GetDrawLayer(), HasError(), InsertErrorLevel(), nTab, rDoc, and ScDetectiveData::SetMaxLevel().
Referenced by ScDocFunc::DetectiveAddError().
Definition at line 1151 of file detfunc.cxx.
References aData, ScDocument::GetDrawLayer(), InsertPredLevel(), rDoc, and ScDetectiveData::SetMaxLevel().
Referenced by ScDocFunc::DetectiveAddPred().
Definition at line 1171 of file detfunc.cxx.
References aData, ScDocument::GetDrawLayer(), InsertSuccLevel(), rDoc, and ScDetectiveData::SetMaxLevel().
Referenced by ScDocFunc::DetectiveAddSucc().
void ScDetectiveFunc::UpdateAllArrowColors | ( | ) |
on all tables
Definition at line 1510 of file detfunc.cxx.
References eType, GetArrowColor(), GetDetectiveObjectType(), ScDocument::GetDrawLayer(), GetErrorColor(), SdrModel::GetPage(), ScDocument::GetTableCount(), HasError(), SdrObjListIter::Next(), pObject, rDoc, SC_DETOBJ_ARROW, SC_DETOBJ_CIRCLE, SC_DETOBJ_FROMOTHERTAB, SC_DETOBJ_NONE, SC_DETOBJ_TOOTHERTAB, and SC_LAYER_INTERN().
|
static |
on all tables
Definition at line 1466 of file detfunc.cxx.
References aData, ScPostIt::GetCaption(), GetCommentColor(), ScDocument::GetDrawLayer(), ScDocument::GetNote(), ScDrawLayer::GetNoteCaptionData(), SdrModel::GetPage(), ScDocument::GetTableCount(), SdrObjListIter::Next(), pData, pObject, and SfxItemSet::Put().
Referenced by ScModule::ConfigurationChanged(), and ScDocument::StyleSheetChanged().
|
staticprivate |
Definition at line 54 of file detfunc.hxx.
Referenced by GetArrowColor(), GetCommentColor(), GetErrorColor(), InitializeColors(), and IsColorsInitialized().
Definition at line 51 of file detfunc.hxx.
Referenced by GetArrowColor(), and InitializeColors().
Definition at line 53 of file detfunc.hxx.
Referenced by GetCommentColor(), and InitializeColors().
Definition at line 52 of file detfunc.hxx.
Referenced by GetErrorColor(), and InitializeColors().
|
private |
Definition at line 57 of file detfunc.hxx.
Referenced by DeleteAll(), DeleteArrowsAt(), DeleteBox(), DeleteCirclesAt(), DrawAlienEntry(), DrawCircle(), DrawEntry(), FindFrameForObject(), FindPredLevel(), FindSuccLevel(), GetAllPreds(), GetAllSuccs(), GetDrawPos(), HasArrow(), InsertArrow(), InsertErrorLevel(), InsertPredLevel(), InsertSuccLevel(), InsertToOtherTab(), MarkInvalid(), Modified(), and ShowError().
|
private |
Definition at line 56 of file detfunc.hxx.
Referenced by DeleteAll(), DeleteArrowsAt(), DeleteBox(), DeleteCirclesAt(), DeletePred(), DeleteSucc(), DrawCircle(), FindFrameForObject(), FindPredLevel(), FindPredLevelArea(), FindSuccLevel(), GetAllPreds(), GetAllSuccs(), GetDrawPos(), HasArrow(), HasError(), InsertArrow(), InsertErrorLevel(), InsertObject(), InsertPredLevel(), InsertPredLevelArea(), InsertSuccLevel(), InsertToOtherTab(), MarkInvalid(), Modified(), ShowError(), ShowPred(), ShowSucc(), and UpdateAllArrowColors().