Version: 2.2 (using KDE 4.4.2) OS: Linux Saving the internal table doesn't work quite correctly yet, I'm not entirely sure how to handle header rows. Reproducible: Always Steps to Reproduce: Open KPresenter, insert chart. Save it. Reopen it. Actual Results: An extra row got inserted into the internal table. Expected Results: Internal table should be exactly the same.
This is a release blocker for 2.3.
SVN commit 1186495 by jsimon: Correctly save internal table. First row always needs to be a header row, before the header row was simply empty. Also save correct name of internal table, not just "local-table". CCBUG: 253799 M +49 -50 ChartShape.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1186495
SVN commit 1186496 by jsimon: Do not store table:cell-range-address attribute in PlotArea, instead use the proxy model's cell range address as it is the class that manages all data sets and thus responsible for this. It was never forwarded to PlotArea and thus PlotArea had a wrong range. See comment for ChartProxyModel::cellRangeAddress(). This fixes the bug of a wrong cell range address saved in <chart:plot-area>. BUG: 253799 M +5 -0 ChartProxyModel.cpp M +10 -0 ChartProxyModel.h M +2 -22 PlotArea.cpp M +1 -0 tests/odf/CMakeLists.txt M +11 -0 tests/odf/TestLoadingBase.cpp M +4 -0 tests/odf/TestLoadingBase.h A tests/odf/default-koffice-chart (directory) A tests/odf/default-koffice-chart/CMakeLists.txt A tests/odf/default-koffice-chart/TestLoading.cpp [License: LGPL (v2+)] A tests/odf/default-koffice-chart/TestLoading.h [License: LGPL (v2+)] A tests/odf/default-koffice-chart/doc (directory) A tests/odf/default-koffice-chart/doc/content.xml A tests/odf/default-koffice-chart/doc/meta.xml A tests/odf/default-koffice-chart/doc/styles.xml A tests/odf/default-koffice-chart/original-doc.odt WebSVN link: http://websvn.kde.org/?view=rev&revision=1186496