DO NOT REPLY [Bug 14824] - Unable to modify empty sheets

2003-09-23 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14824.
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=14824

Unable to modify empty sheets





--- Additional Comments From [EMAIL PROTECTED]  2003-09-23 06:32 ---
Confirming that your fix resolves the problem. However I haven't tested it with
more complex example, only with code listed above.
Additional note: output file is slightly smaller then input file (13312 bytes
comparing with original 13824 bytes).

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



FW: Advert police strikes again

2003-09-23 Thread Andrew C. Oliver

-- 
Andrew C. Oliver
http://www.superlinksoftware.com/poi.jsp
Custom enhancements and Commercial Implementation for Jakarta POI

http://jakarta.apache.org/poi
For Java and Excel, Got POI?

The views expressed in this email are those of the author and are almost
definitely not shared by the Apache Software Foundation, its board or its
general membership.  In fact they probably most definitively disagree with
everything espoused in the above email.

-- Forwarded Message

Hello all,

According to the latest report from the Apache Advert Police (AAP),
many of top level projects as well as subprojects have added an advert
icon linking to ApacheCon US 2003. Thanks everyone.

Unfortunately, some projects still have not added any advertising
related to AC 2003. For the foundation's benefit, please fix this as
soon as possible. We still need to make a collective effort to make
ApacheCon 2003 a success.

Moreover, some projects have added an advert on few pages but not all
pages. For maximum impact, I believe that all project pages should
contain an AC 2003 advert. Having the advert on select pages is good,
on all pages even better!

For projects using Maven here is the procedure to add an image to the
navigator:

  http://maven.apache.org/reference/plugins/xdoc/faq.html#navigation-images

I suppose there is a similar procedure available for Forrest.

For the set of available advert icons, please see:

   http://apache.org/~ceki/ac2003/


-- 
Ceki Gülcü

  import org.apache.Facetime;
  ApacheCon US 2003, 18-21 November http://apachecon.com/



-- End of Forwarded Message


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



[PATCH] Re: Advert police strikes again

2003-09-23 Thread Tetsuya Kitahata

