function StructureElementRawTypeFeaturesAvailable: Boolean;
BooleanStructureElementRawTypeFeaturesAvailable loads the selected PDFium module when necessary and returns True when the optional FPDF_StructElement_GetRawType entry point is exported
When the export is present, structure snapshots populate TPdfStructureElement.RawTypeName with the unmapped /S name before RoleMap resolution while TypeName continues to report the RoleMap-resolved standard type
RawTypeName remains emptyRawTypeName against TypeName when inspecting custom structure tags that map to standard types through the document RoleMapif StructureElementRawTypeFeaturesAvailable then
RawTag := Pdf.StructureElements[0].RawTypeName;