I am trying to find out how to set a number of decimal places and font boldness for a cell in Calc by macro, but i did not succeed yet. In Microsoft Office VBA it can be done simply by:
Cells(row index, column index).NumberFormat = “0.000” (number of zeroes behind decimal point sets the number of decimal places, “0” for no decimal places)
Cells(row index, column index).Font.Bold = False
Cells(row index, column index).Font.Bold = True
I am using Libre Office Version 220.127.116.11 and Ubuntu 14.04 LTS. Thanks for help.