PDA

View Full Version : opening PPT files in Qt



jay
11th May 2009, 11:07
Dear all,

Could anyone tell me is any way to open Microsoft Powerpoint(PPT) files in any Qt Widget?

Thanks in advance.

talk2amulya
11th May 2009, 11:39
try using:


QDesktopServices::openUrl(QUrl("file:///path_to_ppt_file"));

jay
11th May 2009, 11:41
I have referred the below link.

http://www.qtcentre.org/forum/f-qt-programming-2/t-how-to-embed-ms-wordpowerpointexcel-or-pdf-document-onto-my-qwidget-1082.html

Please clarify the below point.

Is it possible to show Powerpoint using ActiveQt widgets?

caduel
11th May 2009, 17:23
On windows, if you have a powerpoint installation, and program against COM interface (ie ActiveQt) then, yes, you should be able to do that.
You will need to find a tutorial or book on API exposed by/for powerpoint, though.

(Can't help you there, sorry. I am running linux.)

jay
14th May 2009, 10:24
I didn't worked ActiveQt related widgets before. Can you please tell me whether the Powerpoint which is viewing in ActiveQt can be editable and saved in a location?

wysota
14th May 2009, 12:20
Yes, it can. You can control it through the exposed COM (ActiveX) interface.