0
votes

I have a few lines of C# code where I control a PowerPoint slideshow, using the Office automation API.

These are the relevant parts of my Software:

First I obtain the Presentation for a given File name. The objPresSet comes from PowePoint.Application(): objPres = objPresSet.Open(pptFileNm, MsoTriState.msoFalse, MsoTriState.msoTrue, MsoTriState.msoTrue);

Then I iterate over all the slides in objPres.Slides and I - count the animated Objects in the slide (number of Events in the slides TimeLine.MainSequence where TriggerType is a MsoAnimTriggerType.msoAnimTriggerOnPageClick - and I read the Slide Title and Slide Notes using s.Shapes[1].TextFrame.TextRange.Text and s.NotesPage.Shapes[2].TextFrame.TextRange.Text

The data is sent to a remote device and I use the ZXing QR DLL in order to create a QR Code for pairing. Based on the collected data, the remote device is sending commands like goto or next. My C# Program is receiving this data over a persistent HTTP Connection. And based on the commands my Program is executing stuff like objSSW.View.Next() The objSSW comes from objApp.SlideShowWindows;

Is it possible to do that with Office 365 and if yes, what is the name of the tool and product stack (or API) for such a task? Sorry if that is a "stupid" question, but the Microsoft products are not realy my field of expertise.

1
Can you share the few lines of C# code you are already using? Do you mean you want to control a slideshow in PowerPoint Online (i.e. PowerPoint via a web browser)?Philippe Signoret
Well, to be honest, the few lines of c# are a full blown c# Project.user1704369
Yes, I would like to control the PowerPoint Slide Show Online in Office 365. Please take a look at this Video, I am presenting FonPrompt youtube.com/watch?v=j7kTR8zLXW8 and thats what I would like to port to Office 365.user1704369

1 Answers

0
votes

If you are writing an office store add-in, you can control slide progression via the Office JS library.

https://msdn.microsoft.com/en-us/library/office/fp142185.aspx