Documentation

Print Report

Description

The Print Report module enables printing a ready-made lesson report, including percentage results for each individual presentation page, a total percentage result, a number of checks, mistakes and errors, and time. It is possible to modify the appearance of each part of the report individually.

Properties

Property name Description
Text Text displayed on the button.
Print report label Label for the Print button, displayed above the report.
Close report label Label for the Close button, displayed above the report.
Show title Checking this property enables displaying the report's title.
Show title Text displayed as the report's title.
Show subtitle Checking this property enables displaying the report's subtitle.
Subitle Text displayed as the report's subtitle.
Show user first and last name Checking this property enables displaying user's first and last name. When this property is checked, the user's form will be displayed.
Show percentage score Checking this property enables displaying a column with the percentage score.
Percentage score label Label for the Percentage score column, displayed in the report's header.
Show checks count Checking this property enables displaying a column with the number of checks.
Checks count label Label for the Checks count column, displayed in the report's header.
Show mistakes count Checking this property enables displaying a column with the number of mistakes.
Mistakes count label Label for the Mistakes count column, displayed in the report's header.
Show errors count Checking this property enables displaying a column showing the number of errors.
Errors count label A label for the Errors count column, displayed in the report's header.
Show page score Checking this property enables displaying a column with the page score.
Page score label Label for the Page score column, displayed in the report's header.
Show time per page Checking this property enables displaying a column with the page time.
Time per page label Label for the Time per page column, displayed in the report's header.
Show total results Checking this property enables displaying a row with a total presentation result.
Total results label Label for the Total results row, displayed in the first column.
Time per page: days label A letter to be used as days label in time per page value. Default: "d".
Time per page: hours label A letter to be used as hours label in time per page value. Default: "h".
Time per page: minutes label A letter to be used as minutes label in time per page value. Default: "m".
Time per page: seconds label A letter to be used as seconds label in time per page value. Default: "s".
User form: first name label Label for the First name input field, displayed in the user's form. Default: "First name".
User form: last name label Label for the Last name input field, displayed in the user's form. Default: "Last name".
User form: confirm button label Text displayed on the Confrim button in the user's form. Default: "Print".
User form: cancel button label Text displayed on the Cancel button in the user's form. Default: "Cancel".
Styles Styles definitions which are to be applied to report.

Supported commands

Command name Params Description
hide --- Hides the module.
show --- Shows the module.

Advanced Connector integration

Each command supported by the Print Report addon can be used in the Advanced Connector addon's scripts. The below example shows how it interacts with Double State Button modules.

EVENTSTART
Source:TrueFalse1
Item:1-1
SCRIPTSTART
   var module = presenter.playerController.getModule('Print_Report1');
   module.show();
SCRIPTEND
EVENTEND
EVENTSTART
Source:TrueFalse1
Item:1-2
SCRIPTSTART
   var module = presenter.playerController.getModule('Print_Report1');
   module.hide();
SCRIPTEND
EVENTEND

Events

The Print Report module does not send any events.

CSS classes

Class name Description
.print-report-addon-wrapper DIV surrounding the Text.
.print-report-popup DIV surrounding the User's form.
.print-report-form User's FORM.
.print-report-form-firstname-wrapper DIV surrounding the User's form first name field.
.print-report-form-firstname-label User's form first name field LABEL.
.print-report-form-firstname User's form first name field INPUT.
.print-report-form-lastname-wrapper DIV surrounding the User's form last name field.
.print-report-form-lastname-label User's form last name field LABEL.
.print-report-form-lastname User's form last name field INPUT.
.print-report-form-actions DIV surrounding the User's form action buttons.
.print-report-form-cancel-btn User's form cancel BUTTON.
.print-report-form-confirm-btn User's form confirm BUTTON.

Report CSS classes

Class name Description
.wrapper SECTION surrounding the report.
.actions DIV surrounding the report's print and close buttons.
.print Report's print BUTTON.
.close Report's close BUTTON.
.header DIV surrounding the report's header.
.title DIV surrounding the report's title H1 element.
.subtitle DIV surrounding the report's subtitle H2 element.
.user DIV surrounding the User's first and last name.
.firstname SPAN surrounding the User's first name.
.lastname SPAN surrounding the User's last name.
.report DIV surrounding the report's table.
.percentage-score-label Report's table header TH surrounding the percentage score label.
.checks-label Report's table header TH surrounding the checks count label.
.mistakes-label Report's table header TH surrounding the mistakes count label.
.errors-label Report's table header TH surrounding the errors count label.
.page-score-label Report's table header TH surrounding the page score label.
.time-per-page-label Report's table header TH surrounding the time per page label.
.name Report's table body TD surrounding the page name.
.percentage-score Report's table body TD surrounding the percentage score.
.checks Report's table body TD surrounding the checks count.
.mistakes Report's table body TD surrounding the mistakes count.
.errors Report's table body TD surrounding the errors count.
.page-score Report's table body TD surrounding the page score.
.time-per-page Report's table body TD surrounding the time per page.
.total Report's table body TR surrounding the total score row.

Demo presentation

Demo presentation is available here.