You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by Kais Dukes <k....@complexar.com> on 2005/05/28 14:16:12 UTC
HSSF Models
Hi POI Developers,
I am trying to understand the POI user model, and in particular, its
relationship to the low-level model. Digging into the code, I see then when
an existing spreadsheet is loaded, we first create the low-level model, and
then create an equiavalent user model. For example,
HSSFSheet.setPropertiesFromSheet creates HSSFRow and HSSFCell objects for
each row and cell in the spreadsheet.
I can think of two different scenarios:
(1) These two models are kept in sync when we remove/add rows and cells.
or (2) The user model is just a "view" of the underlying low-level model,
and is created on demand.
I am assuming that HSSF goes for (1) ... am I correct?
Looking forward to any replies :-)
-- Kais
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.322 / Virus Database: 267.1.0 - Release Date: 27/05/2005
---------------------------------------------------------------------
To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
Mailing List: http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/
Re: HSSF Models
Posted by ac...@apache.org.
ATM, its kinda a mix of the two. In the near future it will be more #2.
Kais Dukes wrote:
> Hi POI Developers,
>
> I am trying to understand the POI user model, and in particular, its
> relationship to the low-level model. Digging into the code, I see then when
> an existing spreadsheet is loaded, we first create the low-level model, and
> then create an equiavalent user model. For example,
> HSSFSheet.setPropertiesFromSheet creates HSSFRow and HSSFCell objects for
> each row and cell in the spreadsheet.
>
> I can think of two different scenarios:
>
> (1) These two models are kept in sync when we remove/add rows and cells.
> or (2) The user model is just a "view" of the underlying low-level model,
> and is created on demand.
>
> I am assuming that HSSF goes for (1) ... am I correct?
>
> Looking forward to any replies :-)
>
> -- Kais
>
>
> --
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.322 / Virus Database: 267.1.0 - Release Date: 27/05/2005
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
> Mailing List: http://jakarta.apache.org/site/mail2.html#poi
> The Apache Jakarta POI Project: http://jakarta.apache.org/poi/
>
--
Andrew C. Oliver
SuperLink Software, Inc.
Java to Excel using POI
http://www.superlinksoftware.com/services/poi
Commercial support including features added/implemented, bugs fixed.
---------------------------------------------------------------------
To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
Mailing List: http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/