aspose file tools*
The moose likes JDBC and the fly likes How to store PPT in Server on Save instead of local machine ?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "How to store PPT in Server on Save instead of local machine ??" Watch "How to store PPT in Server on Save instead of local machine ??" New topic
Author

How to store PPT in Server on Save instead of local machine ??

Rite Sara
Ranch Hand

Joined: Feb 13, 2010
Posts: 56
Hi..

I want to open powerpoint PPT from server on the local machine. Once it is open I should be able to edit it.
Once edit is done, when I click on Save the PPT it should be saved back to the server and not the local machine.
How to do it in Java ?.. Please let me how this can be done and post some sample code ... its very urgent ...


Thanks,
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Why are you choosing Java to do this? PowerPoint comes with multi user editing capabilities out the box I believe.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Rite Sara
Ranch Hand

Joined: Feb 13, 2010
Posts: 56
Hi Paul .. thanks for the reply..
could you please let me know what do you mean by multi user editing ?
On clicking the Save button I want to Save it direclty to the server from where I have opened it .. and not the local machine..
Rite Sara
Ranch Hand

Joined: Feb 13, 2010
Posts: 56
To be more precise this PPT is stored in the Oracle database BLOB object and we are reading it through Java JDBC. Now we want to Save it directly to the Oracle DB again when the user clicks on the save button of the PPT ..
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

With MS Office you can share a file on a server and anyone can edit it. I think PowerPoint allows this - check the docs.


To be more precise this PPT is stored in the Oracle database BLOB object and we are reading it through Java JDBC. Now we want to Save it directly to the Oracle DB again when the user clicks on the save button of the PPT ..

Personally, I'd do this in VBA, given you are trying to change the functionality of something running in PowerPoint. I suppose your VBA could callout to a shell script that calls Java, but I'm not sure why you would bother involving Java at all?
Jan Cumps
Bartender

Joined: Dec 20, 2006
Posts: 2516
    
  10

What you are requesting must be doable, because the Documentum eRoom software we use at work has this functionality.
You select a file in the browser, it is transfered to the local machine and opened with the appropriate application.
On closing the application, the file is retransfered to the server.
I don't know how they do it, but they do install a plug-in on the local computer.


OCUP UML fundamental and ITIL foundation
youtube channel
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Documentum is not a Java product as far as I am aware. Not sure if it s still the case, but last time I saw any integration work done with this it was in C.

You are right though, it must be possible somehow. SharePoint can do the same thing.
Jan Cumps
Bartender

Joined: Dec 20, 2006
Posts: 2516
    
  10

Paul Sturrock wrote:Documentum is not a Java product as far as I am aware.
That is true. It is not Java.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to store PPT in Server on Save instead of local machine ??