Re: POI 3.0 RC4

2007-05-31 Thread Nick Burch
On Wed, 30 May 2007, Joerg Hohwiller wrote: The logo tag is invalid in the organisation section. You need to remove it. I've removed it from our template pom. One of the repo guys has removed it from the 3.0-FINAL one in the ibiblio sync directory BTW did you notice this one:

Re: Using POI with Excel 2007

2007-05-30 Thread Nick Burch
On Wed, 30 May 2007, bastian wrote: I have been using POI to import Excel files for long, I have my own library built on top of POI and now I need to import Excel 2007 Files. I couldn't find a better place than this one to ask this question and since the original post is good I didn't want to

Re: Unable to read an excel file

2007-05-30 Thread Nick Burch
On Wed, 30 May 2007, Sascha Schäfer wrote: I have a problem to read a special file with Jakarta POI. I can open this file in MS Excel. And Excel tells me, that this file is saved in the format of Excel 2003. But if I try to read this file with POI, it results to the error-message: “Invalid

Re: Using POI with Excel 2007

2007-05-30 Thread Nick Burch
On Wed, 30 May 2007, bastian wrote: I had been looking into openxml4j which is a great idea, the problem is that I can not wait that long to support Excel 2007, according to their road map: They are looking for new developers... Why not join in and see if you can help speed it up? Nick

Re: Doc changes, Was: Re: please help me out

2007-05-30 Thread Nick Burch
On Thu, 12 Apr 2007, patrick roussel wrote: What I made is modify org/apache/poi/hwpf/usermodel/Range.java in order to make possible detection in tables that are contained in others tables (method getTable()), therefore I added two public methods : Thanks for this contribution. Is there any

Re: POI version 3.0

2007-05-21 Thread Nick Burch
On Mon, 21 May 2007, pelican wrote: I saw the POI version 3.0 final release and downloaded. The file name is poi-bin-3.0-FINAL-20070503.tar.gz. However when I expanded, I saw the directory as poi-3.0-rc4. Is it correct or did I downloaded the wrong file? Yes, that is the correct file, it

POI moving to TLP (Top Level Project)

2007-05-20 Thread Nick Burch
Hi All As many of you will know, we put in a proposal to the ASF board, for POI to graduate from Jakarta, to its own TLP. This has now been accepted, so Apache POI is now the newest Apache top level project. What does this mean for: Users - In the not too distant future, the site hosting the

Re: Want to save a excel file after opening it

2007-05-18 Thread Nick Burch
On Fri, 18 May 2007, Raghav wrote: My question here is, how do I save back this same file to the file system. I am not able to get the writing stream to this because it is still open by POIFS. Call write on your workbook:

Re: reading MS word file

2007-05-18 Thread Nick Burch
On Fri, 18 May 2007, Henry Lu wrote: Can somwone tell me where to download the svn package for POI? You can either do a svn checkout yourself, and build it with ant: http://jakarta.apache.org/site/cvsindex.html Or download nightly builds from:

Re: There has got to be a way

2007-05-10 Thread Nick Burch
On Tue, 1 May 2007, Levi Strope wrote: All I need to do is read in a row of data, just like the spreadsheet that is attached, and parse the information reliably. There are many blank cells here, but I need to account for them. I've got some code that might help here. Instead of registering

RE: There has got to be a way

2007-05-10 Thread Nick Burch
On Thu, 10 May 2007, Levi Strope wrote: That would be of GREAT use. I'll send you an off-list mail with the files. Note that it has only been tested on a fairly simple file, so there might be issues on fancier ones. BTW: what do you think the ETA is for that? For 3.0 Final? We're having

Re: POI 3.0 RC4

2007-05-10 Thread Nick Burch
On Mon, 7 May 2007, Joerg Hohwiller wrote: Thanks for your work. I have tested the mavenized version of POI with maven 2.0.6. Your POM is gracefully accepted and everything works well. Great, that's good to know I personally like the idea of not further splitting the POI artifact into

POI 3.0 RC4

2007-05-03 Thread Nick Burch
Hi All Release candidate 4 of POI 3.0 is now available: http://people.apache.org/~nick/POI-3.0-RC4/ For maven users, there's also the pom, binary and source jars available for testing with: http://people.apache.org/~nick/POI-3.0-RC4/maven/ There have only been a few bug fixes

Re: Exception in Power Point Extractor

2007-05-03 Thread Nick Burch
On Thu, 3 May 2007, Vinay wrote: I am using poi-3.0-alpha3. When I am creating pptextractor = new PowerPointExtractor(path); it is throwing me the exception Exception in thread main java.lang.ClassCastException: org.apache.poi.hslf.record.Slide at

