To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=91578
User iha changed the following: What |Old value |New value ================================================================================ Assigned to|iha |kohei -------------------------------------------------------------------------------- ------- Additional comments from [EMAIL PROTECTED] Fri Jul 11 16:19:25 +0000 2008 ------- @kohei, cool thanks! Some hints for the implementation: There is already a property that is very similar implemented to what we need now. It is the check box 'show bars side by side' on the options page in the series properties dialog for bar and column charts. So it can serve as example. In the UNO API we need a new property at the diagram maybe 'DisplayHiddenCells'. The stable ::com::sun::star::chart API is implemented in chart2/source/controller/chartapiwrapper. Add the new property to the DiagramWrapper class (good example is 'GroupBarsPerAxis'). The inner chart model uses not the old stable API but a new ::com::sun::star::chart2 API instead. There we need to add the same new property at the 'inner' diagram class ( look at chart2/source/model/main/Diagram.cxx). In xmloff we need a new token 'display-hidden-cells'. And the new token must be mapped to the new UNO property. Grep for XML_GROUP_BARS_PER_AXIS in xmloff for an example. Thus the new property will be written from and to the file. Now the new property must be transported to the view for display purposes. Search for 'GroupBarsPerAxis' within chart2/source/view/ChartView.cxx to have an example. The view does set the property from the diagram model to a view class 'VDataSeries'. We will need a new method SetDisplayHiddenCells(). VDataSeries is the container for the differenet VDataSequence where we finally need the property (you found the boolean bDisplayHiddenCells there already :-) ). Finally the dialog related things are implemented in chart2/ source/controller/dialogs and chart2/ source/controller/itemsetwrapper. All the ItemConverters within itemsetwrapper serve the purpose to transport the UNO API properties from the model object into SfxItemSets which is a typical input format for several dialogs and tab pages. And vice versa of course. I hope the hints are useful for you. Have fun! --------------------------------------------------------------------- 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]