This module enables you to specify how should Tablix distribute the recurrences of an event throughout a multiweek timetable.
This module only affects resource domains, so the weight and mandatory values are ignored.
Configuration file must define the following resource types in order to use this module:
This restriction specifies two recurrence parameters: The week when the recurrence starts and how many times per week should this event appear.
Consider the following example:
<event name="Lecture" repeats="24"> <resource type="teacher" name="A"/> <resource type="class" name="B"/> <restriction type="recurrence">2 3</restriction> </event>
This means that events named 'Lecture' will appear for 8 consecutive weeks (24 repeats divided by 3 recurrences per week) starting on the third week (week are numbered starting from 0) with 3 events per week.
This option specifies the number of work days per week. If this option is not specified a default number of 5 is used.
Example:
<module name="recurrence.so" weight="60" mandatory="yes"> <option name="days-per-week">6</option> </module> . . . <resourcetype type="time"> <matrix width="30" height="5"/> </resourcetype>
This combination of options would result in a timetable that is 6 weeks long (30 weeks long divided by 6 days per week).
Please note that if you changed the default number of days per week you will also have to give this option to the 'htmlcss2' export module to get the expected result.
This module belongs to the following groups:
Tomaz Solc, tomaz.solc@tablix.org