Re: 3.0 release (and maven)

2007-04-26 Thread Nick Burch
On Wed, 25 Apr 2007, Joerg Hohwiller wrote: But from what I see in your subversion, you still need to replace issueTrackingUrl with issueManagement. Done I also went through your ant build and have seen that you do not modify the root tag metadata. The also needs to be changed to project,

Re: 3.0 release (and maven)

2007-04-25 Thread Nick Burch
On Tue, 24 Apr 2007, Joerg Hohwiller wrote: issueManagement systembugzilla/system urlhttp://issues.apache.org/bugzilla//url /issueManagement Thanks, I've updated that BTW: I assume that we are just talking about maven2 here and NOT about maven1. Since that seems to be the version

Re: Using POI with Excel 2007

2007-04-23 Thread Nick Burch
On Mon, 23 Apr 2007, [EMAIL PROTECTED] wrote: java.io.IOException: Invalid header signature; read 1688935826934608, expected -2226271756974174256 An error like that normally means your file isn't an OLE2 one. Is it possible that your file is in csv format, or xml? Nick

Re: Using POI with Excel 2007

2007-04-23 Thread Nick Burch
On Mon, 23 Apr 2007, [EMAIL PROTECTED] wrote: I will take a look at the sourceforge project. At the moment it's not really necessary that my application supports 2007 format. To help you out, I've added a new exception to POIFS. It'll now throw an OfficeXmlFileException if you try to create a

Re: 3.0 release (and maven)

2007-04-20 Thread Nick Burch
On Thu, 19 Apr 2007, Joerg Hohwiller wrote: So bug #39977 is not an issue anymore? The groupId bit isn't. Now we understand what it should be, we can use the java package, and all will be fine. Comment #2 (http://issues.apache.org/bugzilla/show_bug.cgi?id=39977#c2) still needs looking at,

Re: 3.0 release (and maven)

2007-04-18 Thread Nick Burch
On Tue, 17 Apr 2007, Joerg Hohwiller wrote: Are you planning to put the 3.0 release into the maven repository as soon as it is out? As part of the release process, I'll copy them onto people.apache.org, as per http://www.apache.org/dev/release-publishing.html#repository-guide . Apparently,

Re[2]: Encryption/password protected excel/word files

2007-04-17 Thread Nick Burch
On Tue, 17 Apr 2007, Yegor Kozlov wrote: I wonder if Microsoft uses encryption compatible with javax.crypto.*. If yes, we have a chance to decode it. Otherwise it is not worth the trouble. I don't think they do. For PPT, there's a choice of about 10 different encryption options, almost all

Re: Getting class file has wrong version error on poi-scratchpad-3.0-rc2 jar

2007-04-02 Thread Nick Burch
On Thu, 29 Mar 2007, David Fisher wrote: That class file was compiled with JDK 5.0 See http://blogs.sun.com/sundararajan/entry/java_class_ic_errors Bah, looks like a forgot to do a clean before doing a dist build. I find that despite telling eclipse to only use JDK 1.4 for poi, it still

Re: Still having problems building POI

2007-04-02 Thread Nick Burch
On Fri, 30 Mar 2007, Levi Strope wrote: I'm sorry to keep pinging the list with something as rudimentary as this - but I am having a very hard time getting this to build. It looks like you're having issues with 2.5.1? If so, try with 3.0 RC3, as there have been a few updates to the build

Re: Why does POI javadoc not include scratchpad classes?

2007-04-02 Thread Nick Burch
On Thu, 29 Mar 2007, Karr, David wrote: I noticed that the javadoc for POI does not include the scratchpad classes. Is this intentional? Is the Javadoc for these classes provide somewhere else? The javadocs do cover the scratchpad classes. Head over to

ApacheCon EU

2007-03-29 Thread Nick Burch
Hi All As many of you will know, it's ApacheCon EU in a little over a month's time. This year, it's on May 1st-4th, in Amsterdam: http://www.eu.apachecon.com/ I was wondering about organising a short BoF (Birds of a Feather) session, to let the POI users and developers get together.

POI 3.0 RC 2

2007-03-29 Thread Nick Burch
Hi All We've had a few bug fixes applied recently, so it's time for another release candidate: http://people.apache.org/~nick/POI-3.0-RC2/ It'd be great if people could continue to test their code against this, continue to file their bug reports, even more importantly enhance their

Re: Is POI still under active development?

