OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Convert PPT to HTML using command line or macro

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Impress
View previous topic :: View next topic  
Author Message
pradeep
Guest





PostPosted: Fri Jan 23, 2004 7:57 am    Post subject: Convert PPT to HTML using command line or macro Reply with quote

I have to convert PPT (Power Point) slides to HTML using commands or macros ,I know it can be done from file -> export, but I want a command line command for this..Can anyone help
Back to top
DannyB
Moderator
Moderator


Joined: 02 Apr 2003
Posts: 3991
Location: Lawrence, Kansas, USA

PostPosted: Fri Jan 23, 2004 8:31 am    Post subject: Reply with quote

I have written many messages in the past showing how to convert documents from one form to another via. the API.

Here is the overall answer.
1. You need to write a macro.
2. The macro needs to be under "soffice" (part of the office, not part of a document)
3. There is a way to launch OOo from the command line such that it calls a macro, and passes parameters to it.
4. The macro needs to accept a parameter which is the source document, open it, save it in new format.

In this message....
http://www.oooforum.org/forum/viewtopic.php?p=18877#18877
you can find a fairly comprehensive list of everything on the subject of document conversion.

The most relevant link will the the one under the heading...
Converting Word -> PDF from the command line
http://www.oooforum.org/forum/viewtopic.php?t=3772
This one shows the technique described above. Substitute "Word" for "PPT", and then substitute "PDF" for "HTML". Since OOo will open an PPT just fine, you don't need to do anything special. But you will need to change the export filter name from one that saves as PDF, to one that saves Impress Html. A complete list of filters is also provided in the links above.
_________________
Want to make OOo Drawings like the colored flower design to the left?
Back to top
View user's profile Send private message
Georg Rell
Guest





PostPosted: Tue Apr 13, 2004 1:57 am    Post subject: export all impress slides to graphics (jpg) in one go Reply with quote

Hi all,

very usefull site, this. One problem I couldn't find a solution for is:

How can I export all impress-slides to a graphics format (JPG) in one go. It can nicely be done one after the other, but not in one bunch. I suppose a macro should do it. Unfortunately I have no clue how to do it. There are other export-makros - but how do I refer to a single slide in the impress-file?

Any solutions or hints are greatly appreciated.

Georg
Back to top
DannyB
Moderator
Moderator


Joined: 02 Apr 2003
Posts: 3991
Location: Lawrence, Kansas, USA

PostPosted: Tue Apr 13, 2004 7:21 am    Post subject: Reply with quote

Georg Rell wrote:
How can I export all impress-slides to a graphics format (JPG) in one go


See this article for your answer....

Impress: Export slides into separate documents
http://www.oooforum.org/forum/viewtopic.php?t=7796
_________________
Want to make OOo Drawings like the colored flower design to the left?
Back to top
View user's profile Send private message
DannyB
Moderator
Moderator


Joined: 02 Apr 2003
Posts: 3991
Location: Lawrence, Kansas, USA

PostPosted: Wed Jun 02, 2004 7:37 am    Post subject: Reply with quote

Here is a short example program to convert PPT to HTML.


Convert PPT to HTML short example...
http://www.oooforum.org/forum/viewtopic.php?t=9437
_________________
Want to make OOo Drawings like the colored flower design to the left?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Impress All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group