Issue 42353

Summary: Repaint error when selecting multiple sheets via API
Product: App Dev Reporter: stephan.wunderlich
Component: apiAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: christianjunker, issues
Version: 3.3.0 or older (OOo)   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description stephan.wunderlich 2005-02-09 16:23:14 UTC
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
Comment 1 christianjunker 2005-08-07 22:39:28 UTC
can reproduce with m121.
Comment 2 Marcus 2017-05-20 11:27:33 UTC
Reset assigne to the default "issues@openoffice.apache.org".