I have a pdf template without AcroFields and I need to replace the text in it. The text is formed as follows ((aFieldToReplace))
, but there are also tables that are filled with lines n .
Is there a good tutorial, resource or sample to search for?
Is there a way to replace text in a PDF using itextsharp? has more or less the same question, but the answer ignores the part of the βno Acrofieldβ question.
EDIT:
To make it even harder, I have several templates that I can use. Templates have their own formatting style (font, color, ...)
EDIT 2:
The goal is to create a report with some data in the database. Data in a database comes from several forms in an ASP.NET MVC application.
A report may contain several layouts depending on the selected template.
Templates must be added dynamically, so I cannot create a layout from scratch. I really need to get the layout from the template.
source share