19#ifndef INCLUDED_SVX_FMGRIDCL_HXX
20#define INCLUDED_SVX_FMGRIDCL_HXX
37 ,
public DropTargetHelper
42 virtual void dispose()
override;
45 void triggerColumnContextMenu( const ::Point& _rPreferredPos );
49 virtual void RequestHelp(
const HelpEvent& rHEvt )
override;
50 virtual void Select()
override;
55 sal_uInt16 GetModelColumnPos(sal_uInt16
nId)
const;
64 virtual void PreExecuteColumnContextMenu(sal_uInt16 nColId,
weld::Menu& rMenu,
69 virtual void PostExecuteColumnContextMenu(sal_uInt16 nColId,
const weld::Menu& rMenu,
const OUString& rExecutionResult);
79 void notifyColumnSelect(sal_uInt16 nColumnId);
83 std::unique_ptr<FmGridHeaderData>
m_pImpl;
104 const css::uno::Reference< css::uno::XComponentContext >&,
124 void markColumn(sal_uInt16 nId);
125 bool isColumnMarked(sal_uInt16 nId)
const;
147 virtual OUString GetAccessibleObjectDescription(
AccessibleBrowseBoxObjType eObjType,sal_Int32 _nPosition = -1)
const override;
153 virtual tools::Long QueryMinimumRowHeight()
override;
154 virtual void RowHeightChanged()
override;
155 virtual void ColumnResized(sal_uInt16 nId)
override;
156 virtual void ColumnMoved(sal_uInt16 nId)
override;
157 virtual void DeleteSelectedRows()
override;
158 virtual void SetDesignMode(
bool bMode)
override;
160 virtual void HideColumn(sal_uInt16 nId)
override;
161 virtual void ShowColumn(sal_uInt16 nId)
override;
165 virtual void BeginCursorAction()
override;
166 virtual void EndCursorAction()
override;
167 virtual void Select()
override;
171 void InitColumnsByModels(
const css::uno::Reference< css::container::XIndexContainer >& xColumns);
173 virtual void InitColumnsByFields(
const css::uno::Reference< css::container::XIndexAccess >& xFields)
override;
176 static void InitColumnByField(
178 const css::uno::Reference< css::beans::XPropertySet >& _rxColumnModel,
179 const css::uno::Reference< css::container::XNameAccess >& _rxFieldsByNames,
180 const css::uno::Reference< css::container::XIndexAccess >& _rxFieldsByIndex
185 css::uno::Sequence< css::uno::Any>
186 getSelectionBookmarks();
187 bool selectBookmarks(
const css::uno::Sequence< css::uno::Any>& _rBookmarks);
195 bool isColumnSelected(
DbGridColumn const * _pColumn)
const;
AccessibleBrowseBoxObjType
sal_Int32 m_nCurrentSelectedColumn
sal_Int32 GetSelectedColumn() const
FmXGridPeer * GetPeer() const
sal_uInt16 m_nMarkedColumnId
bool IsInColumnMove() const
virtual sal_Bool SAL_CALL commit() override
virtual void SAL_CALL propertyChange(const css::beans::PropertyChangeEvent &evt) override
DECL_LISTENERMULTIPLEXER_END void SAL_CALL inserted(::sal_Int32 ID) override
class SAL_NO_VTABLE XPropertySet
#define SVXCORE_DLLPUBLIC