LibreOffice Module sc (master) 1
|
#include <conditio.hxx>
Public Types | |
typedef ConditionalFormatContainer::iterator | iterator |
typedef ConditionalFormatContainer::const_iterator | const_iterator |
Private Types | |
typedef std::set< std::unique_ptr< ScConditionalFormat >, CompareScConditionalFormat > | ConditionalFormatContainer |
Private Member Functions | |
void | operator= (ScConditionalFormatList const &)=delete |
Private Attributes | |
ConditionalFormatContainer | m_ConditionalFormats |
Definition at line 627 of file conditio.hxx.
|
private |
Definition at line 631 of file conditio.hxx.
typedef ConditionalFormatContainer::const_iterator ScConditionalFormatList::const_iterator |
Definition at line 668 of file conditio.hxx.
typedef ConditionalFormatContainer::iterator ScConditionalFormatList::iterator |
Definition at line 667 of file conditio.hxx.
|
inline |
Definition at line 637 of file conditio.hxx.
ScConditionalFormatList::ScConditionalFormatList | ( | const ScConditionalFormatList & | rList | ) |
Definition at line 2081 of file conditio.cxx.
References InsertNew().
ScConditionalFormatList::ScConditionalFormatList | ( | ScDocument & | rDoc, |
const ScConditionalFormatList & | rList | ||
) |
Definition at line 2087 of file conditio.cxx.
References InsertNew().
void ScConditionalFormatList::AddToDocument | ( | ScDocument & | rDoc | ) | const |
Definition at line 2269 of file conditio.cxx.
References ScDocument::AddCondFormatData(), ScRange::aStart, ScRangeList::empty(), ScRangeList::front(), m_ConditionalFormats, and ScAddress::Tab().
Referenced by ScDocFunc::SetConditionalFormatList().
ScConditionalFormatList::iterator ScConditionalFormatList::begin | ( | ) |
Definition at line 2226 of file conditio.cxx.
References m_ConditionalFormats.
Referenced by XMLTableStyleContext::ApplyCondFormat(), and ScCondFormatsObj::getConditionalFormats().
ScConditionalFormatList::const_iterator ScConditionalFormatList::begin | ( | ) | const |
Definition at line 2231 of file conditio.cxx.
References m_ConditionalFormats.
void ScConditionalFormatList::CalcAll | ( | ) |
Forced recalculation of formulas.
Definition at line 2335 of file conditio.cxx.
References m_ConditionalFormats.
bool ScConditionalFormatList::CheckAllEntries | ( | const Link< ScConditionalFormat *, void > & | rLink = Link<ScConditionalFormat*,void>() | ) |
Checks that all cond formats have a non empty range.
Deletes empty cond formats. Optionally call rLink on the empty format before deleting it.
Definition at line 2196 of file conditio.cxx.
References Link< typename Arg, typename Ret >::Call(), Link< typename Arg, typename Ret >::IsSet(), and m_ConditionalFormats.
Referenced by DeleteArea(), ScXMLConditionalFormatsContext::endFastElement(), and UpdateReference().
void ScConditionalFormatList::clear | ( | ) |
Definition at line 2323 of file conditio.cxx.
References m_ConditionalFormats.
void ScConditionalFormatList::CompileAll | ( | ) |
Definition at line 2118 of file conditio.cxx.
References m_ConditionalFormats.
void ScConditionalFormatList::CompileXML | ( | ) |
Definition at line 2126 of file conditio.cxx.
References m_ConditionalFormats.
Definition at line 2218 of file conditio.cxx.
References CheckAllEntries(), and m_ConditionalFormats.
Referenced by ScColumn::DeleteBeforeCopyFromClip().
bool ScConditionalFormatList::empty | ( | ) | const |
Definition at line 2287 of file conditio.cxx.
References m_ConditionalFormats.
Referenced by ScXMLExport::ExportConditionalFormat(), and ScCondFormatManagerWindow::Init().
ScConditionalFormatList::iterator ScConditionalFormatList::end | ( | ) |
Definition at line 2236 of file conditio.cxx.
References m_ConditionalFormats.
Referenced by XMLTableStyleContext::ApplyCondFormat(), erase(), and ScCondFormatsObj::getConditionalFormats().
ScConditionalFormatList::const_iterator ScConditionalFormatList::end | ( | ) | const |
Definition at line 2241 of file conditio.cxx.
References m_ConditionalFormats.
void ScConditionalFormatList::endRendering | ( | ) |
Definition at line 2307 of file conditio.cxx.
References m_ConditionalFormats.
Referenced by ScDocument::FillInfo().
void ScConditionalFormatList::erase | ( | sal_uLong | nIndex | ) |
Definition at line 2292 of file conditio.cxx.
References end(), m_ConditionalFormats, and nIndex.
Referenced by ScCondFormatManagerWindow::DeleteSelection(), ScCondFormatDlg::OkPressed(), and ScCondFormatsObj::removeByID().
ScRangeList ScConditionalFormatList::GetCombinedRange | ( | ) | const |
Definition at line 2246 of file conditio.cxx.
References i, ScRangeList::Join(), m_ConditionalFormats, n, and ScRangeList::size().
Referenced by RemoveFromDocument().
ScConditionalFormat * ScConditionalFormatList::GetFormat | ( | sal_uInt32 | nKey | ) |
Definition at line 2098 of file conditio.cxx.
References m_ConditionalFormats, and SAL_WARN.
Referenced by ScXMLConditionalFormatContext::endFastElement(), ScCellShell::ExecuteEdit(), ScDocument::FillInfo(), ScDocument::GetCondFormat(), ScDocument::GetCondResult(), ScCondFormatObj::getCoreObject(), ScDocument::GetEffItem(), ScCondFormatManagerWindow::GetSelection(), ScDocFunc::ReplaceConditionalFormat(), ScCondFormatDlg::ScCondFormatDlg(), and ScHTMLExport::WriteCell().
const ScConditionalFormat * ScConditionalFormatList::GetFormat | ( | sal_uInt32 | nKey | ) | const |
Definition at line 2108 of file conditio.cxx.
References m_ConditionalFormats, and SAL_WARN.
sal_uInt32 ScConditionalFormatList::getMaxKey | ( | ) | const |
Definition at line 2328 of file conditio.cxx.
References m_ConditionalFormats.
Referenced by ScCondFormatDlg::OkPressed().
void ScConditionalFormatList::InsertCol | ( | SCTAB | nTab, |
SCROW | nRowStart, | ||
SCROW | nRowEnd, | ||
SCCOL | nColStart, | ||
SCSIZE | nSize | ||
) |
Definition at line 2156 of file conditio.cxx.
References m_ConditionalFormats.
void ScConditionalFormatList::InsertNew | ( | std::unique_ptr< ScConditionalFormat > | pNew | ) |
Definition at line 2093 of file conditio.cxx.
References m_ConditionalFormats.
Referenced by ScCondFormatDlg::OkPressed(), and ScConditionalFormatList().
void ScConditionalFormatList::InsertRow | ( | SCTAB | nTab, |
SCCOL | nColStart, | ||
SCCOL | nColEnd, | ||
SCROW | nRowStart, | ||
SCSIZE | nSize | ||
) |
Definition at line 2148 of file conditio.cxx.
References m_ConditionalFormats.
|
privatedelete |
void ScConditionalFormatList::RemoveFromDocument | ( | ScDocument & | rDoc | ) | const |
Definition at line 2260 of file conditio.cxx.
References ATTR_CONDITIONAL(), ScDocument::ClearSelectionItems(), GetCombinedRange(), ScDocument::GetSheetLimits(), and ScMarkData::MarkFromRangeList().
Referenced by ScDocFunc::SetConditionalFormatList().
void ScConditionalFormatList::RenameCellStyle | ( | std::u16string_view | rOld, |
const OUString & | rNew | ||
) |
Definition at line 2188 of file conditio.cxx.
References m_ConditionalFormats.
Referenced by ScDocShell::NotifyStyle().
size_t ScConditionalFormatList::size | ( | ) | const |
Definition at line 2282 of file conditio.cxx.
References m_ConditionalFormats.
Referenced by ScCondFormatsObj::getConditionalFormats(), ScCondFormatsObj::getLength(), and XclExpDxfs::XclExpDxfs().
void ScConditionalFormatList::startRendering | ( | ) |
Definition at line 2299 of file conditio.cxx.
References m_ConditionalFormats.
Referenced by ScDocument::FillInfo().
void ScConditionalFormatList::UpdateDeleteTab | ( | sc::RefUpdateDeleteTabContext & | rCxt | ) |
Definition at line 2172 of file conditio.cxx.
References m_ConditionalFormats.
void ScConditionalFormatList::UpdateInsertTab | ( | sc::RefUpdateInsertTabContext & | rCxt | ) |
Definition at line 2164 of file conditio.cxx.
References m_ConditionalFormats.
void ScConditionalFormatList::UpdateMoveTab | ( | sc::RefUpdateMoveTabContext & | rCxt | ) |
Definition at line 2180 of file conditio.cxx.
References m_ConditionalFormats.
void ScConditionalFormatList::UpdateReference | ( | sc::RefUpdateContext & | rCxt | ) |
Definition at line 2134 of file conditio.cxx.
References CheckAllEntries(), m_ConditionalFormats, sc::RefUpdateContext::meMode, and URM_INSDEL.
void ScConditionalFormatList::updateValues | ( | ) |
Definition at line 2315 of file conditio.cxx.
References m_ConditionalFormats.
|
private |
Definition at line 632 of file conditio.hxx.
Referenced by AddToDocument(), begin(), CalcAll(), CheckAllEntries(), clear(), CompileAll(), CompileXML(), DeleteArea(), empty(), end(), endRendering(), erase(), GetCombinedRange(), GetFormat(), getMaxKey(), InsertCol(), InsertNew(), InsertRow(), RenameCellStyle(), size(), startRendering(), UpdateDeleteTab(), UpdateInsertTab(), UpdateMoveTab(), UpdateReference(), and updateValues().