Exemplo n.º 1
0
 def _set_anchor(self, anchor_enum_idx):
     """
     Set value of anchor attribute on ``<a:tcPr>`` child element
     """
     anchor = MSO_ANCHOR.to_xml(anchor_enum_idx)
     if anchor is None:
         return self._clear_anchor()
     tcPr = self.get_or_add_tcPr()
     tcPr.set('anchor', anchor)