Change WIDTH and HEIGHT in class.Comment
Created originally on Bitbucket by tglaudel
Hello and thanks for openpyxl.
I need to change width and height to Comment in xlsx.
I try to overwrite class Comment like :
#!python
class OverwriteComment(Comment):
"""Overwrite Comment from openpyxl for change height and width"""
def __init__(self, text, author, width='108pt', height='200pt'):
"""init OverwriteComment."""
super(OverwriteComment, self).__init__(text, author)
self.height = height
self.width = width
But, doesn't work.
Do you have a tips for this ?
Sorry for my english, regards.
Thomas.