Library for creating PowerPoint-Presentations - c#

is there a (.net-)library for creating PowerPoint-Presentations (PPTX => OpenXML).
For creating Excel-sheets I like ClosedXML-Library and would love something similar for PowerPoint.
I can't and don't want to use Microsoft Interop because it is an ASP.NET Web-App.
Does someone has any experiences creating PowerPoint-Slides in ASP.NET?
P.S.: I had a look at Aspose but found it little to expensive.

You mentioned OpenXML but have you tried the OpenXML SDK?
Download from: http://www.microsoft.com/download/en/details.aspx?id=5124

Related

Document Scanning using MVC3 application

We need integrate document scanning functionality with our MVC3 application. Any Microsoft provided libraries for this solution?
Personally i used the twain API, i know its interop but its not really difficult.
http://www.codeproject.com/Articles/1376/NET-TWAIN-image-scanner
or something more modern like:
http://www.gdpicture.com/products/dotnet/document-imaging-sdk.php

What is the OpenXML SDK alternative to InsertFile?

I'm currently working on a project that requires me to be able to merge two word documents. Right now I'm using automation and having Word merge them via InsertFile. It has come to my attention though that automating Word on the server is bad practice. So how would I go about this using OpenXML SDK or something similar?
There is a nice wrapper API (Document Builder 2.2) around open xml specially designed to merge documents, with flexibility of choosing the paragraphs to merge etc. You can download it from here.
The documentation and screen casts on how to use it are here.
Hope this helps.
You can use AltChunk as explained #
http://blogs.msdn.com/b/ericwhite/archive/2008/10/27/how-to-use-altchunk-for-document-assembly.aspx

generate excel with chart from .NET

I have a WPF application and I need to generate an excel file that also contains charts? What is the best way of doing that? If possible, I want to avoid using the excel interop.
Thx,
L
Look at this http://epplus.codeplex.com/wikipage?title=StatisticsSheetExample
I just found http://epplus.codeplex.com. Think I'm going to give it a try, it supports charts.
OfficeWriter is another mature .NET library for Excel that supports adding charts:
http://www.officewriter.com

How can I use DOT files to export data's?

I need to export data into a word doc using ".dot" models, with an application written in asp.net.
Can you give me some links to learn this trick? I'm sure is it possible without any external libraries.
Thanks to the universal knowledge ;-)
I doubt you will able to do this without any extra libraries.
If you are using Word 2007+ format (eg .docx, .dotx) you can use the Open XML SDK. If not, your best bet is probably Aspose.Words
You'll need to have MS Word installed on the machine that will fill the templates (.dot files), and then you can call an instance of Word to do the replacements for you, using Microsoft.Office.Interop.Word.
If this has to be implemented on a server, you might have a problem. Microsoft advises against installing Office on servers because of stability and reliability issues. http://support.microsoft.com/kb/257757 focusses on some of these problems and also mentions some alternatives.

Read content of Word file in C# without using Word Application

I"m looking to read the contents of a Word file on an application running on a webserver - without having word installed. Does a native .net solution for this exist?
Aspose makes a paid solution for doing just about anything with any Office format:
http://www.aspose.com/categories/.net-components/aspose.words-for-.net/default.aspx
There are commercial options too, but that's what OpenXML is all about as long as you are dealing with docx files only. If you need doc files, you will probably need to purchase Aspose's Aspose.Words for .NET.
i have used several SDK, for now, the best is Aspose.words, the openxml sdk 2.5 is also a nice choice, but the api is too low, so if you use openxml sdk that means will be writing more code, and remenber user openxml sdk tool together, it is a nice tool can make coding simple.
you can look this video for a overview:
how to use openxml sdk tool
another choice: GemBox.Document, a commercial option, cheaper than aspose.words.

Categories

Resources