13#include <document.hxx>
20 : mrTreeView(rTreeView)
22 , mpFormatList(pFormatList)
60 std::sort(aSelectedRows.begin(), aSelectedRows.end());
61 for (
auto it = aSelectedRows.rbegin(); it != aSelectedRows.rend(); ++it)
81 std::vector<int> aWidths
89 : GenericDialogController(pParent,
"modules/scalc/ui/condformatmanager.ui",
"CondFormatManager")
92 , m_xBtnAdd(m_xBuilder->weld_button(
"add"))
93 , m_xBtnRemove(m_xBuilder->weld_button(
"remove"))
94 , m_xBtnEdit(m_xBuilder->weld_button(
"edit"))
95 , m_xTreeView(m_xBuilder->weld_tree_view(
"CONTAINER"))
138 m_xCtrlManager->DeleteSelection();
140 UpdateButtonSensitivity();
145 EditBtnHdl(*m_xTreeView);
Reference< XExecutableDialog > m_xDialog
SC_DLLPUBLIC formula::FormulaGrammar::AddressConvention GetAddressConvention() const
ScAddress GetTopLeftCorner() const
void Format(OUString &, ScRefFlags nFlags, const ScDocument &, formula::FormulaGrammar::AddressConvention eConv=formula::FormulaGrammar::CONV_OOO, sal_Unicode cDelimiter=0, bool bFullAddressNotation=false) const
constexpr tools::Long Width() const
void SetWindowState(const OUString &sState)
OUString GetWindowState() const
std::shared_ptr< weld::Dialog > m_xDialog
virtual void make_sorted()=0
virtual void set_text(int row, const OUString &rText, int col=-1)=0
virtual void set_selection_mode(SelectionMode eMode)=0
void append(TreeIter *pRet=nullptr)
virtual int get_height_rows(int nRows) const=0
virtual void remove(int pos)=0
virtual void select(int pos)=0
virtual void set_column_fixed_widths(const std::vector< int > &rWidths)=0
virtual std::vector< int > get_selected_rows() const=0
virtual int get_selected_index() const=0
virtual OUString get_id(int pos) const=0
#define LINK(Instance, Class, Member)
css::uno::Reference< css::linguistic2::XProofreadingIterator > get(css::uno::Reference< css::uno::XComponentContext > const &context)