To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=76137
Issue #|76137
Summary|cannot access two dimensionnal array
Component|Spreadsheet
Version|OOo 2.2
Platform|All
URL|
OS/Version|All
Status|UNCONFIRMED
Status whiteboard|
Keywords|
Resolution|
Issue type|DEFECT
Priority|P3
Subcomponent|programming
Assigned to|spreadsheet
Reported by|prahal
------- Additional comments from [EMAIL PROTECTED] Thu Apr 5 18:10:03 +0000
2007 -------
I use range getDataArray. I correctly get a two dimensionnal array though I
cannot read it :
oDoc = ThisComponent
oSheet = oDoc.Sheets.getByName("Sheet1")
oRange = oSheet.getCellRangeByName("A1:B3")
v = oRange.getDataArray()
For r_idx = LBound(v) To UBound(v)
For c_idx = LBound(v(r_idx)) To UBound(v(r_idx))
print v(r_idx,c_idx)
Next c_idx
Next r_idx
fails with index out of bounds for v(r_idx,c_idx)
Please fix this for the next release ... this is quite a showstopper for working
with ranges.
Regards
Alban Browaeys
---------------------------------------------------------------------
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]