You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by supranormale <su...@msn.com> on 2004/04/15 13:37:24 UTC

data

I finish the first part of my project. Now I can extract text, images, etc. 
from Word file, but now I must do the same with PowerPoint file. Someone now 
how to extract data from powerpoint files ?


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


pictures

Posted by supranormale <su...@msn.com>.
In fact, I save doc file in a stream, after I convert in Byte. In a word 
document :

'01' is a picture so when I find this, I search the first picture inside and I 
save it, I make it untill end of the document and I save inside an other when 
I found 'like' a xml document.

exemple :

<txt>
     blablabla
</txt>
<img> 
     image0.jpg
</img>
<txt>
     re blablabla
</txt>
<img>
     image1.jpg
</img>

after I convert this in a video streaming (SMIL)

But I must do the same with powerpoint, but I don't know how... 

If someone have an idea ???


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


Re: thumbnail

Posted by supranormale <su...@msn.com>.
Now I can find text, position, size and style of text, but only on the first 
slide, if I write something on an other slide there're some problems.

I ask to my teacher, He says that I can give you a link when I'll finish 
(university web site) to dowload source code of my project.

But do you know how to know the numero of the slide inside a word document 
when I find a text, a picture, etc. ? I saw a source on developper mainling 
list to view atom and container in a powerpoint document, but that don't 
work :-(

You laught when you read for the first times a powerpoint document with utltra 
edit, theirs structures are so funny, maybe they need some real programmers :-)


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


Re: thumbnail

Posted by Ryan Ackley <sa...@cfl.rr.com>.
Yes, go here:

http://jakarta.apache.org/poi/hpsf/thumbnails.html

That page will help you extract the data but it is in WMF format. BEWARE:
there are several java libraries that claim to be able to read WMF files but
they are seriously buggy and lacking most features. I had to write my own.
It was for work, so unfortunately, I can't share it. I used the info here to
create a WMF library

http://www.csn.ul.ie/~caolan/docs/libwmf.html

It isn't hard, just tedious. You will need a basic understanding of 2d
graphics. Things like affine transforms, pixel boolean operations, etc.

-Ryan




----- Original Message ----- 
From: <sf...@iposcsl.com>
To: "POI Users List" <po...@jakarta.apache.org>
Sent: Thursday, April 15, 2004 10:15 PM
Subject: thumbnail


> i know word or excel can be saved with generating a thumbnail and it can
> be viewed in the windows file explorer,
> but is there any way to extract the thumbnail from a word or excel file !?
>
> thanks.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: poi-user-help@jakarta.apache.org
>


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


thumbnail

Posted by "sflam@iposcsl.com" <sf...@iposcsl.com>.
i know word or excel can be saved with generating a thumbnail and it can 
be viewed in the windows file explorer,
but is there any way to extract the thumbnail from a word or excel file !?

thanks.


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


Re: data

Posted by Ryan Ackley <sa...@cfl.rr.com>.
How do you extract images?

-Ryan

----- Original Message ----- 
From: "supranormale" <su...@msn.com>
To: <po...@jakarta.apache.org>
Sent: Thursday, April 15, 2004 6:37 AM
Subject: data


> I finish the first part of my project. Now I can extract text, images,
etc.
> from Word file, but now I must do the same with PowerPoint file. Someone
now
> how to extract data from powerpoint files ?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: poi-user-help@jakarta.apache.org
>


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