code: def _get_marX(self, attr_name, default):
          
          if self.tcPr is None:
              return Emu(default)
          return Emu(int(self.tcPr.get(attr_name, default)))
docs: Generalized method to get margin values.