[Bug 513214] OpenOffice macro to export to pdf forgets selection