Report
TemplatesThe reports that KVS generates are HTML-based. You can customize the appearance of various reports by defining styles in a set of HTML templates. These styles should be defined according to the standardized definitions for Cascading Style Sheets distributed by the World Wide Web Consortium.
Beginning with KVS 3.1.5, sample templates are automatically installed in the KVS program directory. To edit a sample template, open Notepad (or any other plain text editor), browse to the appropriate file (e.g., "Report.htm"), and open it. Opening report templates from the Windows explorer will display them in your browser, where they will appear to be empty - you must open them using a text editor like Notepad.
Report templates should be placed in the same Templates subdirectory as templates for Word documents. See the documentation on Word templates for further information.
Here are some sample style-entries:
| Style entry | Description |
| H1 {font-size: 28; font-style: italic; color: #40AD40; vertical-align: top; text-align: center; } | Defines the style for the report title. You can also define styles for H2 and H3. |
| TABLE.header { align: center; margin-left: auto;
margin-right: auto; border-collapse: collapse; border: 0px solid black;
width: 100%; }
TABLE.header TD {font-size: 12; color: #000000; vertical-align: top; text-align: center; padding-left: 1em; padding-right: 1em; border: 0px solid black; }
|
Format for the table containing the report header |
| TABLE { margin-left: auto; margin-right: auto;
border-collapse: collapse; border: 3px solid black; }
TD {font-size: 12; color: #000000; vertical-align: top; text-align: center; padding-left: 1em; padding-right: 1em; border: 1px solid black; }
|
Format for the table containing the report information |
| P {font-size: 12; color: #000000; vertical-align: top; text-align: center; } | Standard text style for the report content |