package structelem

import "github.com/edragoev1/pdfjet/v9/src/structelem"

Package structelem has the structure element types of a tagged (PDF/UA) document, as in ISO 32000-1 section 14.8.4. A TextLine is a P by default; see TextLine.SetStructureType.

Index

Constants

const (
	Document   StructElem = "Document"
	Part                  = "Part"
	Div                   = "Div"
	Sect                  = "Sect"
	H1                    = "H1"
	H2                    = "H2"
	H3                    = "H3"
	H4                    = "H4"
	H5                    = "H5"
	H6                    = "H6"
	P                     = "P"
	Title                 = "Title"
	Lbl                   = "Lbl"
	BlockQuote            = "BlockQuote"
	Span                  = "Span"
	Em                    = "Em"
	Strong                = "Strong"
	Code                  = "Code"
	Link                  = "Link"
	Annot                 = "Annot"
	L                     = "L"
	LI                    = "LI"
	LBody                 = "LBody"
	Table                 = "Table"
	TR                    = "TR"
	TH                    = "TH"
	TD                    = "TD"
	THead                 = "THead"
	TBody                 = "TBody"
	TFoot                 = "TFoot"
	Caption               = "Caption"
	Figure                = "Figure"
	Artifact              = "Artifact"
)

Types

type StructElem

type StructElem string

StructElem is a structure element type, with the name written to the PDF.