Backend: PDF documents: Fix export as a PDF (aka copy)

Signed-off-by: Jerome Flesch <jflesch@wyplay.com>