AW: Simple "Hello World" example

2004-03-18 Thread Karl-Heinz Zengerle
Hi Patrick. Look at http://jakarta.apache.org/poi/hssf/how-to.html read it exactly and there's a further link which contains that sample HSSF class. Regards,Karl-Heinz. -Ursprüngliche Nachricht- Von: Patrick Lightbody [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 18. März 200

RE: Simple "Hello World" example

2004-03-18 Thread Patrick Lightbody
Aaahh, so there _are_ docs, they just weren't where I expected them to be. In fact, it wasn't clear that HSSF would have its own docs (separate from POI) at all. Anyway, these docs look great, I should be all set. Danke! Patrick > -Original Message- > From: Karl-Heinz Zengerle [mailto:

AW: Simple "Hello World" example

2004-03-18 Thread Karl-Heinz Zengerle
Hi Patrick. I began with a sample that was not hard to find at the POI page (http://jakarta.apache.org/poi/hssf/hacking-hssf.html) or above. I look whether I can tell it you more exactly. I think I still have that sample project somewhere. Regards,Karl-Heinz. -Ursprüngliche Nachric

[WARNING] Unknown Ptg 3c (60) at cell (499,0)

2004-03-18 Thread Karl-Heinz Zengerle
Hi world. After I can process files now of about 4 MB I see the following messages. The things still run wonderful. [WARNING] Unknown Ptg 3c (60) at cell (499,0) [WARNING] Unknown Ptg 3c (60) at cell (499,1) [WARNING] Unknown Ptg 3c (60) at cell (499,2) Does anybody know what this indicates

Simple "Hello World" example

2004-03-18 Thread Patrick Lightbody
Is there any documentation that provides simple read and write examples, such as reading a cell and writing back to it as "Hello [original cell value]"?

AW: AW: AW: AW: can't open workbook

2004-03-18 Thread Karl-Heinz Zengerle
Hi Rob. It's passing the critical point now (run/debug; tab where you can set the parameter; vm args: -Xmx256m). Thanks to everybody for the big help, Karl-Heinz. -Ursprüngliche Nachricht- Von: Robert Lowe [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 18. März 2004 17:33 An: POI Use

AW: AW: AW: AW: can't open workbook

2004-03-18 Thread Karl-Heinz Zengerle
Hi Rob. Then I'll test it a.s.a.p. and report the result. Thanks, Karl-Heinz. -Ursprüngliche Nachricht- Von: Robert Lowe [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 18. März 2004 17:33 An: POI Users List Betreff: RE: AW: AW: AW: can't open workbook > Do we mean the same? The setti

RE: AW: AW: AW: can't open workbook

2004-03-18 Thread Robert Lowe
> Do we mean the same? The settings for the launched application if I call > run or debug? > > When I understand you right then I just need to set there "-Xmx256m" and > possible "-Xss1024k". Yep, in Eclipse 2.x, go to Run > Run...; click the Arguments tab, and enter those settings in the "VM argu

AW: AW: AW: AW: can't open workbook

2004-03-18 Thread Karl-Heinz Zengerle
Hi Rob. Do we mean the same? The settings for the launched application if I call run or debug? When I understand you right then I just need to set there "-Xmx256m" and possible "-Xss1024k". Regards,Karl-Heinz. -Ursprüngliche Nachricht- Von: Robert Lowe [mailto:[EMAIL PROTECTED]

RE: AW: AW: AW: can't open workbook

2004-03-18 Thread Robert Lowe
I think Eclipse always forks a new JVM process when you run a project, at least in 2.x. You can set the default and maximum heap size as JVM options under the "Run..." options. Best regards, Robert Lowe http://RMLowe.com/ -Original Message- From: Karl-Heinz Zengerle [mailto:[EMAIL PR

AW: AW: AW: AW: can't open workbook

2004-03-18 Thread Karl-Heinz Zengerle
Hi Avik. I've counterchecked the documentation and didn't find something which seems to fit for that forking. Can you remember that option more detailed? Regards,Karl-Heinz. -Ursprüngliche Nachricht- Von: Avik Sengupta [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 18. März 2

AW: AW: AW: AW: can't open workbook

2004-03-18 Thread Karl-Heinz Zengerle
Thanks Avik. I've understood. For debugging reasons I use a main() whereas from the JSP page it starts at a deeper level. So I look what can be set there. Where I can set the parameters there's also a field VM arguments. This seems to be the fitting one. As soon as I've tested it I'll report ab

Re: AW: AW: AW: can't open workbook

2004-03-18 Thread Avik Sengupta
No, what I meant is, AFAIK, when you run a java program from inside eclipse, (either via JUnit, or using a "main()" method), you can configure whether you want that java program to run in the same JVM that is running eclipse, or inside a forked (ie, external) JVM. If you use a forked JVM, you shoul

AW: AW: AW: can't open workbook

2004-03-18 Thread Karl-Heinz Zengerle
Hi Avik. We call Eclipse the following way: c: cd \eclipse C:\j2sdk1.4.1_05\bin\javaw.exe -cp c:\eclipse\startup.jar org.eclipse.core.launcher.Main -os win32 -ws win32 -arch x86 -showsplash c:\eclipse\eclipse.exe -vmargs -Xmx256M -Xss1024k -showsplash 600 So I'ld say that

Re: AW: AW: can't open workbook

2004-03-18 Thread Avik Sengupta
Are you forking a separate JVM from eclipse to run your tests? That might have its own settings. On Thu, 2004-03-18 at 19:19, Karl-Heinz Zengerle wrote: > Hi Avik. > > The Excel file has 3 MB. The Java VM has 256 MB. In that case > (JSP-Tomcat) it runs successfully. > > Eclipse itselfs seems no

AW: AW: AW: can't open workbook

2004-03-18 Thread Karl-Heinz Zengerle
Hi Srinadh. What commands did you use for running it outside Eclipse? Unfortunately then the debugger which is so good and so much time-safing will not be useable. Where you narrowing down the problem with System.out.prinln() a lot? Regards,Karl-Heinz. -Ursprüngliche Nachricht-

Re: Question regarding wordxp documents

2004-03-18 Thread wan bo
Hi All, I am new to POI. Currently have a project need to write to MS word.If anyone has example in how HWPF works would be great. Thanks a lot. Jane. __ Do you Yahoo!? Yahoo! Mail - More reliable, more storage, less spam http://mail.yahoo.com -

Re: AW: AW: can't open workbook

2004-03-18 Thread Srinadh Karumuri
BTW, You can try testing it on the command line and see if Eclipse got anything to do with it. I had some other issue running through Eclipse and this method helped me narrow down the problem. Sri At 08:49 AM 3/18/2004, Karl-Heinz Zengerle wrote: Hi Avik. The Excel file has 3 MB. The Java VM

AW: AW: can't open workbook

2004-03-18 Thread Karl-Heinz Zengerle
Hi Avik. The Excel file has 3 MB. The Java VM has 256 MB. In that case (JSP-Tomcat) it runs successfully. Eclipse itselfs seems not to react add the added start parameter "-vmargs -Xmx256M" (which should increase the max heap size according to the documentation). Even doubling this value didn't h

Re: AW: can't open workbook

2004-03-18 Thread Avik Sengupta
What's your file size? How much JVM memory are you using? if you are calling from JSP or Eclipse, remember that tomcat(or any other container)/eclipse itself will use up a large part of the available memory. Check it out standalone first, then add the amount of heap required to get it to run stan

RE: Reading different worksheets

2004-03-18 Thread Avik Sengupta
I dont know ..but you can look at the usermodel implementation and see the hoops that one has to go thru... I think there is some element of cross references here, you'll have to figure it out from the "specs".. On Wed, 2004-03-17 at 21:43, McIntosh, Mike wrote: > Thanks, that's easy. But I still

Re: Question regarding wordxp documents

2004-03-18 Thread Ryan Ackley
I don't know, post a bug to bugzilla and attach the document. - Original Message - From: "Sathyanarayanan, Srinivasan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 18, 2004 7:59 AM Subject: Question regarding wordxp documents > All, > > I have a wordxp document and

Question regarding wordxp documents

2004-03-18 Thread Sathyanarayanan, Srinivasan
All, I have a wordxp document and I can able to read the document and right it back to another document. But the output contains some illegible text in it when it was written back as a .txt document. Is this normal behaviour or am I missing something??. Please clarify, Srini --