2007-03-16 Thread Nick Burch
On Fri, 16 Mar 2007, Jerry Jalenak wrote: I've been looking for the RC, but can't seem to find a mirror that has it. Can you point to where I can find the .zip? The release candidates aren't mirror'd releases, only alphas, betas and FINAL releases get put onto the mirrors. You can grab RC1

POI 3.0 Release Candidate 1

2007-03-11 Thread Nick Burch
Hi All As most of you will know, we are gearing up to doing a 3.0 release of POI. As part of this, as release manager, I've produced Release Candidate 1 of POI 3.0. This can be downloaded from: http://people.apache.org/~nick/POI-3.0-RC1/ and corresponds to the state of svn TRUNK as of

Re: Slide BackgroundColor.......

2007-01-16 Thread Nick Burch
On Tue, 16 Jan 2007, qwerty_giggi wrote: But the color line is wrong...the only colors that matching are: red,blue... the others are only black...the RGB's jakarta is the same of the RGB's Java?I need of a transformation For font colours, powerpoint stores then as BGR, not RGB. We

Re: spreadsheet with form elements getting corrupt with poi 3.0

2007-01-12 Thread Nick Burch
On Fri, 12 Jan 2007, Sanjiv Jivan wrote: Do you think the fix was made after Dec 12th, 06? I can't remember the exact date, but it might well be after then If so, are nightly builds available anywhere or would I need to build off SVN? http://encore.torchbox.com/poi-svn-build/ Nick

Re: help with POI Co.

2007-01-10 Thread Nick Burch
On Tue, 9 Jan 2007, Joerg Hohwiller wrote: Besides I used the official POI release which is very old. I did NOT try the HEAD from svn. You should probably try with the svn head, you will generally have more luck with HWPF and HSLF from there. I did NOT even open most of the documents. The

Re: help with POI Co.

2007-01-09 Thread Nick Burch
On Mon, 8 Jan 2007, Joerg Hohwiller wrote: For msword I tried HWPF but the result was really bad. Were you using org.apache.poi.hwpf.extractor.WordExtractor ? It doesn't filter out all the text entries that aren't really text, but any patches to fix that would be appreciated :) For

Re: CorruptPowerPointFileException

2006-12-20 Thread Nick Burch
On Tue, 19 Dec 2006, Eitan Gur wrote: I get the following exception, trying to instantiate a SlideShow with a specific PPT file, I get: org.apache.poi.hslf.exceptions.CorruptPowerPointFileException: The PowerPoint file had a broken first SlideListWithTexts. This should only contain either

[announce] POI 3.0 Alpha 3

2006-12-13 Thread Nick Burch
Hi All Just a quick announcement that we've released alpha 3 of POI 3.0. You can download this from your favourite apache mirror: http://www.apache.org/dyn/closer.cgi/jakarta/poi/dev/bin/ http://www.apache.org/dyn/closer.cgi/jakarta/poi/dev/src/ This is expected to be the

Re: PPT Unicode

2006-12-06 Thread Nick Burch
On Tue, 5 Dec 2006, Tales Paiva Nogueira wrote: When PowerPoint stores text in Unicode a unknown char (byte value = 0) is placed between every normal char making the text 2 times longer than it really is. TextCharsAtoms, and other unicode containing fields in powerpoint files, are stored as

Re: Found a TextHeaderAtom not followed by a TextBytesAtom or TextCharsAtom: Followed by 3999

2006-12-04 Thread Nick Burch
On Mon, 4 Dec 2006, qwerty_giggi wrote: Found a TextHeaderAtom not followed by a TextBytesAtom or TextCharsAtom: Followed by 3999 3999 is TextHeaderAtom, so it looks like you have TextHeaderAtom TextHeaderAtom (some text data) I don't think you should be able to have a TextHeaderAtom without

Re: Crystal Reports Excel File - no such entry: Workbook

2006-11-30 Thread Nick Burch
On Thu, 30 Nov 2006, Andrew J. Miller wrote: I have an excel spreadsheet that is being generated by Crystal Reports and processing fails right away with an exception: java.io.FileNotFoundException: no such entry: Workbook Have you taken a look (with POIFSViewer) at what entry your file does

Re: Crystal Reports Excel File - no such entry: Workbook

2006-11-30 Thread Nick Burch
On Thu, 30 Nov 2006, Andrew J. Miller wrote: At what address am I supposed to be looking at (and how do I interpret '' as the contents)? I have scanned through the entire output and none of the lines had anything listed plainly (like the word Workbook or entry or anything)... On a

