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 539 of file conditio.hxx.
ScConditionalFormat::ScConditionalFormat | ( | sal_uInt32 | nNewKey, |
ScDocument * | pDocument | ||
) |
Definition at line 1718 of file conditio.cxx.
Referenced by Clone().
ScConditionalFormat::~ScConditionalFormat | ( | ) |
Definition at line 1798 of file conditio.cxx.
|
delete |
void ScConditionalFormat::AddEntry | ( | ScFormatEntry * | pNew | ) |
Definition at line 1768 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 2068 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 1724 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 1876 of file conditio.cxx.
References ScConditionEntry::CompileAll(), ScFormatEntry::Condition, ScFormatEntry::ExtCondition, and maEntries.
void ScConditionalFormat::CompileXML | ( | ) |
Definition at line 1884 of file conditio.cxx.
References ScConditionEntry::CompileXML(), ScFormatEntry::Condition, ScFormatEntry::ExtCondition, and maEntries.
Definition at line 2007 of file conditio.cxx.
References ScRangeList::DeleteArea(), ScRangeList::empty(), and maRanges.
void ScConditionalFormat::DoRepaint | ( | ) |
Definition at line 1870 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 2052 of file conditio.cxx.
References maEntries.
bool ScConditionalFormat::EqualEntries | ( | const ScConditionalFormat & | r, |
bool | bIgnoreSrcPos = false |
||
) | const |
Definition at line 1743 of file conditio.cxx.
OUString ScConditionalFormat::GetCellStyle | ( | ScRefCellValue & | rCell, |
const ScAddress & | rPos | ||
) | const |
Definition at line 1810 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 1832 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.
Referenced by ScDocument::FillInfo().
ScDocument * ScConditionalFormat::GetDocument | ( | ) |
Definition at line 1793 of file conditio.cxx.
References pDoc.
Referenced by ScColorScaleEntry::setListener().
const ScFormatEntry * ScConditionalFormat::GetEntry | ( | sal_uInt16 | nPos | ) | const |
Definition at line 1802 of file conditio.cxx.
References maEntries, nPos, and size().
Referenced by ScTable::FindMaxRotCol(), ScCondFormatObj::getByIndex(), ScTable::GetCellBackgroundColor(), ScCondFormatHelper::GetExpression(), ScCondFormatList::init(), ScHTMLExport::WriteCell(), and XclExpCondfmt::XclExpCondfmt().
|
inline |
Definition at line 591 of file conditio.hxx.
Referenced by ScXMLConditionalFormatContext::endFastElement(), ScCellShell::ExecuteEdit(), and ScDocFunc::ReplaceConditionalFormat().
|
inline |
Definition at line 559 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 561 of file conditio.hxx.
void ScConditionalFormat::InsertCol | ( | SCTAB | nTab, |
SCROW | nRowStart, | ||
SCROW | nRowEnd, | ||
SCCOL | nColStart, | ||
SCSIZE | nSize | ||
) |
Definition at line 1916 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 1911 of file conditio.cxx.
References ScRangeList::InsertRow(), and maRanges.
bool ScConditionalFormat::IsEmpty | ( | ) | const |
Definition at line 1783 of file conditio.cxx.
References maEntries.
Referenced by ScTableConditionalFormat::FillFormat(), ScCondFormatHelper::GetExpression(), and ScCondFormatObj::hasElements().
bool ScConditionalFormat::MarkUsedExternalReferences | ( | ) | const |
Definition at line 2028 of file conditio.cxx.
References ScFormatEntry::Condition, ScFormatEntry::ExtCondition, maEntries, and ScConditionEntry::MarkUsedExternalReferences().
|
inline |
Definition at line 597 of file conditio.hxx.
References nKey.
|
delete |
References Clone().
void ScConditionalFormat::RemoveEntry | ( | size_t | nIndex | ) |
Definition at line 1774 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 2016 of file conditio.cxx.
References ScFormatEntry::Condition, ScFormatEntry::ExtCondition, ScCondFormatEntry::GetStyle(), maEntries, and ScCondFormatEntry::UpdateStyleName().
|
inline |
Definition at line 592 of file conditio.hxx.
Referenced by XMLTableStyleContext::ApplyCondFormat().
void ScConditionalFormat::SetRange | ( | const ScRangeList & | rRanges | ) |
Definition at line 1762 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 1788 of file conditio.cxx.
References maEntries.
Referenced by ScCondFormatObj::createEntry(), EqualEntries(), oox::xls::CondFormat::finalizeImport(), ScTable::FindMaxRotCol(), ScTable::GetCellBackgroundColor(), ScCondFormatObj::getCount(), GetEntry(), ScCondFormatList::init(), and XclExpCondfmt::XclExpCondfmt().
void ScConditionalFormat::startRendering | ( | ) |
Definition at line 2044 of file conditio.cxx.
References maEntries.
void ScConditionalFormat::UpdateDeleteTab | ( | sc::RefUpdateDeleteTabContext & | rCxt | ) |
Definition at line 1941 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 1921 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 1970 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 1892 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.
void ScConditionalFormat::updateValues | ( | ) |
Definition at line 2060 of file conditio.cxx.
References maEntries.
|
private |
Definition at line 544 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(), UpdateReference(), and updateValues().
|
private |
Definition at line 545 of file conditio.hxx.
Referenced by Clone(), DeleteArea(), DoRepaint(), InsertCol(), InsertRow(), SetRange(), UpdateDeleteTab(), UpdateInsertTab(), UpdateMoveTab(), and UpdateReference().
|
private |
Definition at line 542 of file conditio.hxx.
Referenced by Clone(), and operator<().
|
private |
Definition at line 541 of file conditio.hxx.
Referenced by Clone(), DoRepaint(), GetDocument(), and UpdateReference().