add set_style method to worksheet
Created originally on Bitbucket by aceMueller
attached change set is built on 424 from a fork at that level; test case included; this adds a 'set_style' method - called as, for example, myWorksheet.set_style('b5',myStyle) - to the worksheet. The worksheet already has a dictionary of styles by coordinate, but it is a private variable by the leading underscore convention, so adding to it from outside worksheet.py is bad form. The 'correct' way (i.e., within python convention) to manage style by design - without this method - is to set each desired attribute on each cell. This becomes a maintenance headache. This method enables an approach where scripts can build styles, clone similar ones, and assign a style to a cell; maintenance (e.g., when the user wants the font one point larger) is simpler, as is ensuring that all similar cells have the same desired set of attributes in the 1st place.
Attachments: addSetStyleMethodToWorksheet