Re: Settting Passworf for HSSFWorkBook

2006-11-23 Thread Nick Burch
On Thu, 23 Nov 2006, just_a_kid wrote: is anyone know how to protect workbook/sheet using POI ? This isn't supported. To protect a workbook with a password, you have to encrypt it. We can't find any documentation on how the encryption process works, so we can't add it to POI. Nick

Re: PPT/POI - RichTextRun - java.lang.StringIndexOutOfBoundsException - method getText()

2006-11-22 Thread Nick Burch
On Wed, 22 Nov 2006, Erez Eisenstein wrote: When I invoke the method org.apache.poi.hslf.usermodel.RichTextRun.getText() I get an exception - StringIndexOutOfBoundsException. I can see that the length member of this instance has a very big value (1572863), while the getText() method of the

Re: PPT - HSLFSlideShow - exception when initializing

2006-11-21 Thread Nick Burch
On Mon, 20 Nov 2006, Erez Eisenstein wrote: Hi, can any of you guys tell me what can I make out with this exception? There's something up with your CurrentUserAtom. It should be at least 28 bytes long, but yours isn't even 20 bytes long. I've added a check to CurrentUserAtom, and it'll now

Re: Slide Array----.Jpg File

2006-11-08 Thread Nick Burch
On Wed, 8 Nov 2006, qwerty_giggi wrote: I have a Slide Array,how can i save it as a .jpg file? Currently, that's not supported. See Yegor's email from last week: http://mail-archives.apache.org/mod_mbox/jakarta-poi-user/200604.mbox/[EMAIL PROTECTED] Nick

Re: Getting source for POI 2.0-final-20040126

2006-10-05 Thread Nick Burch
On Thu, 5 Oct 2006, Matt Ryall wrote: I'm trying to get the source code for the (rather old) version of POI we're using in our application, 2.0-final-20040126. archive.apache.org IYF if you're looking for old versions of software released by an apache project If you take a look in

Re: Excel 2003 problem

2006-10-03 Thread Nick Burch
On Tue, 3 Oct 2006, tryma wrote: Anyone know about any patches or can suggest a work-around for this? You'll need to give us more to go on than this stack traces, problem files, failing unit tests etc (I personally haven't noticed any problems with processing word/excel/powerpoint 2003

RE: poi 3.0

2006-10-03 Thread Nick Burch
On Mon, 2 Oct 2006, Gascoigne Thomas wrote: I was wondering if anyone knew if the poi 3.0 distribution may move from alpha status to final any time soon. Any estimates / speculations on the timing of this event would be appreciated. I don't think there's any great plans to do a final release.

Re: warnings Unknown Ptg 11 (17) at cell (188,1)

2006-09-20 Thread Nick Burch
On Wed, 20 Sep 2006, [EMAIL PROTECTED] wrote: I am trying to read and write into an excel with macros, formulae using poi-2.0.jar poi version 2.0 is seriously old. Give it a try with 3.0 alpha 2 Nick - To unsubscribe,

Re: HSLF

2006-09-15 Thread Nick Burch
On Fri, 15 Sep 2006, Nitesh wrote: And what is the full form of HSLF,please? Horrible SLideshow Format Nick - To unsubscribe, e-mail: [EMAIL PROTECTED] Mailing List: http://jakarta.apache.org/site/mail2.html#poi The

Re: Link is broken

2006-09-15 Thread Nick Burch
On Fri, 15 Sep 2006, pelican wrote: I am not sure, this is the correct place to report broken links. But if somebody can forward to ... it will be a help for users. Ah, it was still pointing to the old CVS stuff. I've updated it to point to the new SVN location Nick

Re: org.apache.poi.poifs.storage.HeaderBlockReader

2006-09-06 Thread Nick Burch
Erez Firstly, please always use the list. That way, others can see your question, and benefit from the answer On Wed, 6 Sep 2006, Erez Eisenstein wrote: When I try to init a new HSLFSlideShow instance, I get IOException: java.io.IOException: Unable to read entire header; 89 bytes read;

Re: slide 2 image

2006-09-01 Thread Nick Burch
On Thu, 31 Aug 2006, Stefan Groschupf wrote: I'm very new to poi. I'm looking for any code snippet, documentation of hint how to render a slide to a image. POI doesn't support rendering powerpoint documents - it's a library for creating / fetching / editing office file formats, not displaying

Re: AW: Supported file formats by POI

