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 class | DrawPosMode { TopLeft , BottomRight , 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 48 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 58 of file detfunc.hxx.
|
inline |
Definition at line 119 of file detfunc.hxx.
|
static |
Definition at line 1648 of file detfunc.cxx.
Referenced by ScAccessibleCellBase::GetAllDisplayNote().
bool ScDetectiveFunc::DeleteAll | ( | ScDetectiveDelete | eWhat | ) |
Definition at line 1203 of file detfunc.cxx.
References ScDrawLayer::AddCalcUndo(), Arrows, Circles, Detective, ScDocument::GetDrawLayer(), 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 576 of file detfunc.cxx.
References ScDrawLayer::AddCalcUndo(), tools::Rectangle::Contains(), ScDocument::GetDrawLayer(), GetDrawRect(), SdrObjList::GetObjCount(), SdrModel::GetPage(), i, ScDrawLayer::IsRecording(), Modified(), SdrObjListIter::Next(), nTab, pObject, rDoc, SdrObjList::RecalcObjOrdNums(), SdrObjList::RemoveObject(), and SC_LAYER_INTERN().
Referenced by FindPredLevel(), and FindSuccLevel().
Definition at line 644 of file detfunc.cxx.
References ScDrawLayer::AddCalcUndo(), tools::Rectangle::BottomRight(), ScDocument::GetDrawLayer(), GetDrawRect(), SdrObjList::GetObjCount(), SdrModel::GetPage(), i, Modified(), SdrObjListIter::Next(), tools::Rectangle::Normalize(), nTab, pObject, rDoc, SdrObjList::RecalcObjOrdNums(), RectIsPoints(), SdrObjList::RemoveObject(), SC_LAYER_INTERN(), and tools::Rectangle::TopLeft().
Referenced by FindPredLevel(), and FindSuccLevel().
Definition at line 1148 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(), SdrObjList::GetObjCount(), SdrModel::GetPage(), i, Modified(), SdrObjListIter::Next(), nTab, pObject, rDoc, SdrObjList::RecalcObjOrdNums(), RectIsPoints(), SdrObjList::RemoveObject(), SC_LAYER_INTERN(), and tools::Rectangle::TopLeft().
Referenced by ScOutputData::FindChanged(), and ScDocFunc::SetNormalString().
Definition at line 1135 of file detfunc.cxx.
References FindPredLevel(), ScDocument::GetDrawLayer(), and rDoc.
Referenced by ScDocFunc::DetectiveDelPred(), and ScDocFunc::DetectiveRefresh().
Definition at line 1122 of file detfunc.cxx.
References FindSuccLevel(), ScDocument::GetDrawLayer(), and rDoc.
Referenced by ScDocFunc::DetectiveDelSucc(), and ScDocFunc::DetectiveRefresh().
|
private |
Definition at line 529 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 544 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(), Modified(), nTab, pData, rDoc, SC_LAYER_INTERN(), and ScDrawObjData::ValidationCircle.
Referenced by InsertObject(), and MarkInvalid().
|
private |
DrawEntry / DrawAlienEntry check for existing arrows and errors.
Definition at line 511 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 1481 of file detfunc.cxx.
References ScRange::aEnd, ScRange::aStart, ScDocument::GetDrawLayer(), SdrObject::GetLayer(), SdrObjList::GetObj(), ScDrawLayer::GetObjDataTab(), SdrModel::GetPage(), ScAddress::IsValid(), ScDrawObjData::maEnd, ScDrawObjData::maStart, nTab, pObject, rDoc, SC_LAYER_INTERN(), and ScAddress::Tab().
Referenced by GetDetectiveObjectType().
|
private |
Definition at line 811 of file detfunc.cxx.
References ScRange::aEnd, ScRange::aStart, CELLTYPE_FORMULA, ScAddress::Col(), DeleteArrowsAt(), DeleteBox(), FindPredLevel(), FindPredLevelArea(), ScFormulaCell::GetDirty(), ScRefCellValue::getFormula(), ScDetectiveRefIter::GetNextRef(), ScRefCellValue::getType(), HasArrow(), ScFormulaCell::Interpret(), ScFormulaCell::IsRunning(), nTab, rDoc, ScAddress::Row(), and ScFormulaCell::SetRunning().
Referenced by DeletePred(), FindPredLevel(), and FindPredLevelArea().
|
private |
Definition at line 790 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 1003 of file detfunc.cxx.
References ScRange::aEnd, ScRange::aStart, CELLTYPE_FORMULA, ScAddress::Col(), DeleteArrowsAt(), DeleteBox(), FindSuccLevel(), 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(), and FindSuccLevel().
void ScDetectiveFunc::GetAllPreds | ( | SCCOL | nCol1, |
SCROW | nRow1, | ||
SCCOL | nCol2, | ||
SCROW | nRow2, | ||
::std::vector< ScTokenRef > & | rRefTokens | ||
) |
Definition at line 1330 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.
Referenced by lcl_collectAllPredOrSuccRanges().
void ScDetectiveFunc::GetAllSuccs | ( | SCCOL | nCol1, |
SCROW | nRow1, | ||
SCCOL | nCol2, | ||
SCROW | nRow2, | ||
::std::vector< ScTokenRef > & | rRefTokens | ||
) |
Definition at line 1349 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.
Referenced by lcl_collectAllPredOrSuccRanges().
|
static |
Definition at line 1610 of file detfunc.cxx.
References bColorsInitialized, InitializeColors(), and nArrowColor.
Referenced by ScModule::ConfigurationChanged(), GetDetectiveObjectType(), InsertArrow(), InsertToOtherTab(), ScDetectiveData::ScDetectiveData(), and UpdateAllArrowColors().
|
static |
Definition at line 1624 of file detfunc.cxx.
References bColorsInitialized, InitializeColors(), and nCommentColor.
Referenced by ScModule::ConfigurationChanged(), ScDrawLayer::CreateDefaultStyles(), and UpdateAllComments().
ScDetectiveObjType ScDetectiveFunc::GetDetectiveObjectType | ( | SdrObject * | pObject, |
SCTAB | nObjTab, | ||
ScAddress & | rPosition, | ||
ScRange & | rSource, | ||
bool & | rRedLine | ||
) |
Definition at line 1516 of file detfunc.cxx.
References eType, FindFrameForObject(), GetArrowColor(), GetErrorColor(), ScDrawLayer::GetObjDataTab(), lcl_HasThickLine(), pData, pObject, 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 215 of file detfunc.cxx.
References Point::AdjustX(), Point::AdjustY(), BottomRight, o3tl::convert(), DetectiveArrow, eMode, ScDocument::GetColWidth(), ScDocument::GetRowHeight(), i, ScDocument::IsNegativePage(), o3tl::mm100, nTab, rDoc, ScDocument::SanitizeCol(), ScDocument::SanitizeRow(), Point::setX(), Point::setY(), TopLeft, o3tl::twip, ScDocument::ValidColRow(), Point::X(), and Point::Y().
Referenced by GetDrawRect(), InsertArrow(), and InsertToOtherTab().
|
private |
Definition at line 259 of file detfunc.cxx.
References GetDrawRect().
|
private |
Definition at line 250 of file detfunc.cxx.
References BottomRight, GetDrawPos(), tools::Rectangle::Normalize(), and TopLeft.
Referenced by DeleteArrowsAt(), DeleteBox(), GetDrawRect(), HasArrow(), InsertArrow(), and InsertToOtherTab().
|
static |
Definition at line 1617 of file detfunc.cxx.
References bColorsInitialized, InitializeColors(), and nErrorColor.
Referenced by ScModule::ConfigurationChanged(), GetDetectiveObjectType(), InsertArrow(), InsertToOtherTab(), ScDetectiveData::ScDetectiveData(), and UpdateAllArrowColors().
|
private |
Definition at line 282 of file detfunc.cxx.
References ScAddress::Col(), tools::Rectangle::Contains(), SfxItemSet::Get(), ScDocument::GetDrawLayer(), GetDrawRect(), SdrModel::GetPage(), lcl_IsOtherTab(), SdrObjListIter::Next(), nTab, pObject, rDoc, ScAddress::Row(), rSet, SC_LAYER_INTERN(), ScAddress::Tab(), XATTR_LINEEND(), and XATTR_LINESTART().
Referenced by DrawAlienEntry(), DrawEntry(), FindPredLevel(), and FindSuccLevel().
Definition at line 196 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 1631 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 354 of file detfunc.cxx.
References ScDrawLayer::AddCalcUndo(), Point::AdjustX(), Point::AdjustY(), basegfx::B2DPolygon::append(), DetectiveArrow, ScDrawObjData::DetectiveArrow, GetArrowColor(), ScDetectiveData::GetArrowSet(), ScDetectiveData::GetBoxSet(), ScDocument::GetDrawLayer(), GetDrawPos(), GetDrawRect(), GetErrorColor(), ScDetectiveData::GetFromTabSet(), ScDrawLayer::GetObjData(), SdrModel::GetPage(), SdrObjList::InsertObject(), ScDocument::IsNegativePage(), Modified(), tools::Rectangle::Normalize(), nTab, pData, SfxItemSet::Put(), rDoc, SC_LAYER_INTERN(), Point::X(), and Point::Y().
Referenced by DrawEntry(), and InsertObject().
|
private |
Definition at line 869 of file detfunc.cxx.
References CELLTYPE_FORMULA, ScAddress::Col(), DrawEntry(), ScFormulaCell::GetDirty(), ScRefCellValue::getFormula(), ScDetectiveData::GetMaxLevel(), ScDetectiveRefIter::GetNextRef(), ScRefCellValue::getType(), HasError(), InsertErrorLevel(), InsertPredLevel(), ScFormulaCell::Interpret(), ScFormulaCell::IsRunning(), nTab, rDoc, ScAddress::Row(), and ScFormulaCell::SetRunning().
Referenced by InsertErrorLevel(), and ShowError().
void ScDetectiveFunc::InsertObject | ( | ScDetectiveObjType | eType, |
const ScAddress & | rPosition, | ||
const ScRange & | rSource, | ||
bool | bRedLine | ||
) |
Definition at line 1578 of file detfunc.cxx.
References aData, ScRange::aEnd, ScRange::aStart, ScAddress::Col(), DrawCircle(), eType, ScDocument::GetDrawLayer(), InsertArrow(), InsertToOtherTab(), rDoc, ScAddress::Row(), SC_DETOBJ_ARROW, SC_DETOBJ_CIRCLE, SC_DETOBJ_FROMOTHERTAB, and SC_DETOBJ_TOOTHERTAB.
Referenced by ScXMLTableRowCellContext::SetDetectiveObj().
|
private |
Definition at line 724 of file detfunc.cxx.
References ScRange::aEnd, ScRange::aStart, CELLTYPE_FORMULA, ScAddress::Col(), DrawEntry(), ScFormulaCell::GetDirty(), ScRefCellValue::getFormula(), ScDetectiveData::GetMaxLevel(), ScDetectiveRefIter::GetNextRef(), ScRefCellValue::getType(), InsertPredLevel(), InsertPredLevelArea(), ScFormulaCell::Interpret(), ScFormulaCell::IsRunning(), nTab, rDoc, ScAddress::Row(), and ScFormulaCell::SetRunning().
Referenced by InsertErrorLevel(), InsertPredLevel(), InsertPredLevelArea(), and ShowPred().
|
private |
Definition at line 691 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 917 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(), InsertSuccLevel(), ScFormulaCell::Interpret(), Intersect(), ScFormulaCell::IsRunning(), ScDocument::MaxCol(), ScDocument::MaxRow(), MAXTAB, ScCellIterator::next(), nTab, rDoc, ScAddress::Row(), ScFormulaCell::SetRunning(), and ScAddress::Tab().
Referenced by InsertSuccLevel(), and ShowSucc().
|
private |
Definition at line 437 of file detfunc.cxx.
References ScDrawLayer::AddCalcUndo(), Point::AdjustY(), basegfx::B2DPolygon::append(), DetectiveArrow, GetArrowColor(), ScDetectiveData::GetBoxSet(), ScDocument::GetDrawLayer(), GetDrawPos(), GetDrawRect(), GetErrorColor(), ScDrawLayer::GetObjData(), SdrModel::GetPage(), ScDetectiveData::GetToTabSet(), SdrObjList::InsertObject(), ScDocument::IsNegativePage(), Modified(), tools::Rectangle::Normalize(), nTab, pData, SfxItemSet::Put(), rDoc, SC_LAYER_INTERN(), Point::X(), and Point::Y().
Referenced by DrawAlienEntry(), and InsertObject().
|
static |
Definition at line 1643 of file detfunc.cxx.
References bColorsInitialized.
Referenced by ScModule::ConfigurationChanged().
|
static |
Definition at line 334 of file detfunc.cxx.
References SfxItemSet::Get(), lcl_IsOtherTab(), pObject, rSet, SC_LAYER_INTERN(), XATTR_LINEEND(), and XATTR_LINESTART().
Referenced by FuPoor::IsDetectiveHit(), and FuSelection::TestDetective().
bool ScDetectiveFunc::MarkInvalid | ( | bool & | rOverflow | ) |
Definition at line 1260 of file detfunc.cxx.
References aData, ATTR_MERGE_FLAG(), ATTR_VALIDDATA(), Circles, DeleteAll(), DrawCircle(), ScCellIterator::first(), ScDocument::GetDrawLayer(), ScPatternAttr::GetItem(), ScDocAttrIterator::GetNext(), ScCellIterator::GetPos(), ScCellIterator::getRefCellValue(), ScDocument::GetValidationEntry(), ScDocument::MaxCol(), ScDocument::MaxRow(), ScCellIterator::next(), nIndex, nTab, pData, rDoc, ScAddress::Row(), and SC_DET_MAXCIRCLE.
Referenced by ScDocFunc::DetectiveMarkInvalid().
|
private |
Definition at line 184 of file detfunc.cxx.
References nTab, rDoc, and ScDocument::SetStreamValid().
Referenced by DeleteAll(), DeleteArrowsAt(), DeleteBox(), DeleteCirclesAt(), DrawCircle(), InsertArrow(), and InsertToOtherTab().
Definition at line 1103 of file detfunc.cxx.
References aData, ScDocument::GetDrawLayer(), HasError(), InsertErrorLevel(), nTab, and rDoc.
Referenced by ScDocFunc::DetectiveAddError(), and ScDocFunc::DetectiveRefresh().
Definition at line 1063 of file detfunc.cxx.
References aData, ScDocument::GetDrawLayer(), InsertPredLevel(), and rDoc.
Referenced by ScDocFunc::DetectiveAddPred(), and ScDocFunc::DetectiveRefresh().
Definition at line 1083 of file detfunc.cxx.
References aData, ScDocument::GetDrawLayer(), InsertSuccLevel(), and rDoc.
Referenced by ScDocFunc::DetectiveAddSucc(), and ScDocFunc::DetectiveRefresh().
void ScDetectiveFunc::UpdateAllArrowColors | ( | ) |
on all tables
Definition at line 1403 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().
Referenced by ScModule::ConfigurationChanged().
|
static |
on all tables
Definition at line 1378 of file detfunc.cxx.
References SfxUndoManager::AddUndoAction(), SfxStyleSheetBasePool::Find(), GetCommentColor(), ScDocument::GetDocumentShell(), ScDocument::GetDrawLayer(), ScDocument::GetStyleSheetPool(), ScDocShell::GetUndoManager(), ScStyleSaveData::InitFromStyle(), SfxItemSet::Put(), rDoc, rSet, and ScResId().
Referenced by ScModule::ConfigurationChanged().
|
staticprivate |
Definition at line 53 of file detfunc.hxx.
Referenced by GetArrowColor(), GetCommentColor(), GetErrorColor(), InitializeColors(), and IsColorsInitialized().
Definition at line 50 of file detfunc.hxx.
Referenced by GetArrowColor(), and InitializeColors().
Definition at line 52 of file detfunc.hxx.
Referenced by GetCommentColor(), and InitializeColors().
Definition at line 51 of file detfunc.hxx.
Referenced by GetErrorColor(), and InitializeColors().
|
private |
Definition at line 56 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 55 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(), UpdateAllArrowColors(), and UpdateAllComments().