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

2004-03-03 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=27410

[POI 2.5-final] - Missing POI License file in the distribution





--- Additional Comments From [EMAIL PROTECTED]  2004-03-04 06:39 ---
Also in the POI CVS the ASL 2.0 is not there:

http://cvs.apache.org/viewcvs.cgi/jakarta-poi/legal/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-poi/src/scratchpad/src/org/apache/poi/hwpf/model TextPiece.java

2004-03-03 Thread sackley
sackley 2004/03/03 20:31:16

  Modified:src/scratchpad/src/org/apache/poi/hwpf/model TextPiece.java
  Log:
  trying to bring textmining.org up to sync
  
  Revision  ChangesPath
  1.2   +7 -0  
jakarta-poi/src/scratchpad/src/org/apache/poi/hwpf/model/TextPiece.java
  
  Index: TextPiece.java
  ===
  RCS file: 
/home/cvs/jakarta-poi/src/scratchpad/src/org/apache/poi/hwpf/model/TextPiece.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TextPiece.java2 Mar 2004 06:22:01 -   1.1
  +++ TextPiece.java4 Mar 2004 04:31:16 -   1.2
  @@ -116,6 +116,13 @@
   
  }
   
  +   public String substring(int start, int end)
  +   {
  + int denominator = _usesUnicode ? 2 : 1;
  +
  + return ((StringBuffer)_buf).substring(start/denominator, end/denominator);
  +   }
  +
  public boolean equals(Object o)
  {
if (limitsAreEqual(o))
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-poi/src/scratchpad/src/org/apache/poi/hwpf/model GenericPropertyNode.java

2004-03-03 Thread sackley
sackley 2004/03/03 20:30:46

  Modified:src/scratchpad/src/org/apache/poi/hwpf/model
GenericPropertyNode.java
  Log:
  trying to bring textmining.org up to sync
  
  Revision  ChangesPath
  1.2   +1 -1  
jakarta-poi/src/scratchpad/src/org/apache/poi/hwpf/model/GenericPropertyNode.java
  
  Index: GenericPropertyNode.java
  ===
  RCS file: 
/home/cvs/jakarta-poi/src/scratchpad/src/org/apache/poi/hwpf/model/GenericPropertyNode.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- GenericPropertyNode.java  2 Mar 2004 06:22:01 -   1.1
  +++ GenericPropertyNode.java  4 Mar 2004 04:30:46 -   1.2
  @@ -8,7 +8,7 @@
   super(start, end, buf);
 }
   
  -  protected byte[] getBytes()
  +  public byte[] getBytes()
 {
   return (byte[])_buf;
 }
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Warning about your e-mail account.

2004-03-03 Thread Glen Stampoultzis
I got the same thing in my email today. :-(

-- Glen

At 02:48 AM 4/03/2004, Avik Sengupta wrote:
Folks,

I have no clue how this message got into the list... I certainly didn't
moderate it in.. and I cant believe '[EMAIL PROTECTED]' (duh!) is a
member of the list.  I'll ask the infrastructure people if we can stop
this. Apparently the new Beagle worm is smart enough to send messages
tuned to the recipient's email address!!
Regards
-
Avik
On Wed, 2004-03-03 at 21:18, [EMAIL PROTECTED] wrote:
> Dear user of e-mail server  "Apache.org",
>
> We  warn you about  some  attacks  on your  e-mail account. Your 
computer may
> contain  viruses, in order to keep  your computer and e-mail account  safe,
> please,  follow the instructions.
>
> For details see the attached file.
>
> Sincerely,
> The Apache.org team http://www.apache.org
>
>
> __
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Glen Stampoultzis
[EMAIL PROTECTED]
http://members.iinet.net.au/~gstamp/glen/


Re: Warning about your e-mail account.

2004-03-03 Thread Avik Sengupta
Folks, 

I have no clue how this message got into the list... I certainly didn't
moderate it in.. and I cant believe '[EMAIL PROTECTED]' (duh!) is a
member of the list.  I'll ask the infrastructure people if we can stop
this. Apparently the new Beagle worm is smart enough to send messages
tuned to the recipient's email address!!

Regards
-
Avik


On Wed, 2004-03-03 at 21:18, [EMAIL PROTECTED] wrote:
> Dear user of e-mail server  "Apache.org",
> 
> We  warn you about  some  attacks  on your  e-mail account. Your computer may
> contain  viruses, in order to keep  your computer and e-mail account  safe,
> please,  follow the instructions.
> 
> For details see the attached file.
> 
> Sincerely,
> The Apache.org team http://www.apache.org
> 
> 
> __
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: first hwpf changes - word 2000 24bit colour

2004-03-03 Thread Ryan Ackley

> not sure how to regen stuff from the XML either. Do you have an RTFM link
> for that?

We use xalan and xsl to do transformations. The xsl files are in
src/types/styles. Unfortunately the classpath is spread out. I have it set
up in JBuilder so I don't know it off the top of my head. You can also use
the ant build file do it. There is a build target for generating the
records.

-Ryan


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Warning about your e-mail account.

2004-03-03 Thread management
Dear user of e-mail server  "Apache.org",

We  warn you about  some  attacks  on your  e-mail account. Your computer may
contain  viruses, in order to keep  your computer and e-mail account  safe,
please,  follow the instructions.

For details see the attached file.

Sincerely,
The Apache.org team http://www.apache.org

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: first hwpf changes - word 2000 24bit colour

2004-03-03 Thread Ryan Ackley
Pier, good to hear from you :-), I will integrate these changes tonight.

