Skip to content

class PdfActionWhatsitNode

  • supers: WhatsitNode

Example:

assert.node_type("whatsit", "pdf_action", {
  id = "whatsit (8)",
  subtype = "pdf_action (23)",
  fields = {
    "prev (-1)",
    "next (0)",
    "id (1)",
    "subtype (2)",
    "action_type (3)",
    "named_id (4)",
    "action_id (5)",
    "file (6)",
    "new_window (7)",
    "data (8)",
    "struct_id (9)",
  },
})

Reference:

😱 Types incomplete or incorrect? 🙏 Please contribute!


fields


PdfActionWhatsitNode.action_type


PdfActionWhatsitNode.action_type : PdfActionTypes

the kind of action involved

PdfActionWhatsitNode.named_id


PdfActionWhatsitNode.named_id : integer

are dest_id and struct_id string values?

PdfActionWhatsitNode.action_id


PdfActionWhatsitNode.action_id : (integer|string)

token list reference or string

PdfActionWhatsitNode.file


PdfActionWhatsitNode.file : string

the target filename

PdfActionWhatsitNode.new_window


PdfActionWhatsitNode.new_window : PdfWindowTypes

the window state of the target

PdfActionWhatsitNode.struct_id


PdfActionWhatsitNode.struct_id : (integer|string)?

nil: the action does not reference a structure; integer: id of the referenced structure; string: name of the referenced structure destination

PdfActionWhatsitNode.data


PdfActionWhatsitNode.data : string

the name of the destination