diff options
author | Frank Schoenheit [fs] <frank.schoenheit@oracle.com> | 2011-01-04 22:23:17 +0100 |
---|---|---|
committer | Frank Schoenheit [fs] <frank.schoenheit@oracle.com> | 2011-01-04 22:23:17 +0100 |
commit | b198150a3cdb7f1f3838bf39853f2ea680bcaf6c (patch) | |
tree | 3be558111232816be8c7575915ba3fa7c5e28587 /svtools/source/table/tablecontrol_impl.hxx | |
parent | d3dcce24340e342fb1ab6c7071a0f645130e1ba3 (diff) |
gridsort: don't let the SVTXGridControl listen for XGridColumn changes. Instead, the non-UNO wrapper around
the XGridColumn (UnoControlTableColumn, implementing IColumnModel) should do this, and then multiplex
the changes to the TableControl(_Impl) instance. This way, other IColumnModel implementations also
properly trigger control updates, provided they simply properly notify their changes.
Diffstat (limited to 'svtools/source/table/tablecontrol_impl.hxx')
-rwxr-xr-x | svtools/source/table/tablecontrol_impl.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/svtools/source/table/tablecontrol_impl.hxx b/svtools/source/table/tablecontrol_impl.hxx index 024e6915f367..4c5038de2cc0 100755 --- a/svtools/source/table/tablecontrol_impl.hxx +++ b/svtools/source/table/tablecontrol_impl.hxx @@ -158,6 +158,7 @@ namespace svt { namespace table bool m_bResizingColumn; ColPos m_nResizingColumn; bool m_bResizingGrid; + bool m_bUpdatingColWidths; rtl::OUString m_aTooltipText; #if DBG_UTIL @@ -276,6 +277,7 @@ namespace svt { namespace table virtual void columnsRemoved( ColPos first, ColPos last ); virtual void columnMoved( ColPos oldIndex, ColPos newIndex ); virtual void cellsUpdated( ColPos firstCol, ColPos lastCol, RowPos firstRow, RowPos lastRow ); + virtual void columnChanged( ColPos const i_column, ColumnAttributeGroup const i_attributeGroup ); private: /** toggles the cursor visibility |