How to use the pyexcelerate.Alignment.Alignment 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 / Alignment.py View on Github external
def _binary_operation(self, other, operation):
        return Alignment( \
         horizontal = operation(self._horizontal, other._horizontal, 'left'), \
         vertical = operation(self._vertical, other._vertical, 'bottom'), \
         rotation = operation(self._rotation, other._rotation, 0), \
         wrap_text = operation(self._wrap_text, other._wrap_text, False)
        )
github kz26 / PyExcelerate / pyexcelerate / Style.py View on Github external
def alignment(self):
        return Utility.lazy_get(self, '_alignment', Alignment.Alignment())