예제 #1
0
파일: contact.py 프로젝트: damdam-s/pyews
 def __init__(self, node=None, text=GenderType.Unspecified):
     ptag = mapitags.PROP_ID(mapitags.PR_GENDER)
     ptype = mapitags.PROP_TYPE(mapitags.PR_GENDER)
     ExtendedProperty.__init__(self, node=node, ptag=ptag, ptype=MapiPropertyTypeType[ptype])
     self.val.value = str(text)
예제 #2
0
 def __init__ (self, node=None, text=GenderType.Unspecified):
     ptag  = mapitags.PROP_ID(mapitags.PR_GENDER)
     ptype = mapitags.PROP_TYPE(mapitags.PR_GENDER)
     ExtendedProperty.__init__(self, node=node, ptag=ptag,
                               ptype=MapiPropertyTypeType[ptype])
     self.val.value = str(text)
예제 #3
0
파일: contact.py 프로젝트: damdam-s/pyews
 def __init__(self, node=None, text=None):
     pid = mapitags.PROP_ID(mapitags.PR_PERSONAL_HOME_PAGE)
     ptype = mapitags.PROP_TYPE(mapitags.PR_PERSONAL_HOME_PAGE)
     ExtendedProperty.__init__(self, node=node, ptag=pid, ptype=MapiPropertyTypeType[ptype])
     self.val.value = text
예제 #4
0
 def __init__ (self, node=None, text=None):
     pid  = mapitags.PROP_ID(mapitags.PR_PERSONAL_HOME_PAGE)
     ptype = mapitags.PROP_TYPE(mapitags.PR_PERSONAL_HOME_PAGE)
     ExtendedProperty.__init__(self, node=node, ptag=pid,
                               ptype=MapiPropertyTypeType[ptype])
     self.val.value = text