You cannot do it for sure: the width of the columns is calculated using the font installed on the computer system, with some additions. This way you can only work with the best guess.
You can set an attribute bestFitfor a column, but that often does not do what you expect.
From the specification of ยง 18.3.1.13:
" " true: