Template render context should be cached

Description

During exporting each element of the document model is rendered by Velocity. For rendering a context is used containing all placeholders for example.

Currently this context is recreated for every element instead of being reused.
We should construct that context only once and reuse it to speed up the rendering process.

Environment

None

Status

Assignee

Unassigned

Reporter

Jens Rutschmann (K15t)

Labels

None

Participants

None

Deployment

None

Components

Sprint

None

Fix versions

Priority

Major
Configure