You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by "Koundinya (Sudhakar Chavali)" <su...@yahoo.com> on 2004/08/04 11:59:02 UTC

Are people started testing the Powerpoint sources that I have given??

Are people started testing the Powerpoint sources that I have given??

I just found this link today
http://wiki.apache.org/jakarta-lucene/PowerPoint?action=highlight&value=PowerPoint

Regards
Sudhakar

=====
"No one can earn a million dollars honestly."- William Jennings Bryan (1860-1925) 

"Make everything as simple as possible, but not simpler."- Albert Einstein (1879-1955)

"It is dangerous to be sincere unless you are also stupid."- George Bernard Shaw (1856-1950)


		
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 

---------------------------------------------------------------------
To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: poi-dev-help@jakarta.apache.org


Re: Are people started testing the Powerpoint sources that I have given??

Posted by Ralph Scheuer <ra...@gmx.net>.
Hello, Sudhakar,

as of last week, I have been using your PowerPoint extraction code.  
Everything worked quite well in the beginning(apart from my inital  
codepage problems).

However, today I tested against a file that lets me extract its textual  
content, however, I get an exception.

Unfortunately, I am not able to send you the file. However, here is the  
relevant part of the stack trace:

java.lang.StringIndexOutOfBoundsException: String index out of range:  
251739780
at java.lang.String.checkBounds(String.java:287)
at java.lang.String.<init>(String.java:370)
at PPT2Text.extractClientTextBoxes(PPT2Text.java:217)
at PPT2Text$PPTListener.processPOIFSReaderEvent(PPT2Text.java:71)
at  
org.apache.poi.poifs.eventfilesystem.POIFSReader.processProperties(POIFS 
Reader.java:259)
at  
org.apache.poi.poifs.eventfilesystem.POIFSReader.read(POIFSReader.java: 
95)
at PPT2Text.read(PPT2Text.java:412)
at
... the rest refers to my own code which only calls yours to extract  
the text...

Just in case the line numbers are out of sync with yours (I pasted from  
your e-mail): line 217 refers to the following piece of code:

                 String strTempContent = new String(pptdata, (int) j + 6,
                     (int) (nsize) + 2);

I have not investigated any further. Any idea?

I hope this is of some help to you because I am not able to provide the  
file.

Thank you for the good work.

Ralph

Am 04.08.2004 um 11:59 schrieb Koundinya ((Sudhakar Chavali)):

> Are people started testing the Powerpoint sources that I have given??
>
> I just found this link today
> http://wiki.apache.org/jakarta-lucene/PowerPoint? 
> action=highlight&value=PowerPoint
>
> Regards
> Sudhakar
>
> =====
> "No one can earn a million dollars honestly."- William Jennings Bryan  
> (1860-1925)
>
> "Make everything as simple as possible, but not simpler."- Albert  
> Einstein (1879-1955)
>
> "It is dangerous to be sincere unless you are also stupid."- George  
> Bernard Shaw (1856-1950)
>
>
> 		
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail Address AutoComplete - You start. We finish.
> http://promotions.yahoo.com/new_mail
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: poi-dev-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: poi-dev-help@jakarta.apache.org