D
D
Dmitry2013-06-26 13:01:44
ASP.NET
Dmitry, 2013-06-26 13:01:44

PDF/DOC generation in C#?

I am in a creative search for a library (we are developing under ASP.NET 4, using MVC 4) that would meet the following criteria:

  • would allow generating a DOC or PDF from a file template, with value substitution
  • it would be possible to include minimal logic in the template

The ideal option would be to use some kind of html template, and the same Razor from the MVC kit, followed by rendering the result to a file, although there may be a better option.
I would appreciate any advice in this direction!

Answer the question

In order to leave comments, you need to log in

7 answer(s)
D
Dmitry, 2013-08-20
@Newbilius

Described the solution here.
habrahabr.ru/post/190658/

D
Dimond17, 2013-06-26
@Dimond17

itextsharp

A
Alexander, 2013-06-26
@avorsa

look at Stimulsoft
not exactly the same, but to cope with your task.

E
Error_403_Forbidden, 2013-06-26
@Error_403_Forbidden

Look here habrahabr.ru/post/112707/
The article is ancient, but maybe there is something

J
jonie, 2013-06-26
@jonie

DevExperess here unsubscribed about the creation in version 13.1 of its components called "Document Server" - just the creation of documents without reference to the office ...

L
Lolshto, 2013-06-26
@Lol4t0

To generate a PDF from a file template, with value substitution, some XSL-FO processor is great (you actually write an XSLT template that generates a document for you using XML data). There are many generators, which is best for your case, I can’t say, because I don’t work with .NET.

N
Nikita Zimin, 2013-06-27
@nzeemin

I once dealt with this issue. It is worth looking at what free libraries are now.
iTextSharp has already been called
NFop - an XSL-FO processor, a port of FOP with Java
. You should also consider this thing: if you need to sign (encrypt) a PDF, this function is licensed from Adobe, so free libraries, in principle, will NOT be able to provide such functionality.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question