ODS to PDF

A spreadsheet emailed as .ods often cannot be opened by the person receiving it. This draws every sheet as a plain table and saves it as a PDF, with the first row repeated at the top of each page so a long table stays readable. Values are printed as they are stored, so formulas, colours and charts do not come across.