Document - HTML - PDF mapping