Issue 72395 - c.s.s.sheet.XCellRangeMovement exported by c.s.s.sheet.Spreadsheet
Summary: c.s.s.sheet.XCellRangeMovement exported by c.s.s.sheet.Spreadsheet
Status: UNCONFIRMED
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P5 (lowest) Trivial
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-08 13:42 UTC by villeroy
Modified: 2017-05-20 11:28 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description villeroy 2006-12-08 13:42:49 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
Comment 1 jsc 2006-12-08 15:47:28 UTC
jsc -> nn: seems to be one for you
Comment 2 Marcus 2017-05-20 11:28:11 UTC
Reset assigne to the default "issues@openoffice.apache.org".