Skip to content

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


PdfDestWhatsitNode.width : integer

the width (not used in calculations)

PdfDestWhatsitNode.height


PdfDestWhatsitNode.height : integer

the height (not used in calculations)

PdfDestWhatsitNode.depth


PdfDestWhatsitNode.depth : integer

the depth (not used in calculations)

PdfDestWhatsitNode.named_id


PdfDestWhatsitNode.named_id : integer

is the dest_id a string value?

PdfDestWhatsitNode.dest_id


PdfDestWhatsitNode.dest_id : (integer|string)

integer: the destination id string: the destination name

PdfDestWhatsitNode.dest_type


PdfDestWhatsitNode.dest_type : integer

type of destination

PdfDestWhatsitNode.xyz_zoom


PdfDestWhatsitNode.xyz_zoom : integer

the zoom factor (times 1000)

PdfDestWhatsitNode.objnum


PdfDestWhatsitNode.objnum : integer

the PDF object number; for structure references the PDF object number of the linked structure element