Beruflich Dokumente
Kultur Dokumente
==============================
Data Modeler reports generation uses XSL transformation to produce reports from
source XML file.
When creating reports with Data Modeler following files are involved:
- report_data.xml - This is the source XML file, containing all gathered data
for concrete report.
File is created when there is report generation from
loaded model inside Data Modeler and
is overwritten = on every run.
- report_data_rs.xml - Same as above, but file is created when report is ran
against reporting schema (repository).
- templates files - In directory /datamodeler/reports/xslt/ there two
subdirectories - 10 and 20.
Accordingly, there are XSLT 1.0 and XSLT 2.0 templates
for each report type and output format.
- fop.xconf - Apache FOP configuration file
1. HTML
As seen from table all reports with all character sets are displayed normally in
HTML format. No additional settings are required.
2. RTF
If default (XSLT 1.0) report generation is used multibyte characters WILL NOT be
displayed properly in RTF report. Saxon must be
used in order multibyte characters to be readable. Appropriate font has to be
installed on file system.
3. PDF
PDF reports are generated with Apache FOP v0.95 and PDF report by default WILL
NOT render multibyte characters properly.
<font embed-url="file:///<directory-path>/<font-file-name>"
kerning="yes" >
<font-triplet name="custom-font-alias" style="normal" weight="normal"/>
</font>
Example:
<font embed-url="file:///C:/custom_fonts/Fuente Japonesa
- epmgobld.ttf" kerning="yes" >
<font-triplet name="MyFont" style="normal" weight="normal"/>
</font>
This will embed custom font in PDF for portability i.e. reader of the PDF
report is not obligated to have this specific font
to be able to read the report.