Re: Is there a schedule for the next release?

2005-05-20 Thread Avik Sengupta
I don't think that having only writing functionality (or the fact that
creating a new drawing removes old one's) are necessarily a problem. 

AFAICS, the issues are a) some files failing to read, and b) some files
being corrupted on re-write, both of which are obvious regressions from
some of our previous releases. 

However, with all the new functionality in, a couple of dev releases on
the way would certainly help. 

On Thu, 2005-05-19 at 21:49 -0700, [EMAIL PROTECTED] wrote:
> Well what makes sense is to have a toggle switch for now.  Basically
> "yes see the drawing stuff" and "no don't see the drawing stuff".  Or
> someone finish the drawing stuff so that it read/writes properly.  The
> drawing stuff was a SuperLink Software customer and the deal was to make
> it possible to write images not necessarily read them.  Generally we
> write estimates to feature complete, but this one was an exception.  It
> was probably a mistake to have the image stuff "on" by default since it
> does not properly read them.
> 
> -Andy
> 
> Avik Sengupta wrote:
> > Personally I would like to see some more time before we cut a release,
> > since there is, after some months of low activity, some nice momentum in
> > our development. Further, I would like to ensure all file corruption
> > issues in 2.5.1 are solved before we do a new release. 
> > 
> > Having said that, our release planning (and release numbering) have been
> > somewhat inconsistent historically :), so the above is certainly likely
> > to change!
> > 
> > On Wed, 2005-05-18 at 00:28 +0200, Mikael Sitruk wrote:
> > 
> >>Hi 
> >>I would like to know when the next release will be released? The 2.5.1 is 8
> >>months old already
> >> 
> >>Mikael.S
> >> 
> 
> 
-- 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/



data format

2005-05-20 Thread Avik Sengupta
Dumb question:

How does one get the data format of an existing cell (ie, excel file
read in by POI) as a string (ie, as '#0.00') 

TIA
-
Avik



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/



cvs commit: jakarta-poi/src/testcases/org/apache/poi/hssf/usermodel TestHSSFCell.java

2005-05-20 Thread avik
avik2005/05/20 02:13:14

  Modified:src/java/org/apache/poi/hssf/usermodel HSSFCell.java
   src/testcases/org/apache/poi/hssf/usermodel
TestHSSFCell.java
  Log:
  toString() method for HSSFCell to return
  a simple string representation of the cell,
  irrespective of its type.
  Originally submitted by Wes Gilster as bug 19294
  made some modifications, added testcase.
  
  Revision  ChangesPath
  1.30  +42 -3 
jakarta-poi/src/java/org/apache/poi/hssf/usermodel/HSSFCell.java
  
  Index: HSSFCell.java
  ===
  RCS file: 
/home/cvs/jakarta-poi/src/java/org/apache/poi/hssf/usermodel/HSSFCell.java,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- HSSFCell.java 17 Feb 2005 05:35:50 -  1.29
  +++ HSSFCell.java 20 May 2005 09:13:14 -  1.30
  @@ -30,6 +30,9 @@
   import org.apache.poi.hssf.record.aggregates.FormulaRecordAggregate;
   import org.apache.poi.hssf.record.formula.Ptg;
   
  +import java.text.DateFormat;
  +import java.text.DecimalFormat;
  +import java.text.SimpleDateFormat;
   import java.util.Calendar;
   import java.util.Date;
   
  @@ -38,13 +41,12 @@
* Cells can be numeric, formula-based or string-based (text).  The cell type
* specifies this.  String cells cannot conatin numbers and numeric cells 
cannot
* contain strings (at least according to our model).  Client apps should do 
the
  - * conversions themselves.  Formula cells are treated like string cells, 
simply
  - * containing a formula string.  They'll be rendered differently.
  + * conversions themselves.  Formula cells have the formula string, as well 
as 
  + * the formula result, which can be numeric or string. 
* 
* Cells should have their number (0 based) before being added to a row.  
Only
* cells that have values should be added.
* 
  - * NOTE: the alpha won't be implementing formulas
