[Mono-list] How to split input pptx file into a set of one slide files in C#

Michael Stoll unwichtig2 at mistoll.de
Sun Apr 15 11:41:03 UTC 2012


the pptx format is xml in a zip file. You can simply unzip it and modify 
the containing xml. There are some cross-references between the xml 
files, so it wont't be that easy as just copying/deleting a file.
I'm sure there are some pptx / ppt libraries out there, which could 
faciliate your task. But AFAIK it's not part of Mono.

There are also the Microsoft Office Interop Libraries (PIA), but that 
won't work on Linux. Maybe your code snippet is using PIA?


Am 11.04.2012 03:44, schrieb sp0065:
> Hello,
> I need to split input pptx and possibly ppt files into a set of slides each
> stored in the separate output pptx (ppt) file. I need to do it on Linux
> Ubuntu server without X. I want to run a program from a command line or call
> it from another program written in PHP.
> Is it possible to do it in C# and Mono? I am new to C# and Mono so if it is
> possible code examples would help.
> May be I need to delete all slides but one and then repeat for each selected
> slide? I found there is
> powerPoint.Slides(x).Delete
> Thank you!
> --
> View this message in context: http://mono.1490590.n4.nabble.com/How-to-split-input-pptx-file-into-a-set-of-one-slide-files-in-C-tp4547665p4547665.html
> Sent from the Mono - General mailing list archive at Nabble.com.
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list

More information about the Mono-list mailing list