| View previous topic :: View next topic |
| Author |
Message |
pradeep Guest
|
Posted: Fri Jan 23, 2004 7:57 am Post subject: Convert PPT to HTML using command line or macro |
|
|
| 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


Joined: 02 Apr 2003 Posts: 3991 Location: Lawrence, Kansas, USA
|
Posted: Fri Jan 23, 2004 8:31 am Post subject: |
|
|
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 |
|
 |
Georg Rell Guest
|
Posted: Tue Apr 13, 2004 1:57 am Post subject: export all impress slides to graphics (jpg) in one go |
|
|
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


Joined: 02 Apr 2003 Posts: 3991 Location: Lawrence, Kansas, USA
|
|
| Back to top |
|
 |
DannyB Moderator


Joined: 02 Apr 2003 Posts: 3991 Location: Lawrence, Kansas, USA
|
|
| Back to top |
|
 |
|