0002918: Add Gedcom EVENT_TYPE_CITED_FROM and ROLE_IN_EVENT in relation with Source Citation Fields. These are added as data elements with keys EVEN and EVEN:ROLE respectively.
svn: r18780
This commit is contained in:
@ -1341,6 +1341,13 @@ class GedcomWriter(UpdateCallback):
|
||||
if n and n.get_type() != gen.lib.NoteType.SOURCE_TEXT]
|
||||
self.__note_references(note_list, level+1)
|
||||
self.__photos(citation.get_media_list(), level+1)
|
||||
|
||||
if "EVEN" in citation.get_data_map().keys():
|
||||
self.__writeln(level+1, "EVEN", citation.get_data_map()["EVEN"])
|
||||
if "EVEN:ROLE" in citation.get_data_map().keys():
|
||||
self.__writeln(level+2, "ROLE",
|
||||
citation.get_data_map()["EVEN:ROLE"])
|
||||
|
||||
|
||||
def __photo(self, photo, level):
|
||||
"""
|
||||
|
Reference in New Issue
Block a user