Selected merged with RTF

Top  Previous  Next

This is an advanced version of the 'Selected to RTF' export function.

 

This function will merge the student data with an existing RTF template document. This is very useful for schools that have their own custom report format that is drastically different from the reports that can be produced directly from Elementary Reports.

 

The template document should be an RTF file with embedded control codes. When Elementary Reports merges the documents it scans for these embedded control codes and replaces them with the relevant information from the student data.

 

Here are the control codes (the case does not matter):

 

[schoolname]

The school name

[address1]

The school address

[address2]


[address3]


[address4]


[postcode]


[telephone]

The school telephone number

[web]

The school web address

[email]

The school email address

[head]

The head teacher

[teacher]

The class teacher (this depends also on pupil settings)

[days] or [sessions]

The number of days or sessions in a school year

[upn]

Student UPN

[forename]

Student forename

[knownas], [nickname] or [shortname]

Student known as (if empty, forename will be used)

[surname]

Student surname

[sex_mf]

Student sex (male or female)

[sex_bg]

Student sex (boy or girl)

[dob_dd]

DOB day

[dob_day]

DOB written day

[dob_mm]

DOB month

[dob_month]

DOB written month

[dob_yy]

DOB year

[dob_yyyy]

DOB year (long format)

[class]

Student class

[yeargroup] or [year]

Student yeargroup

[sen]

Student SEN

[keystage]

Student keystage

[attended]

Student days attended

[unauthorised]

Student days unauthorised

[authorised]

Student days authorised

[punctuality]

Student punctuality

[notes] or [comments]

Student comments

[date_dd]

Current day

[date_day]

Current written day

[date_mm]

Current month

[date_month]

Current written month

[date_yy]

Current year

[date_yyyy]

Current year (long format)

[last_yy]

Last year

[last_yyyy]

Last year (long format)

 

If the control word isn't in the list above, Elementary Reports will assume its a subject and will attempt to search the pupil text for the same subject heading. eg. [history]

 

If not found, then it will leave the control word as is.