Rolemap

What is a Rolemap?

A Rolemap in the context of PDF refers to a key concept in Tagged PDF.

It maps different structure types between namespaces, so their intended roles are clear across different PDF processors.

For example, a custom structure type like "Foo" can be role-mapped to a paragraph in the standard structure namespace, showing that it is semantically a paragraph.

This mechanism enables effective use of custom structure types in PDFs and supports the logical structure and tagged features of PDF documents (ISO 32000, clauses 14.7 and 14.8).