To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=42353
                  Issue #:|42353
                  Summary:|Repaint error when selecting multiple sheets via API
                Component:|api
                  Version:|680m76
                 Platform:|All
                      URL:|
               OS/Version:|All
                   Status:|NEW
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|DEFECT
                 Priority:|P3
             Subcomponent:|code
              Assigned to:|nn
              Reported by:|sw





------- Additional comments from [EMAIL PROTECTED] Wed Feb  9 08:23:14 -0800 
2005 -------
Executing the following maco is supposed to select the first two sheets of a
CalcDocument ... unfortunately the document has to loose and regain the focus
before the new selection is visible.

Sub Main
        xCalcDoc = ThisComponent
        xCellRanges = 
xCalcDoc.createInstance("com.sun.star.sheet.SheetCellRanges")
        xCell1 = xCalcDoc.sheets(0).getCellByPosition(0,0)
        xCell2 = xCalcDoc.sheets(1).getCellByPosition(0,0)
        xCellRanges.insertByName("first",xCell1)
        xCellRanges.insertByName("second",xCell2)
        
        xSelectionSupplier = xCalcDoc.currentController
        xSelectionSupplier.select(xCellRanges)          
End Sub

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