function ClassifyStructType(const TypeName: WString; out HeadingLevel: Integer): TPdfContentFragmentKind;
| TypeName | WString |
| HeadingLevel | Integer |
TPdfContentFragmentKind: cfPlain when the type is untagged or only heuristically mapped, cfParagraph for P, cfHeading for H and H1..H6, cfFigure for Figure and Formula, cfListItem for LI, Lbl and LBody, cfTableCell for TD and TH, cfCaption for Caption, cfLink for Link and Reference, and cfOther for any other tagged typeClassifyStructType maps a PDF structure element /S name to the readable-content fragment kind used by TPdf.ReadableContent
Converts a structure element type name into a TPdfContentFragmentKind and optional heading level
Kind := ClassifyStructType(TypeName, HeadingLevel);