In the future, create an issue in bugzilla with the phrase "[PATCH]" as a
prefix. Also, submit changes as cvs diff files. see this link:
http://jakarta.apache.org/site/source.html#Patches . Also, email me on the
poi-dev list so others can get the benefit of our discussions.

Don't mess with the CHPAbstractType.java, it is a generated file. You should
change the xml file, it is in src/types/definitions. I may convert the
generated code into hand-written code, most of the records that could
benefit from doing this way need special handling anyway. It is becoming
more trouble than its worth.

A CharacterRun has CharacterProperties. They have similar methods but they
do different things. I am in the process of writing documentation that will
explain it. I do need to remove some of the constants from
CharacterProperties though.

-Ryan

- Original Message - 
From: "Piers Taylor" <[EMAIL PROTECTED]>
To: "'Ryan Ackley'" <[EMAIL PROTECTED]>
Sent: Wednesday, March 03, 2004 9:48 AM
Subject: first hwpf changes - word 2000 24bit colour


> Hi Ryan,
>
> How's it going?
>
> Please find attached the following files,
> which have the noted changes.
>
> There is one bug fix in which an incorrect
> cast was causing unsigned values placed in
> a signed context to come out as incorrect
> negative numbers.
>
> File:
>
> org/apache/poi/util/LittleEndian.java
>   Replaced incorrect (short) cast with correct (int) cast.
>
>
> The rest of the changes relate to implementing
> Word 2000+ 24 bit colour (sprm 0x6870), which
> in a real world word document sits alongside the
> 16 colour lookup based ico (sprm 0x2A42). We have
> called this new property ico24.
>
> Files:
>
> org/apache/poi/hwpf/usermodel/CharacterProperties.java
> org/apache/poi/hwpf/usermodel/CharacterRun.java
>   Implemented ico24 24bit colour 0xBBGGRR value.
>
>   NOTE: We did not implement this in CHPAbstractType because
>   it was not clear how this should work and the comment in
>   the file seemed a bit misleading. Can you enlighten us?
>
>   QUERY: these two files are very similar - is one of them being
>   phased out?
>
>
> org/apache/poi/hwpf/sprm/CharacterSprmUncompressor.java
> org/apache/poi/hwpf/sprm/CharacterSprmCompressor.java
>   Added handling for sprm 0x6870 that handles ico24
>   24bit colour 0xBBGGRR value.
>
>
> Regards,
>Piers
>
> Piers Taylor - Senior Developer
> Goss Interactive Ltd
> http://www.gossinteractive.com
> Telephone: +44 1752 517350
>
> 
> --
> This e-mail contains proprietary information, some or all of
> which may be legally privileged. It is for the intended recipient
> only. If an addressing or transmission error has misdirected this
> e-mail, please notify the author by replying to this e-mail.
> If you are not the intended recipient you may not use, disclose,
> distribute, copy, print or rely on this e-mail.
>
> Email transmission cannot be guaranteed to be secure or error free
> as  information may be intercepted, corrupted, lost, destroyed,
> arrive late or incomplete or contain viruses. This email and any
> files attached to it have been checked with virus detection software
> before transmission. You should nonetheless carry out your own virus
> check before opening any attachment. Goss Interactive Ltd accepts no
> liability for any loss or damage which may be caused by software
> viruses.
>
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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

