From 0fc55e5e51933b4da913926b5bdf0939ee4a9e5b Mon Sep 17 00:00:00 2001 From: Avik Sengupta Date: Tue, 30 Dec 2003 03:27:48 +0000 Subject: [PATCH] commiting my doc changes to BRANCH git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353468 13f79535-47bb-0310-9956-ffa450edef68 --- .../content/xdocs/hssf/alternatives.xml | 3 +- .../content/xdocs/hssf/formula.xml | 19 ++++----- .../content/xdocs/hssf/how-to.xml | 42 +++++++------------ .../content/xdocs/hssf/index.xml | 15 +++---- .../content/xdocs/hssf/limitations.xml | 14 +++---- src/documentation/content/xdocs/index.xml | 17 ++++---- src/documentation/content/xdocs/todo.xml | 40 +++++++++--------- 7 files changed, 68 insertions(+), 82 deletions(-) diff --git a/src/documentation/content/xdocs/hssf/alternatives.xml b/src/documentation/content/xdocs/hssf/alternatives.xml index c76124d83a..6ed5beeb9c 100644 --- a/src/documentation/content/xdocs/hssf/alternatives.xml +++ b/src/documentation/content/xdocs/hssf/alternatives.xml @@ -16,7 +16,8 @@

Maybe it's unwise to advertise your competitors but we believe competition is good and we have the best support reading and - write Excel workbooks currently available. + write Excel workbooks currently available. This however does not + purport to be a complete list.

diff --git a/src/documentation/content/xdocs/hssf/formula.xml b/src/documentation/content/xdocs/hssf/formula.xml index d128995e77..d7174509d2 100644 --- a/src/documentation/content/xdocs/hssf/formula.xml +++ b/src/documentation/content/xdocs/hssf/formula.xml @@ -12,7 +12,7 @@
Introduction

This document describes the current state of formula support in POI. - The information in this document applies to the 2.0-dev version of POI (i.e. CVS HEAD). + The information in this document currently applies to the 2.0 version of POI. Since this area is a work in progress, this document will be updated with new features as and when they are added.

