23#include <com/sun/star/awt/XWindow.hpp>
24#include <com/sun/star/uno/Sequence.hxx>
30 class DbaMouseDownListBoxController;
53 virtual void dispose()
override;
55 void Init(
const css::uno::Sequence< OUString >& _rAvailableFields,
bool _bAddIndexAppendix);
67 virtual OUString
GetCellText(sal_Int32 _nRow,sal_uInt16 nColId)
const override;
72 virtual bool SeekRow(sal_Int32 nRow)
override;
79 OUString
GetRowCellText(
const IndexFields::const_iterator& _rRow,sal_uInt16 nColId)
const;
86 using ::svt::EditBrowseBox::Init;
sal_Int32 GetCurRow() const
Link< IndexFieldsControl &, void > m_aModifyHdl
virtual void dispose() override
IndexFields m_aSavedValue
IndexFields::const_iterator m_aSeekRow
void initializeFrom(IndexFields &&_rFields)
OUString m_sAscendingText
VclPtr< ::svt::ListBoxControl > m_pSortingCell
void SetModifyHdl(const Link< IndexFieldsControl &, void > &_rHdl)
const IndexFields & GetSavedValue() const
OUString GetRowCellText(const IndexFields::const_iterator &_rRow, sal_uInt16 nColId) const
bool SaveModified() override
virtual sal_uInt32 GetTotalCellWidth(sal_Int32 nRow, sal_uInt16 nColId) override
IndexFieldsControl(const css::uno::Reference< css::awt::XWindow > &rParent)
virtual void PaintCell(OutputDevice &_rDev, const tools::Rectangle &_rRect, sal_uInt16 _nColumnId) const override
VclPtr< ::svt::ListBoxControl > m_pFieldNameCell
OUString m_sDescendingText
virtual OUString GetCellText(sal_Int32 _nRow, sal_uInt16 nColId) const override
virtual bool SeekRow(sal_Int32 nRow) override
void commitTo(IndexFields &_rFields)
DECL_LINK(OnListEntrySelected, DbaMouseDownListBoxController &, void)
virtual ~IndexFieldsControl() override
bool implGetFieldDesc(sal_Int32 _nRow, IndexFields::const_iterator &_rPos)
void InitController(::svt::CellControllerRef &, sal_Int32 _nRow, sal_uInt16 _nColumnId) override
::svt::CellController * GetController(sal_Int32 _nRow, sal_uInt16 _nColumnId) override
virtual bool IsTabAllowed(bool bForward) const override
virtual bool IsModified() const
std::vector< OIndexField > IndexFields