LibreOffice Module sc (master) 1
|
#include <fmtuno.hxx>
Public Member Functions | |
ScTableConditionalFormat ()=delete | |
ScTableConditionalFormat (const ScDocument *pDoc, sal_uLong nKey, SCTAB nTab, formula::FormulaGrammar::Grammar eGrammar) | |
virtual | ~ScTableConditionalFormat () override |
void | FillFormat (ScConditionalFormat &rFormat, ScDocument &rDoc, formula::FormulaGrammar::Grammar eGrammar) const |
virtual void SAL_CALL | addNew (const css::uno::Sequence< css::beans::PropertyValue > &aConditionalEntry) override |
virtual void SAL_CALL | removeByIndex (sal_Int32 nIndex) override |
virtual void SAL_CALL | clear () override |
virtual sal_Int32 SAL_CALL | getCount () override |
virtual css::uno::Any SAL_CALL | getByIndex (sal_Int32 Index) override |
virtual css::uno::Any SAL_CALL | getByName (const OUString &aName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getElementNames () override |
virtual sal_Bool SAL_CALL | hasByName (const OUString &aName) override |
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL | createEnumeration () override |
virtual css::uno::Type SAL_CALL | getElementType () override |
virtual sal_Bool SAL_CALL | hasElements () override |
virtual OUString SAL_CALL | getImplementationName () override |
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
Private Member Functions | |
ScTableConditionalEntry * | GetObjectByIndex_Impl (sal_uInt16 nIndex) const |
void | AddEntry_Impl (const ScCondFormatEntryItem &aEntry) |
Private Attributes | |
std::vector< rtl::Reference< ScTableConditionalEntry > > | maEntries |
Definition at line 66 of file fmtuno.hxx.
|
delete |
ScTableConditionalFormat::ScTableConditionalFormat | ( | const ScDocument * | pDoc, |
sal_uLong | nKey, | ||
SCTAB | nTab, | ||
formula::FormulaGrammar::Grammar | eGrammar | ||
) |
|
overridevirtual |
Definition at line 234 of file fmtuno.cxx.
|
private |
|
overridevirtual |
Exception...
Definition at line 251 of file fmtuno.cxx.
References AddEntry_Impl(), ScUnoHelpFunctions::GetEnumFromAny(), ScConditionEntry::GetModeFromApi(), ScCondFormatEntryItem::maExpr1, ScCondFormatEntryItem::maExpr2, ScCondFormatEntryItem::maExprNmsp1, ScCondFormatEntryItem::maExprNmsp2, ScCondFormatEntryItem::maPos, ScCondFormatEntryItem::maPosStr, ScCondFormatEntryItem::maStyle, ScCondFormatEntryItem::maTokens1, ScCondFormatEntryItem::maTokens2, ScCondFormatEntryItem::meGrammar1, ScCondFormatEntryItem::meGrammar2, ScCondFormatEntryItem::meMode, NONE, ScStyleNameConversion::ProgrammaticToDisplayName(), SC_UNONAME_FORMULA1, SC_UNONAME_FORMULA2, SC_UNONAME_FORMULANMSP1, SC_UNONAME_FORMULANMSP2, SC_UNONAME_GRAMMAR1, SC_UNONAME_GRAMMAR2, SC_UNONAME_OPERATOR, SC_UNONAME_SOURCEPOS, SC_UNONAME_SOURCESTR, and SC_UNONAME_STYLENAME.
|
overridevirtual |
Definition at line 352 of file fmtuno.cxx.
References maEntries.
|
overridevirtual |
Definition at line 360 of file fmtuno.cxx.
void ScTableConditionalFormat::FillFormat | ( | ScConditionalFormat & | rFormat, |
ScDocument & | rDoc, | ||
formula::FormulaGrammar::Grammar | eGrammar | ||
) | const |
Definition at line 196 of file fmtuno.cxx.
References aData, ScConditionalFormat::AddEntry(), ScTokenConversion::ConvertToTokenArray(), i, ScConditionalFormat::IsEmpty(), maEntries, ScConditionEntry::SetFormula1(), ScConditionEntry::SetFormula2(), and ScConditionEntry::SetSrcString().
|
overridevirtual |
Definition at line 374 of file fmtuno.cxx.
References GetObjectByIndex_Impl(), and nIndex.
|
overridevirtual |
Definition at line 404 of file fmtuno.cxx.
References aName, GetObjectByIndex_Impl(), i, lcl_GetEntryNameFromIndex(), maEntries, and nCount.
|
overridevirtual |
|
overridevirtual |
Definition at line 423 of file fmtuno.cxx.
References i, lcl_GetEntryNameFromIndex(), maEntries, and nCount.
|
overridevirtual |
Definition at line 384 of file fmtuno.cxx.
References cppu::UnoType< typename T >::get().
|
overridevirtual |
|
private |
Definition at line 246 of file fmtuno.cxx.
References maEntries, and nIndex.
Referenced by getByIndex(), and getByName().
|
overridevirtual |
|
overridevirtual |
Definition at line 436 of file fmtuno.cxx.
References aName, i, lcl_GetEntryNameFromIndex(), maEntries, and nCount.
|
overridevirtual |
Definition at line 389 of file fmtuno.cxx.
References getCount().
|
overridevirtual |
Definition at line 342 of file fmtuno.cxx.
References maEntries, o3tl::make_unsigned(), and nIndex.
|
overridevirtual |
|
private |
Definition at line 73 of file fmtuno.hxx.
Referenced by AddEntry_Impl(), clear(), FillFormat(), getByName(), getCount(), getElementNames(), GetObjectByIndex_Impl(), hasByName(), and removeByIndex().