class PdfDestWhatsitNode
- supers: WhatsitNode
Example:
assert.node_type("whatsit", "pdf_dest", {
id = "whatsit (8)",
subtype = "pdf_dest (22)",
fields = {
"prev (-1)",
"next (0)",
"id (1)",
"subtype (2)",
"attr (3)",
"width (4)",
"depth (5)",
"height (6)",
"named_id (7)",
"dest_id (8)",
"dest_type (9)",
"xyz_zoom (10)",
"objnum (11)",
},
})
😱 Types incomplete or incorrect? 🙏 Please contribute!
fields
PdfDestWhatsitNode.attr
PdfDestWhatsitNode.attr : Node {
next: Node?,
prev: Node?,
id: integer,
subtype: integer,
head: Node?,
attr: Node,
}
A list of attributes.
PdfDestWhatsitNode.width
the width (not used in calculations)
PdfDestWhatsitNode.height
the height (not used in calculations)
PdfDestWhatsitNode.depth
the depth (not used in calculations)
PdfDestWhatsitNode.named_id
is the dest_id
a string value?
PdfDestWhatsitNode.dest_id
integer
: the destination id string
: the destination name
PdfDestWhatsitNode.dest_type
type of destination
PdfDestWhatsitNode.xyz_zoom
the zoom factor (times 1000)
PdfDestWhatsitNode.objnum
the PDF object number; for structure references the PDF object number of the linked structure element