Class: PDF::TechBook::TagXref

Class | PDF::TechBook::TagXref
In: | lib/pdf/techbook.rb
Parent: | Object

A stand-alone replacement callback that will return an internal link with either the name of the cross-reference or the page on which the cross-reference appears as the label. If the page number is not yet known (when the cross-referenced item has not yet been rendered, e.g., forward-references), the label will be used in any case.

The parameters are:

name: | The name of the cross-reference.
label: | Either `page`, `title`, or `text`. `page` will not be used for forward references; only `title` or `text` will be used.
text: | Required if `label` has a value of `text`. Ignored if `label` is `title`, optional if `label` is `page`. This value will be used as the display text for the internal link. `text` takes precedence over `title` if `label` is `page`.

### Methods

[]

### Public Class methods

[](pdf, params)

[Validate]