Skip to content

class PdfThreadWhatsitNode

\pdfthread [ ⟨rule spec⟩ ] [ ⟨attr spec⟩ ] ⟨id spec⟩ (h, v, m)

Defines a bead within an article thread. Thread beads with same identifiers (spread across the document) will be joined together.

Example:

assert.node_type("whatsit", "pdf_thread", {
  id = "whatsit (8)",
  subtype = "pdf_thread (24)",
  fields = {
    "prev (-1)",
    "next (0)",
    "id (1)",
    "subtype (2)",
    "attr (3)",
    "width (4)",
    "depth (5)",
    "height (6)",
    "named_id (7)",
    "thread_id (8)",
    "thread_attr (9)",
  },
})

Reference:

😱 Types incomplete or incorrect? 🙏 Please contribute!


fields


PdfThreadWhatsitNode.attr


PdfThreadWhatsitNode.attr : Node {
    next: Node?,
    prev: Node?,
    id: integer,
    subtype: integer,
    head: Node?,
    attr: Node,
}

A list of attributes.

PdfThreadWhatsitNode.width


PdfThreadWhatsitNode.width : integer

the width (not used in calculations)

PdfThreadWhatsitNode.height


PdfThreadWhatsitNode.height : integer

the height (not used in calculations)

PdfThreadWhatsitNode.depth


PdfThreadWhatsitNode.depth : integer

the depth (not used in calculations)

PdfThreadWhatsitNode.named_id


PdfThreadWhatsitNode.named_id : integer

is tread_id a string value?

PdfThreadWhatsitNode.tread_id


PdfThreadWhatsitNode.tread_id : integer

the thread id string the thread name

PdfThreadWhatsitNode.thread_attr


PdfThreadWhatsitNode.thread_attr : integer

extra thread information