# Reporting

Menu path: Tools > Create Report
or: right-click on selected items in view and select Create Report
The reporting tool creates PDF and HTML files based on items in the view.
To create a report select a format (either PDF or HTML) and a report type from the dropdown box. Select a target file and press "run" to start the report generation.
Note that the drop-down box with the report types can be extended with your own. The reports are actually XSLT (XSL Transformation) files so you need to know the syntax before you can create your own report file(s). There is a report creation guide available here.
A good place to start would be http://www.w3schools.com/xsl/. The fields you can add to your report are all mentioned in <data crow directory>/reports/dictionary.txt (if this file is not there or you are not sure it is up to date, open and close the report dialog. This (re-)creates the before mentioned file).
After you have created a XSLT file, place it in the <data crow directory>/reports/<module name> directory (or in any of its sub directories).

## Settings

### Copy Images

Copies the images to a sub directory in the location where the report is saved.

### Scale Image

This option is only enabled when "Copy Images" is selected and allows you to scale the image to a lesser or greater size. You can indicate the new maximum height and width in the corresponding input fields.

### Maximum Text Length

Limit the length of the text(s) added to the report.

## Printing a Report

Data Crow has no functionality to print the generated reports. In order to print a PDF file find a free PDF viewers suitable for the platform you are running on. The HTML reports can be printed using your favourite internet browser

## Report examples