To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=72395
Issue #|72395
Summary|c.s.s.sheet.XCellRangeMovement exported by c.s.s.sheet
|.Spreadsheet
Component|api
Version|OOo 2.0.2
Platform|All
URL|
OS/Version|All
Status|UNCONFIRMED
Status whiteboard|
Keywords|
Resolution|
Issue type|ENHANCEMENT
Priority|P5
Subcomponent|definition
Assigned to|jsc
Reported by|villeroy
------- Additional comments from [EMAIL PROTECTED] Fri Dec 8 05:42:49 -0800
2006 -------
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
---------------------------------------------------------------------
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]