Skip to content

BorderItem

Defined in: src/layout/page-doc.ts:198

One edge of a table-cell frame; (x, y) is the cell box’s top-left corner.

readonly optional artifact?: "pagination"

Defined in: src/layout/page-doc.ts:185

Tagged PDF: explicitly mark this item as a pagination artifact (running header/footer, §14.8.2.2.2). Distinguishes header/footer text from not-yet-tagged body content so it is typed /Artifact /Pagination, never a P.

PageItemBase.artifact


readonly borderColorHex: string

Defined in: src/layout/page-doc.ts:206


readonly borderSizePt: number

Defined in: src/layout/page-doc.ts:205


readonly height: Pt

Defined in: src/layout/page-doc.ts:204


readonly side: "top" | "right" | "bottom" | "left"

Defined in: src/layout/page-doc.ts:200


readonly optional structId?: number

Defined in: src/layout/page-doc.ts:179

Tagged PDF (§14.8): the logical structure node this item’s content belongs to. Set only on body content in tagged mode; undefined text in the line pass is treated as an artifact. Ignored when not tagging.

PageItemBase.structId


readonly type: "border"

Defined in: src/layout/page-doc.ts:199


readonly width: Pt

Defined in: src/layout/page-doc.ts:203


readonly x: Pt

Defined in: src/layout/page-doc.ts:201


readonly y: Pt

Defined in: src/layout/page-doc.ts:202