20#ifndef INCLUDED_FORMULA_FORMULA_HXX
21#define INCLUDED_FORMULA_FORMULA_HXX
29#include <rtl/ustring.hxx>
42#define STRUCT_FOLDER 2
49class IControlReferenceHandler;
65 std::unique_ptr<FormulaDlg_Impl, o3tl::default_delete<FormulaDlg_Impl>>
m_pImpl;
69 ::std::pair<RefButton*,RefEdit*> RefInputStartBefore(
RefEdit* pEdit,
RefButton* pButton );
70 void RefInputStartAfter();
71 void RefInputDoneAfter();
73 void SetMeText(
const OUString& _sText);
75 void CheckMatrix(OUString& aFormula );
76 void Update(
const OUString& _sExp);
92 std::unique_ptr<FormulaDlg_Impl, o3tl::default_delete<FormulaDlg_Impl>>
m_pImpl;
99 ::std::pair<RefButton*,RefEdit*> RefInputStartBefore(
RefEdit* pEdit,
RefButton* pButton );
100 void RefInputStartAfter();
101 void RefInputDoneAfter(
bool bForced );
103 void SetMeText(
const OUString& _sText);
104 FormulaDlgMode SetMeText(
const OUString& _sText, sal_Int32 PrivStart, sal_Int32 PrivEnd,
bool bMatrix,
bool _bSelect,
bool _bUpdate);
106 bool CheckMatrix(OUString& aFormula );
107 OUString GetMeText()
const;
108 void Update(
const OUString& _sExp);
111 bool UpdateParaWin(
Selection& _rSelection);
112 void UpdateParaWin(
const Selection& _rSelection,
const OUString& _sRefStr);
114 void SetEdSelection();