To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=71586





------- Additional comments from [EMAIL PROTECTED] Tue Sep 11 18:44:32 +0000 
2007 -------
svtools/source/brwbox/* are the classes which implement the so-called BrowseBox
(basically a tabular data display) and EditBrowseBox (a derived class which
allows editing the content of single cells).

A patch would most probably start in editbrowsebox.cxx, method
EditBrowseBox::KeyInput.
a short sketch would be as follows, exemplarily for Shift+PageDown
- catch the KEY_PAGEDOWN event
- ensure only Shift and no other modifier is pressed
- check whether there already is a row selected
  (this assumes that before Shift-PageDown works, the user needs to select
  a single row, using the mouse or Shift-Space. An alternative would be
  to allow Shift-PageDown also when currently a cell is being edited
  (IsEditing), but this would make handling more complex, as you need
  to care for leaving the edit mode, and possible vetos to this leaving.)
- If so, calculate the new rows which should be added to the selection
  (probably something like the interval "( GetCurRow(), GetCurRow() +
  GetVisibleRows() )")
- select those rows, using SelectRow( row, TRUE, TRUE )
- ensure the current row is set to the last selected row, via GoToRow

Don't shoot me if this isn't the complete picture, but it should work pretty
much along those lines.

If you embark on a patch for this, be assured you'll get every support needed
from my side - preferrably in [EMAIL PROTECTED] :)

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to