NOTE:	This TODO file is outdated, and need to be fixed.


Legend
======

----	Not yet done (for main tasks, parts of it may be done)
DONE	Task is all done
KDCH	Must be fixed in KDChart (new version will be out before 1.4).
KSPR	Must be fixed in KSpread
done	This subtask is done
kdch	This subtask must be fixed in KDChart
kspr	This subtask must be fixed in KSpread

INGE	Inge has taken this task
inge	Inge has taken this subtask
RAPH	Raphael has taken this task


Before release of KOffice 1.6.0
===============================

Item								   Prio Status
------------------------------------------------------------------------------



Next
----

Fix bug 128758: misinterpretation of the checkbox "first row as label":

Think about doing it in one of these ways:

1 Change storage from a table for the data and QStringLists for the
  headers to storing everything in the table.  The first row and
  column will always be used for headers, and if they are empty, then
  either KDChart will have to autogenerate tables or we will provide
  empty ones (not decided yet).

  + Remove m_rowLabels and m_colLabels and make them locals in
    paintContent() (static?).
  + Rewrite painting to take this into account.
    - The translation code for the matrix can be taken from doSetData().
  + Remove doSetData, since it isn't necessary any more.
    - Check what LegendAutomatic does first, though.
  + Fix it so that when loading and saving, (old, standard, OASIS), 
    this will work.

2 Change paintContent() so that it takes into account if the data is
  external and that the first row or column contains or not contains
  headers.  This means that it will perhaps have to skip the first row
  or column when displayData is generated.

I Chose number 2.

* Fix bug 128758
  + Fix it so that m_row/colLabels always contains the headers.		----
     - Fix doSetData to do this. Take into account canChangeValue	--
  + Fix paintContent() to take canChangedata into account		----


After the feature freeze
------------------------

* Bugs
  + The chart title is not included in the chart from the wizard      1 DONE
  + The Data Editor shows wrong when first row/column is checked      1 ----
  + The title is miniscule					      2 ---- 
     - small fonts everywhere, in fact

* Features
  + First Row / Col as label					      1 DONE
  + Combined Bars and Lines charts				      1 DONE
  + Maybe call the analysis code and do sensible defaults	      2 ----
  + Grid setting for both directions				      2 ----

* Data editor
  + Better keyboard shortcuts?					      2 ----
    - Remove the spinboxes from the buddy list.				  ----
  + Show labels in the first row / column			      1 ----
    - Add "first row / column as label" checkboxes to the gui		  ----
    - Make the first row / column differently colored			  ----
    - label rows and columns in the table correctly			  ----
    - insert rows / columns before current cell				  ----
  + Adjust labels when inserting / deleting rows / columns	      1 ----



After 1.6 (1.6.x)
=================


Item								   Prio Status
------------------------------------------------------------------------------

* OpenDocument Support -- read and write all tags and attributes

  Item							Load	Save
  ----------------------------------------------------------------------------
  + Handle all chart types				----	----
  + Plot area						----	----
    - Data in rows / columns				done	done
  + Legend						DONE	DONE
  + Axes						----	----

* Bugs

* Integration with rest of KOffice.
  + Give KChart the same page layout dialog as KSpread.		      1 ----
       (Kivio has a simpler variation with only one page.)

* Issues with KSpread

* Miscellaneous fixes
  + Save position of Actions toolbar in config.			      2 ----
  + Wrong images for HiLo subtype icons.			      1 ----

* Toolbars

* Data editor
  + Better keyboard shortcuts?					      1 ----
    - Remove the spinboxes from the buddy list.				--

* Config dialog
  + Check keyboard shortcuts for all tabs			     S1 ----
  + Setting background image doesn't work			      2 ----
  + According to Fredrik, background page works badly all over	      2 ----

* Wizard
  + -- Nothing so far --

* Manual
  + -- Nothing so far --

* Filters
  + -- Nothing so far --

* KDChart (See also above)
  + -- Nothing so far --


================================================================
			     Towards 2.0
================================================================


Large items
-----------

* Separate Model / View
  We should create a new model that contains all of the document
  and let the embedded KDChart component become a viewer instead
  of a combined viewer and data storage.

  Some parts of the KDChart data structures could be reused, e.g. 
  the Data Storage (KDChartData).  This model must be able to 
  redraw itself, just like the present KoDocument can.

  + Make all the data be contained in the Model, so far being
    the part.

* Create a Flake shape of KChart

* Integrate KDChart 2.0

* Scripting
  + Kross support for 
  + DCOP for data manipulation					      2 ----
    - class KChartData
  + DCOP for chart manipulation					      2 ----
    - class KChartParam							  done

* Structure
  + put dialogs in their own directory				      3 ----


Smaller items
-------------

* Config dialog
  + Check *all* subpages for uglyness and bugs			     S1 INGE
    - Color		Ugly					     S1 --
    - BackgroundPixmap	Ugly					     S1 --
  + Integrate the Colors and Font pages into Axes?		      2 ----
    - Maybe create a little combination widget that can change        2 --
      both font and color for a text item?

* Data Editor							      1 ----
  + Insert / Delete Rows / Columns
  + Selections: Clear, Cut/Copy&Paste, 
  + Formulas?
  + Select specific areas to chart (apart from entire data)

* Wizard
  + New data page?						     S2 ----
    - Data in rows / columns						--
    - First row / column as header?					--
  + Subtype page should have icons for subtypes like config dialog.   2 ----

* Chart types
  + Check all chart types and see if they are drawn logically	      2 ----
    from their input data.  Especially check strange data
    (negative numbers, etc), and missing data.
    - Bar							      2 --
    - Line							      2 --
    - Area							      2 --
    - HiLo							      2 --
    - Box  & Whiskers						      2 --
    - Pie							      2 --
    - Ring							      2 --
    - Polar							      2 --

* Miscellaneous fixes
  + Tooltips & What's this help all over the program?		     S1 ----
