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





------- Additional comments from [EMAIL PROTECTED] Wed Jun 20 09:27:11 +0000 
2007 -------
:-) The chart model is already prepared to keep the information 'reverse scale'.
It is in the member 'Orientation' in the ScaleData of each axis (see UNO
interface ::com::sun::star::chart2::XAxis and UNO struct
::com::sun::star::chart2::ScaleData and UNO enum
::com::sun::star::chart2::AxisOrientation). 
So the next step will be to transport the information from the dialog to the
chart model.
Many dialogs in OpenOffice are designed to get input and return output via
objects of type 'SfxItemSet' (you can find this class in module
svtools/inc/svtools/itemset.hxx). Multiple Items of different type can be stored
and accessed via Ids (nWhich). We only need a bool value thus a SfxBoolItem will
do. We also need to define a new ID SCHATTR_AXIS_REVERSE. Look how this is made
for the logarithmic state information (SCHATTR_AXIS_LOGARITHM). The SfxItemSet
for the axis is filled in the AxisItemConverter
(chart2/source/controller/itemsetwrapper/AxisItemConverter.hxx and cxx). Look
what is done there for SCHATTR_AXIS_LOGARITHM and introduce the transport of the
'reverse' information for the new ID SCHATTR_AXIS_REVERSE.

As the view already reads and reacts to the model information you should be able
to see the reverse axis when the transport of information from dialog to model
is working correctly.

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