You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by Sukesh M Prabhakar <sp...@in.ibm.com> on 2003/08/14 14:13:00 UTC

Powerpoint conversion Help!!

Hi,
I am working on reading the binary stream of PowerPoint and converting to
Java objects.Currently I am facing the problem of edited slides.

Observation:
The Slide record contains a SlideAtom but it does not contain any unique
slide ID/Number.
The SlideListWithText record contains a unique slide ID by which I can
recognise a particular slide.
Once a powerpoint file is saved,any subsequent edits or changes to a slide
creates a new slide record in the binary stream.

Problem:
I need to co- relate the original slide with the edited slide. In the sense
I need to know which slide has been edited so that I can make changes to
the corresponding user object.
The UserEditAtom contains the file position of the last edit and also the
slide ID of the last edited slide.But what if more than one slide has been
changed or edited.

Please mail me some ideas as how to overcome this problem.


Thanks and Regards
Sukesh




--Life is not measured by the number of breaths we take,
 but by the moments that take our breath away.


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


RE: Powerpoint conversion Help!!

Posted by Michael Zalewski <za...@optonline.net>.
I have a package that deals with the Escher format.

It's almost good enough to attach a picture (from BMP, JPEG, or WMF) into
HSSF. But not quite there yet. When it gets there, you will also be able to
do simple Escher type drawings (lines, shapes, call-outs - only if you
supply RTF, colors, arrows, etc.)

I was wondering the same thing, since Power Point extends the Escher format
(I called it MSOD for MS Office Draw. Java package name is
org.apache.poi.hdwgf  but I could change that).

-----Original Message-----
From: Glen Stampoultzis [mailto:gstamp@iinet.net.au]
Sent: Saturday, August 16, 2003 7:49 PM
To: POI Developers List
Subject: Re: Powerpoint conversion Help!!


I'm not sure I can help much with your problem but I have a question for
you.  Are you working on the escher format as part of your work?

Regards,

Glen

At 10:13 PM 14/08/2003, you wrote:
>Hi,
>I am working on reading the binary stream of PowerPoint and converting to
>Java objects.Currently I am facing the problem of edited slides.
>
>Observation:
>The Slide record contains a SlideAtom but it does not contain any unique
>slide ID/Number.
>The SlideListWithText record contains a unique slide ID by which I can
>recognise a particular slide.
>Once a powerpoint file is saved,any subsequent edits or changes to a slide
>creates a new slide record in the binary stream.
>
>Problem:
>I need to co- relate the original slide with the edited slide. In the sense
>I need to know which slide has been edited so that I can make changes to
>the corresponding user object.
>The UserEditAtom contains the file position of the last edit and also the
>slide ID of the last edited slide.But what if more than one slide has been
>changed or edited.
>
>Please mail me some ideas as how to overcome this problem.
>
>
>Thanks and Regards
>Sukesh
>
>
>
>
>--Life is not measured by the number of breaths we take,
>  but by the moments that take our breath away.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: poi-dev-help@jakarta.apache.org


Glen Stampoultzis
gstamp@iinet.net.au
http://members.iinet.net.au/~gstamp/glen/


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


Re: Powerpoint conversion Help!!

Posted by Glen Stampoultzis <gs...@iinet.net.au>.
I'm not sure I can help much with your problem but I have a question for 
you.  Are you working on the escher format as part of your work?

Regards,

Glen

At 10:13 PM 14/08/2003, you wrote:
>Hi,
>I am working on reading the binary stream of PowerPoint and converting to
>Java objects.Currently I am facing the problem of edited slides.
>
>Observation:
>The Slide record contains a SlideAtom but it does not contain any unique
>slide ID/Number.
>The SlideListWithText record contains a unique slide ID by which I can
>recognise a particular slide.
>Once a powerpoint file is saved,any subsequent edits or changes to a slide
>creates a new slide record in the binary stream.
>
>Problem:
>I need to co- relate the original slide with the edited slide. In the sense
>I need to know which slide has been edited so that I can make changes to
>the corresponding user object.
>The UserEditAtom contains the file position of the last edit and also the
>slide ID of the last edited slide.But what if more than one slide has been
>changed or edited.
>
>Please mail me some ideas as how to overcome this problem.
>
>
>Thanks and Regards
>Sukesh
>
>
>
>
>--Life is not measured by the number of breaths we take,
>  but by the moments that take our breath away.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: poi-dev-help@jakarta.apache.org


Glen Stampoultzis
gstamp@iinet.net.au
http://members.iinet.net.au/~gstamp/glen/

Re: Powerpoint conversion Help!!

Posted by Ryan Ackley <sa...@cfl.rr.com>.
I'd be willing to help if I knew that anything developed would be added to
POI.

----- Original Message ----- 
From: "Michael Zalewski" <za...@optonline.net>
To: "POI Developers List" <po...@jakarta.apache.org>
Sent: Friday, August 15, 2003 6:11 PM
Subject: RE: Powerpoint conversion Help!!


