#************************************************************************* # # OpenOffice.org - a multi-platform office productivity suite # # $RCSfile: NOTES,v $ # # $Revision: 1.4 $ # # last change: $Author: rt $ $Date: 2005-09-07 23:36:31 $ # # The Contents of this file are made available subject to # the terms of GNU Lesser General Public License Version 2.1. # # # GNU Lesser General Public License Version 2.1 # ============================================= # Copyright 2005 by Sun Microsystems, Inc. # 901 San Antonio Road, Palo Alto, CA 94303, USA # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License version 2.1, as published by the Free Software Foundation. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with this library; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, # MA 02111-1307 USA # #************************************************************************* NOTES ===== Activate the New Chart ---------------------- After installation of an Office, you will still get the old chart implementation. In order to get the new implementation you have to activate it via the configuration. Set the boolean Config-Item Office.Common/Internal:DevelopmentChart to true. HOW-TO: * Open the file Common.xcu of the Registry. Location on Unix: $HOME/StarOffice7/user/registry/data/org/openoffice/Office/Common.xcu Location on Windows: "%UserProfile%\Application Data\StarOffice7\user\registry\data\org\openoffice\Office\Common.xcu" * Under the configuration-node "Internal" (see tag) you have to add the property "DevelopmentChart" and set this to "true": * Add the following after the "Internal"-node: true After that, your Common.xcu may look like this: ,----[ Common.xcu example ] | | | | | true | | | | | | | | | | | | 0 | | | | | | false | | | `---- * To switch back, you can either replace the "true" by a "false", or you can delete the complete "DevelopmentChart" property (the three lines) you inserted. FileDataSource -------------- For testing the FileDataSource: Currently the following files are read (hard-coded) * Win: D:\files\data.chd * Unix: /work/data/data.chd You can find sample data in workbench/sampledata Testing ------- * To create a chart using the abovementioned file for data, Call the menu item 'File/Save all'. To rebuild the chart call 'File/Save'. * You can also create a chart from spreadsheet data. * To run a test for the old API run "dmake" in the qa subdirectory.