2007-08-31 Don Allingham <don@gramps-project.org>

* src/GrampsDb/_GrampsDbWriteXML.py: XML export fixes
	* src/GrampsDbUtils/_LivingProxyDb.py: XML export fixes
	* src/GrampsDbUtils/_WriteXML.py: XML export fixes
	* src/GrampsDbUtils/_ProxyDbBase.py: XML export fixes



svn: r8910
This commit is contained in:
Don Allingham
2007-08-31 22:51:16 +00:00
parent 1cac9ae4b7
commit ffcf7a5dd4
5 changed files with 64 additions and 24 deletions

View File

@ -51,14 +51,16 @@ from QuestionDialog import ErrorDialog
from GrampsDb import GrampsDbXmlWriter, GrampsDbWriteFailure
from GrampsDb import exportData as _exportData
from GrampsDb import quick_write as _quick_write
import ExportOptions
#-------------------------------------------------------------------------
#
#
#
#-------------------------------------------------------------------------
def exportData(database, filename, person, callback=None, version=const.version):
return _exportData(database, filename, person, version)
def exportData(database, filename, person, option_box, callback=None):
return _exportData(database, filename, person, option_box,
callback, const.version)
#-------------------------------------------------------------------------
#
@ -103,7 +105,7 @@ _title = _('GRAMPS _XML database')
_description = _('The GRAMPS XML database is a format used by older '
'versions of GRAMPS. It is read-write compatible with '
'the present GRAMPS database format.')
_config = None
_config = (_('GRAMPS XML export options'), ExportOptions.WriterOptionBox)
_filename = 'gramps'
from PluginUtils import register_export