@classmethod<EOL><INDENT>def _convert_to_style_kwargs(cls, style_dict):<DEDENT>
_style_key_map = {<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>}<EOL>style_kwargs = {}<EOL>for k, v in style_dict.items():<EOL><INDENT>if k in _style_key_map:<EOL><INDENT>k = _style_key_map[k]<EOL><DEDENT>_conv_to_x = getattr(cls, '<STR_LIT>'.format(k=k),<EOL>lambda x: None)<EOL>new_v = _conv_to_x(v)<EOL>if new_v:<EOL><INDENT>style_kwargs[k] = new_v<EOL><DEDENT><DEDENT>return style_kwargs<EOL>
Convert a style_dict to a set of kwargs suitable for initializing
or updating-on-copy an openpyxl v2 style object
Parameters
----------
style_dict : dict
    A dict with zero or more of the following keys (or their synonyms).
        'font'
        'fill'
        'border' ('borders')
        'alignment'
        'number_format'
        'protection'
Returns
-------
style_kwargs : dict
    A dict with the same, normalized keys as ``style_dict`` but each
    value has been replaced with a native openpyxl style object of the
    appropriate class.