|
Hi Nathan, sorry for the late answer.
Il giorno mer 30 giu 2021 alle ore 17:48 Nathan Andelin <
nandelin@xxxxxxxxx>
ha scritto:
Hi Marco,They
I appreciate your feedback. Could you further explain your concern about
generating documents vs. reports? Also explain what data-source options
you're interested in?
Our target is to enable the end user to modify (or create) templates.
need to be able to handle basic text, formatting, tables, and bulleted and
numbered lists. Furthermore, they must be able to insert placeholders for
the data and condition the presence or absence of certain sections based on
specific conditions. This last part is managed (today) by Freemarker.
An average document contains 70 to 90 pages, the final document (usually)
20 to 30 pages. This is due to the application of the If clauses:
[if OrderHeader.OrderType = 'Toys']
This order contains [if OrderHeader.Attributes.Dangerous = 'Yes']dangerous
[/if]Toys
[/if]
As for the data source we prefer to use Json.
In regard to generating documents, from my perspective that's what
templates are great for, whether generating HTML, XML, JSON, or otherAPI
formatted documents. A single program might generate any number of
formatted output streams based on the same data source; just use an RPG
to merge the data source with whatever template might be selected.a
Documents may be complex. For example, one of our applications generates
roughly 15 page education plan for students, which consists of contentfrom
something like 30 different data sources. The template for the education
plan is a single HTML file that has many sections.
How do you choose which sections to print and which not to print?
There are many WYSIWYG options for designing HTML templates. Ourpreference
is an old version of Dreamweaver. HTML provides pixel-level control overI'll check if they have a usable version in a browser (javascript
layout and can be supplemented by CSS styles.
compatible).
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.