*
* @author  Andrew C. Oliver (acoliver at apache dot org)
* @author  Dan Sherman (dsherman at isisph.com)
  @@ -942,4 +944,41 @@
   this.sheet.setActiveCellRow(this.row);
   this.sheet.setActiveCellCol(this.cellNum);
   }
  +
  +/**
  + * Returns a string representation of the cell
  + * 
  + * This method returns a simple representation, 
  + * anthing more complex should be in user code, with
  + * knowledge of the semantics of the sheet being processed. 
  + * 
  + * Formula cells return the formula string, 
  + * rather than the formula result. 
  + * Dates are displayed in dd-MMM- format
  + * Errors are displayed as #ERR
  + */
  +public String toString() {
  + switch (getCellType()) {
  + case CELL_TYPE_BLANK:
  + return "";
  + case CELL_TYPE_BOOLEAN:
  + return getBooleanCellValue()?"TRUE":"FALSE";
  + case CELL_TYPE_ERROR:
  + return "#ERR"+getErrorCellValue();
  + case CELL_TYPE_FORMULA:
  + return getCellFormula();
  + case CELL_TYPE_NUMERIC:
  + //TODO apply the dataformat for this cell
  + if (HSSFDateUtil.isCellDateFormatted(this)) {
  + DateFormat sdf = new 
SimpleDateFormat("dd-MMM-");
  + return sdf.format(getDateCellValue());
  + }else {
  + return  getNumericCellValue() + "";
  + }
  + case CELL_TYPE_STRING:
  + return getStringCellValue();
  + default:
  + return "Unknown Cell Type: " + getCellType();
  + }
  +}
   }
  
  
  
  1.13  +36 -0 
jakarta-poi/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFCell.java
  
  Index: TestHSSFCell.java
  ===
  RCS file: 
