ParsedDocument_addMetadata
ParsedDocument_addMetadata <Parsed document handle> <metadata handle>
ParsedDocument
Placeholder for a metadata that’s parsed from a document. This metadata value will be used by ContentInterface_SetMetadata to set the metadata value to the content.
Parsed document handle
Handle of the document that is being parsed
metadata handle
Metadata handle
set metaval "fileType"
set val "H3D"
set v1 [hwVariant]
$v1 SetString $val
set dm [new_DocumentMetadata $metaval 1 $v1]
ParsedDocument_addMetadata $documentp $dm