Open Document Text report templates are regular ODT files that can be designed using any ODT word processor like Calligra Words or LibreOffice Writer. The technique used is to use user field variables to hold references to the information that shall be fetched from the project. The variables are called User Fields in Writer and can be found under → → → → . In Words they are called Custom Variables and can be found under → → .
The easiest way to create a new report template is to modify an existing one as all user fields are defined.
The variables are used to enable the generator to extract data from the project.
A variable can be a reference to a single data field, a reference to table data or a reference to chart data.
A single data field variable has the following format:
data group name
.property
= property identifier
where:
data group name
can be tr, project or schedule (see below).property
makes the user field name unique.property identity
identifies the property in the data group.
A table in a report template consists of a variable to specify the data table to use.
The variable name must start with table
(e.g. tableTasks) and the variable value must be the name of the data table (e.g. tasks).
Immediately after the variable, a table must be inserted and columns filled with user field variables that specify which properties to fetch from the table specified above. These variables must have names that start with the name of the table variable above.
These variables have the following format:
tableTasks.property
= property identifier
where:
property makes the user field name unique.
property identifier identifies the property in the data group.
A chart in a report template consists of a variable to specify the data to use in the chart.
The variable name must start with chart
(e.g. chartBudgetCost) and the variable value specifies the data group and values to populate the chart.
The variable has the following format (note the semicolons):
name
= data group
; values=comma separated list of data properties
;
where:
name
must start with chart (e.g. chartBudgetCost)data group
comma separated list of data properties identifies the properties in the data group.
E.g.:
chartBudget = project; values=bcws cost, bcwp cost, acwp cost;
Translated labels enable us to produce general report templates that can be used in different languages.
Variable Name | Variable Value |
---|---|
tr.project |
Project |
tr.manager |
Manager |
tr.schedule |
Schedule |
tr.bcws |
BCWS |
tr.bcwp |
BCWP |
tr.acwp |
ACWP |
tr.spi |
SPI |
tr.cpi |
CPI |
Shows values from the main project.
Variable Name | Variable Value | Description |
---|---|---|
project.name |
Name |
The name of the project |
project.manager |
Manager |
The name of the project manager |
project.bcwscost |
BCWS Cost |
Cost based Budgeted Cost of Work Scheduled |
project.bcwpcost |
BCWP Cost |
Cost based Budgeted Cost of Work Performed |
project.acwpcost |
ACWP Cost |
Cost based Actual Cost of Work Performed |
project.spicost |
SPI Cost |
Cost based Schedule Performance Index |
project.cpicost |
CPI Cost |
Cost based Cost Performance Index |
project.bcwseffort |
BCWS Effort |
Effort based Budgeted Cost of Work Scheduled |
project.bcwpeffort |
BCWP Effort |
Effort based Budgeted Cost of Work Performed |
project.acwpeffort |
ACWP Effort |
Effort based Actual Cost of Work Performed |
project.spieffort |
SPI Effort |
Effort based Schedule Performance Index |
project.cpieffort |
CPI Effort |
Effort based Cost Performance Index |
Shows values from the current schedule.
Variable Name | Variable Value | Description |
---|---|---|
schedule.name |
Name |
The name of the schedule |
schedule.state |
State |
Scheduling state |
schedule.direction |
Direction |
Scheduling direction |
schedule.overbooking |
Overbooking |
Overbooking |
schedule.distribution |
Distribution |
Distribution |
schedule.plannedstart |
Planned Start |
Planned Start |
schedule.plannedfinish |
Planned Finish |
Planned Finish |
schedule.scheduler |
Scheduler |
Scheduler |
schedule.granularity |
Granularity |
Granularity |
schedule.mode |
Mode |
Scheduling mode (Auto or Manual) |
Supported table types:
tasks
taskstatus
schedules
projects
To create a table, place a variable just before a table in your template file. The variable name identifies the table and must start with table, e.g. tableTaskStatus.
The value of the variable is used to point to the data to be fetched and must be one of the supported tables listed above, e.g. taskstatus.
You then put variables inside the table cells with name and value from the table below.
Note that the schedules table supports the values described in Schedule Values above.
The projects, tasks and taskstatus tables supports the following values:
Variable Name | Variable Value | Description |
---|---|---|
|
Name |
The name of the task or project |
|
WBS Code | |
|
Type |
Type of task |
|
Responsible | |
|
Allocation | |
|
Estimate Type | |
|
Calendar | |
|
Estimate |
Most likely estimate |
|
Optimistic |
Optimistic ratio |
|
Pessimistic |
Pessimistic ratio |
|
Risk |
Estimate uncertainty |
|
Constraint |
Type of time constraint |
|
Constraint Start |
Constraint start time |
|
Constraint End |
Constraint finish time |
|
Running Account |
Account for running costs |
|
Startup Account |
Account for startup cost |
|
Startup Cost |
The cost incurred at startup of the task |
|
Shutdown Account |
Account for shutdown cost |
|
Shutdown Cost |
The cost incurred at shutdown of the task |
|
Description |
Task description |
|
Expected |
Calculated most likely estimate |
|
Optimistic |
Calculated optimistic estimate |
|
Pessimistic |
Calculated pessimistic estimate |
|
Start Time |
Scheduled start time |
|
End Time |
Scheduled finish time |
|
Duration |
Scheduled duration |
|
Early Start |
Earliest possible start |
|
Early Finish |
Earliest possible finish |
|
Late Start |
Latest possible start |
|
Late Finish |
Latest possible finish |
|
Positive Float | |
|
Free Float | |
|
Negative Float | |
|
Start Float | |
|
Finish Float | |
|
Assignments |
Resource assignments |
|
Variance (Est) |
Calculated estimate variance |
|
Variance (Dur) |
Calculated duration variance |
|
Optimistic (Dur) |
Calculated optimistic duration |
|
Pessimistic (Dur) |
Calculated pessimistic duration |
|
Status |
Task status as shown in Task Status View |
|
% Completed |
Task completion |
|
Planned Effort |
Planned effort |
|
Actual Effort |
Actual effort |
|
Remaining Effort |
Remaining effort |
|
Planned Cost |
Planned cost |
|
Actual Cost |
Actual cost |
|
Actual Start |
Actual start |
|
Started | |
|
Actual Finish |
Actual finish |
|
Finished | |
|
Scheduling Status |
Scheduling status |
|
BCWS |
Budgeted Cost of Work Scheduled (cost based) |
|
BCWP |
Budgeted Cost of Work Performed (cost based) |
|
ACWP |
Actual Cost of Work Performed (cost based) |
|
SPI |
Schedule Performance Index |
|
Critical |
Task is critical |
|
Critical Path |
Task is in critical path |
|
Not Scheduled |
Not interesting |
|
Assignment Missing |
Not interesting |
|
Resource Overbooked |
Not interesting |
|
Resource Unavailable |
Not interesting |
|
Constraints Error |
Not interesting |
|
Effort Not Met |
Not interesting |
|
Scheduling Error |
Not interesting |
|
Node level, Level |
Not interesting |
|
Status Note |
Note: Not implemented |
|
Owner |
Must not be used, and are not very interesting |
|
Status |
Must not be used, and are not very interesting |
|
Time |
Must not be used, and are not very interesting |
Use by placing a variable with name chartX (X=some text to make the variable name unique) with a value project before the chart that shall be used.
Note that the chart must be “anchored as character” or else the report generator cannot find it.
The variable has this format:
Variable: Name: chartX (X=some text) Value: project; values=
data
;
where data
is a comma separated list of values to be include in the chart.
Possible data
values are:
bcws effort Budgeted cost of work scheduled, effort based.
bcwp effort Budgeted cost of work performed, effort based.
acwp effort Actual cost of work performed, effort based.
spi effort Schedule performance index, effort based.
cpi effort Cost performance index, effort based.
bcws cost Budgeted cost of work scheduled, cost based.
bcwp cost Budgeted cost of work performed, cost based.
acwp cost Actual cost of work performed, cost based.
spi cost Schedule performance index, cost based.
cpi cost Cost performance index, cost based.
The charts you create in your template must have the same (or more) number of columns as the number of values you specify in your variable.
Example:
Variable name: chart1
Value: project; values=bcws cost,bcwp cost, acwp cost;
Note that you cannot mix effort- and cost-based values. If you want to show both, create two charts.