2006-08-25 Thread Nick Burch
On Fri, 25 Aug 2006, Leimbach, Johannes wrote: I'd like to repeat my original question, still nobody has answered it :) Can I read all Office Formats with POI? Do XLT, DOT and POT also work? I would suspect that the lack of answers means that no-one has tried to use the template formats.

Re: AW: Supported file formats by POI

2006-08-25 Thread Nick Burch
On Fri, 25 Aug 2006, [EMAIL PROTECTED] wrote: How does one use the template formats; I don't know, I haven't tried. That was my point... Just try opening one up with poi, and see what happens Nick - To unsubscribe, e-mail:

Re: Custom Properties...Anyone...Anyone...

2006-08-24 Thread Nick Burch
On Wed, 23 Aug 2006, Michael Pakter wrote: I can't seem to find a good way/any way to create a custom property when generating an xls file using POI version 2.5.1 I don't use custom properties, but I do know that lots of the properties stuff (hpsf) has been updated since 2.5.1 came out. You

Re: Problem with WordExtractor 2

2006-08-24 Thread Nick Burch
On Thu, 24 Aug 2006, WATHELET Thomas wrote: I retrived this error message because the document is protected with a password. How can I solve this error? There is currently no code in hwpf to detect for password protected files, so hwpf plows on trying to read it as unencrypted, and gets all

Re: Problem with WordExtractor

2006-08-24 Thread Nick Burch
On Thu, 24 Aug 2006, WATHELET Thomas wrote: I retrived this error message: java.lang.StackOverflowError org.apache.poi.hwpf.model.StyleSheet.createChp(StyleSheet.java:265) org.apache.poi.hwpf.model.StyleSheet.createChp(StyleSheet.java:266) ... Looks like your document is either corrupted, or

Re: Supported file formats by POI

2006-08-22 Thread Nick Burch
On Tue, 22 Aug 2006, [EMAIL PROTECTED] wrote: Anybody out there know the location and steps for downloading and installing the POI for word? From http://jakarta.apache.org/poi/hwpf/ HWPF is still in early development. It is in the scratchpad section of the SVN. You will need to ensure you

Re: Supported file formats by POI

2006-08-22 Thread Nick Burch
On Tue, 22 Aug 2006, [EMAIL PROTECTED] wrote: I have looked at that link before, but don't see how to do a download from that page. You either need to do an SVN checkout (url on that page), and build your jars from svn, or grab some nightly svn build jars from

Re: Problem Extracting Text from MS Word

2006-08-15 Thread Nick Burch
On Tue, 15 Aug 2006, [EMAIL PROTECTED] wrote: The problem is I also get text from internal information of MSWord, for example, the hyperlinks like this: 4.1- Introducción PAGEREF _Toc142772733 \h 31 HYPERLINK \l _Toc142772734 4.2- Apple webobjects PAGEREF _Toc142772734 \h 32 Can you give me

Re: Invalid header signature

2006-08-14 Thread Nick Burch
On Mon, 14 Aug 2006, WATHELET Thomas wrote: For some documents I retrieve this error: java.IO.Exeption; Invalid header signature ; read ... Normally this means your document isn't a word document, or is corrupted. If you post the full stack trace, we might be able to be sure, but that's the

Re: HSLFSlideShow and NegativeArraySizeException

2006-08-14 Thread Nick Burch
On Fri, 11 Aug 2006, Giuliano Pasqualotto wrote: Cause was : java.lang.RuntimeException: Couldn't instantiate the class for type with id 1036 on class class org.apache.poi.hslf.record.PPDrawing : java.lang.reflect.InvocationTargetException Cause was : java.lang.NegativeArraySizeException For

Re: poi word software

2006-08-14 Thread Nick Burch
On Mon, 14 Aug 2006, [EMAIL PROTECTED] wrote: How can i download the software for use on my system. If you want to work with word documents, you'll need a recent SVN checkout or SVN nightly build. See the list archives for details, this is a very commonly asked questions I have a need to

Re: Get text from a URL pointing to a ppt file

2006-08-11 Thread Nick Burch
On Thu, 10 Aug 2006, Leila Homaeian wrote: I am trying to use SlideShow.getSlides() to get slides from a URL pointing to a powerpoint file. The problem is that I am not getting the slides in the correct order. However, if I download the ppt file and run the same program, The order of the

Re: Word extraction doesn't work??

2006-08-10 Thread Nick Burch
On Thu, 10 Aug 2006, Nir Nußbaum wrote: I am trying to extract pure text from Word (to index into Lucene): I did: *org.apache.poi.hwpf.extractor.WordExtractor we=new org.apache.poi.hwpf.extractor.WordExtractor(is); bodyText=we.getText(); *snip* at

