LibreOffice Module sc (master) 1
|
#include <conditio.hxx>
Private Attributes | |
ScDocument * | pDoc |
sal_uInt32 | nKey |
std::vector< std::unique_ptr< ScFormatEntry > > | maEntries |
ScRangeList | maRanges |
Definition at line 538 of file conditio.hxx.
ScConditionalFormat::ScConditionalFormat | ( | sal_uInt32 | nNewKey, |
ScDocument * | pDocument | ||
) |
Definition at line 1712 of file conditio.cxx.
Referenced by Clone().
ScConditionalFormat::~ScConditionalFormat | ( | ) |
Definition at line 1792 of file conditio.cxx.
|
delete |
void ScConditionalFormat::AddEntry | ( | ScFormatEntry * | pNew | ) |
Definition at line 1762 of file conditio.cxx.
References maEntries, and ScFormatEntry::SetParent().
Referenced by ScCondFormatObj::createEntry(), XMLTableStyleContext::createFastChildContext(), ScTableConditionalFormat::FillFormat(), oox::xls::CondFormatRule::finalizeImport(), oox::xls::CondFormatBuffer::finalizeImport(), ScXMLColorScaleFormatContext::ScXMLColorScaleFormatContext(), ScXMLCondContext::ScXMLCondContext(), ScXMLDataBarFormatContext::ScXMLDataBarFormatContext(), ScXMLDateContext::ScXMLDateContext(), and ScXMLIconSetFormatContext::ScXMLIconSetFormatContext().
void ScConditionalFormat::CalcAll | ( | ) |
Definition at line 2054 of file conditio.cxx.
References ScConditionEntry::CalcAll(), ScFormatEntry::Condition, ScFormatEntry::ExtCondition, and maEntries.
std::unique_ptr< ScConditionalFormat > ScConditionalFormat::Clone | ( | ScDocument * | pNewDoc = nullptr | ) | const |
Definition at line 1718 of file conditio.cxx.
References ScFormatEntry::Clone(), maEntries, maRanges, nKey, pDoc, ScConditionalFormat(), and ScFormatEntry::SetParent().
Referenced by ScTable::CopyConditionalFormat().
void ScConditionalFormat::CompileAll | ( | ) |
Definition at line 1870 of file conditio.cxx.
References ScConditionEntry::CompileAll(), ScFormatEntry::Condition, ScFormatEntry::ExtCondition, and maEntries.
void ScConditionalFormat::CompileXML | ( | ) |
Definition at line 1878 of file conditio.cxx.
References ScConditionEntry::CompileXML(), ScFormatEntry::Condition, ScFormatEntry::ExtCondition, and maEntries.
Definition at line 2001 of file conditio.cxx.
References ScRangeList::DeleteArea(), ScRangeList::empty(), and maRanges.
void ScConditionalFormat::DoRepaint | ( | ) |
Definition at line 1864 of file conditio.cxx.
References maRanges, pDoc, and ScDocument::RepaintRange().
Referenced by ScConditionEntry::CalcAll(), ScCondFormatEntry::DataChanged(), RemoveEntry(), ScColorScaleEntry::ScColorScaleEntry(), ScColorScaleEntry::SetFormula(), ScColorScaleEntry::setListener(), ScColorScaleEntry::SetRepaintCallback(), and ScConditionEntry::StartListening().
void ScConditionalFormat::endRendering | ( | ) |
Definition at line 2046 of file conditio.cxx.
References maEntries.
bool ScConditionalFormat::EqualEntries | ( | const ScConditionalFormat & | r, |
bool | bIgnoreSrcPos = false |
||
) | const |
Definition at line 1737 of file conditio.cxx.
OUString ScConditionalFormat::GetCellStyle | ( | ScRefCellValue & | rCell, |
const ScAddress & | rPos | ||
) | const |
Definition at line 1804 of file conditio.cxx.
References ScFormatEntry::Condition, ScFormatEntry::Date, ScFormatEntry::ExtCondition, ScCondFormatEntry::GetStyle(), ScCondDateFormatEntry::GetStyleName(), ScConditionEntry::IsCellValid(), ScCondDateFormatEntry::IsValid(), and maEntries.
Referenced by ScDocument::GetCondResult(), and ScDocument::GetEffItem().
ScCondFormatData ScConditionalFormat::GetData | ( | ScRefCellValue & | rCell, |
const ScAddress & | rPos | ||
) | const |
Definition at line 1826 of file conditio.cxx.
References aData, ScFormatEntry::Colorscale, ScFormatEntry::Condition, ScFormatEntry::Databar, ScFormatEntry::Date, ScFormatEntry::ExtCondition, ScColorScaleFormat::GetColor(), ScDataBarFormat::GetDataBarInfo(), ScIconSetFormat::GetIconSetInfo(), ScCondFormatEntry::GetStyle(), ScCondDateFormatEntry::GetStyleName(), ScFormatEntry::Iconset, ScConditionEntry::IsCellValid(), ScCondDateFormatEntry::IsValid(), and maEntries.
ScDocument * ScConditionalFormat::GetDocument | ( | ) |
Definition at line 1787 of file conditio.cxx.
References pDoc.
Referenced by ScColorScaleEntry::setListener().
const ScFormatEntry * ScConditionalFormat::GetEntry | ( | sal_uInt16 | nPos | ) | const |
Definition at line 1796 of file conditio.cxx.
References maEntries, nPos, and size().
Referenced by ScQueryEvaluator::compareByBackgroundColor(), ScTable::FindMaxRotCol(), ScCondFormatObj::getByIndex(), ScCondFormatHelper::GetExpression(), ScCondFormatList::init(), and XclExpCondfmt::XclExpCondfmt().
|
inline |
Definition at line 590 of file conditio.hxx.
Referenced by ScXMLConditionalFormatContext::endFastElement(), ScCellShell::ExecuteEdit(), and ScDocFunc::ReplaceConditionalFormat().
|
inline |
Definition at line 558 of file conditio.hxx.
Referenced by ScCondFormatObj::createEntry(), ScCellShell::ExecuteEdit(), ScTable::FillAuto(), ScConditionEntry::FillCache(), ScCondFormatObj::getPropertyValue(), ScColorFormat::GetRange(), lcl_PostRepaintCondFormat(), ScDocFunc::ReplaceConditionalFormat(), ScCondFormatDlg::ScCondFormatDlg(), ScColorScaleEntry::setListener(), ScTable::SetPatternAreaCondFormat(), ScConditionEntry::StartListening(), ScConditionEntry::UpdateReference(), and XclExpCondfmt::XclExpCondfmt().
|
inline |
Definition at line 560 of file conditio.hxx.
void ScConditionalFormat::InsertCol | ( | SCTAB | nTab, |
SCROW | nRowStart, | ||
SCROW | nRowEnd, | ||
SCCOL | nColStart, | ||
SCSIZE | nSize | ||
) |
Definition at line 1910 of file conditio.cxx.
References ScRangeList::InsertCol(), and maRanges.
void ScConditionalFormat::InsertRow | ( | SCTAB | nTab, |
SCCOL | nColStart, | ||
SCCOL | nColEnd, | ||
SCROW | nRowStart, | ||
SCSIZE | nSize | ||
) |
Definition at line 1905 of file conditio.cxx.
References ScRangeList::InsertRow(), and maRanges.
bool ScConditionalFormat::IsEmpty | ( | ) | const |
Definition at line 1777 of file conditio.cxx.
References maEntries.
Referenced by ScTableConditionalFormat::FillFormat(), ScCondFormatHelper::GetExpression(), and ScCondFormatObj::hasElements().
bool ScConditionalFormat::MarkUsedExternalReferences | ( | ) | const |
Definition at line 2022 of file conditio.cxx.
References ScFormatEntry::Condition, ScFormatEntry::ExtCondition, maEntries, and ScConditionEntry::MarkUsedExternalReferences().
|
inline |
Definition at line 596 of file conditio.hxx.
References nKey.
|
delete |
References Clone().
void ScConditionalFormat::RemoveEntry | ( | size_t | nIndex | ) |
Definition at line 1768 of file conditio.cxx.
References DoRepaint(), maEntries, and n.
Referenced by ScCondFormatObj::removeByIndex().
void ScConditionalFormat::RenameCellStyle | ( | std::u16string_view | rOld, |
const OUString & | rNew | ||
) |
Definition at line 2010 of file conditio.cxx.
References ScFormatEntry::Condition, ScFormatEntry::ExtCondition, ScCondFormatEntry::GetStyle(), maEntries, and ScCondFormatEntry::UpdateStyleName().
|
inline |
Definition at line 591 of file conditio.hxx.
Referenced by XMLTableStyleContext::ApplyCondFormat().
void ScConditionalFormat::SetRange | ( | const ScRangeList & | rRanges | ) |
Definition at line 1756 of file conditio.cxx.
References ScRangeList::empty(), maRanges, and SAL_WARN_IF.
Referenced by XMLTableStyleContext::ApplyCondFormat(), ScTable::FillAuto(), oox::xls::CondFormat::finalizeImport(), oox::xls::CondFormatBuffer::finalizeImport(), ScTable::SetPatternAreaCondFormat(), and ScCondFormatObj::setPropertyValue().
size_t ScConditionalFormat::size | ( | ) | const |
Definition at line 1782 of file conditio.cxx.
References maEntries.
Referenced by ScQueryEvaluator::compareByBackgroundColor(), ScCondFormatObj::createEntry(), EqualEntries(), ScTable::FindMaxRotCol(), ScCondFormatObj::getCount(), GetEntry(), ScCondFormatList::init(), and XclExpCondfmt::XclExpCondfmt().
void ScConditionalFormat::startRendering | ( | ) |
Definition at line 2038 of file conditio.cxx.
References maEntries.
void ScConditionalFormat::UpdateDeleteTab | ( | sc::RefUpdateDeleteTabContext & | rCxt | ) |
Definition at line 1935 of file conditio.cxx.
References ScRange::aEnd, ScRange::aStart, i, ScAddress::IncTab(), maEntries, maRanges, sc::RefUpdateDeleteTabContext::mnDeletePos, sc::RefUpdateDeleteTabContext::mnSheets, n, ScAddress::SetTab(), ScRangeList::size(), and ScAddress::Tab().
void ScConditionalFormat::UpdateInsertTab | ( | sc::RefUpdateInsertTabContext & | rCxt | ) |
Definition at line 1915 of file conditio.cxx.
References ScRange::aEnd, ScRange::aStart, i, ScAddress::IncTab(), maEntries, maRanges, sc::RefUpdateInsertTabContext::mnInsertPos, sc::RefUpdateInsertTabContext::mnSheets, n, ScRangeList::size(), and ScAddress::Tab().
void ScConditionalFormat::UpdateMoveTab | ( | sc::RefUpdateMoveTabContext & | rCxt | ) |
Definition at line 1964 of file conditio.cxx.
References ScRange::aEnd, ScRange::aStart, i, ScAddress::IncTab(), maEntries, maRanges, sc::RefUpdateMoveTabContext::mnNewPos, sc::RefUpdateMoveTabContext::mnOldPos, n, ScAddress::SetTab(), ScRangeList::size(), and ScAddress::Tab().
void ScConditionalFormat::UpdateReference | ( | sc::RefUpdateContext & | rCxt, |
bool | bCopyAsMove = false |
||
) |
Definition at line 1886 of file conditio.cxx.
References maEntries, sc::RefUpdateContext::maRange, maRanges, sc::RefUpdateContext::meMode, sc::RefUpdateContext::mnColDelta, sc::RefUpdateContext::mnRowDelta, sc::RefUpdateContext::mnTabDelta, pDoc, ScRangeList::UpdateReference(), URM_COPY, and URM_MOVE.
|
private |
Definition at line 543 of file conditio.hxx.
Referenced by AddEntry(), CalcAll(), Clone(), CompileAll(), CompileXML(), endRendering(), EqualEntries(), GetCellStyle(), GetData(), GetEntry(), IsEmpty(), MarkUsedExternalReferences(), RemoveEntry(), RenameCellStyle(), size(), startRendering(), UpdateDeleteTab(), UpdateInsertTab(), UpdateMoveTab(), and UpdateReference().
|
private |
Definition at line 544 of file conditio.hxx.
Referenced by Clone(), DeleteArea(), DoRepaint(), InsertCol(), InsertRow(), SetRange(), UpdateDeleteTab(), UpdateInsertTab(), UpdateMoveTab(), and UpdateReference().
|
private |
Definition at line 541 of file conditio.hxx.
Referenced by Clone(), and operator<().
|
private |
Definition at line 540 of file conditio.hxx.
Referenced by Clone(), DoRepaint(), GetDocument(), and UpdateReference().