31 class OSQLNameEditControl;
88 virtual bool SeekRow(sal_Int32 nRow)
override;
90 sal_uInt16 nColumnId )
const override;
95 virtual ::svt::CellController*
GetController(sal_Int32 nRow, sal_uInt16 nCol)
override;
101 virtual OUString
GetCellText(sal_Int32 nRow, sal_uInt16 nColId)
const override;
102 virtual sal_uInt32
GetTotalCellWidth(sal_Int32 nRow, sal_uInt16 nColId)
override;
105 virtual void InsertRows( sal_Int32 nRow )
override;
121 virtual void dispose()
override;
122 virtual bool CursorMoving(sal_Int32 nNewRow, sal_uInt16 nNewCol)
override;
138 virtual void SetCellData( sal_Int32 nRow, sal_uInt16 nColId,
const css::uno::Any& _rSaveData )
override;
139 virtual css::uno::Any
GetCellData( sal_Int32 nRow, sal_uInt16 nColId )
override;
140 virtual void SetControlText( sal_Int32 nRow, sal_uInt16 nColId,
const OUString& rText )
override;
150 virtual void Init()
override;
167 virtual void cut()
override;
168 virtual void copy()
override;
169 virtual void paste()
override;
179 sal_Int32
HasFieldName( std::u16string_view rFieldName );
183 void SaveData(sal_Int32 nRow, sal_uInt16 nColumnId);
AutoTimer m_aInvalidateTimer
DECL_LINK(OnInvalidate, Timer *, void)
ClipboardInvalidator(OTableEditorCtrl *)
VclPtr< OTableEditorCtrl > m_pOwner
virtual void paste() override
VclPtr<::svt::EditControl > pDescrCell
virtual OUString GetCellText(sal_Int32 nRow, sal_uInt16 nColId) const override
void InvalidateFeatures()
InvalidateFeatures invalidates the slots SID_UNDO | SID_REDO | SID_SAVEDOC.
OFieldDescription * GetFieldDescr(sal_Int32 nRow)
virtual void copy() override
virtual void SetControlText(sal_Int32 nRow, sal_uInt16 nColId, const OUString &rText) override
virtual ~OTableEditorCtrl() override
ClipboardInvalidator m_aInvalidate
virtual void PaintCell(OutputDevice &rDev, const tools::Rectangle &rRect, sal_uInt16 nColumnId) const override
OTableFieldDescWin * pDescrWin
bool IsPasteAllowed() const
virtual void CellModified() override
virtual bool IsDeleteAllowed() override
ImplSVEvent * nInsNewRowsEvent
VclPtr<::svt::ListBoxControl > pTypeCell
virtual bool isCopyAllowed() override
VclPtr< OSQLNameEditControl > pNameCell
virtual void CopyRows() override
virtual bool SeekRow(sal_Int32 nRow) override
SfxUndoManager & GetUndoManager() const
void SaveData(sal_Int32 nRow, sal_uInt16 nColumnId)
virtual void SetCellData(sal_Int32 nRow, sal_uInt16 nColId, const css::uno::Any &_rSaveData) override
VclPtr<::svt::EditControl > pHelpTextCell
virtual ::svt::CellController * GetController(sal_Int32 nRow, sal_uInt16 nCol) override
virtual void InitController(::svt::CellControllerRef &rController, sal_Int32 nRow, sal_uInt16 nCol) override
DECL_LINK(DelayedInsNewRows, void *, void)
const std::shared_ptr< OTableRow > & GetActRow() const
void AdjustFieldDescription(OFieldDescription *_pFieldDesc, MultiSelection &_rMultiSel, sal_Int32 _nPos, bool _bSet, bool _bPrimaryKey)
AdjustFieldDescription set the needed values for the description.
virtual void DeactivateCell(bool bUpdate=true) override
void SetDescrWin(OTableFieldDescWin *pWin)
virtual bool SaveModified() override
DECL_LINK(DelayedCut, void *, void)
virtual bool IsPrimaryKeyAllowed() override
virtual sal_uInt32 GetTotalCellWidth(sal_Int32 nRow, sal_uInt16 nColId) override
virtual RowStatus GetRowStatus(sal_Int32 nRow) const override
virtual bool CursorMoving(sal_Int32 nNewRow, sal_uInt16 nNewCol) override
DECL_LINK(InvalidateFieldType, void *, void)
void SwitchType(const TOTypeInfoSP &_pType)
void SetReadOnly(bool bRead)
virtual void dispose() override
virtual void CursorMoved() override
void SetPrimaryKey(bool bSet)
virtual void Command(const CommandEvent &rEvt) override
virtual void DeleteRows() override
virtual void SetCellData(sal_Int32 nRow, sal_uInt16 nColId, const TOTypeInfoSP &_pTypeInfo) override
virtual void InsertRows(sal_Int32 nRow) override
ImplSVEvent * nPasteEvent
ChildFocusState m_eChildFocus
ImplSVEvent * nInvalidateTypeEvent
OTableEditorCtrl(vcl::Window *pParentWin, OTableDesignView *pView)
void DisplayData(sal_Int32 nRow)
force displaying of the given row
void InitCellController()
virtual bool isPasteAllowed() override
DECL_LINK(DelayedDelete, void *, void)
VclPtr< OTableDesignView > m_pView
virtual css::uno::Any GetCellData(sal_Int32 nRow, sal_uInt16 nColId) override
sal_Int32 HasFieldName(std::u16string_view rFieldName)
virtual bool IsInsertNewAllowed(sal_Int32 nRow) override
bool SetDataPtr(sal_Int32 nRow)
virtual void Init() override
virtual void cut() override
OUString GenerateName(const OUString &rName)
std::shared_ptr< OTableRow > pActRow
virtual bool PreNotify(NotifyEvent &rNEvt) override
DECL_LINK(DelayedPaste, void *, void)
virtual void InsertNewRows(sal_Int32 nRow) override
virtual OTableDesignView * GetView() const override
virtual bool isCutAllowed() override
std::vector< std::shared_ptr< OTableRow > > * m_pRowList
std::vector< std::shared_ptr< OTableRow > > * GetRowList()
ImplSVEvent * nDeleteEvent
void DisplayData(OFieldDescription *pFieldDescr)
std::shared_ptr< OTypeInfo > TOTypeInfoSP