Re: Word extraction doesn't work??

2006-08-10 Thread Nick Burch
On Thu, 10 Aug 2006, Nir Nußbaum wrote: I get it also with hwpf: *Caused by: java.io.FileNotFoundException: no such entry: 0Table at org.apache.poi.poifs.filesystem.DirectoryNode.getEntry( DirectoryNode.java:246) I think you have a really early (pre word 97? pre word 95?) word document,

Re: AW: AW: org.apache.poi.hwpf.extractor.WordExtractor

2006-08-07 Thread Nick Burch
On Mon, 7 Aug 2006, Leimbach, Johannes wrote: Though, I would like to sound my criticism regarding the documentation on the POI page .. it should really contain some hits where to look. I've added a note about the unit tests to http://jakarta.apache.org/poi/hwpf/quick-guide.html and about

Re: AW: org.apache.poi.hwpf.extractor.WordExtractor

2006-08-04 Thread Nick Burch
On Fri, 4 Aug 2006, Leimbach, Johannes wrote: could anybody provide an example on how to use the nightly builds of the Word extractor? There's the information in the quick guide: http://jakarta.apache.org/poi/hwpf/quick-guide.html Otherwise, take a look at the unit tests:

Re: non {png,jpg} images

2006-08-03 Thread Nick Burch
On Thu, 3 Aug 2006, Stéphane Conversy wrote: Do you know what this format is ? We think it might be compressed, possibly with a header. Your best bet is to take your source TIFF file, and compress it as many ways as you can think of (gzip, bzip, gzip -9, gzip -1 etc) and see if you can see

RE: org.apache.poi.hwpf.extractor.WordExtractor

2006-08-03 Thread Nick Burch
On Thu, 3 Aug 2006, WATHELET Thomas wrote: I have poi-2.5.1, poi-contrib-2.5.1 and poi-scatchpad-2.5.1 and the class still not visible From my last email: Either do a SVN checkout, or grab nightly builds You'll want one of these two: http://svn.apache.org/viewvc/jakarta/poi/trunk/

Re: Office files properties

2006-07-31 Thread Nick Burch
On Sun, 30 Jul 2006, Zala Pierre GOUPIL wrote: I've tried to import SVN repository of POI into my Eclipse, but no way. Sounds like you need to go and read an eclipse tutorial then. That's not something we can help you with Maybe you, Nick, could send me a .jar ? I can't see where I'm wrong,

Re: Bugreport: Reading a special DOC file triggers a NullPointerException

2006-07-28 Thread Nick Burch
On Fri, 28 Jul 2006, Leimbach, Johannes wrote: I think I've found a bug in the lastest PIO word file reader. Try using hwpf rather than hdf to read your word files - you might well have more luck with it Nick - To

Re: AW: Bugreport: Reading a special DOC file triggers a NullPointerException

2006-07-28 Thread Nick Burch
On Fri, 28 Jul 2006, Leimbach, Johannes wrote: Unfortunately the only documentation about reading .DOC in PIO used HDF. Can you provide me with some information on how to use HWPF? http://jakarta.apache.org/poi/hwpf/ http://jakarta.apache.org/poi/hwpf/quick-guide.html I have found some other

Re: HSLF Error/Exception

2006-07-27 Thread Nick Burch
On Wed, 26 Jul 2006, Suba Suresh wrote: I am using the July 4th poi jars with lucene for indexing. For a particular PowerPoint file I am getting the following exception. Anyone know why? I wonder if it's some really old powerpoint file? Can you try opening it in powerpoint, and see if you

Re: Office files properties

2006-07-27 Thread Nick Burch
On Thu, 27 Jul 2006, Zala Pierre GOUPIL wrote: Of course, I've given Jakarta HPSF a try. About reading, all is fine. But they said only SVN repository allowed to write. So I installed it, but no way : this feature seems not to be present anymore. Where am I wrong ? No idea. It's really

Re: Help ! HSLF Error/Exception

2006-07-27 Thread Nick Burch
On Thu, 27 Jul 2006, Suba Suresh wrote: Nick, Can you help me with this? I even tried the new nightly build and looked into the source code. The java file mentions that it is a special stream in the PowerPoint file stream. I am getting this error for only one file. See my earlier suggestion.

Re: Help ! HSLF Error/Exception

