Issue 42353 - Repaint error when selecting multiple sheets via API
Summary: Repaint error when selecting multiple sheets via API
Status: CONFIRMED
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P3 Trivial
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-09 16:23 UTC by stephan.wunderlich
Modified: 2017-05-20 11:27 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
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".