Apache OpenOffice (AOO) Bugzilla – Issue 117398
finalize css.awt.grid API
Last modified: 2017-05-20 09:32:11 UTC
There is the desire to have the API in module css.awt.grid in state "published" upon the release of OOo 3.4. While this is uncritical for at least some of the interfaces/services therein, I think the following should undergo a review, and possibly be modified to be more future-proof: - com.sun.star.awt.grid.XGridDataModel - com.sun.star.awt.grid.XMutableGridDataModel - com.sun.star.awt.grid.GridSelectionEvent - com.sun.star.awt.grid.XGridColumnModel - com.sun.star.awt.grid.XGridControl - com.sun.star.awt.grid.XGridDataModel - com.sun.star.awt.grid.XGridSelection - com.sun.star.awt.grid.XGridSelectionListener The following changes should most probably be done: - complete the color model - clients should be able to set the a text/background color or *selected* text - introduce XGridDataModel::getRowData, for performance reasons The following changes need consideration: - extend the grid selection API to allow future column selections, too. At the moment, nearly all (but not all) API pieces silently assume that a selection is always a row selection - do we need a column removal operation for the grid data model? More changes might be required for the goal of having a future-proof API, which can be published in all conscience.
A cell selection would be very welcome to allow user to change a cell content. IMHO the row selection is convenient in a database table grid, but in a dialog grid the user should not be restricted to a row or a column selection.
@bmarcelly: For the moment, the goal is to finalize what's there - which is the row selection. This means that all selection methods should, for instance, make very clear that they are about row selection, and nothing else. In the future, adding new features means adding new APIs, and I'm open the everything here. Column selection is a canonical extension, cell selection might be an option, too. But all this is out of the scope of the current change - we just want to be able to put the "published" keyword onto the API, which means we should have good confidence that it is usable and future-proof.
fixed in CWS gridfixes
getting rid of value "enhancement" for field "severity". For enhancement the field "issue type" shall be used.