Feature #73

Custom tags in headers and footers

Added by J. Templ about 4 years ago. Updated about 4 years ago.

Status:ClosedStart date:10/08/2015
Priority:NormalDue date:
Assignee:J. Templ% Done:


Target version:1.7
Forum topic:


For the situation where a non-standard tag is required in a text header or footer element a hook is required that allows to extend the set of available tags in an application specific way. An example is text that is only printed in the header or footer of the first page of a document or vice versa. Instead of adding more tags to module Printing it is simpler, more flexible, and fully backwards compatible if a hook is provided that allows custom tags to be implemented.
A proposal by J. Templ exists in CPC 1.7 rc5.

Reported by J. Templ on 2013-11-25.
Refers to CPC 1.7 rc5 change list number 56.

Associated revisions

Revision fabd47dd
Added by J. Templ about 4 years ago

ExpandHook for custom tags added. Refs: #73.
As proposed in CPC 1.7 rc5, which also
includes using Dialog.MapString for month name translation.

Signed-off-by: Josef Templ <>

Revision 8a5fadb2
Added by J. Templ about 4 years ago

expandHook exported for allowing chaining of custom tag expanders. Refs: #73.

Signed-off-by: Josef Templ <>


#1 Updated by J. Templ about 4 years ago

  • Status changed from New to Closed

Also available in: Atom PDF