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:
- Corresponding C source code: texnodes.c#L1104-L1111
😱 Types incomplete or incorrect? 🙏 Please contribute!
fields
PdfActionWhatsitNode.action_type
the kind of action involved
PdfActionWhatsitNode.named_id
are dest_id
and struct_id
string values?
PdfActionWhatsitNode.action_id
token list reference or string
PdfActionWhatsitNode.file
the target filename
PdfActionWhatsitNode.new_window
the window state of the target
PdfActionWhatsitNode.struct_id
nil
: the action does not reference a structure; integer
: id of the referenced structure; string
: name of the referenced structure destination
PdfActionWhatsitNode.data
the name of the destination