NGS.Templater-NET 2.2.1 » Developer.Team

NGS.Templater-NET 2.2.1

NGS.Templater-NET 2.2.1
NGS.Templater-NET 2.2.1 | 109 kB


Templater is a small reporting library with a minimal interface. Use your favorite editor (Word, Excel) to create report templates and just fill them with data. It's really as simple as that. Templater is not just a mail-merge library. It supports collections, nested collections and can create very complex reports.

var myFile = "MyDocument.docx";
var data = new { Tag = "a tray" };

using (var document = Configuration.Factory.Open(myFile))
  document.Process(data);

Process.Start(myFile);


Why should I use Templater

Are you tired of learning complex API and using legacy editors to create reports? Had enough of Office automation? Does your reporting workflow require more maintenance than your local nuclear power-station?

Would you like to see an API that you can learn in minutes?

Would you like to use your favorite editors for creating reports?

Would you like to create your document as a template and then use a library to fill in the blanks?

If you answered Yes more than once, Templater is a library for you.

Features
Tags as text

You can use any Office-like editor to create your templates.
(Microsoft Office, Open Office, LibreOffice, ...)
You can use any formatting tool your editor provides
(font, color, alignment or any advanced formatting options)
Templates are ordinary documents and can be managed and edited directly by clients

Property navigation / method invocation

Use the dot operator to select properties of your objects, like you would in your application
Reuse existing domain objects:
“There are [[User.ShoppingCart.Count]] items in your cart”
You can also navigate fields and invoke methods without arguments:
“MD5 checksum: [[Torrent.MD5Hash.ToLower]] ”

Intuitive DSL

“Monthly income for [[date]:format(MM/yyyy)]”
Initials: “[[FirstName]:substring(0,1)]. [[LastName]:substring(0,1)].”
Define your own with DSL with plugins.”

With Templater, you can say goodbye to:

joys of Office automation,
weeks of learning new reporting APIs,
custom editors and code for report layouts,
programming reports for every change request


[/b]

[b] Only for V.I.P
Warning! You are not allowed to view this text.
SiteLock