2006-07-27 Thread Nick Burch
On Thu, 27 Jul 2006, Suba Suresh wrote: When you say really old, is there a format or version number? As the hwpf libraries work only for 97-02 file format. Not sure. I know it'll work for PPT97 and newer. I don't have any older documents to try with, so it's quite possible that older

Re: how do i insert images into excel file?

2006-07-21 Thread Nick Burch
On Fri, 21 Jul 2006, gorush wrote: how do i insert images into excel file? http://jakarta.apache.org/poi/hssf/quick-guide.html#Images Nick - To unsubscribe, e-mail: [EMAIL PROTECTED] Mailing List:

Re: ppt-File-Format

2006-07-21 Thread Nick Burch
On Thu, 20 Jul 2006, Smaylle Campos wrote: I wold like know where i get a complete ppt-file-format? Ring up your Microsoft sales rep, and license a copy? You can find some information on the PowerPoint 97 file format at wotsit.org, but it does miss out on many of the more interesting details

Re: Nick Re: How to store the Modified slide back into ppt

2006-07-17 Thread Nick Burch
On Mon, 17 Jul 2006, Kumar wrote: * open that file in powerpoint Here I am getting the problem. Are you trying to write to the same file that you opened? If so, are you trying to do this on Windows? Windows can be a bit stupid about writing to / deleting a file that's already open. I'd

Re: No-break space and middle dot in String produced with WordExtractor

2006-07-14 Thread Nick Burch
On Thu, 13 Jul 2006, [EMAIL PROTECTED] wrote: I used WordExtractor to extract texts from MS Word documents. The documents have many non-text charaters that display as squares, and sometimes as lines. However, most of the texts appear clearly. I did hex dumps of the texts and found that some

Re: How to store the Modified slide back into ppt

2006-07-14 Thread Nick Burch
On Fri, 14 Jul 2006, Kumar wrote: With the commented the entire file is replacing with the present slide, erasing the header information. So is there any procedure to save the changes back into the ppt, having said that the slide can be at anywhere in the ppt. Despite several attempts to

RE: WordExtractor dependencies

2006-07-13 Thread Nick Burch
On Wed, 12 Jul 2006, [EMAIL PROTECTED] wrote: I printed a list of all the class files contained in the jars and noticed that the WordExtractor.class file was not there. It is in the 3.0 alpha 2 scratchpad jar (I've just double checked the version on apache.org, and it's really there). It

Re: TextBox bug

2006-07-13 Thread Nick Burch
On Thu, 13 Jul 2006, Erez Eisenstein wrote: If I create a new ppt file, with an empty textbox in it (that says: click to add subtitle), than the _txtrun is null. This causes the TextBox class to throw NullPointerExceptions, in methods getText(), setSheet(). When you create a TextBox, it does

RE: TextBox bug

