To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=57375


User nn changed the following:

                  What    |Old value                 |New value
================================================================================
                    Status|NEW                       |RESOLVED
--------------------------------------------------------------------------------
                Resolution|                          |FIXED
--------------------------------------------------------------------------------




------- Additional comments from [EMAIL PROTECTED] Tue Dec  6 11:50:59 -0800 
2005 -------
Fixed on CWS "dr43", changed: dapiuno.hxx, dapiuno.cxx, dpobject.cxx.

Note that the two lines
oFields.getByName("2003").Function = ...
both set the same function (you don't see it because SUM is the default). To
change the function for the field that was just added as data field, you have to
use the same object, as in:
oField = oFields.getByName("2003")
oField.Orientation = com.sun.star.sheet.DataPilotFieldOrientation.DATA
oField.Function = com.sun.star.sheet.GeneralFunction.AVERAGE
or get the field from the collection of data fields (getDataFields).

---------------------------------------------------------------------
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]

Reply via email to