sempdf
sempdf v1.9.1Interfaces

Interface: TemplateCrossRefBlock

sempdf v1.9.1


sempdf / TemplateCrossRefBlock

Defined in: src/types.ts:2024

Template block that renders a cross-reference to a named TemplateBlockControls.anchor elsewhere in the document. The target page number is resolved after the whole document is laid out, so a reference may point forward or backward.

Properties

PropertyModifierTypeDescriptionDefined in
options?readonlyTemplateCrossRefOptions-src/types.ts:2033
text?readonlystringReference text. May contain the placeholder {page}, replaced by the resolved page number. Defaults to "see page {page}".src/types.ts:2032
toreadonlystringName of the target TemplateBlockControls.anchor.src/types.ts:2027
typereadonly"crossRef"-src/types.ts:2025

On this page