function StructureElementRawTypeFeaturesAvailable: Boolean;
BooleanStructureElementRawTypeFeaturesAvailable loads the selected PDFium module when needed and returns True if the optional FPDF_StructElement_GetRawType entry point is present among the module's exports
With the export available, 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;