2004-03-03 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=27410

[POI 2.5-final] - Missing POI License file in the distribution

   Summary: [POI 2.5-final] - Missing POI License file in the
distribution
   Product: POI
   Version: 3.0-dev
  Platform: All
OS/Version: All
Status: NEW
  Severity: Major
  Priority: Other
 Component: POI Overall
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


Inside the distributed file: poi-bin-2.5-final-20040302.tar.gz

There is no License file related to POI.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 27405] New: - isnumber() formula always evaluates to false in if statement

2004-03-03 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=27405

isnumber() formula always evaluates to false in if statement

   Summary: isnumber() formula always evaluates to false in if
statement
   Product: POI
   Version: 2.0FINAL
  Platform: PC
OS/Version: Windows XP
Status: NEW
  Severity: Normal
  Priority: Other
 Component: HSSF
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


isnumber(), isblank(), istext(), all evaluate correctly when used in cell 
formulas on their own. However if they are placed in if statements, ( if( 
isnumber(a1),a1,a2) for example) the result is always false (i.e. the second 
term).

This is still the case in version 2.5

The following code fragment illustrates the problem, creating sheet with 4 
cells, B1 & B2 initially set to 1 and 999, and B5 & B6 containing isnumber
(b1), and if(isnumber(b1), b1, b2) respectively.

B5 always reflects the state of b1, but b6 always shows the value in b2. 
Editing the formula in excel "fixes" the problem.

HSSFWorkbook wb = new HSSFWorkbook( );
HSSFSheet sheet = wb.createSheet("input");
// input row 0
HSSFRow row = sheet.createRow((short)0);
HSSFCell cell=row.createCell((short)0);
cell = row.createCell((short) 1);
cell.setCellValue(1);
// input row 1
row = sheet.createRow((short)1);
cell = row.createCell((short)1);
cell.setCellValue(999);

int rno = 4;
row = sheet.createRow(rno);
cell = row.createCell((short)1);
cell.setCellFormula("isnumber(b1)");
cell = row.createCell((short)3);
cell.setCellFormula("IF(ISNUMBER(b1),b1,b2)");

try{
  FileOutputStream fileOut = new FileOutputStream("c:\\workbook.xls");
  wb.write(fileOut);
  }
catch (IOException e) {System.err.println("Error in write 
xl: "+e.getMessage()); }

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[ANN] POI 2.5 FINAL Released

2004-03-03 Thread Glen Stampoultzis
ANNOUNCEMENT:

The POI Team is proud to announce the immediate availability of the Jakarta
POI 2.5-FINAL release.
WHAT IS POI?

The POI project consists of APIs for manipulating various file formats
based upon Microsoft's OLE 2 Compound Document format using pure Java.
Support for reading and writing Microsoft Excel files and property
information is mature and work continues on reading and writing the
MS Word format.
You can find the website at http://jakarta.apache.org/poi/

NEW LICENSE:

This release is has upgraded it's license to version 2.0 of the Apache 
Software Foundation License.  See http://www.apache.org/licenses/ for more 
details.

CHANGE LOG:

The following major changes have occurred since the 2.0 release:

HSSF (for reading and writing spreadsheets):
 * Support for the Escher format in spreadsheets.  In other words you can 
now create shapes inside sheets.
 * BUG: 27005 java.lang.IndexOutOfBoundsException during Workbook.cloneSheet()

DOWNLOADS (source and binaries):

http://www.apache.org/dyn/closer.cgi/jakarta/poi/



Regards,

The Jakarta POI Team.








cvs commit: jakarta-poi build.xml

2004-03-03 Thread glens
glens   2004/03/03 02:55:08

  Modified:.Tag: REL_2_BRANCH build.xml
  Log:
  Updated build number
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.41.2.12 +1 -1  jakarta-poi/build.xml
  
  Index: build.xml
  ===
  RCS file: /home/cvs/jakarta-poi/build.xml,v
  retrieving revision 1.41.2.11
  retrieving revision 1.41.2.12
  diff -u -r1.41.2.11 -r1.41.2.12
  --- build.xml 28 Feb 2004 12:55:54 -  1.41.2.11
  +++ build.xml 3 Mar 2004 10:55:08 -   1.41.2.12
  @@ -89,7 +89,7 @@
   
   
   
  -
  +
   
   
   
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]