NXM.System
Technical Documentation

UPU - Universal PUblishing
Visual Document Generator Format





Introduction


1. Purpose of the module


This module is for generating various types of publications based on various data sources.

Typical publications are:

  • documents such as invoice, stock receipt, etc.
  • reports such as sales summary, accounts receivable summary, etc.

The module enables you to create a template in XML or C#, and then use it by feeding various data sets to generate publications in various formats.


2. Formats supported


The following formats are supported:

  • PDF
  • HTML (with page breaks) - (Future)
  • HTML (continuous - classic)
  • XML (Future)
  • TXT (Future)
  • DOCX (Future)
  • XLSX (Future)


3. About the mechanism


The mechanism enables to collect data from the source database, generate a template (DLL library) for rendering and a data set for this template, and then render. Rendering can be done without contact with the source database - all you need is a generated template and a data set - which can be saved in a file(s) and sent to the renderer. The whole process is done using a set of styles, affecting the rendering effect.