(BI think you can do it by applying this patch.
(B
(BI also wanted to do this @ incubator-site, however,
(BI do not have a karma (and ROOT Meister did not give me
(Bsuch karma). -- sad --
(B
(BRegards,
(B
(B__ Tetsuya [EMAIL PROTECTED] __
(B
(B-
(BIndex: build.xml
(B===
(BRCS file: /home/cvs/jakarta-poi/build.xml,v
(Bretrieving revision 1.50
(Bdiff -u -r1.50 build.xml
(B--- build.xml   4 Sep 2003 19:52:11 -   1.50
(B+++ build.xml   23 Sep 2003 15:09:52 -
(B@@ -389,6 +389,12 @@
(B property name="project.home" location="${build.site.src}"/
(B /ant
(B 
(B+replace dir="${build.site}" value="lt;!--= start Menu items 
(B==--gt;lt;A 
(BHREF=quot;http://apachecon.com/2003/US/index.htmlquot;gt;lt;img 
(Bborder=quot;0quot; 
(Bsrc=quot;http://jakarta.apache.org/images/logos/ac2003-150.gifquot;/gt;lt;/Agt;"
(B+  include name="**/*.html"/
(B+  replacetokenlt;!--= start Menu items 
(B==--gt;/replacetoken
(B+/replace
(B+
(B+
(B echoBroken links:/echo
(B echo file="${build.site}/../tmp/brokenlinks.txt"/
(B 
(B-
(B
(BOn Tue, 23 Sep 2003 07:00:18 -0700
(B(Subject: FW: Advert police strikes again)
(B"Andrew C. Oliver" [EMAIL PROTECTED] wrote:
(B
(B 
(B -- 
(B Andrew C. Oliver
(B http://www.superlinksoftware.com/poi.jsp
(B Custom enhancements and Commercial Implementation for Jakarta POI
(B 
(B http://jakarta.apache.org/poi
(B For Java and Excel, Got POI?
(B 
(B The views expressed in this email are those of the author and are almost
(B definitely not shared by the Apache Software Foundation, its board or its
(B general membership.  In fact they probably most definitively disagree with
(B everything espoused in the above email.
(B 
(B -- Forwarded Message
(B 
(B Hello all,
(B 
(B According to the latest report from the Apache Advert Police (AAP),
(B many of top level projects as well as subprojects have added an advert
(B icon linking to ApacheCon US 2003. Thanks everyone.
(B 
(B Unfortunately, some projects still have not added any advertising
(B related to AC 2003. For the foundation's benefit, please fix this as
(B soon as possible. We still need to make a collective effort to make
(B ApacheCon 2003 a success.
(B 
(B Moreover, some projects have added an advert on few pages but not all
(B pages. For maximum impact, I believe that all project pages should
(B contain an AC 2003 advert. Having the advert on select pages is good,
(B on all pages even better!
(B 
(B For projects using Maven here is the procedure to add an image to the
(B navigator:
(B 
(B   http://maven.apache.org/reference/plugins/xdoc/faq.html#navigation-images
(B 
(B I suppose there is a similar procedure available for Forrest.
(B 
(B For the set of available advert icons, please see:
(B 
(Bhttp://apache.org/~ceki/ac2003/
(B 
(B 
(B -- 
(B Ceki G|lc|
(B 
(B   import org.apache.Facetime;
(B   ApacheCon US 2003, 18-21 November http://apachecon.com/
(B
(B---
(BTetsuya Kitahata --  Terra-International, Inc.
(BE-mail: [EMAIL PROTECTED]  http://www.terra-intl.com/
(B(Accredited Herrmann Brain Dominance Instrument Facilitator)
(Bhttp://www.hbdi.com/
(B
(B
(B
(B-
(BTo unsubscribe, e-mail: [EMAIL PROTECTED]
(BFor additional commands, e-mail: [EMAIL PROTECTED]

DO NOT REPLY [Bug 15556] - SSTDeserialise error (was: Unknown Ptg error occurrs)

2003-09-23 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15556.
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=15556

SSTDeserialise error (was: Unknown Ptg error occurrs)





--- Additional Comments From [EMAIL PROTECTED]  2003-09-23 15:48 ---
Check - bug still exists after recent changes for ExtSST by Jason ... boo hoo :(

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



DO NOT REPLY [Bug 15556] - SSTDeserialise error (was: Unknown Ptg error occurrs)

2003-09-23 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15556.
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=15556

SSTDeserialise error (was: Unknown Ptg error occurrs)





--- Additional Comments From [EMAIL PROTECTED]  2003-09-23 15:55 ---
See also bug 22742. Similar case, different workbook.

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



cvs commit: jakarta-poi build.xml

2003-09-23 Thread tetsuya
tetsuya 2003/09/23 09:00:45

  Modified:.build.xml
  Log:
  Added Link to Apachecon2003 (http://apachecon.com/2003/US/)
  
  Revision  ChangesPath
  1.51  +6 -0  jakarta-poi/build.xml
  
  Index: build.xml
  ===
  RCS file: /home/cvs/jakarta-poi/build.xml,v
  retrieving revision 1.50
  retrieving revision 1.51
  diff -u -r1.50 -r1.51
  --- build.xml 4 Sep 2003 19:52:11 -   1.50
  +++ build.xml 23 Sep 2003 16:00:45 -  1.51
  @@ -389,6 +389,12 @@
   property name=project.home location=${build.site.src}/
   /ant
   
  +replace dir=${build.site} value=lt;!--= start Menu items 
==--gt;lt;A 
HREF=quot;http://apachecon.com/2003/US/index.htmlquot;gt;lt;img 
border=quot;0quot; 
src=quot;http://jakarta.apache.org/images/logos/ac2003-150.gifquot;/gt;lt;/Agt;;
  +  include name=**/*.html/
  +  replacetokenlt;!--= start Menu items 
==--gt;/replacetoken
  +/replace
  +
  +
   echoBroken links:/echo
   echo file=${build.site}/../tmp/brokenlinks.txt/
   
  
  
  

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



DO NOT REPLY [Bug 23094] - FormulaParser cannot handle http:// inside a string literal

2003-09-23 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23094.
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=23094

FormulaParser cannot handle http://; inside a string literal

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID



--- Additional Comments From [EMAIL PROTECTED]  2003-09-23 18:44 ---
This works fine on 2.0 BRANCH. I have added two testcases as proof. HEAD is
hosed, but for different reasons. TestBugs.test23094() and
TestFormulaParser.testEmbeddedSlash()

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



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

2003-09-23 Thread avik
avik2003/09/23 11:42:40

  Modified:src/testcases/org/apache/poi/hssf/model Tag: REL_2_BRANCH
TestFormulaParser.java
   src/testcases/org/apache/poi/hssf/usermodel Tag:
REL_2_BRANCH TestBugs.java
  Log:
  testcases for bug 23094
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.7.2.2   +8 -0  
jakarta-poi/src/testcases/org/apache/poi/hssf/model/TestFormulaParser.java
  
  Index: TestFormulaParser.java
  ===
  RCS file: 
/home/cvs/jakarta-poi/src/testcases/org/apache/poi/hssf/model/TestFormulaParser.java,v
  retrieving revision 1.7.2.1
  retrieving revision 1.7.2.2
  diff -u -r1.7.2.1 -r1.7.2.2
  --- TestFormulaParser.java23 Aug 2003 19:40:05 -  1.7.2.1
  +++ TestFormulaParser.java23 Sep 2003 18:42:40 -  1.7.2.2
  @@ -297,6 +297,14 @@
   assertEquals(FOO, tname.toFormulaString(w));
   }
   
  +public void testEmbeddedSlash() {
  +FormulaParser fp = new 
FormulaParser(HYPERLINK(\http://www.jakarta.org\,\Jakarta\;);,null);
  +fp.parse();
  +Ptg[] ptg = fp.getRPNPtg();
  +assertTrue(first ptg is string,ptg[0] instanceof StringPtg);
  +assertTrue(second ptg is string,ptg[1] instanceof StringPtg);
  +
  +}
public static void main(String [] args) {
   System.out.println(Testing 
org.apache.poi.hssf.record.formula.FormulaParser);
   junit.textui.TestRunner.run(TestFormulaParser.class);
  
  
  
  No   revision
  No   revision
  1.1.2.4   +12 -0 
jakarta-poi/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java
  
  Index: TestBugs.java
  ===
  RCS file: 
/home/cvs/jakarta-poi/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java,v
  retrieving revision 1.1.2.3
  retrieving revision 1.1.2.4
  diff -u -r1.1.2.3 -r1.1.2.4
  --- TestBugs.java 23 Aug 2003 18:54:28 -  1.1.2.3
  +++ TestBugs.java 23 Sep 2003 18:42:40 -  1.1.2.4
  @@ -110,6 +110,18 @@
   
   }

  + public void test23094() throws Exception {
  + File file = File.createTempFile(test23094,.xls);
  + FileOutputStream out= new FileOutputStream(file);
  + HSSFWorkbook wb = new HSSFWorkbook();
  + HSSFSheets  = wb.createSheet();
  + HSSFRow r = s.createRow(0);
  + r.createCell((short)0).setCellFormula(HYPERLINK( 
\http://jakarta.apache.org\;, \Jakarta\ ));
  + assertTrue(No Exception expected,true);
  + wb.write(out);
  + out.close();
  + }
  + 
 
 
   
  
  
  

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



DO NOT REPLY [Bug 23094] - FormulaParser cannot handle http:// inside a string literal

2003-09-23 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23094.
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=23094

FormulaParser cannot handle http://; inside a string literal





--- Additional Comments From [EMAIL PROTECTED]  2003-09-23 18:49 ---
Actually, to clarify, the above testcases run fine on HEAD.. but other testcases
are hosed.

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



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

2003-09-23 Thread avik
avik2003/09/23 11:47:12

  Modified:src/testcases/org/apache/poi/hssf/model
TestFormulaParser.java
   src/testcases/org/apache/poi/hssf/usermodel TestBugs.java
  Log:
  testcases for bug 23094
  
  Revision  ChangesPath
  1.9   +9 -0  
jakarta-poi/src/testcases/org/apache/poi/hssf/model/TestFormulaParser.java
  
  Index: TestFormulaParser.java
  ===
  RCS file: 
/home/cvs/jakarta-poi/src/testcases/org/apache/poi/hssf/model/TestFormulaParser.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- TestFormulaParser.java31 Aug 2003 06:16:57 -  1.8
  +++ TestFormulaParser.java23 Sep 2003 18:47:12 -  1.9
  @@ -297,6 +297,15 @@
   assertEquals(FOO, tname.toFormulaString(w));
   }
   
  +public void testEmbeddedSlash() {
  +FormulaParser fp = new 
FormulaParser(HYPERLINK(\http://www.jakarta.org\,\Jakarta\;);,null);
  +fp.parse();
  +Ptg[] ptg = fp.getRPNPtg();
  +for (int i=0;iptg.length;i++) {System.out.println(ptg[i]);}
  +assertTrue(first ptg is string,ptg[0] instanceof StringPtg);
  +assertTrue(second ptg is string,ptg[1] instanceof StringPtg);
  +
  +}
public static void main(String [] args) {
   System.out.println(Testing 
org.apache.poi.hssf.record.formula.FormulaParser);
   junit.textui.TestRunner.run(TestFormulaParser.class);
  
  
  
  1.4   +13 -1 
jakarta-poi/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java
  
  Index: TestBugs.java
  ===
  RCS file: 
/home/cvs/jakarta-poi/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- TestBugs.java 31 Jul 2003 20:00:03 -  1.3
  +++ TestBugs.java 23 Sep 2003 18:47:12 -  1.4
  @@ -109,7 +109,19 @@
   
   }
  
  -}
   
   
  + public void test23094() throws Exception {
  + File file = File.createTempFile(test23094,.xls);
  +FileOutputStream out= new FileOutputStream(file);
  +HSSFWorkbook wb = new HSSFWorkbook();
  +HSSFSheets  = wb.createSheet();
  +HSSFRow r = s.createRow(0);
  +r.createCell((short)0).setCellFormula(HYPERLINK( 
\http://jakarta.apache.org\;, \Jakarta\ ));
  + assertTrue(No Exception expected,true);
  + wb.write(out);
  + out.close();
  + }
  +
   
  +}
  
  
  

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



Re: cvs commit: jakarta-poi build.xml

2003-09-23 Thread Glen Stampoultzis
BTW, just so you know.  I have an automated process rebuilding the website 
once a day so there's no need to push manually anymore.

Regards,

Glen

At 02:00 AM 24/09/2003, you wrote:
tetsuya 2003/09/23 09:00:45

  Modified:.build.xml
  Log:
  Added Link to Apachecon2003 (http://apachecon.com/2003/US/)
  Revision  ChangesPath
  1.51  +6 -0  jakarta-poi/build.xml
  Index: build.xml
  ===
  RCS file: /home/cvs/jakarta-poi/build.xml,v
  retrieving revision 1.50
  retrieving revision 1.51
  diff -u -r1.50 -r1.51
  --- build.xml 4 Sep 2003 19:52:11 -   1.50
  +++ build.xml 23 Sep 2003 16:00:45 -  1.51
  @@ -389,6 +389,12 @@
   property name=project.home location=${build.site.src}/
   /ant
  +replace dir=${build.site} value=lt;!--= start 
Menu items ==--gt;lt;A 
HREF=quot;http://apachecon.com/2003/US/index.htmlquot;gt;lt;img 
border=quot;0quot; 
src=quot;http://jakarta.apache.org/images/logos/ac2003-150.gifquot;/gt;lt;/Agt;;
  +  include name=**/*.html/
  +  replacetokenlt;!--= start Menu items 
==--gt;/replacetoken
  +/replace
  +
  +
   echoBroken links:/echo
   echo file=${build.site}/../tmp/brokenlinks.txt/





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


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