14#include <compiler.hxx>
18#include <document.hxx>
31#include <tokenarray.hxx>
45#define CommonWidgetWidth 10
49 , mxBuilder(
Application::CreateBuilder(pParent->GetContainer(), (
SfxViewShell::Current() &&
SfxViewShell::Current()->isLOKMobilePhone())?OUString(
"modules/scalc/ui/conditionalentrymobile.ui"):OUString(
"modules/scalc/ui/conditionalentry.ui")))
50 , mxBorder(mxBuilder->weld_widget(
"border"))
51 , mxGrid(mxBuilder->weld_container(
"grid"))
52 , mxFtCondNr(mxBuilder->weld_label(
"number"))
53 , mxFtCondition(mxBuilder->weld_label(
"condition"))
55 , maStrCondition(
ScResId(SCSTR_CONDITION))
56 , mxLbType(mxBuilder->weld_combo_box(
"type"))
75 maClickHdl.Call(*
this);
111 std::set<OUString> aStyleNames;
113 for (
SfxStyleSheetBase* pStyle = aStyleIter.First(); pStyle; pStyle = aStyleIter.Next() )
115 aStyleNames.insert(pStyle->GetName());
117 for(
const auto& rStyleName : aStyleNames)
155 , mxLbCondType(mxBuilder->weld_combo_box(
"typeis"))
156 , mxEdVal1(new
formula::RefEdit(mxBuilder->weld_entry(
"val1")))
157 , mxEdVal2(new
formula::RefEdit(mxBuilder->weld_entry(
"val2")))
158 , mxFtVal(mxBuilder->weld_label(
"valueft"))
159 , mxFtStyle(mxBuilder->weld_label(
"styleft"))
160 , mxLbStyle(mxBuilder->weld_combo_box(
"style"))
161 , mxWdPreviewWin(mxBuilder->weld_widget(
"previewwin"))
162 , mxWdPreview(new
weld::CustomWeld(*mxBuilder,
"preview", maWdPreview))
163 , mbIsInStyleCreate(false)
234 OUString aExpr1 =
mxEdVal1->GetText();
239 if (aExpr2.isEmpty())
252 OUString aFormula = rEdit.
get_text();
254 if( aFormula.isEmpty() )
256 mxFtVal->set_label(
ScResId(STR_ENTER_VALUE));
260 ScCompiler aComp( *mpDoc, maPos, mpDoc->GetGrammar() );
262 std::unique_ptr<ScTokenArray> ta(aComp.
CompileString(aFormula));
265 if (ta->GetCodeError() != FormulaError::NoName && (ta->GetCodeError() != FormulaError::NONE || ta->GetLen() == 0))
268 mxFtVal->set_label(
ScResId(STR_VALID_DEFERROR));
274 if (ta->GetCodeError() == FormulaError::NoName)
277 mxFtVal->set_label(
ScResId(STR_UNQUOTED_STRING));
282 if (ta->GetLen() > 0)
285 if (ta->GetCodeError() != FormulaError::NONE || (ta->GetCodeLen() == 0))
288 mxFtVal->set_label(
ScResId(STR_VALID_DEFERROR));
293 mxFtVal->set_label(
"");
412 for (sal_Int32 i = rLbStyle.
get_count(); i > 1; --i)
414 FillStyleListBox(pDoc, rLbStyle);
422 if(rHint.
GetId() == SfxHintId::StyleSheetModified)
436 SfxUInt16Item aFamilyItem( SID_STYLE_FAMILY, sal_uInt16(SfxStyleFamily::Para) );
438 css::uno::Any aAny(pDialogParent->
GetXWindow());
452 SfxCallMode::SYNCHRON | SfxCallMode::RECORD,
453 { &aFamilyItem, &aRefItem }, { &aDialogParent });
461 for (
SfxStyleSheetBase* pStyle = aStyleIter.First(); pStyle && !bFound; pStyle = aStyleIter.Next() )
463 const OUString&
aName = pStyle->GetName();
466 for( sal_Int32 i = 1, n = rLbStyle.
get_count(); i <= n && !bFound; ++i)
499 mbIsInStyleCreate =
true;
500 StyleSelect(
mpParent->GetFrameWeld(), *mxLbStyle, mpDoc, maWdPreview);
501 mbIsInStyleCreate =
false;
508 , mxFtStyle(mxBuilder->weld_label(
"styleft"))
509 , mxLbStyle(mxBuilder->weld_combo_box(
"style"))
510 , mxWdPreviewWin(mxBuilder->weld_widget(
"previewwin"))
511 , mxWdPreview(new
weld::CustomWeld(*mxBuilder,
"preview", maWdPreview))
512 , mxEdFormula(new
formula::RefEdit(mxBuilder->weld_entry(
"formula")))
548 StyleSelect(
mpParent->GetFrameWeld(), *mxLbStyle, mpDoc, maWdPreview);
554 if(aFormula.isEmpty())
595OUString convertNumberToString(
double nVal,
const ScDocument* pDoc)
619 for (
auto& r : TypeIdMap)
638 const sal_Int32 nSize = rListBox.
get_count();
639 for (sal_Int32 i = 0;
i < nSize; ++
i)
641 if (getTypeForId(rListBox.
get_id(i)) == eType)
649 const sal_Int32
nPos = getEntryPos(rListBox, eType);
656 const sal_Int32
nPos = getEntryPos(rListBox, eType);
665 selectType(rLbType, rEntry.
GetType());
676 rEdit.
set_text(convertNumberToString(nVal, pDoc));
724 SetColorScaleEntry(pEntry, rType, rValue, pDoc, rPos);
734 , mxLbColorFormat(mxBuilder->weld_combo_box(
"colorformat"))
735 , mxLbEntryTypeMin(mxBuilder->weld_combo_box(
"colscalemin"))
736 , mxLbEntryTypeMax(mxBuilder->weld_combo_box(
"colscalemax"))
737 , mxEdMin(mxBuilder->weld_entry(
"edcolscalemin"))
738 , mxEdMax(mxBuilder->weld_entry(
"edcolscalemax"))
740 , mxLbColMax(
new ColorListBox(mxBuilder->weld_menu_button(
"lbcolmax"), [
this]{ return mpParent->GetFrameWeld(); }))
741 , mxFtMin(mxBuilder->weld_label(
"Label_minimum"))
742 , mxFtMax(mxBuilder->weld_label(
"Label_maximum"))
760 mxLbType->set_active(0);
761 mxLbColorFormat->set_active(0);
765 ScColorScaleEntries::const_iterator itr = pFormat->begin();
766 SetColorScaleEntryTypes(*itr[0], *mxLbEntryTypeMin, *mxEdMin, *mxLbColMin, pDoc);
768 SetColorScaleEntryTypes(*itr[0], *mxLbEntryTypeMax, *mxEdMax, *mxLbColMax, pDoc);
778 EntryTypeHdl(*mxLbEntryTypeMin);
779 EntryTypeHdl(*mxLbEntryTypeMax);
847 if (&rBox == mxLbEntryTypeMin.get())
849 else if (&rBox == mxLbEntryTypeMax.get())
855 bool bEnableEdit =
true;
869 , mxLbColorFormat(mxBuilder->weld_combo_box(
"colorformat"))
870 , mxLbEntryTypeMin(mxBuilder->weld_combo_box(
"colscalemin"))
871 , mxLbEntryTypeMiddle(mxBuilder->weld_combo_box(
"colscalemiddle"))
872 , mxLbEntryTypeMax(mxBuilder->weld_combo_box(
"colscalemax"))
873 , mxEdMin(mxBuilder->weld_entry(
"edcolscalemin"))
874 , mxEdMiddle(mxBuilder->weld_entry(
"edcolscalemiddle"))
875 , mxEdMax(mxBuilder->weld_entry(
"edcolscalemax"))
877 , mxLbColMiddle(
new ColorListBox(mxBuilder->weld_menu_button(
"lbcolmiddle"), [
this]{ return mpParent->GetFrameWeld(); }))
878 , mxLbColMax(
new ColorListBox(mxBuilder->weld_menu_button(
"lbcolmax"), [
this]{ return mpParent->GetFrameWeld(); }))
879 , mxFtMin(mxBuilder->weld_label(
"Label_minimum"))
880 , mxFtMax(mxBuilder->weld_label(
"Label_maximum"))
899 mxLbColorFormat->set_active(1);
902 mxLbType->set_active(0);
905 ScColorScaleEntries::const_iterator itr = pFormat->begin();
906 SetColorScaleEntryTypes(*itr[0], *mxLbEntryTypeMin, *mxEdMin, *mxLbColMin, pDoc);
907 assert(pFormat->size() == 3);
909 SetColorScaleEntryTypes(*itr[0], *mxLbEntryTypeMiddle, *mxEdMiddle, *mxLbColMiddle, pDoc);
911 SetColorScaleEntryTypes(*itr[0], *mxLbEntryTypeMax, *mxEdMax, *mxLbColMax, pDoc);
915 mxLbColorFormat->set_active(1);
919 mxEdMiddle->set_text(OUString::number(50));
923 EntryTypeHdl(*mxLbEntryTypeMin);
924 EntryTypeHdl(*mxLbEntryTypeMiddle);
925 EntryTypeHdl(*mxLbEntryTypeMax);
1002 if(&rBox == mxLbEntryTypeMin.get())
1003 pEd = mxEdMin.get();
1004 else if(&rBox == mxLbEntryTypeMiddle.get())
1005 pEd = mxEdMiddle.get();
1006 else if(&rBox == mxLbEntryTypeMax.get())
1007 pEd = mxEdMax.get();
1012 bool bEnableEdit =
true;
1015 bEnableEdit =
false;
1026 sal_Int32 nSelectPos = mxLbCondType->get_active();
1028 switch(GetNumberEditFields(
eMode))
1031 mxEdVal1->GetWidget()->hide();
1032 mxEdVal2->GetWidget()->hide();
1036 mxEdVal1->GetWidget()->show();
1037 mxEdVal2->GetWidget()->hide();
1041 mxEdVal1->GetWidget()->show();
1042 mxEdVal2->GetWidget()->show();
1054 selectType(rLbType, rEntry.
GetType());
1082 , mxLbColorFormat(mxBuilder->weld_combo_box(
"colorformat"))
1083 , mxLbDataBarMinType(mxBuilder->weld_combo_box(
"colscalemin"))
1084 , mxLbDataBarMaxType(mxBuilder->weld_combo_box(
"colscalemax"))
1085 , mxEdDataBarMin(mxBuilder->weld_entry(
"edcolscalemin"))
1086 , mxEdDataBarMax(mxBuilder->weld_entry(
"edcolscalemax"))
1087 , mxBtOptions(mxBuilder->weld_button(
"options"))
1088 , mxFtMin(mxBuilder->weld_label(
"Label_minimum"))
1089 , mxFtMax(mxBuilder->weld_label(
"Label_maximum"))
1194 mxEdDataBarMin->set_sensitive(
false);
1196 mxEdDataBarMin->set_sensitive(
true);
1199 mxEdDataBarMax->set_sensitive(
false);
1201 mxEdDataBarMax->set_sensitive(
true);
1206 SetColorScaleEntry(mpDataBarData->mpLowerLimit.get(), *mxLbDataBarMinType,
1207 *mxEdDataBarMin, mpDoc, maPos);
1208 SetColorScaleEntry(mpDataBarData->mpUpperLimit.get(), *mxLbDataBarMaxType,
1209 *mxEdDataBarMax, mpDoc, maPos);
1213 mpDataBarData.reset(aDlg.
GetData());
1214 SetDataBarEntryTypes(*mpDataBarData->mpLowerLimit, *mxLbDataBarMinType, *mxEdDataBarMin, mpDoc);
1215 SetDataBarEntryTypes(*mpDataBarData->mpUpperLimit, *mxLbDataBarMaxType, *mxEdDataBarMax, mpDoc);
1216 DataBarTypeSelectHdl(*mxLbDataBarMinType);
1222 , mxLbDateEntry(mxBuilder->weld_combo_box(
"datetype"))
1223 , mxFtStyle(mxBuilder->weld_label(
"styleft"))
1224 , mxLbStyle(mxBuilder->weld_combo_box(
"style"))
1225 , mxWdPreviewWin(mxBuilder->weld_widget(
"previewwin"))
1226 , mxWdPreview(new
weld::CustomWeld(*mxBuilder,
"preview", maWdPreview))
1227 , mbIsInStyleCreate(false)
1285 if(rHint.
GetId() == SfxHintId::StyleSheetModified)
1309 mbIsInStyleCreate =
true;
1310 StyleSelect(
mpParent->GetFrameWeld(), *mxLbStyle, mpDoc, maWdPreview);
1311 mbIsInStyleCreate =
false;
1334 mxGrid->set_grid_left_attach(0);
1335 mxGrid->set_grid_top_attach(nTop);
1344 : mxBuilder(
Application::CreateBuilder(pParent,
"modules/scalc/ui/conditionaliconset.ui"))
1345 , mxGrid(mxBuilder->weld_container(
"ConditionalIconSet"))
1346 , mxImgIcon(mxBuilder->weld_image(
"icon"))
1347 , mxFtEntry(mxBuilder->weld_label(
"label"))
1348 , mxEdEntry(mxBuilder->weld_entry(
"entry"))
1349 , mxLbEntryType(mxBuilder->weld_combo_box(
"listbox"))
1350 , mpContainer(pParent)
1433 , mxLbColorFormat(mxBuilder->weld_combo_box(
"colorformat"))
1434 , mxLbIconSetType(mxBuilder->weld_combo_box(
"iconsettype"))
1435 , mxIconParent(mxBuilder->weld_container(
"iconparent"))
1447 sal_Int32
nType =
static_cast<sal_Int32
>(
eType);
1450 for (
size_t i = 0,
n = pIconSetFormatData->
m_Entries.size();
1480 sal_Int32
nPos = mxLbIconSetType->get_active();
1488 maEntries[
i]->set_grid_top_attach(
i);
1489 maEntries[
i]->Show();
1491 maEntries[0]->SetFirstEntry();
OUString uppercase(const OUString &rStr, sal_Int32 nPos, sal_Int32 nCount) const
Color const & GetSelectEntryColor() const
void SelectEntry(const NamedColor &rColor)
virtual ScFormatEntry * GetEntry() const override
ScFormatEntry * createColorscaleEntry() const
std::unique_ptr< weld::ComboBox > mxLbColorFormat
std::unique_ptr< weld::Entry > mxEdMin
ScColorScale2FrmtEntry(ScCondFormatList *pParent, ScDocument *pDoc, const ScAddress &rPos, const ScColorScaleFormat *pFormat=nullptr)
std::unique_ptr< weld::Entry > mxEdMax
std::unique_ptr< weld::ComboBox > mxLbEntryTypeMax
virtual ~ScColorScale2FrmtEntry() override
virtual OUString GetExpressionString() override
std::unique_ptr< ColorListBox > mxLbColMax
virtual void SetActive() override
std::unique_ptr< ColorListBox > mxLbColMin
std::unique_ptr< weld::ComboBox > mxLbEntryTypeMin
virtual void SetInactive() override
std::unique_ptr< weld::ComboBox > mxLbColorFormat
std::unique_ptr< weld::ComboBox > mxLbEntryTypeMax
virtual void SetActive() override
std::unique_ptr< ColorListBox > mxLbColMiddle
std::unique_ptr< weld::Entry > mxEdMin
virtual ~ScColorScale3FrmtEntry() override
ScFormatEntry * createColorscaleEntry() const
std::unique_ptr< weld::ComboBox > mxLbEntryTypeMiddle
virtual void SetInactive() override
ScColorScale3FrmtEntry(ScCondFormatList *pParent, ScDocument *pDoc, const ScAddress &rPos, const ScColorScaleFormat *pFormat=nullptr)
std::unique_ptr< ColorListBox > mxLbColMin
virtual OUString GetExpressionString() override
virtual ScFormatEntry * GetEntry() const override
std::unique_ptr< weld::Entry > mxEdMax
std::unique_ptr< weld::ComboBox > mxLbEntryTypeMin
std::unique_ptr< weld::Entry > mxEdMiddle
std::unique_ptr< ColorListBox > mxLbColMax
const ScTokenArray * GetFormula() const
void SetType(ScColorScaleEntryType eType)
ScColorScaleEntryType GetType() const
void SetFormula(const OUString &rFormula, ScDocument &rDoc, const ScAddress &rAddr, formula::FormulaGrammar::Grammar eGrammar=formula::FormulaGrammar::GRAM_DEFAULT)
const Color & GetColor() const
void SetValue(double nValue)
void SetColor(const Color &)
void SetExtendedErrorDetection(ExtendedErrorDetection eVal)
std::unique_ptr< ScTokenArray > CompileString(const OUString &rFormula)
Tokenize formula expression string into an array of tokens.
void SetDateType(condformat::ScCondFormatDateType eType)
void SetStyleName(const OUString &rStyleName)
condformat::ScCondFormatDateType GetDateType() const
const OUString & GetStyleName() const
const OUString & GetStyle() const
std::unique_ptr< weld::Label > mxFtCondition
std::unique_ptr< weld::Label > mxFtCondNr
virtual ~ScCondFrmtEntry()
ScCondFormatList * mpParent
std::unique_ptr< weld::Container > mxGrid
std::unique_ptr< weld::ComboBox > mxLbType
OUString const maStrCondition
ScCondFrmtEntry(ScCondFormatList *pParent, ScDocument *pDoc, const ScAddress &rPos)
std::unique_ptr< weld::Widget > mxBorder
virtual OUString GetExpressionString()=0
void SetIndex(sal_Int32 nIndex)
Link< ScCondFrmtEntry &, void > maClickHdl
ScConditionMode GetOperation() const
OUString GetExpression(const ScAddress &rCursor, sal_uInt16 nPos, sal_uInt32 nNumFmt=0, const formula::FormulaGrammar::Grammar eGrammar=formula::FormulaGrammar::GRAM_DEFAULT) const
virtual void Deselect() override
std::unique_ptr< weld::Label > mxFtVal
ScConditionFrmtEntry(ScCondFormatList *pParent, ScDocument *pDoc, ScCondFormatDlg *pDialogParent, const ScAddress &rPos, const ScCondFormatEntry *pFormatEntry=nullptr)
virtual ScFormatEntry * GetEntry() const override
virtual void SetActive() override
std::unique_ptr< formula::RefEdit > mxEdVal2
std::unique_ptr< weld::ComboBox > mxLbStyle
virtual void Select() override
static sal_Int32 ConditionModeToEntryPos(ScConditionMode eMode)
std::unique_ptr< formula::RefEdit > mxEdVal1
std::unique_ptr< weld::Label > mxFtStyle
static const ScConditionMode mpEntryToCond[NUM_COND_ENTRIES]
void Init(ScCondFormatDlg *pDialogParent)
std::unique_ptr< weld::Widget > mxWdPreviewWin
virtual void Notify(SfxBroadcaster &rBC, const SfxHint &rHint) override
virtual OUString GetExpressionString() override
virtual void SetInactive() override
static const sal_Int32 NUM_COND_ENTRIES
static ScConditionMode EntryPosToConditionMode(sal_Int32 aEntryPos)
std::unique_ptr< weld::ComboBox > mxLbCondType
ScFormatEntry * createConditionEntry() const
std::unique_ptr< weld::CustomWeld > mxWdPreview
virtual ~ScConditionFrmtEntry() override
static sal_Int32 GetNumberEditFields(ScConditionMode eMode)
ScDataBarFrmtEntry(ScCondFormatList *pParemt, ScDocument *pDoc, const ScAddress &rPos, const ScDataBarFormat *pFormat=nullptr)
virtual ~ScDataBarFrmtEntry() override
std::unique_ptr< weld::ComboBox > mxLbDataBarMinType
virtual void SetInactive() override
std::unique_ptr< weld::ComboBox > mxLbDataBarMaxType
std::unique_ptr< weld::Label > mxFtMax
std::unique_ptr< weld::Entry > mxEdDataBarMax
virtual OUString GetExpressionString() override
virtual ScFormatEntry * GetEntry() const override
std::unique_ptr< weld::Entry > mxEdDataBarMin
ScFormatEntry * createDatabarEntry() const
std::unique_ptr< ScDataBarFormatData > mpDataBarData
std::unique_ptr< weld::Button > mxBtOptions
virtual void SetActive() override
std::unique_ptr< weld::Label > mxFtMin
std::unique_ptr< weld::ComboBox > mxLbColorFormat
ScDataBarFormatData * GetData()
virtual ScFormatEntry * GetEntry() const override
virtual void SetActive() override
std::unique_ptr< weld::CustomWeld > mxWdPreview
std::unique_ptr< weld::Label > mxFtStyle
virtual ~ScDateFrmtEntry() override
virtual OUString GetExpressionString() override
ScDateFrmtEntry(ScCondFormatList *pParent, ScDocument *pDoc, const ScCondDateFormatEntry *pFormat=nullptr)
std::unique_ptr< weld::Widget > mxWdPreviewWin
virtual void SetInactive() override
std::unique_ptr< weld::ComboBox > mxLbDateEntry
std::unique_ptr< weld::ComboBox > mxLbStyle
virtual void Notify(SfxBroadcaster &rBC, const SfxHint &rHint) override
SC_DLLPUBLIC formula::FormulaGrammar::Grammar GetGrammar() const
SC_DLLPUBLIC ScStyleSheetPool * GetStyleSheetPool() const
SC_DLLPUBLIC SvNumberFormatter * GetFormatTable() const
std::unique_ptr< weld::Label > mxFtStyle
std::unique_ptr< weld::ComboBox > mxLbStyle
std::unique_ptr< formula::RefEdit > mxEdFormula
virtual void SetInactive() override
ScFormatEntry * createFormulaEntry() const
virtual ScFormatEntry * GetEntry() const override
std::unique_ptr< weld::CustomWeld > mxWdPreview
ScFormulaFrmtEntry(ScCondFormatList *pParent, ScDocument *PDoc, ScCondFormatDlg *pDialogParent, const ScAddress &rPos, const ScCondFormatEntry *pFormatEntry=nullptr)
virtual OUString GetExpressionString() override
virtual void SetActive() override
std::unique_ptr< weld::Widget > mxWdPreviewWin
void Init(ScCondFormatDlg *pDialogParent)
virtual ~ScFormulaFrmtEntry() override
static SC_DLLPUBLIC const CharClass & getCharClass()
std::unique_ptr< weld::Container > mxGrid
std::unique_ptr< weld::Entry > mxEdEntry
void set_grid_top_attach(int nTop)
std::unique_ptr< weld::Label > mxFtEntry
weld::Container * mpContainer
std::unique_ptr< weld::Builder > mxBuilder
ScIconSetFrmtDataEntry(weld::Container *pParent, ScIconSetType eType, const ScDocument *pDoc, sal_Int32 i, const ScColorScaleEntry *pEntry=nullptr)
~ScIconSetFrmtDataEntry()
std::unique_ptr< weld::Image > mxImgIcon
std::unique_ptr< weld::ComboBox > mxLbEntryType
ScColorScaleEntry * CreateEntry(ScDocument &rDoc, const ScAddress &rPos) const
std::unique_ptr< weld::ComboBox > mxLbIconSetType
virtual ScFormatEntry * GetEntry() const override
std::unique_ptr< weld::ComboBox > mxLbColorFormat
ScIconSetFrmtDataEntriesType maEntries
virtual ~ScIconSetFrmtEntry() override
virtual OUString GetExpressionString() override
virtual void SetActive() override
ScIconSetFrmtEntry(ScCondFormatList *pParent, ScDocument *pDoc, const ScAddress &rPos, const ScIconSetFormat *pFormat=nullptr)
std::unique_ptr< weld::Container > mxIconParent
virtual void SetInactive() override
static ScTabViewShell * GetActiveViewShell()
const SfxPoolItem * ExecuteList(sal_uInt16 nSlot, SfxCallMode nCall, std::initializer_list< SfxPoolItem const * > args, std::initializer_list< SfxPoolItem const * > internalargs=std::initializer_list< SfxPoolItem const * >())
void StartListening(SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected)
SfxDispatcher * GetDispatcher() const
virtual SfxStyleSheetBase * Find(const OUString &, SfxStyleFamily eFam, SfxStyleSearchBits n=SfxStyleSearchBits::All)
virtual SfxItemSet & GetItemSet()
void SetFromItemSet(const SfxItemSet &rSet, bool bPreviewBackgroundToCharacter)
virtual int find_text(const OUString &rStr) const=0
virtual OUString get_active_id() const=0
virtual OUString get_active_text() const=0
virtual OUString get_id(int pos) const=0
virtual void set_active(int pos)=0
virtual OUString get_text(int pos) const=0
void append_text(const OUString &rStr)
void insert_text(int pos, const OUString &rStr)
virtual void remove(int pos)=0
virtual int get_active() const=0
virtual int get_count() const=0
void set_active_text(const OUString &rStr)
virtual void move(weld::Widget *pWidget, weld::Container *pNewParent)=0
virtual void set_text(const OUString &rText)=0
virtual void set_message_type(EntryMessageType eType)=0
virtual OUString get_text() const=0
virtual css::uno::Reference< css::awt::XWindow > GetXWindow()=0
constexpr ::Color COL_LIGHTRED(0xFF, 0x00, 0x00)
constexpr ::Color COL_YELLOW(0xFF, 0xFF, 0x00)
IMPL_LINK_NOARG(ScCondFrmtEntry, EntrySelectHdl, const MouseEvent &, bool)
IMPL_LINK(ScConditionFrmtEntry, OnEdChanged, formula::RefEdit &, rRefEdit, void)
#define CommonWidgetWidth
RegionData_Impl * mpParent
#define LINK(Instance, Class, Member)
std::unique_ptr< sal_Int32[]> pData
bool equalsAscii(std::u16string_view s1, std::string_view s2)
OUString ScResId(TranslateId aId)