[Mono-list] How to split input pptx file into a set of one slide files in C#
rmboggs at gmail.com
Sun Apr 15 17:44:17 UTC 2012
If you are working strictly with Office 2007+ documents, you could
have a look at the OpenXML sdk. I've been using it for a couple of
years with some of my projects to generate office documents without
the need of having Office installed on the machine or the use of the
office interop libraries. I believe there are examples of using the
sdk for retrieving information from office documents. The only thing
I am not sure about is how well it works on Mono but you could have
better results than relying on the interops. Hope this helps.
Link to OpenXML SDK:
On Sun, Apr 15, 2012 at 4:41 AM, Michael Stoll <unwichtig2 at mistoll.de> wrote:
> 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:
>> I need to split input pptx and possibly ppt files into a set of slides
>> 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
>> 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
>> possible code examples would help.
>> May be I need to delete all slides but one and then repeat for each
>> slide? I found there is
>> Thank you!
>> View this message in context:
>> Sent from the Mono - General mailing list archive at Nabble.com.
>> Mono-list maillist - Mono-list at lists.ximian.com
> Mono-list maillist - Mono-list at lists.ximian.com
More information about the Mono-list