2006-07-13 Thread Nick Burch
On Thu, 13 Jul 2006, Erez Eisenstein wrote: I have an instance of Slide, and I call the getShapes() method (some of the shapes are TextBox instances) OK, can you create a new bug on bugzilla, and upload both your code and the problem powerpoint file? (We need to be able to fully replicate

RE: TextBox bug

2006-07-13 Thread Nick Burch
On Thu, 13 Jul 2006, Tales Paiva Nogueira wrote: This piece of code doesn't work in all cases, I made some tests and the NullPointerException still happens. I wonder if in this case, it's a TextBox that doesn't actually have any text in it. I leave it for Yegor to confirm or deny though,

Re: WordExtractor dependencies

2006-07-12 Thread Nick Burch
On Tue, 11 Jul 2006, [EMAIL PROTECTED] wrote: poi-3.0-alpha2-20060616.jar, poi-scratchpad-3.0-alpha2-20060616.jar, poi-contrib-3.0-alpha2-20060616.jar. However, the class WordExtractor cannot be found by the compiler (compilation error). Am I missing something (dependencies, jar files, ...)?

Re: _getRawParagraphStyle(), _getRawCharacterStyle()

2006-07-12 Thread Nick Burch
On Wed, 12 Jul 2006, Erez Eisenstein wrote: RichTextRun class has _getRawParagraphStyle() and _getRawCharacterStyle() methods, that I am using to extract a LinkedList of TextProp instances. For each text styling applied to the characters, or their paragraph, there will be an entry in the

RE: _getRawParagraphStyle(), _getRawCharacterStyle()

2006-07-12 Thread Nick Burch
On Wed, 12 Jul 2006, Erez Eisenstein wrote: What does the Size attribute of the TextProp means? Same question for Mask and WriteMask? You shouldn't need them, unless you're trying to write them out. They relate to how big the data field is, and how you indicate that the TextProp exists.

RE: _getRawParagraphStyle(), _getRawCharacterStyle()

2006-07-12 Thread Nick Burch
On Wed, 12 Jul 2006, Erez Eisenstein wrote: So all I really need from each TextProp is just the name value ? Yes (and to know what each name and value means...) That's the harder bit! If you do find certain ones useful, we can easily add nice setters/getters to RichTextRun for them

Re: Suggest me latest version

2006-07-12 Thread Nick Burch
On Wed, 12 Jul 2006, Kumar wrote: Currenlty I am using the following Jars. 3.0 alpha 2 is the latest released version. There are also nightly SVN builds, if you happen to need something that's been added since the last release. You can grab them from

Re: _getRawParagraphStyle()

2006-07-12 Thread Nick Burch
On Wed, 12 Jul 2006, Erez Eisenstein wrote: Using the _getRawParagraphStyle() method, I've looked at the TextProp names and values I get from a PPT file, that uses numbering. After that, I changed the numbering (from numbers to letters), and looked at the TextProps - but they are all the same.

RE: _getRawParagraphStyle()

2006-07-12 Thread Nick Burch
On Wed, 12 Jul 2006, Erez Eisenstein wrote: What I did is opened a PPT file, using POI, and saved the information I extracted. Than, I opened the file using PowerPoint, made the changes, and opened the file again, using POI. The information I got now was the same as before. OK, so see me

Re: Regarding Slide in POI

2006-07-06 Thread Nick Burch
On Wed, 5 Jul 2006, Kumar wrote: I am giving source ppt file as input which contains only one slide. On printing the slides.length its outputting two as slides. Which version of the poi scratchpad jar are you using? New versions should no longer include the master slides in their normal

Re: latest release in maven repository?

2006-07-04 Thread Nick Burch
On Mon, 3 Jul 2006, Shinobu Kawai wrote: It looks like there's a different process for apache project jars? It seems so. I've packaged up the jar files, put them in the right place, and at least some of them made it to ibiblio. Not being a maven user myself, I have no idea if it'll all now

Re: PPT Pictures

2006-07-04 Thread Nick Burch
On Tue, 4 Jul 2006, mr.jonze wrote: I'd like to report an error that i found while using POI. I was retrieving the pictures from a ppt file and saving each one in a file and it was working ok, but i deleted one of the pictures of the PowerPoint file and POI was still saving it in a file. Then

Re: latest release in maven repository?

2006-07-03 Thread Nick Burch
On Sun, 2 Jul 2006, Shinobu Kawai wrote: I was wondering if there were any plans to put the 3.0-alpha2-20060616 release up in ibiblio. http://www.ibiblio.org/maven2/poi/poi/ I'm not really a maven user myself, but I've put in a request for the upload. Assuming I've done it right, it should

Re: DOC Picture

2006-07-03 Thread Nick Burch
On Mon, 3 Jul 2006, Saulo Passos wrote: I am using method CharacterRun.getPicOffset(). This method returns a integer, but I do not know what this means. That'll be a byte offset to the picture, stored somewhere else. I don't know about word, but in powerpoint, there's another POIFS stream

Re: PPT Pictures

2006-07-02 Thread Nick Burch
On Fri, 30 Jun 2006, Tales Paiva Nogueira wrote: I'm having trouble extracting images from PPT files. When I have the same image more than once, the API identifies only one image even if the size differs from one to another. There shouldn't be anything special about duplicate images. We just

Re: PowerPoint extractor

2006-07-02 Thread Nick Burch
On Tue, 27 Jun 2006, Suba Suresh wrote: Thank you for all the pointers. It is a great help. I used today's build. It worked fine for WordDocument. I did not try the meta data yet. For PowerPoint I am getting the following for powerpoint extractor just for one file. Am I doing anything wrong?

Re: numbering formats of lines of text in PPT files

2006-07-02 Thread Nick Burch
On Sun, 2 Jul 2006, Erez Eisenstein wrote: Hi Nick, I'm having the following problem: Please always use the list, rather than contacting developers directly. That way, everyone can see (and benefit!) from the answer. After extracting several lines of text from a TextBox, if the lines were

Re: PowerPoint extractor

2006-06-29 Thread Nick Burch
On Wed, 28 Jun 2006, Suba Suresh wrote: I have given the link to the file and opened a bug report. Yesterday's build was giving me lots of No core record found with ID 235 wiht PersistPtr lookup warnings. OK, I'll take a look when I'm back from apachecon Nick

  1   2   >