> No answer so far on the list, so here is my comment.
>
> I don't know for sure, but I think that there are several UserEditAtoms,
> unless the file has been completely saved, in which case there will only
be
> one.
>
> The UserEditAtoms, and the slides that were changed just get appended to
the
> end of the stream. So I think the stream is like this:
>
> SlidePersist Container for original document
> UserEditAtom
> SlidePersist Container for first revision
> UserEditAtom describing the first revision
> SlidePersist Container for second revision
> UserEditAtom...
>
> I'm not entirely sure if the above explanation is correct.
>
> Anyone else on this list delving into Power Point?
>
> -----Original Message-----
> From: Sukesh M Prabhakar [mailto:sprabhak@in.ibm.com]
> Sent: Thursday, August 14, 2003 8:13 AM
> To: poi-dev@jakarta.apache.org
> Subject: Powerpoint conversion Help!!
>
> Hi,
> I am working on reading the binary stream of PowerPoint and converting to
> Java objects.Currently I am facing the problem of edited slides.
>
> Observation:
> The Slide record contains a SlideAtom but it does not contain any unique
> slide ID/Number.
> The SlideListWithText record contains a unique slide ID by which I can
> recognise a particular slide.
> Once a powerpoint file is saved,any subsequent edits or changes to a slide
> creates a new slide record in the binary stream.
>
> Problem:
> I need to co- relate the original slide with the edited slide. In the
sense
> I need to know which slide has been edited so that I can make changes to
> the corresponding user object.
> The UserEditAtom contains the file position of the last edit and also the
> slide ID of the last edited slide.But what if more than one slide has been
> changed or edited.
>
> Please mail me some ideas as how to overcome this problem.
>
>
> Thanks and Regards
> Sukesh
>
>
>
>
> --Life is not measured by the number of breaths we take,
>  but by the moments that take our breath away.
>
>
> ---------------------------------------------------------------------
> 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
>


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


Re: Powerpoint conversion Help!!

Posted by "Andrew C. Oliver" <ac...@apache.org>.
On 8/15/03 7:11 PM, "Michael Zalewski" <za...@optonline.net> wrote:

> No answer so far on the list, so here is my comment.
> 
> I don't know for sure, but I think that there are several UserEditAtoms,
> unless the file has been completely saved, in which case there will only be
> one.
> 
> The UserEditAtoms, and the slides that were changed just get appended to the
> end of the stream. So I think the stream is like this:
> 
> SlidePersist Container for original document
> UserEditAtom
> SlidePersist Container for first revision
> UserEditAtom describing the first revision
> SlidePersist Container for second revision
> UserEditAtom...
> 
> I'm not entirely sure if the above explanation is correct.
> 
> Anyone else on this list delving into Power Point?
>

Nope we really need someone to kick off an effort in this area.
 
> -----Original Message-----
> From: Sukesh M Prabhakar [mailto:sprabhak@in.ibm.com]
> Sent: Thursday, August 14, 2003 8:13 AM
> To: poi-dev@jakarta.apache.org
> Subject: Powerpoint conversion Help!!
> 
> Hi,
> I am working on reading the binary stream of PowerPoint and converting to
> Java objects.Currently I am facing the problem of edited slides.
> 
> Observation:
> The Slide record contains a SlideAtom but it does not contain any unique
> slide ID/Number.
> The SlideListWithText record contains a unique slide ID by which I can
> recognise a particular slide.
> Once a powerpoint file is saved,any subsequent edits or changes to a slide
> creates a new slide record in the binary stream.
> 
> Problem:
> I need to co- relate the original slide with the edited slide. In the sense
> I need to know which slide has been edited so that I can make changes to
> the corresponding user object.
> The UserEditAtom contains the file position of the last edit and also the
> slide ID of the last edited slide.But what if more than one slide has been
> changed or edited.
> 
> Please mail me some ideas as how to overcome this problem.
> 
> 
> Thanks and Regards
> Sukesh
> 
> 
> 
> 
> --Life is not measured by the number of breaths we take,
> but by the moments that take our breath away.
> 
> 
> ---------------------------------------------------------------------
> 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
> 

-- 
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?


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


RE: Powerpoint conversion Help!!

Posted by Michael Zalewski <za...@optonline.net>.
No answer so far on the list, so here is my comment.

I don't know for sure, but I think that there are several UserEditAtoms,
unless the file has been completely saved, in which case there will only be
one.

The UserEditAtoms, and the slides that were changed just get appended to the
end of the stream. So I think the stream is like this:

SlidePersist Container for original document
UserEditAtom
SlidePersist Container for first revision
UserEditAtom describing the first revision
SlidePersist Container for second revision
UserEditAtom...

I'm not entirely sure if the above explanation is correct.

Anyone else on this list delving into Power Point?

-----Original Message-----
From: Sukesh M Prabhakar [mailto:sprabhak@in.ibm.com]
Sent: Thursday, August 14, 2003 8:13 AM
To: poi-dev@jakarta.apache.org
Subject: Powerpoint conversion Help!!

Hi,
I am working on reading the binary stream of PowerPoint and converting to
Java objects.Currently I am facing the problem of edited slides.

Observation:
The Slide record contains a SlideAtom but it does not contain any unique
slide ID/Number.
The SlideListWithText record contains a unique slide ID by which I can
recognise a particular slide.
Once a powerpoint file is saved,any subsequent edits or changes to a slide
creates a new slide record in the binary stream.

Problem:
I need to co- relate the original slide with the edited slide. In the sense
I need to know which slide has been edited so that I can make changes to
the corresponding user object.
The UserEditAtom contains the file position of the last edit and also the
slide ID of the last edited slide.But what if more than one slide has been
changed or edited.

Please mail me some ideas as how to overcome this problem.


Thanks and Regards
Sukesh




--Life is not measured by the number of breaths we take,
 but by the moments that take our breath away.


---------------------------------------------------------------------
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