/home/cvs/jakarta-poi/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFCell.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- TestHSSFCell.java 12 Oct 2004 05:49:01 -  1.12
  +++ TestHSSFCell.java 20 May 2005 09:13:14 -  1.13
  @@ -244,6 +244,42 @@
   in.close();
   }
   
  +/*tests the toString() method of HSSFCell*/
  +public void testToString() throws Exception {
  + HSSFWorkbook wb = new HSSFWorkbook();
  + HSSFSheet s = wb.createSheet("Sheet1");
  + HSSFRow r = s.createRow(0);
  + HSSFCell c;
  + c=r.createCell((short) 0); c.setCellValue(true);
  + assertEquals("Boolean", "TRUE", c.toString());
  + c=r.createCell((short) 1); c.setCellValue(1.5);
  + assertEquals("Numeric", "1.5", c.toString());
  + c=r.createCell((short)(2)); c.setCellValue("Astring");
  + assertEquals("String", "A

DO NOT REPLY [Bug 19294] - [RFE] toString() for the HSSFCell

2005-05-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=19294


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2005-05-20 11:14 ---
Comitted, with some modifications. Thanks. 

Testcase added. Would have been much faster is there was a testcase along with
this. 

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/



DO NOT REPLY [Bug 21876] - java.lang.OutOfMemoryError: unable to create new native thread

2005-05-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=21876


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID




--- Additional Comments From [EMAIL PROTECTED]  2005-05-20 11:47 ---
Doesnt look like a POI issue. POI does have memory issues, but this is not one
of them, I think. 

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/



DO NOT REPLY [Bug 24381] - ClassCastException in HSSF Cell - getCellFormula()

2005-05-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=24381


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID




--- Additional Comments From [EMAIL PROTECTED]  2005-05-20 11:51 ---
I'm sorry, but this is impossible to debug. I can see lots of cases where 

cell.setCellFormula(row.getCell().getCellFormula());

works perfectly. You need to provide your case where it doesnt work. 

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/



DO NOT REPLY [Bug 24645] - Problem with the national characters

2005-05-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=24645


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |NEEDINFO




--- Additional Comments From [EMAIL PROTECTED]  2005-05-20 11:53 ---
Can you provide some more details on what exactly you are trying to do, and what
fails? What do you mean by "can not be encoded"?

It would greatly help in debugging if you can provide the erroneous excel sheet
and a simplified test case. 



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/



DO NOT REPLY [Bug 25039] - Richtext - Exception is flow when I access to the excel file using HSSF

2005-05-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=25039


[EMAIL PROTECTED] changed:

   What|Removed |Added

Summary|Exception is flow when I|Richtext - Exception is flow
   |access to the excel file|when I access to the excel
   |using HSSF  |file using HSSF




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/



DO NOT REPLY [Bug 25769] - HSSFRow.getCell() returns null for cell with formula.

2005-05-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=25769


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||INVALID




--- Additional Comments From [EMAIL PROTECTED]  2005-05-20 11:58 ---
This is not a bug in Excel for the last two years. Please do not reopen. 

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/



Unicode in Header/Footer

2005-05-20 Thread Avik Sengupta
I  believe this was fixed.. can someone please confirm?
http://issues.apache.org/bugzilla/show_bug.cgi?id=22873
-- 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/



DO NOT REPLY [Bug 27386] - CellType will be set to BLANK if the value is not contained in cell.

2005-05-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27386


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID




--- Additional Comments From [EMAIL PROTECTED]  2005-05-20 12:13 ---
This behaviour is correct! If you have a use case that required a different
behavious, please discuss on the mailing lists. 

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/



DO NOT REPLY [Bug 16410] - Exception when using HSSFCell.setCellType to change cell type of existing cell

2005-05-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=16410


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID




--- Additional Comments From [EMAIL PROTECTED]  2005-05-20 11:41 ---
Not a bug. In respect of the original issue, i think setCellValue should be
marked as deprecated, since its use from outside is fraught with strange 
semantics. 

In respect of Comment #3, that is an incorrect way of using the API. Please see
the documentation, or ask on the user mailing list. 

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/



DO NOT REPLY [Bug 26894] - Formula string length limitation (unsigned error)

2005-05-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=26894


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE




--- Additional Comments From [EMAIL PROTECTED]  2005-05-20 12:11 ---


*** This bug has been marked as a duplicate of 26100 ***

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/



DO NOT REPLY [Bug 26100] - 128-character message in IF statement cell causes HSSFWorkbook open failure

2005-05-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=26100


[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]




--- Additional Comments From [EMAIL PROTECTED]  2005-05-20 12:11 ---
*** Bug 26894 has been marked as a duplicate of this bug. ***

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/



DO NOT REPLY [Bug 26150] - HSSFDateUtil.isCellDateFormatted return false value

2005-05-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=26150


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |NEEDINFO




--- Additional Comments From [EMAIL PROTECTED]  2005-05-20 12:10 ---
Example code please. In general, this works fine!

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/



DO NOT REPLY [Bug 25256] - Exception in thread "main" java.lang.NoSuchMethodError is recieved when running POI 1.5.1 on w2k 5.x service pack 3

2005-05-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=25256


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID




--- Additional Comments From [EMAIL PROTECTED]  2005-05-20 11:55 ---
Not a poi bug, sorry. 

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/



DO NOT REPLY [Bug 26949] - NullPointerException on the creation of a workbook

2005-05-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=26949


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |NEEDINFO




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/



cvs commit: jakarta-poi/legal LICENSE LICENSE.ant LICENSE.apache LICENSE.commons-logging LICENSE.xalan LICENSE.xerces LICENSE.xml-apis

2005-05-20 Thread avik
avik2005/05/20 04:21:01

  Modified:legalLICENSE
  Removed: legalLICENSE.ant LICENSE.apache LICENSE.commons-logging
LICENSE.xalan LICENSE.xerces LICENSE.xml-apis
  Log:
  licensing as per http://www.apache.org/dev/apply-license.html
  
  Revision  ChangesPath
  1.3   +190 -3jakarta-poi/legal/LICENSE
  
  Index: LICENSE
  ===
  RCS file: /home/cvs/jakarta-poi/legal/LICENSE,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- LICENSE   9 Apr 2004 13:05:08 -   1.2
  +++ LICENSE   20 May 2005 11:21:01 -  1.3
  @@ -1,5 +1,193 @@
  -/* 
  -   Copyright 2002-2004   Apache Software Foundation
  +
  + Apache License
  +   Version 2.0, January 2004
  +http://www.apache.org/licenses/
  +
  +   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
  +
  +   1. Definitions.
  +
  +  "License" shall mean the terms and conditions for use, reproduction,
  +  and distribution as defined by Sections 1 through 9 of this document.
  +
  +  "Licensor" shall mean the copyright owner or entity authorized by
  +  the copyright owner that is granting the License.
  +
  +  "Legal Entity" shall mean the union of the acting entity and all
  +  other entities that control, are controlled by, or are under common
  +  control with that entity. For the purposes of this definition,
  +  "control" means (i) the power, direct or indirect, to cause the
  +  direction or management of such entity, whether by contract or
  +  otherwise, or (ii) ownership of fifty percent (50%) or more of the
  +  outstanding shares, or (iii) beneficial ownership of such entity.
  +
  +  "You" (or "Your") shall mean an individual or Legal Entity
  +  exercising permissions granted by this License.
  +
  +  "Source" form shall mean the preferred form for making modifications,
  +  including but not limited to software source code, documentation
  +  source, and configuration files.
  +
  +  "Object" form shall mean any form resulting from mechanical
  +  transformation or translation of a Source form, including but
  +  not limited to compiled object code, generated documentation,
  +  and conversions to other media types.
  +
  +  "Work" shall mean the work of authorship, whether in Source or
  +  Object form, made available under the License, as indicated by a
  +  copyright notice that is included in or attached to the work
  +  (an example is provided in the Appendix below).
  +
  +  "Derivative Works" shall mean any work, whether in Source or Object
  +  form, that is based on (or derived from) the Work and for which the
  +  editorial revisions, annotations, elaborations, or other modifications
  +  represent, as a whole, an original work of authorship. For the purposes
  +  of this License, Derivative Works shall not include works that remain
  +  separable from, or merely link (or bind by name) to the interfaces of,
  +  the Work and Derivative Works thereof.
  +
  +  "Contribution" shall mean any work of authorship, including
  +  the original version of the Work and any modifications or additions
  +  to that Work or Derivative Works thereof, that is intentionally
  +  submitted to Licensor for inclusion in the Work by the copyright owner
  +  or by an individual or Legal Entity authorized to submit on behalf of
  +  the copyright owner. For the purposes of this definition, "submitted"
  +  means any form of electronic, verbal, or written communication sent
  +  to the Licensor or its representatives, including but not limited to
  +  communication on electronic mailing lists, source code control systems,
  +  and issue tracking systems that are managed by, or on behalf of, the
  +  Licensor for the purpose of discussing and improving the Work, but
  +  excluding communication that is conspicuously marked or otherwise
  +  designated in writing by the copyright owner as "Not a Contribution."
  +
  +  "Contributor" shall mean Licensor and any individual or Legal Entity
  +  on behalf of whom a Contribution has been received by Licensor and
  +  subsequently incorporated within the Work.
  +
  +   2. Grant of Copyright License. Subject to the terms and conditions of
  +  this License, each Contributor hereby grants to You a perpetual,
  +  worldwide, non-exclusive, no-charge, royalty-free, irrevocable
  +  copyright license to reproduce, prepare Derivative Works of,
  +  publicly display, publicly perform, sublicense, and distribute the
  +  Work and such Derivative Works in Source or Object form.
  +
  +   3. Grant of Patent Licens

cvs commit: jakarta-poi/legal NOTICE

2005-05-20 Thread avik
avik2005/05/20 04:26:17

  Added:   legalNOTICE
  Log:
  licensing as per http://www.apache.org/dev/apply-license.html
  
  Revision  ChangesPath
  1.1  jakarta-poi/legal/NOTICE
  
  Index: NOTICE
  ===
  This product includes software developed by
  The Apache Software Foundation (http://www.apache.org/).
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/



DO NOT REPLY [Bug 27410] - [POI 2.5-final] - Missing POI License file in the distribution

2005-05-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27410


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2005-05-20 13:27 ---
will be correct for next build. 

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/



DO NOT REPLY [Bug 27445] - I get Array index out of range when I inquiry on the cell format of a cell where the style is 165

2005-05-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27445


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|REOPENED|NEEDINFO




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/



DO NOT REPLY [Bug 27410] - [POI 2.5-final] - Missing POI License file in the distribution

2005-05-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27410


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|RESOLVED|CLOSED




--- Additional Comments From [EMAIL PROTECTED]  2005-05-20 13:30 ---
Thanks. :-)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/



DO NOT REPLY [Bug 34944] - [PATCH] Add test case to TestFormulaParser for 3D refs

2005-05-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34944





--- Additional Comments From [EMAIL PROTECTED]  2005-05-20 13:33 ---
Ok, I get your usecase, and POI as it stands does not support this. And I am not
sure if I like any of the suggested solutions. 

I'd thought of something like this a long time ago, and my preferred option was
to actually build a high level api for the formulas, so a method in HSSFCell
that would return the parsed formula, as an array of, for eg, CellReference
objects and HSSFFormulaOp(sic) objects. You could then traverse the tree. 

Actually, with Amol's work, what I call the HSSFFormulaOp, could very well be
his Eval objects. It could all be tied up nicely. 

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/



cvs commit: jakarta-poi build.xml

2005-05-20 Thread avik
avik2005/05/20 04:26:59

  Modified:.build.xml
  Log:
  licensing as per http://www.apache.org/dev/apply-license.html
  
  Revision  ChangesPath
  1.73  +4 -0  jakarta-poi/build.xml
  
  Index: build.xml
  ===
  RCS file: /home/cvs/jakarta-poi/build.xml,v
  retrieving revision 1.72
  retrieving revision 1.73
  diff -u -r1.72 -r1.73
  --- build.xml 19 May 2005 12:03:41 -  1.72
  +++ build.xml 20 May 2005 11:26:59 -  1.73
  @@ -814,6 +814,7 @@
   description="Creates the entire distribution into build/dist">
   
   
  +  
 
 
 
  @@ -822,6 +823,7 @@
   
   
   
  +  
 
 
   
  @@ -834,6 +836,7 @@
   
   
  +  
 
 
 
  @@ -843,6 +846,7 @@
   
   
  +  
 
 
   
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/



DO NOT REPLY [Bug 28952] - Save As of generated file cause Excel crash

2005-05-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28952


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2005-05-20 13:35 ---
Poster says "Case closed". The bug of duplicate sheet names has also been 
fixed. 

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/



DO NOT REPLY [Bug 29262] - org.apache.poi.hssf.record.FormatRecord.field_1_index_code has value of -1.

2005-05-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29262





--- Additional Comments From [EMAIL PROTECTED]  2005-05-20 13:40 ---
Could you tell us how this file was created? 

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/



DO NOT REPLY [Bug 34944] - [PATCH] Add test case to TestFormulaParser for 3D refs

2005-05-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34944





--- Additional Comments From [EMAIL PROTECTED]  2005-05-20 13:42 ---
Works for me.  The only thing I really need is access to the Ptg array that the
formula parser returns, manipulate it, and send it to
FormulaParser.toFormulaString().  Doing that through the cell (along with stuff
like getCellFormula()) makes sense to me.  Not sure how you'd implement the ptg
-> string part though but cell -> pgts seems easy.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/



DO NOT REPLY [Bug 28772] - Excel file causes InvocationTargetException

2005-05-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28772





--- Additional Comments From [EMAIL PROTECTED]  2005-05-20 13:45 ---
testcase in UnfixedBugs. similar to bug 34575

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/



DO NOT REPLY [Bug 16936] - [RFE] Setting background color for entire row

2005-05-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=16936





--- Additional Comments From [EMAIL PROTECTED]  2005-05-20 11:43 ---
Anybody have an idea how to do this? Does row record have a relevant field?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/



DO NOT REPLY [Bug 33317] - wrong column count (lastcol & dimensions)

2005-05-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33317





--- Additional Comments From [EMAIL PROTECTED]  2005-05-20 15:27 ---
Sorry, dont understand what exactly the issue is here. Can you provide some
small piece of code with expected and actual results. thanks. 

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/



DO NOT REPLY [Bug 16936] - [RFE] Setting background color for entire row

2005-05-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=16936





--- Additional Comments From [EMAIL PROTECTED]  2005-05-20 18:01 ---
Created an attachment (id=15091)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=15091&action=view)
[PATCH] allows setting the style for the entire row

There is an ExtendedFormatRecord for the RowRecord corresponding to HSSFRow
instance. The user api did not allow a way to set this. Thus 2 functions have
been added to HSSFRow: set/getRowStyle(HSSFCellStyle) to enable this. TestCases
included (based on test cases for HSSFCellStyle)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/



DO NOT REPLY [Bug 33557] - Initial PowerPoint Support

2005-05-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33557





--- Additional Comments From [EMAIL PROTECTED]  2005-05-20 17:27 ---
Created an attachment (id=15090)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=15090&action=view)
Quick guide to using the PowerPoint code

Basic introduction to using the PowerPoint code. Describes how to extract text,
how to change text, warnings about changing test, how to get Slides, key
classes etc.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/



DO NOT REPLY [Bug 33557] - Initial PowerPoint Support

2005-05-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33557


[EMAIL PROTECTED] changed:

   What|Removed |Added

  Attachment #14825|0   |1
is obsolete||




--- Additional Comments From [EMAIL PROTECTED]  2005-05-20 17:24 ---
Created an attachment (id=15088)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=15088&action=view)
Next version of PPT supprt

Much better usermodel and model code. Several bug fixes, and improved text
extraction

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/



RE: data format

2005-05-20 Thread Laubach Shawn Contr 327 CSSG/GFSL
Get an instance of the formatter then pass in the format index from the cell
style.

http://jakarta.apache.org/poi/apidocs/org/apache/poi/hssf/usermodel/HSSFData
Format.html#getFormat(short)

http://jakarta.apache.org/poi/apidocs/org/apache/poi/hssf/usermodel/HSSFWork
book.html#createDataFormat()

http://jakarta.apache.org/poi/apidocs/org/apache/poi/hssf/usermodel/HSSFCell
Style.html#getDataFormat()

Shawn

-Original Message-
From: Avik Sengupta [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 20, 2005 3:03 AM
To: poi-dev@jakarta.apache.org
Subject: data format

Dumb question:

How does one get the data format of an existing cell (ie, excel file
read in by POI) as a string (ie, as '#0.00') 

TIA
-
Avik



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/



DO NOT REPLY [Bug 16936] - [RFE] Setting background color for entire row

2005-05-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=16936





--- Additional Comments From [EMAIL PROTECTED]  2005-05-20 19:12 ---
Thanks Amol, that was impressively fast... but it doesnt seem the patch will
read in an existing style from a workbook. I think the HSSFRow should not keep a
reference to HSSFStyle, rather construct it on demand from the XF record. That
should allow returning existing styles. How does HSSFCell.getCellStyle() work? 



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/



DO NOT REPLY [Bug 33557] - Initial PowerPoint Support

2005-05-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33557





--- Additional Comments From [EMAIL PROTECTED]  2005-05-20 17:25 ---
Created an attachment (id=15089)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=15089&action=view)
Unit tests for powerpoint code

First version of unit tests for powerpoint code. Tests writing out, text
extraction, and some parts of the record layer (but not yet all)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/



DO NOT REPLY [Bug 33557] - Initial PowerPoint Support

2005-05-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33557





--- Additional Comments From [EMAIL PROTECTED]  2005-05-20 20:04 ---
TestReWrite fails. Any ideas?

single-scratchpad-test:
[junit] Running org.apache.poi.hslf.TestReWrite
[junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.161 sec

[junit] Testsuite: org.apache.poi.hslf.TestReWrite
[junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.161 sec

[junit] Testcase: warning took 0.006 sec
[junit] FAILED
[junit] Exception in constructor: testWritesOutTheSame
(java.lang.NegativeArraySizeException
[junit] at
org.apache.poi.ddf.EscherClientAnchorRecord.fillFields(EscherClientAnchorRecord.java:74)
[junit] at
org.apache.poi.ddf.EscherContainerRecord.fillFields(EscherContainerRecord.java:55)
[junit] at
org.apache.poi.ddf.EscherContainerRecord.fillFields(EscherContainerRecord.java:55)
[junit] at
org.apache.poi.ddf.EscherContainerRecord.fillFields(EscherContainerRecord.java:55)
[junit] at
org.apache.poi.hslf.record.PPDrawing.findEscherChildren(PPDrawing.java:108)
[junit] at 
org.apache.poi.hslf.record.PPDrawing.(PPDrawing.java:85)
[junit] at
org.apache.poi.hslf.record.Record.createRecordForType(Record.java:159)
[junit] at
org.apache.poi.hslf.record.Record.findChildRecords(Record.java:102)
[junit] at
org.apache.poi.hslf.record.DummyRecordWithChildren.(DummyRecordWithChildren.java:50)
[junit] at
org.apache.poi.hslf.record.Record.createRecordForType(Record.java:155)
[junit] at
org.apache.poi.hslf.record.Record.findChildRecords(Record.java:102)
[junit] at 
org.apache.poi.hslf.HSLFSlideShow.readFIB(HSLFSlideShow.java:173)
[junit] at 
org.apache.poi.hslf.HSLFSlideShow.(HSLFSlideShow.java:102)
[junit] at org.apache.poi.hslf.TestReWrite.(TestReWrite.java:44)


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/



DO NOT REPLY [Bug 16936] - [RFE] Setting background color for entire row

2005-05-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=16936


[EMAIL PROTECTED] changed:

   What|Removed |Added

  Attachment #15091|0   |1
is obsolete||




--- Additional Comments From [EMAIL PROTECTED]  2005-05-20 20:30 ---
Created an attachment (id=15095)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=15095&action=view)
[PATCH] allows setting and retrieving style for entire row

Doh! thanks for pointing that out! Now the rowStyle is initialized in the
constructor (a la HSSFCell :) Modified the test case to show that retrieving
works.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/



[PATCH] - enhanced the HSSFCellStyle constants list

2005-05-20 Thread Andreas Engel
Hello out there,

i'm not sure this hits the right place. if thats the case please give an 
advice where to post instead.

while using the poi library for some time now i had to play around with excel 
cell styles, mainly the bgcolor attributes. so i realized that there are two 
constants missing: the lesser and least dotted styles. i added them to class 
HSSFCellStyle. someone should check the wording of the constant names.

please take this as a kind of test for further commitments to this project. 
any advice to meet common commitment rules is appreciated.

and last but not least ... the patch file:

thanks for your outstanding work
andreas engel, germany 
mail AT a-engel.de
? styleenhancement.patch
Index: src/java/org/apache/poi/hssf/usermodel/HSSFCellStyle.java
===
RCS file: /home/cvspublic/jakarta-poi/src/java/org/apache/poi/hssf/usermodel/HSSFCellStyle.java,v
retrieving revision 1.15
diff -u -r1.15 HSSFCellStyle.java
--- src/java/org/apache/poi/hssf/usermodel/HSSFCellStyle.java	23 Aug 2004 08:52:42 -	1.15
+++ src/java/org/apache/poi/hssf/usermodel/HSSFCellStyle.java	18 May 2005 17:38:56 -
@@ -221,6 +221,10 @@
 public final static short SQUARES = 15 ;
 /**  Diamonds */
 public final static short DIAMONDS= 16 ;
+/**  Less Dots */
+public final static short LESS_DOTS   = 17 ;
+/**  Least Dots */
+public final static short LEAST_DOTS  = 18 ;
 
 
 /** Creates new HSSFCellStyle why would you want to do this?? */

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/