| Author |
|
stoem Big Kahuna

stoem == Stefan
Joined: 05 January 2004 Location: United Kingdom Posts: 1079
|
| Posted: 22 November 2005 at 17:15 | IP Logged
|
|
|
lantian's said it, that's pretty much the syntax we use
__________________ Flashcomguru.com
|
| Back to Top |
|
| |
jaycharles Moderator

Joined: 18 February 2004 Posts: 507
|
| Posted: 22 November 2005 at 17:40 | IP Logged
|
|
|
lantian329 wrote:
jaycharles,
Can you use openOffice's ComObject to convert PPT to SWF?
I can use microsoft office's ComObject to convert PPT to JPG,so I want to ...
|
|
|
I haven't done it before, but I don't see any reason why you couldn't.
|
| Back to Top |
|
| |
lantian329 Flashcom Newbie

Joined: 18 April 2005 Posts: 27
|
| Posted: 23 November 2005 at 03:49 | IP Logged
|
|
|
jaycharles wrote:
| I haven't done it before, but I don't see any reason why you couldn't. |
|
|
I don't know the syntax about the OpenOffice.org's COM Object.
Use CFML about microsoft office,test successfull:
<cfobject action = "Create"
type = "COM"
class = "powerpoint.application"
name = "obj">
Use CFML about OpenOffice.org,test failed:
<cfobject action = "Create"
type = "COM"
class = "com.sun.star.ServiceManager"
name = "obj">
And use command line to convert ppt to swf,that thread is not safe.
Example,two commands are running at one time,one of these commands will be failed.
|
| Back to Top |
|
| |
jaycharles Moderator

Joined: 18 February 2004 Posts: 507
|
| Posted: 23 November 2005 at 23:01 | IP Logged
|
|
|
lantian329 wrote:
And use command line to convert ppt to swf,that thread is not safe.
Example,two commands are running at one time,one of these commands will be failed. |
|
|
I'm not sure what you mean by not safe. I've had multiple conversions running at the same time without error of failure.
|
| Back to Top |
|
| |
susanzheng Flashcom Newbie


Joined: 25 November 2005 Location: China Posts: 1
|
| Posted: 25 November 2005 at 02:41 | IP Logged
|
|
|
You can try SameShow PowerPoint to Flash Converter
http://www.sameshow.com
A practical yet easy-to-use software to convert PowerPoint to Flash for publishing on Web or emailing to others.
Or you can try do it manually
See: http://www.sameshow.com/other/powerpoint-to-flash5.html
|
| Back to Top |
|
| |
bajzi Flashcom Newbie

Joined: 22 December 2004 Posts: 14
|
| Posted: 05 December 2005 at 22:22 | IP Logged
|
|
|
Hi!
I've tried what Jaycharles has suggested and it works great on my win client. Thanks for pasting the VB code in! However, I have one question to any Linux guru here: is it possible to use it on a linux server without installing Xwindows on it? Since the macro did everything as if I did it manually popping up the openoffice window for every slide. Can anyone help with this?
Thanks
|
| Back to Top |
|
| |
jaycharles Moderator

Joined: 18 February 2004 Posts: 507
|
| Posted: 06 December 2005 at 18:30 | IP Logged
|
|
|
bajzi wrote:
Hi!
I've tried what Jaycharles has suggested and it works great on my win client. Thanks for pasting the VB code in! However, I have one question to any Linux guru here: is it possible to use it on a linux server without installing Xwindows on it? Since the macro did everything as if I did it manually popping up the openoffice window for every slide. Can anyone help with this?
Thanks |
|
|
Although I haven't tried it, I don't see why it wouldn't work on Linux without Xwindows. OO runs on linux by itself, and OO doesn't need Powerpoint to open ppt files.
|
| Back to Top |
|
| |
antonhu Flashcom Newbie

Joined: 13 July 2007 Location: Austria Posts: 1
|
| Posted: 18 July 2007 at 22:05 | IP Logged
|
|
|
Hi!
I know that this is not an openoffice forum but I need help and I just found the macro of jaycharles in that forum.
When I try to run the macro out of the command line, openoffice is starting and shows at the line 'Open aFile For Output As #iNumber' this error: 'BAISC runtime error. Device I/O error'.
Can anybody of you help me??
Thanks a lot,
Anton
|
| Back to Top |
|
| |
jaycharles Moderator

Joined: 18 February 2004 Posts: 507
|
| Posted: 18 July 2007 at 23:14 | IP Logged
|
|
|
That's a pretty generic error message, but the line it's coming from has to do with writing the XML file for the slide list.
If it's failing, then one of the following might be true:
1. The path to the directory is invalid
2. The path has spaces in it (you'll need to encapsulate the path in quotes in that case)
3. The user OO is running under doesn't have write permissions to the destination directory.
I'm certainly no OO expert, so there are likely many other problems that might cause such a generic error, but those are the 3 that are most obvious to me.
|
| Back to Top |
|
| |
gunsta Flashcom Newbie

Joined: 10 March 2009 Posts: 1
|
| Posted: 10 March 2009 at 14:08 | IP Logged
|
|
|
Wow guys why so hard ????
All much more easy just download converter That's all
For Example i use Presentation to Video Converter
|
| Back to Top |
|
| |
bajzi Flashcom Newbie

Joined: 22 December 2004 Posts: 14
|
| Posted: 10 March 2009 at 14:33 | IP Logged
|
|
|
With such software you cannot convert ppt files to flv automated - running on a linux server. On client side OO is a perfect solution...
|
| Back to Top |
|
| |
jhun phil Flashcom Newbie

Joined: 20 March 2009 Posts: 1
|
| Posted: 20 March 2009 at 05:24 | IP Logged
|
|
|
I guess there are many things to complicate matters since each one of us have their own ideas to share with. Which makes it more complicated than necessary. Openoffice is available as linux binaries and windows installer. If you want a copy of my OO Macro that handles the conversion just let me know and I'll post it here.
__________________ Weddings Fort Lauderdale | gochi
|
| Back to Top |
|
| |
hacebe Flashcom Badass


Joined: 27 December 2005 Posts: 142
|
| Posted: 30 March 2009 at 04:38 | IP Logged
|
|
|
I was trying to build my own ppt2Swf converter using API's to do the job, but the problem is that it's getting hard to me to create flash files using OleObjects... I'm using Delphi 7.0
if any guy know how to use OLEObjects to create SWF's, tell me, so I can finish the tool. After finished, i'll release the source code for everyone here on the forums!
__________________ B4 u post anything on the forums, DO A SEARCH please!
http://www.solucoeswebti.com.br
|
| Back to Top |
|
| |