To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=91792
                 Issue #|91792
                 Summary|Cell selection (select function) with SheetCellRanges 
                        |object not viewed (displayed) in 2.4.x
               Component|Spreadsheet
                 Version|OOo 2.4.1
                Platform|PC
                     URL|
              OS/Version|Windows, all
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|viewing
             Assigned to|spreadsheet
             Reported by|akioo





------- Additional comments from [EMAIL PROTECTED] Fri Jul 18 08:02:19 +0000 
2008 -------
In OpenOffice version 2.3.x I can use select() function with 
com.sun.star.sheet.SheetCellRanges and it is displayed correctly.
Unfortunately in 2.4.x versions it select cells but it is't displayed.
In 2.4.x viewing cell selection works only with 
com.sun.star.sheet.SheetCellRange object.

Delphi code like this works in 2.3.0 but not working in 2.4.1:

vRanges:=vDoc.createInstance('com.sun.star.sheet.SheetCellRanges');
  if vDoc.CurrentController.Selection.supportsService
('com.sun.star.sheet.SheetCellRanges') then
    vRanges.addRangeAddresses
(vDoc.CurrentController.Selection.getRangeAddresses,false)
  else
    vRanges.addRangeAddress
(vDoc.CurrentController.Selection.getRangeAddress,false);

  vRanges.addRangeAddress(vKursor.getCellRangeByPosition
(1,3,7,8).getRangeAddress, false );
  vDoc.getCurrentController.select(vRanges);

---------------------------------------------------------------------
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]


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

Reply via email to