How to use the pyexcelerate.Font.Font function in PyExcelerate

To help you get started, we’ve selected a few PyExcelerate examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github kz26 / PyExcelerate / pyexcelerate / Style.py View on Github external
def font(self):
        return Utility.lazy_get(self, '_font', Font.Font())
github kz26 / PyExcelerate / pyexcelerate / Font.py View on Github external
def _binary_operation(self, other, operation):
        return Font( \
         bold = operation(self.bold, other.bold), \
         italic = operation(self.italic, other.italic), \
         underline = operation(self.underline, other.underline), \
         strikethrough = operation(self.strikethrough, other.strikethrough), \
         family = operation(self.family, other.family, 'Calibri'), \
         size = operation(self.size, other.size, 11), \
         color = operation(self._color, other._color, None) \
        )
github kz26 / PyExcelerate / pyexcelerate / Font.py View on Github external
def is_default(self):
        return self._to_tuple() == Font()._to_tuple()