StandardStructureType
in package
FinalYes
Standard structure types — ISO 32000-2 §14.8.4.
Constants for the standard structure element types. Use these in
new StructElem(StandardStructureType::H1) or similar. The library
does not enforce use of standard types; a StructElem can still be
constructed with any arbitrary type name.
Table of Contents
Constants
- ANNOT = 'Annot'
- ART = 'Art'
- ARTIFACT = 'Artifact'
- ASIDE = 'Aside'
- BIB_ENTRY = 'BibEntry'
- BLOCK_QUOTE = 'BlockQuote'
- CAPTION = 'Caption'
- CODE = 'Code'
- DIV = 'Div'
- DOCUMENT = 'Document'
- DOCUMENT_FRAGMENT = 'DocumentFragment'
- F_E_NOTE = 'FENote'
- FIGURE = 'Figure'
- FORM = 'Form'
- FORMULA = 'Formula'
- H = 'H'
- H1 = 'H1'
- H2 = 'H2'
- H3 = 'H3'
- H4 = 'H4'
- H5 = 'H5'
- H6 = 'H6'
- INDEX = 'Index'
- L = 'L'
- L_BODY = 'LBody'
- LBL = 'Lbl'
- LI = 'LI'
- LINK = 'Link'
- NON_STRUCT = 'NonStruct'
- NOTE = 'Note'
- P = 'P'
- PART = 'Part'
- PRIVATE_ = 'Private'
- QUOTE = 'Quote'
- REFERENCE = 'Reference'
- RUBY = 'Ruby'
- SECT = 'Sect'
- SPAN = 'Span'
- TABLE = 'Table'
- TBODY = 'TBody'
- TD = 'TD'
- TFOOT = 'TFoot'
- TH = 'TH'
- THEAD = 'THead'
- TITLE = 'Title'
- TOC = 'TOC'
- TOCI = 'TOCI'
- TR = 'TR'
- WARICHU = 'Warichu'
Methods
- minimumVersion() : PdfVersion|null
- Return the minimum PDF version required by the given structure type, or null if the type is not a recognized standard type or has no version constraint beyond PDF 1.0.
Constants
ANNOT
public
mixed
ANNOT
= 'Annot'
ART
public
mixed
ART
= 'Art'
ARTIFACT
public
mixed
ARTIFACT
= 'Artifact'
ASIDE
public
mixed
ASIDE
= 'Aside'
BIB_ENTRY
public
mixed
BIB_ENTRY
= 'BibEntry'
BLOCK_QUOTE
public
mixed
BLOCK_QUOTE
= 'BlockQuote'
CAPTION
public
mixed
CAPTION
= 'Caption'
CODE
public
mixed
CODE
= 'Code'
DIV
public
mixed
DIV
= 'Div'
DOCUMENT
public
mixed
DOCUMENT
= 'Document'
DOCUMENT_FRAGMENT
public
mixed
DOCUMENT_FRAGMENT
= 'DocumentFragment'
F_E_NOTE
public
mixed
F_E_NOTE
= 'FENote'
FIGURE
public
mixed
FIGURE
= 'Figure'
FORM
public
mixed
FORM
= 'Form'
FORMULA
public
mixed
FORMULA
= 'Formula'
H
public
mixed
H
= 'H'
H1
public
mixed
H1
= 'H1'
H2
public
mixed
H2
= 'H2'
H3
public
mixed
H3
= 'H3'
H4
public
mixed
H4
= 'H4'
H5
public
mixed
H5
= 'H5'
H6
public
mixed
H6
= 'H6'
INDEX
public
mixed
INDEX
= 'Index'
L
public
mixed
L
= 'L'
L_BODY
public
mixed
L_BODY
= 'LBody'
LBL
public
mixed
LBL
= 'Lbl'
LI
public
mixed
LI
= 'LI'
LINK
public
mixed
LINK
= 'Link'
NON_STRUCT
public
mixed
NON_STRUCT
= 'NonStruct'
NOTE
public
mixed
NOTE
= 'Note'
P
public
mixed
P
= 'P'
PART
public
mixed
PART
= 'Part'
PRIVATE_
public
mixed
PRIVATE_
= 'Private'
QUOTE
public
mixed
QUOTE
= 'Quote'
REFERENCE
public
mixed
REFERENCE
= 'Reference'
RUBY
public
mixed
RUBY
= 'Ruby'
SECT
public
mixed
SECT
= 'Sect'
SPAN
public
mixed
SPAN
= 'Span'
TABLE
public
mixed
TABLE
= 'Table'
TBODY
public
mixed
TBODY
= 'TBody'
TD
public
mixed
TD
= 'TD'
TFOOT
public
mixed
TFOOT
= 'TFoot'
TH
public
mixed
TH
= 'TH'
THEAD
public
mixed
THEAD
= 'THead'
TITLE
public
mixed
TITLE
= 'Title'
TOC
public
mixed
TOC
= 'TOC'
TOCI
public
mixed
TOCI
= 'TOCI'
TR
public
mixed
TR
= 'TR'
WARICHU
public
mixed
WARICHU
= 'Warichu'
Methods
minimumVersion()
Return the minimum PDF version required by the given structure type, or null if the type is not a recognized standard type or has no version constraint beyond PDF 1.0.
public
static minimumVersion(string $type) : PdfVersion|null
Parameters
- $type : string