fix #23149, fix #31381. In Export Parts, also export the score + parts to PDF
fix #31866: Text selected while exporting to PDF remains highlighted