Apache OpenOffice (AOO) Bugzilla – Issue 72395
c.s.s.sheet.XCellRangeMovement exported by c.s.s.sheet.Spreadsheet
Last modified: 2017-05-20 11:28:11 UTC
Each of the XCellRangeMovement methods may be called from any sheet. It makes no difference. So I believe XCellRangeMovement should be exported from c.s.s.sheet.SpreadsheetDocument rather than c.s.s.sheet.Spreadsheet. StarBasic example: Sub copyTest REM copy a1:b3 from sheet #0 to sheet #1, using sheet #2 with thiscomponent.getSheets srcAddr = .getByIndex(0).getCellRangeByPosition(0,0,1,2).getRangeAddress tgtAddr = .getByIndex(1).getCellByPosition(0,0).getCellAddress oSh = .getByIndex(2) 'ANY existing sheet will do end with oSh.copyRange(tgtAddr,srcAddr) REM it could/should be: thisComponent.copyRange(tgtAddr,srcAddr) as well End Sub
jsc -> nn: seems to be one for you
Reset assigne to the default "issues@openoffice.apache.org".