sempdf v1.9.1Interfaces
Interface: TemplateCrossRefBlock
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
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
options? | readonly | TemplateCrossRefOptions | - | src/types.ts:2033 |
text? | readonly | string | Reference text. May contain the placeholder {page}, replaced by the resolved page number. Defaults to "see page {page}". | src/types.ts:2032 |
to | readonly | string | Name of the target TemplateBlockControls.anchor. | src/types.ts:2027 |
type | readonly | "crossRef" | - | src/types.ts:2025 |