@@ -36,16 +36,14 @@
  • String, integer and floating point literals
  • Area references
  • Relative or absolute references
  • -
  • Arithmetic Operators
  • -
  • Sheet Functions
  • +
  • Arithmetic and logical operators
  • +
  • Sheet or Macro Functions (inlcuding logical functions)
  • +
  • Sheet References
  • +
  • Formual return values (number or string)
  • Partially supported

    - Truth be told there is probably a better way to generate your spreadsheet - generation (yet you'll still be using HSSF indirectly). At the time of - this writing we're in the process of moving the HSSF Serializer over to - the Apache Cocoon - Project. With Cocoon you can serialize any XML datasource (of - which might be a ESQL page outputting in SQL for instance) by simply - applying the stylesheet and designating the serializer. + An alternate way of generating a spreadsheet is via the Cocoon serializer (yet you'll still be using HSSF indirectly). + With Cocoon you can serialize any XML datasource (which might be a ESQL page outputting in SQL for instance) by simply + applying the stylesheet and designating the serializer.

    If you're merely reading spreadsheet data, then use the eventmodel api - in the org.apache.poi.hssf.eventmodel package. + in the org.apache.poi.hssf.eventusermodel package.

    If you're modifying spreadsheet data then use the usermodel api. You - can also generate spreadsheets this way, but using Cocoon (which will do - it this way indirectly) is the best way...we promise. + can also generate spreadsheets this way.

    diff --git a/src/documentation/content/xdocs/hssf/limitations.xml b/src/documentation/content/xdocs/hssf/limitations.xml index c4b8bb9212..0a6021708c 100644 --- a/src/documentation/content/xdocs/hssf/limitations.xml +++ b/src/documentation/content/xdocs/hssf/limitations.xml @@ -9,7 +9,7 @@ -
    Version 1.5 limitations +
    Version 2.0 limitations

    The intent of this document is to outline some of the known limitations of the POI HSSF API's. It is not intended to be complete list of every bug or missing @@ -19,7 +19,7 @@

    • Charts

      - You can not currently create charts. This is planned for the 2.0 release. You can + You can not currently create charts. You can however create a chart in Excel, modify the chart data values using HSSF and write a new spreadsheet out. This is possible because POI attempts to keep existing records intact as far as possible.

      @@ -39,15 +39,13 @@
    • Macros

      - Macros can not be created. The are currently no plans to support macros. Reading - workbooks containing macros is supported but attempting to write those workbooks - will fail. This is because macros are stored as extra file sytems within the - compound document, and these are not currently kept when the file is rewritten.

      + Macros can not be created. However, reading and re-writing files containing macros will + safely preserve the macros.

    • Pivot Tables

      - Generating pivot tables is not supported. Reading spreadsheets containing pivot tables - has not been tested. + Generating pivot tables is not supported. It has been reported that files containing pivot + tables can be read and re-written safely.
    diff --git a/src/documentation/content/xdocs/index.xml b/src/documentation/content/xdocs/index.xml index 634745e2df..4a877934f9 100644 --- a/src/documentation/content/xdocs/index.xml +++ b/src/documentation/content/xdocs/index.xml @@ -6,7 +6,8 @@ Welcome to POI - + + @@ -31,7 +32,7 @@

    As a general policy we try to collaborate as much as possible with other projects to provide this functionality. Examples include: Cocoon for - which you'll soon find generators and serializers for our projects; + which there are serializers for HSSF; Open Office.org with whom we collaborate in documenting the XLS format; and Lucene for which we'll soon have file format interpretors. When practical, we donate components directly to those projects for POI-enabling them. @@ -45,7 +46,7 @@

    You'd use POIFS if you had a document written in OLE 2 Compound Document Format, probably written using - MFC, that you needed to read in Java. Alternatively, you'd use POI to write OLE 2 Compound Document Format + MFC, that you needed to read in Java. Alternatively, you'd use POIFS to write OLE 2 Compound Document Format if you needed to inter-operate with software running on the Windows platform. We are not just bragging when we say that POIFS is the most complete and correct port of this file format to date!

    @@ -92,11 +93,11 @@

    HSSF is our port of the Microsoft Excel 97(-2002) file format (BIFF8) to pure Java. It supports read and write capability. Please see the HSSF project page for more information.

    -
    HDF (Horrible Document Format) -

    HDF is our port of the Microsoft Word 97 file format to pure Java. It supports read and write capability. - Please see the HDF project page for more information. This component is - in the early stages of design. Jump in!

    -
    +
    HWPF +

    HWPF is our port of the Microsoft Word 97 file format to pure Java. It supports read and write capability. + Please see the HWPF project page for more information. This component is + in the early stages of development.It can already read and write simple files. Jump in!

    +
    HPSF (Horrible Property Set Format)

    HPSF is our port of the OLE 2 property set format to pure Java. Property sets are mostly use to store a document's properties diff --git a/src/documentation/content/xdocs/todo.xml b/src/documentation/content/xdocs/todo.xml index 9084de4c64..ee7f8200bc 100644 --- a/src/documentation/content/xdocs/todo.xml +++ b/src/documentation/content/xdocs/todo.xml @@ -5,47 +5,49 @@ Things To Do for Poi - - - - - - + + + + + + + + - - Finish HDF - + + Finish HWPF + Finish Charts - - Finish Formulas. - + + Evaluate and bugfix performance code in HEAD + - + Expose functionality in low level records in higher level API - + Implement more record types. - + Add more dummy checks (for when API user's do things they "can't" do). This will involve exploring the various upper limits on the things Excel can handle. - + Add support for embedded graphics and other objects. - + Create new adapter object for handling MulBlank, MulRk, Rk records. - - Add a way to copy sheets. + + Improve formulas (Shared Formulas, Unkown PTG's) -- 2.39.5