Question

Our ASP.NET application must be able to export web content to PDF and Word documents.

In the past, we've used Aspose's libraries to accomplish this, but we've found them to be a little too low-level in terms of document construction. e.g. We've found ourselves needing to write point-based functions using shape primitives to create bulleted lists.

Best case scenerio- we'd point a tool at our printable css-styled page and automagically get a PDF or Word document containing the same content styled in the same manner.

Have you had a good experience using any tools that could accomplish this?

Was it helpful?

Solution 3

We're leaning towards PrinceXML for the PDF documentation creation, it seems to be a good fit with our desire to push XHTML/CSS into a PDF without additional document construction.

OTHER TIPS

ITextSharp is a pretty easy PDF tool to use with .Net (it's a port of the iText java project). Free, open source and pretty high level so this is the code for bullet points:

List overview = new List(false, 10); //false =unordered, true= numbered
overview.Add(new ListItem("This is an item"));
overview.Add("This is another item");

Doesn't do Microsoft Word though.

For dynamic PDF generation we used TallPDF.....worked pretty good.....

This one is a .net library I wrote for generating template-based reports. It generates RTF documents easyly. I guess you'll have to integrate it with another library for generating PDF docs.

Check out NTemplates at ntemplates.codeplex.com

I do not believe that they do the automagically but I have good luck with SyncFusions tool sets.

Check out pdfFactory Developer Kit.

I haven't used it myself, but the FinePrint tool from the same people was one of The Best tools for Windows (not using Windows or FinePrint any more).

For generating Word files, I'd consider using the new OpenXML format. Microsoft provides good support for it, and it should be fairly easy to use. Sample article

We are using www.alt-soft.com Xml2PDF for this

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top