arjuna.third_party.py_importables.arial10 module

Character width dictionary and convenience functions for column sizing with xlwt when Arial 10 is the standard font. Widths were determined experimentally using Excel 2000 on Windows XP. I have no idea how well these will work on other setups. For example, I don’t know if system video settings will affect the results. I do know for sure that this module won’t be applicable to other fonts in general.

//John Yeung 2009-09-02

arjuna.third_party.py_importables.arial10.colwidth(n)

Translate human-readable units to BIFF column width units

arjuna.third_party.py_importables.arial10.fitheight(data, bold=False)

Try to autofit Arial 10

arjuna.third_party.py_importables.arial10.fitwidth(data, bold=False)

Try to autofit Arial 10