summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* jsc340: merge to dev300m101Juergen Schmidt2011-02-24236-14087/+9692
|\
| * merged DEV300Release Engineering2011-02-18170-13659/+7123
| |\
| | * CWS-TOOLING: integrate CWS gridsortIvo Hinkelmann2011-02-1728-517/+725
| | |\
| | | * gridsort: pulled and merged DEV300_m100Frank Schoenheit [fs]2011-02-142-1/+43
| | | |\ | | |_|/ | |/| |
| | | * pulled and merged DEV300.m99Frank Schoenheit [fs]2011-02-0328-517/+725
| | | |\
| | | | * Automated merge with ssh://hg@hg.services.openoffice.org/cws/dba34bFrank Schoenheit [fs]2011-01-3161-725/+1293
| | | | |\
| | | | | * gridsort: i116682: update UnoControlDialog to reflect XDialogJuergen Schmidt2011-01-284-4/+8
| | | | | |
| | | | | * gridsort: minor changes to the new API:Frank Schoenheit [fs]2011-01-275-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | - renamed XMutableGridDataModel::setRowHeading to updateRowHeading for consistency reasons - renamed XSortableGridDataModel to XSortableGridData - actually, this is not a full-fledged model in itself.
| | | | | * gridsort: grid control related unit tests (first set, more to come)Frank Schoenheit [fs]2011-01-261-1/+1
| | | | | |
| | | | | * gridsort: pulled and merged DEV300m98Frank Schoenheit [fs]2011-01-2532-429/+996
| | | | | |\
| | | | | | * gridsort: pulled CWS dba34bFrank Schoenheit [fs]2011-01-2548-212/+1222
| | | | | | |\ | | | | | |_|/ | | | | |/| |
| | | | | | * gridsort: re-did the column resizingFrank Schoenheit [fs]2011-01-241-8/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - introduced XGridColumn.Flexibility, determining to which degree the column is resized during auto-column-resizing - removed XGridColumn.PreferredWidth - there really is no need for this anymore now - documented the relationship between XGridColumn.Flexibility and XGridColumn.Resizeable - re-implemented TableControl_Impl::impl_ni_updateColumnWidths, with (hopefully) less magic
| | | | | | * gridsort: document the relationship between soorting the data and notifying ↵Frank Schoenheit [fs]2011-01-191-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | XGridDataListeners
| | | | | | * gridsort: introduce XGridColumn::DataModelIndex. this allows for column ↵Frank Schoenheit [fs]2011-01-191-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | removal/insertion at the GridColumnModel, without the need to touch the GridDataModel
| | | | | | * gridsort: introduce XSortableGridDataModel::removeColumnSortFrank Schoenheit [fs]2011-01-184-7/+11
| | | | | | |
| | | | | | * gridsort: #163172# added UNO API support for sorting grid data. ↵Frank Schoenheit [fs]2011-01-185-4/+232
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implementation still unfinished. Things missing in the SortableGridData implementation - add as listener to the delegator, so we're notified of changes - translate and multiplex those changes - do own notifications (XGridDataListener.dataChanged) when the sort order changed - (possibly) update the sort order when the data in the current sort-column changed
| | | | | | * gridsort: made the row title a row heading, being an Any instead of a stringFrank Schoenheit [fs]2011-01-163-13/+15
| | | | | | |
| | | | | | * gridsort: XMutableGridData: renamed updateRow to updateRowData for ↵Frank Schoenheit [fs]2011-01-141-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | consistency; introduced updateRowToolTip as shortcut for multiple updateCellToolTip calls
| | | | | | * gridsort: updateCell->updateCellData, setCellToolTip->updateCellToolTip; in ↵Frank Schoenheit [fs]2011-01-141-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | both methods, have (Col,Row) params instead of (Row,Col), for consistency reasons
| | | | | | * gridsort: re-add tooltip support to X(Mutable)GridDataModel, this time more ↵Frank Schoenheit [fs]2011-01-142-1/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | explicit, and less magical
| | | | | | * gridsort: ouch. Removed IAccessibleTable::GetSelectedRows. It exposed an ↵Frank Schoenheit [fs]2011-01-141-12/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | internal implementation detail, and in fact some clients (the A11Y API implementation) exploited this, e.g. by simply adding elements to the array, without the owner (the TableControl/_Impl) ever noticing it. Replaced that with a working API. In this course, removed XGridSelection::getMin/MaxSelectionIndex. Pretty useless IMO, unused, and ugly to implement.
| | | | | | * gridsort: reworked the notification system for inserted/removed rowsFrank Schoenheit [fs]2011-01-134-33/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In this course, more code which was in SVTXGridControl was moved to the places it belongs to, effectively meaning that the TableControl has better chances than before to be used outside an SVTXGridControl (though we're not there, yet). Also, the selection-related methods in TableControl/_Impl got some refactoring love, so the implementation details are hidden in the Impl class now, instead of being exposed to an exploited by the TableControl. And while we were there ... The XGridSelection does not provide a |selectColumn| anymore (there was no preparation whatsoever for column selection, anywhere, thus it was a complete dummy.) Also, its de/selectRows methods have been removed: They have questionable use, and make implementation rather difficult, compared with multiple calls to de/selectRow.
| | | | | | * gridsort: removed the XGridDataModel.removeRows flavour which took an ↵Frank Schoenheit [fs]2011-01-121-15/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | arbitrary sequence of indexes - this makes the handling, in particular for listeners, unnecessarily complex, and has a questionable use only
| | | | | | * gridsort: @raises is not recognized by autodoc, use @throws insteadFrank Schoenheit [fs]2011-01-126-14/+14
| | | | | | |
| | | | | | * gridsort: reworked the color model for grid controls. Now supporting more ↵Frank Schoenheit [fs]2011-01-121-11/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | than two alternating colors, having more reasonable defaults for the colors (VOID instead of some hard-coded values, which thus are unusable). Also, introduced new property UseGridLines controlling whether or not to paint the table grid.
| | | | | | * gridsort: XGridCell/Renderer are unused and uselessFrank Schoenheit [fs]2011-01-123-111/+2
| | | | | | |
| | | | | | * gridsort: XGridControl: add methods to retrieve the current row/colFrank Schoenheit [fs]2011-01-111-6/+20
| | | | | | |
| | | | | | * gridsort: XGridControl::getItemIndexAtPoint renamed to getRowAtPoint; ↵Frank Schoenheit [fs]2011-01-111-2/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | introduced getColumnAtPoint
| | | | | | * gridsort: +XGridColumn::HelpText, to be displayed as tooltip for the column ↵Frank Schoenheit [fs]2011-01-111-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | header
| | | | | | * gridsort: removed XGridControl::setTooltip. It had a rather strange ↵Frank Schoenheit [fs]2011-01-111-16/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | semantics, seems to be unused in the current OOo code base, and would belong to the model, if at all. Still one thing to do: do not unconditionally display the cell content as tooltip, but make this dependent on whether or not the cell content fits into the cell.
| | | | | | * gridsort: removed XGridColumn::setIndex - don't really want to have ↵Frank Schoenheit [fs]2011-01-101-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | something like this at the public API
| | | | | | * gridsort: XGridDataModel: moved modifying functionality into ↵Frank Schoenheit [fs]2011-01-107-91/+190
| | | | | | | | | | | | | | | | | | | | | | | | | | | | XMutableGridDataModel.
| | | | | | * gridsort: do not retrieve all row headers at once, this doesn't scale. ↵Frank Schoenheit [fs]2011-01-071-5/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead, allow to retrieve the header/title of a row given by index
| | | | | | * gridsort: document ownership of the grid columnsFrank Schoenheit [fs]2011-01-071-1/+6
| | | | | | |
| | | | | | * gridsort: alllow removing columns from a grid control column modelFrank Schoenheit [fs]2011-01-071-5/+16
| | | | | | |
| | | | | | * gridsort: added XGridColumnModel::createColumnFrank Schoenheit [fs]2011-01-071-9/+17
| | | | | | |
| | | | | | * gridsort: RowHeight belongs to the GridControlModel (not the GridDataModel), tooFrank Schoenheit [fs]2011-01-072-4/+6
| | | | | | |
| | | | | | * gridsort: RowHeaderWidth/ColumnHeaderHeight do not belong to the ↵Frank Schoenheit [fs]2011-01-074-16/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | GridData/ColumnModel, but to the GridControlModel
| | | | | | * gridsort: removed css.awt.grid.ScrollBarMode - it was unused, and if it ↵Frank Schoenheit [fs]2011-01-073-72/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | weren't, it wouldn't belong into this module
| | | | | | * gridsort: XGridDataModel: do not provide access to all data at once, instead ↵Frank Schoenheit [fs]2011-01-061-8/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | use cell-based access
| | | | | | * gridsort: removed XGridColumnModel::copyColumnFrank Schoenheit [fs]2011-01-061-7/+0
| | | | | | | | | | | | | | | | | | | | | This does the very same as XGridColumn::XCloneable::createClone does, so there's no need for this method anymore.
| | | | | | * gridsort: member names usually start with UpperCase - corrected this for ↵Frank Schoenheit [fs]2011-01-052-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | GridColumn/DataEvent, for sake of consistency
| | | | | | * gridsort: css.awt.grid.GridControlEvent is unused - removedFrank Schoenheit [fs]2011-01-052-55/+0
| | | | | | |
| | | | | | * gridsort: allow cloning grid columns, and the (default) grid data/column modelFrank Schoenheit [fs]2011-01-033-4/+25
| | | | | | |
| | | | | | * gridsort: do not allow NULL/VOID for a grid's columnd/data model - nothing ↵Frank Schoenheit [fs]2010-12-231-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | would work then. (Both are already default-initited to some empty model in the grid model's ctor, for quite a few revisions)
| | | | | | * gridsort: renamed XGridDataModel::add/removeDataListener to ↵Frank Schoenheit [fs]2010-12-171-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | add/removeGridDataListener - this consistency with the actual listener type name will make introspection work
| | | | | | * gridsort: renamed XGridColumn::add/removeColumnListener to ↵Frank Schoenheit [fs]2010-12-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | add/removeGridColumnListener - this consistency with the actual listener type name will make introspection work
| | | | | | * gridsort: let XGridColumnModel::getColumn throw an IndexOutOfBoundsException ↵Frank Schoenheit [fs]2010-12-171-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | when appropriate
| | | | | | * gridsort: removed XGridColumn::updateColumnFrank Schoenheit [fs]2010-12-171-7/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The implementation of this column was only a wrapper around what setColumnWidth/setPreferredWidth would have done. Also, the mechanism how this method was used was really weird, effectively propagating the (preferred) width from the ITableColumn implementation of the grid peer to the XGridColumn implementation of the grid column model. This was done each time the (preferred) width was access for reading - not really a clever solution. Now, the ITableColumn knows its respective XGridColumn, and simply forwards the (preferred) width as needed.
| | | | | | * gridsort: introduced container listeners at the grid model, reworked and ↵Frank Schoenheit [fs]2010-12-073-22/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | fixed listener relationship between grid model/control/peer