LibreOffice Macros: Manipulation of spreadsheets