* PluginUtils: Add module with Report and Tool utils.
svn: r6121
This commit is contained in:
parent
1359e602d2
commit
bd67a5ec84
@ -1,3 +1,6 @@
|
|||||||
|
2006-03-09 Alex Roitman <shura@gramps-project.org>
|
||||||
|
* PluginUtils: Add module with Report and Tool utils.
|
||||||
|
|
||||||
2006-03-09 Don Allingham <don@gramps-project.org>
|
2006-03-09 Don Allingham <don@gramps-project.org>
|
||||||
* src/const.py.in: add use_tips variable
|
* src/const.py.in: add use_tips variable
|
||||||
* src/PeopleModel.py: use_tips to control tool tips
|
* src/PeopleModel.py: use_tips to control tool tips
|
||||||
|
@ -241,6 +241,7 @@ src/docgen/Makefile
|
|||||||
src/Models/Makefile
|
src/Models/Makefile
|
||||||
src/Editors/Makefile
|
src/Editors/Makefile
|
||||||
src/DataViews/Makefile
|
src/DataViews/Makefile
|
||||||
|
src/PluginUtils/Makefile
|
||||||
src/plugins/Makefile
|
src/plugins/Makefile
|
||||||
src/DateHandler/Makefile
|
src/DateHandler/Makefile
|
||||||
src/data/Makefile
|
src/data/Makefile
|
||||||
|
@ -14,6 +14,7 @@ SUBDIRS = \
|
|||||||
TreeViews \
|
TreeViews \
|
||||||
data \
|
data \
|
||||||
DateHandler \
|
DateHandler \
|
||||||
|
PluginUtils \
|
||||||
glade \
|
glade \
|
||||||
docgen \
|
docgen \
|
||||||
images \
|
images \
|
||||||
@ -71,7 +72,6 @@ gdir_PYTHON = \
|
|||||||
MergePeople.py\
|
MergePeople.py\
|
||||||
NameDisplay.py\
|
NameDisplay.py\
|
||||||
Navigation.py\
|
Navigation.py\
|
||||||
Options.py\
|
|
||||||
PageView.py\
|
PageView.py\
|
||||||
PaperMenu.py\
|
PaperMenu.py\
|
||||||
PeopleModel.py\
|
PeopleModel.py\
|
||||||
@ -81,9 +81,6 @@ gdir_PYTHON = \
|
|||||||
RecentFiles.py\
|
RecentFiles.py\
|
||||||
Relationship.py\
|
Relationship.py\
|
||||||
RelImage.py\
|
RelImage.py\
|
||||||
ReportOptions.py\
|
|
||||||
Report.py\
|
|
||||||
ReportUtils.py\
|
|
||||||
ScratchPad.py\
|
ScratchPad.py\
|
||||||
SelectEvent.py\
|
SelectEvent.py\
|
||||||
SelectObject.py\
|
SelectObject.py\
|
||||||
@ -96,7 +93,6 @@ gdir_PYTHON = \
|
|||||||
StyleEditor.py\
|
StyleEditor.py\
|
||||||
SubstKeywords.py\
|
SubstKeywords.py\
|
||||||
TipOfDay.py\
|
TipOfDay.py\
|
||||||
Tool.py\
|
|
||||||
ToolTips.py\
|
ToolTips.py\
|
||||||
TransUtils.py\
|
TransUtils.py\
|
||||||
TreeTips.py\
|
TreeTips.py\
|
||||||
|
23
src/PluginUtils/Makefile.am
Normal file
23
src/PluginUtils/Makefile.am
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
# This is the src/PluginUtils level Makefile for Gramps
|
||||||
|
# We could use GNU make's ':=' syntax for nice wildcard use,
|
||||||
|
# but that is not necessarily portable.
|
||||||
|
# If not using GNU make, then list all .py files individually
|
||||||
|
|
||||||
|
pkgdatadir = $(datadir)/@PACKAGE@/PluginUtils
|
||||||
|
|
||||||
|
pkgdata_PYTHON = \
|
||||||
|
__init__.py\
|
||||||
|
_Options.py\
|
||||||
|
_ReportOptions.py\
|
||||||
|
_Report.py\
|
||||||
|
_ReportUtils.py\
|
||||||
|
_Tool.py
|
||||||
|
|
||||||
|
pkgpyexecdir = @pkgpyexecdir@/PluginUtils
|
||||||
|
pkgpythondir = @pkgpythondir@/PluginUtils
|
||||||
|
|
||||||
|
GRAMPS_PY_MODPATH = "../"
|
||||||
|
|
||||||
|
pycheck:
|
||||||
|
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
|
||||||
|
pychecker $(pkgdata_PYTHON));
|
@ -52,7 +52,6 @@ import gtk
|
|||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
import const
|
import const
|
||||||
import Utils
|
import Utils
|
||||||
import Plugins
|
|
||||||
import PluginMgr
|
import PluginMgr
|
||||||
import BaseDoc
|
import BaseDoc
|
||||||
import StyleEditor
|
import StyleEditor
|
||||||
@ -1576,7 +1575,7 @@ class TextReportDialog(ReportDialog):
|
|||||||
"""Build a menu of document types that are appropriate for
|
"""Build a menu of document types that are appropriate for
|
||||||
this text report. This menu will be generated based upon
|
this text report. This menu will be generated based upon
|
||||||
whether the document requires table support, etc."""
|
whether the document requires table support, etc."""
|
||||||
self.format_menu = Plugins.GrampsTextFormatComboBox()
|
self.format_menu = GrampsTextFormatComboBox()
|
||||||
self.format_menu.set(self.doc_uses_tables(),
|
self.format_menu.set(self.doc_uses_tables(),
|
||||||
self.doc_type_changed, None, active)
|
self.doc_type_changed, None, active)
|
||||||
|
|
||||||
@ -1602,7 +1601,7 @@ class DrawReportDialog(ReportDialog):
|
|||||||
def make_doc_menu(self,active=None):
|
def make_doc_menu(self,active=None):
|
||||||
"""Build a menu of document types that are appropriate for
|
"""Build a menu of document types that are appropriate for
|
||||||
this drawing report."""
|
this drawing report."""
|
||||||
self.format_menu = Plugins.GrampsDrawFormatComboBox()
|
self.format_menu = GrampsDrawFormatComboBox()
|
||||||
self.format_menu.set(False,self.doc_type_changed, None, active)
|
self.format_menu.set(False,self.doc_type_changed, None, active)
|
||||||
|
|
||||||
|
|
||||||
@ -1940,3 +1939,150 @@ def cl_report(database,name,category,report_class,options_class,options_str_dict
|
|||||||
MyReport.end_report()
|
MyReport.end_report()
|
||||||
except:
|
except:
|
||||||
log.error("Failed to write report.", exc_info=True)
|
log.error("Failed to write report.", exc_info=True)
|
||||||
|
|
||||||
|
#-------------------------------------------------------------------------
|
||||||
|
#
|
||||||
|
# get_text_doc_menu
|
||||||
|
#
|
||||||
|
#-------------------------------------------------------------------------
|
||||||
|
class GrampsTextFormatComboBox(gtk.ComboBox):
|
||||||
|
|
||||||
|
def set(self,tables,callback,obj=None,active=None):
|
||||||
|
self.store = gtk.ListStore(str)
|
||||||
|
self.set_model(self.store)
|
||||||
|
cell = gtk.CellRendererText()
|
||||||
|
self.pack_start(cell,True)
|
||||||
|
self.add_attribute(cell,'text',0)
|
||||||
|
|
||||||
|
out_pref = Config.get_output_preference()
|
||||||
|
index = 0
|
||||||
|
PluginMgr.textdoc_list.sort()
|
||||||
|
active_index = 0
|
||||||
|
for item in PluginMgr.textdoc_list:
|
||||||
|
if tables and item[2] == 0:
|
||||||
|
continue
|
||||||
|
name = item[0]
|
||||||
|
self.store.append(row=[name])
|
||||||
|
#if callback:
|
||||||
|
# menuitem.connect("activate",callback)
|
||||||
|
if item[7] == active:
|
||||||
|
active_index = index
|
||||||
|
elif not active and name == out_pref:
|
||||||
|
active_index = index
|
||||||
|
index = index + 1
|
||||||
|
self.set_active(active_index)
|
||||||
|
|
||||||
|
def get_label(self):
|
||||||
|
return PluginMgr.textdoc_list[self.get_active()][0]
|
||||||
|
|
||||||
|
def get_reference(self):
|
||||||
|
return PluginMgr.textdoc_list[self.get_active()][1]
|
||||||
|
|
||||||
|
def get_paper(self):
|
||||||
|
return PluginMgr.textdoc_list[self.get_active()][3]
|
||||||
|
|
||||||
|
def get_styles(self):
|
||||||
|
return PluginMgr.textdoc_list[self.get_active()][4]
|
||||||
|
|
||||||
|
def get_ext(self):
|
||||||
|
return PluginMgr.textdoc_list[self.get_active()][5]
|
||||||
|
|
||||||
|
def get_printable(self):
|
||||||
|
return PluginMgr.textdoc_list[self.get_active()][6]
|
||||||
|
|
||||||
|
def get_clname(self):
|
||||||
|
return PluginMgr.textdoc_list[self.get_active()][7]
|
||||||
|
|
||||||
|
class GrampsDrawFormatComboBox(gtk.ComboBox):
|
||||||
|
|
||||||
|
def set(self,tables,callback,obj=None,active=None):
|
||||||
|
self.store = gtk.ListStore(str)
|
||||||
|
self.set_model(self.store)
|
||||||
|
cell = gtk.CellRendererText()
|
||||||
|
self.pack_start(cell,True)
|
||||||
|
self.add_attribute(cell,'text',0)
|
||||||
|
|
||||||
|
out_pref = Config.get_output_preference()
|
||||||
|
index = 0
|
||||||
|
PluginMgr.drawdoc_list.sort()
|
||||||
|
active_index = 0
|
||||||
|
for item in PluginMgr.drawdoc_list:
|
||||||
|
if tables and item[2] == 0:
|
||||||
|
continue
|
||||||
|
name = item[0]
|
||||||
|
self.store.append(row=[name])
|
||||||
|
#if callback:
|
||||||
|
# menuitem.connect("activate",callback)
|
||||||
|
if item[6] == active:
|
||||||
|
active_index = index
|
||||||
|
elif not active and name == out_pref:
|
||||||
|
active_index = index
|
||||||
|
index = index + 1
|
||||||
|
self.set_active(active_index)
|
||||||
|
|
||||||
|
def get_reference(self):
|
||||||
|
return PluginMgr.drawdoc_list[self.get_active()][1]
|
||||||
|
|
||||||
|
def get_label(self):
|
||||||
|
return PluginMgr.drawdoc_list[self.get_active()][0]
|
||||||
|
|
||||||
|
def get_paper(self):
|
||||||
|
return PluginMgr.drawdoc_list[self.get_active()][2]
|
||||||
|
|
||||||
|
def get_styles(self):
|
||||||
|
return PluginMgr.drawdoc_list[self.get_active()][3]
|
||||||
|
|
||||||
|
def get_ext(self):
|
||||||
|
return PluginMgr.drawdoc_list[self.get_active()][4]
|
||||||
|
|
||||||
|
def get_printable(self):
|
||||||
|
return PluginMgr.drawdoc_list[self.get_active()][5]
|
||||||
|
|
||||||
|
def get_clname(self):
|
||||||
|
return PluginMgr.drawdoc_list[self.get_active()][6]
|
||||||
|
|
||||||
|
class GrampsBookFormatComboBox(gtk.ComboBox):
|
||||||
|
|
||||||
|
def set(self,tables,callback,obj=None,active=None):
|
||||||
|
self.store = gtk.ListStore(str)
|
||||||
|
self.set_model(self.store)
|
||||||
|
cell = gtk.CellRendererText()
|
||||||
|
self.pack_start(cell,True)
|
||||||
|
self.add_attribute(cell,'text',0)
|
||||||
|
|
||||||
|
out_pref = Config.get_output_preference()
|
||||||
|
index = 0
|
||||||
|
PluginMgr.drawdoc_list.sort()
|
||||||
|
active_index = 0
|
||||||
|
self.data = []
|
||||||
|
for item in PluginMgr.bookdoc_list:
|
||||||
|
if tables and item[2] == 0:
|
||||||
|
continue
|
||||||
|
self.data.append(item)
|
||||||
|
name = item[0]
|
||||||
|
self.store.append(row=[name])
|
||||||
|
if item[7] == active:
|
||||||
|
active_index = index
|
||||||
|
elif not active and name == out_pref:
|
||||||
|
active_index = index
|
||||||
|
index += 1
|
||||||
|
self.set_active(active_index)
|
||||||
|
|
||||||
|
def get_reference(self):
|
||||||
|
return self.data[self.get_active()][1]
|
||||||
|
|
||||||
|
def get_label(self):
|
||||||
|
return self.data[self.get_active()][0]
|
||||||
|
|
||||||
|
def get_paper(self):
|
||||||
|
return self.data[self.get_active()][3]
|
||||||
|
|
||||||
|
def get_ext(self):
|
||||||
|
return self.data[self.get_active()][5]
|
||||||
|
|
||||||
|
def get_printable(self):
|
||||||
|
return self.data[self.get_active()][6]
|
||||||
|
|
||||||
|
def get_clname(self):
|
||||||
|
return self.data[self.get_active()][7]
|
||||||
|
|
||||||
|
146
src/Plugins.py
146
src/Plugins.py
@ -447,152 +447,6 @@ def build_plugin_menu(item_list,categories,func,top_menu,callback):
|
|||||||
def by_menu_name(a,b):
|
def by_menu_name(a,b):
|
||||||
return cmp(a[2],b[2])
|
return cmp(a[2],b[2])
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
|
||||||
#
|
|
||||||
# get_text_doc_menu
|
|
||||||
#
|
|
||||||
#-------------------------------------------------------------------------
|
|
||||||
class GrampsTextFormatComboBox(gtk.ComboBox):
|
|
||||||
|
|
||||||
def set(self,tables,callback,obj=None,active=None):
|
|
||||||
self.store = gtk.ListStore(str)
|
|
||||||
self.set_model(self.store)
|
|
||||||
cell = gtk.CellRendererText()
|
|
||||||
self.pack_start(cell,True)
|
|
||||||
self.add_attribute(cell,'text',0)
|
|
||||||
|
|
||||||
out_pref = Config.get_output_preference()
|
|
||||||
index = 0
|
|
||||||
PluginMgr.textdoc_list.sort()
|
|
||||||
active_index = 0
|
|
||||||
for item in PluginMgr.textdoc_list:
|
|
||||||
if tables and item[2] == 0:
|
|
||||||
continue
|
|
||||||
name = item[0]
|
|
||||||
self.store.append(row=[name])
|
|
||||||
#if callback:
|
|
||||||
# menuitem.connect("activate",callback)
|
|
||||||
if item[7] == active:
|
|
||||||
active_index = index
|
|
||||||
elif not active and name == out_pref:
|
|
||||||
active_index = index
|
|
||||||
index = index + 1
|
|
||||||
self.set_active(active_index)
|
|
||||||
|
|
||||||
def get_label(self):
|
|
||||||
return PluginMgr.textdoc_list[self.get_active()][0]
|
|
||||||
|
|
||||||
def get_reference(self):
|
|
||||||
return PluginMgr.textdoc_list[self.get_active()][1]
|
|
||||||
|
|
||||||
def get_paper(self):
|
|
||||||
return PluginMgr.textdoc_list[self.get_active()][3]
|
|
||||||
|
|
||||||
def get_styles(self):
|
|
||||||
return PluginMgr.textdoc_list[self.get_active()][4]
|
|
||||||
|
|
||||||
def get_ext(self):
|
|
||||||
return PluginMgr.textdoc_list[self.get_active()][5]
|
|
||||||
|
|
||||||
def get_printable(self):
|
|
||||||
return PluginMgr.textdoc_list[self.get_active()][6]
|
|
||||||
|
|
||||||
def get_clname(self):
|
|
||||||
return PluginMgr.textdoc_list[self.get_active()][7]
|
|
||||||
|
|
||||||
class GrampsDrawFormatComboBox(gtk.ComboBox):
|
|
||||||
|
|
||||||
def set(self,tables,callback,obj=None,active=None):
|
|
||||||
self.store = gtk.ListStore(str)
|
|
||||||
self.set_model(self.store)
|
|
||||||
cell = gtk.CellRendererText()
|
|
||||||
self.pack_start(cell,True)
|
|
||||||
self.add_attribute(cell,'text',0)
|
|
||||||
|
|
||||||
out_pref = Config.get_output_preference()
|
|
||||||
index = 0
|
|
||||||
PluginMgr.drawdoc_list.sort()
|
|
||||||
active_index = 0
|
|
||||||
for item in PluginMgr.drawdoc_list:
|
|
||||||
if tables and item[2] == 0:
|
|
||||||
continue
|
|
||||||
name = item[0]
|
|
||||||
self.store.append(row=[name])
|
|
||||||
#if callback:
|
|
||||||
# menuitem.connect("activate",callback)
|
|
||||||
if item[6] == active:
|
|
||||||
active_index = index
|
|
||||||
elif not active and name == out_pref:
|
|
||||||
active_index = index
|
|
||||||
index = index + 1
|
|
||||||
self.set_active(active_index)
|
|
||||||
|
|
||||||
def get_reference(self):
|
|
||||||
return PluginMgr.drawdoc_list[self.get_active()][1]
|
|
||||||
|
|
||||||
def get_label(self):
|
|
||||||
return PluginMgr.drawdoc_list[self.get_active()][0]
|
|
||||||
|
|
||||||
def get_paper(self):
|
|
||||||
return PluginMgr.drawdoc_list[self.get_active()][2]
|
|
||||||
|
|
||||||
def get_styles(self):
|
|
||||||
return PluginMgr.drawdoc_list[self.get_active()][3]
|
|
||||||
|
|
||||||
def get_ext(self):
|
|
||||||
return PluginMgr.drawdoc_list[self.get_active()][4]
|
|
||||||
|
|
||||||
def get_printable(self):
|
|
||||||
return PluginMgr.drawdoc_list[self.get_active()][5]
|
|
||||||
|
|
||||||
def get_clname(self):
|
|
||||||
return PluginMgr.drawdoc_list[self.get_active()][6]
|
|
||||||
|
|
||||||
class GrampsBookFormatComboBox(gtk.ComboBox):
|
|
||||||
|
|
||||||
def set(self,tables,callback,obj=None,active=None):
|
|
||||||
self.store = gtk.ListStore(str)
|
|
||||||
self.set_model(self.store)
|
|
||||||
cell = gtk.CellRendererText()
|
|
||||||
self.pack_start(cell,True)
|
|
||||||
self.add_attribute(cell,'text',0)
|
|
||||||
|
|
||||||
out_pref = Config.get_output_preference()
|
|
||||||
index = 0
|
|
||||||
PluginMgr.drawdoc_list.sort()
|
|
||||||
active_index = 0
|
|
||||||
self.data = []
|
|
||||||
for item in PluginMgr.bookdoc_list:
|
|
||||||
if tables and item[2] == 0:
|
|
||||||
continue
|
|
||||||
self.data.append(item)
|
|
||||||
name = item[0]
|
|
||||||
self.store.append(row=[name])
|
|
||||||
if item[7] == active:
|
|
||||||
active_index = index
|
|
||||||
elif not active and name == out_pref:
|
|
||||||
active_index = index
|
|
||||||
index += 1
|
|
||||||
self.set_active(active_index)
|
|
||||||
|
|
||||||
def get_reference(self):
|
|
||||||
return self.data[self.get_active()][1]
|
|
||||||
|
|
||||||
def get_label(self):
|
|
||||||
return self.data[self.get_active()][0]
|
|
||||||
|
|
||||||
def get_paper(self):
|
|
||||||
return self.data[self.get_active()][3]
|
|
||||||
|
|
||||||
def get_ext(self):
|
|
||||||
return self.data[self.get_active()][5]
|
|
||||||
|
|
||||||
def get_printable(self):
|
|
||||||
return self.data[self.get_active()][6]
|
|
||||||
|
|
||||||
def get_clname(self):
|
|
||||||
return self.data[self.get_active()][7]
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
# Reload plugins
|
# Reload plugins
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# Gramps - a GTK+/GNOME based genealogy program
|
# Gramps - a GTK+/GNOME based genealogy program
|
||||||
#
|
#
|
||||||
# Copyright (C) 2000-2005 Donald N. Allingham
|
# Copyright (C) 2000-2006 Donald N. Allingham
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@ -42,10 +42,9 @@ import gtk
|
|||||||
#
|
#
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
import BaseDoc
|
import BaseDoc
|
||||||
import Report
|
from PluginUtils import Report, ReportOptions, ReportUtils
|
||||||
from SubstKeywords import SubstKeywords
|
from SubstKeywords import SubstKeywords
|
||||||
from ReportUtils import pt2cm
|
pt2cm = ReportUtils.pt2cm
|
||||||
import ReportOptions
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -43,8 +43,8 @@ import gtk
|
|||||||
#
|
#
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
import BaseDoc
|
import BaseDoc
|
||||||
from PluginUtils import Report, ReportOptions, ReportUtils
|
|
||||||
from SubstKeywords import SubstKeywords
|
from SubstKeywords import SubstKeywords
|
||||||
|
from PluginUtils import Report, ReportOptions, ReportUtils
|
||||||
pt2cm = ReportUtils.pt2cm
|
pt2cm = ReportUtils.pt2cm
|
||||||
cm2pt = ReportUtils.cm2pt
|
cm2pt = ReportUtils.cm2pt
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# Gramps - a GTK+/GNOME based genealogy program
|
# Gramps - a GTK+/GNOME based genealogy program
|
||||||
#
|
#
|
||||||
# Copyright (C) 2000-2005 Donald N. Allingham
|
# Copyright (C) 2000-2006 Donald N. Allingham
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@ -35,12 +35,10 @@ from gettext import gettext as _
|
|||||||
# gramps modules
|
# gramps modules
|
||||||
#
|
#
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
import Report
|
from PluginUtils import Report, ReportUtils, ReportOptions
|
||||||
import ReportUtils
|
|
||||||
import BaseDoc
|
import BaseDoc
|
||||||
import Errors
|
import Errors
|
||||||
import NameDisplay
|
import NameDisplay
|
||||||
import ReportOptions
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# Gramps - a GTK+/GNOME based genealogy program
|
# Gramps - a GTK+/GNOME based genealogy program
|
||||||
#
|
#
|
||||||
# Copyright (C) 2003-2005 Donald N. Allingham
|
# Copyright (C) 2003-2006 Donald N. Allingham
|
||||||
# Copyright (C) 2003 Tim Waugh
|
# Copyright (C) 2003 Tim Waugh
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
@ -42,12 +42,10 @@ import gtk
|
|||||||
#
|
#
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
import const
|
import const
|
||||||
import Report
|
from PluginUtils import Report, ReportOptions, ReportUtils
|
||||||
import BaseDoc
|
import BaseDoc
|
||||||
import RelLib
|
import RelLib
|
||||||
import PluginMgr
|
import PluginMgr
|
||||||
import ReportOptions
|
|
||||||
import ReportUtils
|
|
||||||
from DateHandler import displayer as _dd
|
from DateHandler import displayer as _dd
|
||||||
from NameDisplay import displayer as _nd
|
from NameDisplay import displayer as _nd
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# Gramps - a GTK+/GNOME based genealogy program
|
# Gramps - a GTK+/GNOME based genealogy program
|
||||||
#
|
#
|
||||||
# Copyright (C) 2003-2005 Donald N. Allingham
|
# Copyright (C) 2003-2006 Donald N. Allingham
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@ -67,10 +67,9 @@ from RelLib import Person
|
|||||||
import Utils
|
import Utils
|
||||||
import ListModel
|
import ListModel
|
||||||
import PluginMgr
|
import PluginMgr
|
||||||
import Report
|
from PluginUtils import Report, ReportOptions
|
||||||
import BaseDoc
|
import BaseDoc
|
||||||
from QuestionDialog import WarningDialog
|
from QuestionDialog import WarningDialog
|
||||||
import ReportOptions
|
|
||||||
import Plugins
|
import Plugins
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
|
@ -38,11 +38,10 @@ import locale
|
|||||||
#
|
#
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
import BaseDoc
|
import BaseDoc
|
||||||
import Report
|
from PluginUtils import Report, ReportOptions, ReportUtils
|
||||||
|
pt2cm = ReportUtils.pt2cm
|
||||||
import GenericFilter
|
import GenericFilter
|
||||||
from ReportUtils import pt2cm
|
|
||||||
from DateHandler import DateDisplay
|
from DateHandler import DateDisplay
|
||||||
import ReportOptions
|
|
||||||
import RelLib
|
import RelLib
|
||||||
|
|
||||||
# _days could be added to DateDisplay:
|
# _days could be added to DateDisplay:
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# Gramps - a GTK+/GNOME based genealogy program
|
# Gramps - a GTK+/GNOME based genealogy program
|
||||||
#
|
#
|
||||||
# Copyright (C) 2000-2005 Donald N. Allingham
|
# Copyright (C) 2000-2006 Donald N. Allingham
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@ -37,10 +37,9 @@ from gettext import gettext as _
|
|||||||
# GRAMPS modules
|
# GRAMPS modules
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
import Tool
|
from PluginUtils import Tool, Report
|
||||||
import Utils
|
import Utils
|
||||||
import PluginMgr
|
import PluginMgr
|
||||||
import Report
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# count_anc.py - Ancestor counting plugin for gramps
|
# count_anc.py - Ancestor counting plugin for gramps
|
||||||
#
|
#
|
||||||
# Copyright (C) 2001 Jesper Zedlitz
|
# Copyright (C) 2001 Jesper Zedlitz
|
||||||
# Copyright (C) 2004 Donald Allingham
|
# Copyright (C) 2004-2006 Donald Allingham
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@ -45,7 +45,7 @@ import gtk.glade
|
|||||||
#
|
#
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
import Utils
|
import Utils
|
||||||
import Report
|
from PluginUtils import Report
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# Gramps - a GTK+/GNOME based genealogy program
|
# Gramps - a GTK+/GNOME based genealogy program
|
||||||
#
|
#
|
||||||
# Copyright (C) 2003-2005 Donald N. Allingham
|
# Copyright (C) 2003-2006 Donald N. Allingham
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@ -41,9 +41,8 @@ import gtk
|
|||||||
# gramps modules
|
# gramps modules
|
||||||
#
|
#
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
import Report
|
from PluginUtils import Report, ReportOptions
|
||||||
import BaseDoc
|
import BaseDoc
|
||||||
import ReportOptions
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# Gramps - a GTK+/GNOME based genealogy program
|
# Gramps - a GTK+/GNOME based genealogy program
|
||||||
#
|
#
|
||||||
# Copyright (C) 2000-2005 Donald N. Allingham
|
# Copyright (C) 2000-2006 Donald N. Allingham
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@ -41,11 +41,10 @@ import gtk
|
|||||||
# GRAMPS modules
|
# GRAMPS modules
|
||||||
#
|
#
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
import Report
|
from PluginUtils import Report, ReportOptions, ReportUtils
|
||||||
|
pt2cm = ReportUtils.pt2cm
|
||||||
import BaseDoc
|
import BaseDoc
|
||||||
from SubstKeywords import SubstKeywords
|
from SubstKeywords import SubstKeywords
|
||||||
from ReportUtils import pt2cm
|
|
||||||
import ReportOptions
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# Gramps - a GTK+/GNOME based genealogy program
|
# Gramps - a GTK+/GNOME based genealogy program
|
||||||
#
|
#
|
||||||
# Copyright (C) 2000-2005 Donald N. Allingham
|
# Copyright (C) 2000-2006 Donald N. Allingham
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@ -43,10 +43,10 @@ import gtk
|
|||||||
#
|
#
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
import BaseDoc
|
import BaseDoc
|
||||||
import Report
|
from PluginUtils import Report, ReportOptions, ReportUtils
|
||||||
|
pt2cm = ReportUtils.pt2cm
|
||||||
|
cm2pt = ReportUtils.cm2pt
|
||||||
from SubstKeywords import SubstKeywords
|
from SubstKeywords import SubstKeywords
|
||||||
from ReportUtils import pt2cm, cm2pt
|
|
||||||
import ReportOptions
|
|
||||||
import NameDisplay
|
import NameDisplay
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# Gramps - a GTK+/GNOME based genealogy program
|
# Gramps - a GTK+/GNOME based genealogy program
|
||||||
#
|
#
|
||||||
# Copyright (C) 2000-2005 Donald N. Allingham
|
# Copyright (C) 2000-2006 Donald N. Allingham
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@ -35,13 +35,11 @@ from gettext import gettext as _
|
|||||||
# GRAMPS modules
|
# GRAMPS modules
|
||||||
#
|
#
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
import Report
|
from PluginUtils import Report, ReportOptions, ReportUtils
|
||||||
import BaseDoc
|
import BaseDoc
|
||||||
import Errors
|
import Errors
|
||||||
import Sort
|
import Sort
|
||||||
from QuestionDialog import ErrorDialog
|
from QuestionDialog import ErrorDialog
|
||||||
import ReportOptions
|
|
||||||
import ReportUtils
|
|
||||||
import NameDisplay
|
import NameDisplay
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
|
@ -44,12 +44,9 @@ import gtk
|
|||||||
#
|
#
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
import RelLib
|
import RelLib
|
||||||
import Report
|
from PluginUtils import Report, ReportOptions, ReportUtils
|
||||||
import BaseDoc
|
import BaseDoc
|
||||||
import ReportOptions
|
|
||||||
import const
|
import const
|
||||||
import ReportUtils
|
|
||||||
|
|
||||||
from QuestionDialog import ErrorDialog
|
from QuestionDialog import ErrorDialog
|
||||||
from DateHandler import displayer as _dd
|
from DateHandler import displayer as _dd
|
||||||
from NameDisplay import displayer as _nd
|
from NameDisplay import displayer as _nd
|
||||||
|
@ -45,12 +45,9 @@ import gtk
|
|||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
import RelLib
|
import RelLib
|
||||||
import Errors
|
import Errors
|
||||||
import Report
|
from PluginUtils import Report, ReportOptions, ReportUtils
|
||||||
import BaseDoc
|
import BaseDoc
|
||||||
import ReportOptions
|
|
||||||
import ReportUtils
|
|
||||||
import const
|
import const
|
||||||
|
|
||||||
from DateHandler import displayer as _dd
|
from DateHandler import displayer as _dd
|
||||||
from NameDisplay import displayer as _nd
|
from NameDisplay import displayer as _nd
|
||||||
from QuestionDialog import ErrorDialog
|
from QuestionDialog import ErrorDialog
|
||||||
|
@ -42,9 +42,8 @@ import gtk
|
|||||||
#
|
#
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
import RelLib
|
import RelLib
|
||||||
import Report
|
from PluginUtils import Report, ReportOptions
|
||||||
import BaseDoc
|
import BaseDoc
|
||||||
import ReportOptions
|
|
||||||
import const
|
import const
|
||||||
import DateHandler
|
import DateHandler
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# Gramps - a GTK+/GNOME based genealogy program
|
# Gramps - a GTK+/GNOME based genealogy program
|
||||||
#
|
#
|
||||||
# Copyright (C) 2003-2005 Donald N. Allingham
|
# Copyright (C) 2003-2006 Donald N. Allingham
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@ -40,10 +40,9 @@ import gtk
|
|||||||
#
|
#
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
import BaseDoc
|
import BaseDoc
|
||||||
import Report
|
from PluginUtils import Report, ReportOptions, ReportUtils
|
||||||
import ReportOptions
|
|
||||||
from SubstKeywords import SubstKeywords
|
from SubstKeywords import SubstKeywords
|
||||||
from ReportUtils import pt2cm
|
pt2cm = ReportUtils.pt2cm
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# Gramps - a GTK+/GNOME based genealogy program
|
# Gramps - a GTK+/GNOME based genealogy program
|
||||||
#
|
#
|
||||||
# Copyright (C) 2003-2005 Donald N. Allingham
|
# Copyright (C) 2003-2006 Donald N. Allingham
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@ -34,13 +34,11 @@ from gettext import gettext as _
|
|||||||
# gramps modules
|
# gramps modules
|
||||||
#
|
#
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
import Report
|
|
||||||
import BaseDoc
|
import BaseDoc
|
||||||
import RelLib
|
import RelLib
|
||||||
import ReportOptions
|
|
||||||
import DateHandler
|
import DateHandler
|
||||||
import const
|
import const
|
||||||
import ReportUtils
|
from PluginUtils import Report, ReportOptions, ReportUtils
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# Gramps - a GTK+/GNOME based genealogy program
|
# Gramps - a GTK+/GNOME based genealogy program
|
||||||
#
|
#
|
||||||
# Copyright (C) 2003-2005 Donald N. Allingham
|
# Copyright (C) 2003-2006 Donald N. Allingham
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@ -37,11 +37,9 @@ from gettext import gettext as _
|
|||||||
# gramps modules
|
# gramps modules
|
||||||
#
|
#
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
import Report
|
from PluginUtils import Report, ReportOptions, ReportUtils
|
||||||
import BaseDoc
|
import BaseDoc
|
||||||
import RelLib
|
import RelLib
|
||||||
import ReportUtils
|
|
||||||
import ReportOptions
|
|
||||||
import DateHandler
|
import DateHandler
|
||||||
import const
|
import const
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# Gramps - a GTK+/GNOME based genealogy program
|
# Gramps - a GTK+/GNOME based genealogy program
|
||||||
#
|
#
|
||||||
# Copyright (C) 2000-2005 Donald N. Allingham
|
# Copyright (C) 2000-2006 Donald N. Allingham
|
||||||
# Contributions by Lorenzo Cappelletti <lorenzo.cappelletti@email.it>
|
# Contributions by Lorenzo Cappelletti <lorenzo.cappelletti@email.it>
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
@ -52,8 +52,7 @@ import gtk
|
|||||||
# GRAMPS modules
|
# GRAMPS modules
|
||||||
#
|
#
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
import Report
|
from PluginUtils import Report, ReportOptions
|
||||||
import ReportOptions
|
|
||||||
import GenericFilter
|
import GenericFilter
|
||||||
import RelLib
|
import RelLib
|
||||||
import DateHandler
|
import DateHandler
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# Gramps - a GTK+/GNOME based genealogy program
|
# Gramps - a GTK+/GNOME based genealogy program
|
||||||
#
|
#
|
||||||
# Copyright (C) 2000-2005 Donald N. Allingham
|
# Copyright (C) 2000-2006 Donald N. Allingham
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@ -43,11 +43,9 @@ import gtk
|
|||||||
import RelLib
|
import RelLib
|
||||||
import const
|
import const
|
||||||
import BaseDoc
|
import BaseDoc
|
||||||
import Report
|
|
||||||
import ReportUtils
|
|
||||||
import GenericFilter
|
import GenericFilter
|
||||||
import ReportOptions
|
|
||||||
import DateHandler
|
import DateHandler
|
||||||
|
from PluginUtils import Report, ReportOptions, ReportUtils
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# Gramps - a GTK+/GNOME based genealogy program
|
# Gramps - a GTK+/GNOME based genealogy program
|
||||||
#
|
#
|
||||||
# Copyright (C) 2000-2005 Donald N. Allingham
|
# Copyright (C) 2000-2006 Donald N. Allingham
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@ -45,8 +45,7 @@ import gtk
|
|||||||
import RelLib
|
import RelLib
|
||||||
import const
|
import const
|
||||||
import BaseDoc
|
import BaseDoc
|
||||||
import Report
|
from PluginUtils import Report, ReportOptions
|
||||||
import ReportOptions
|
|
||||||
import DateHandler
|
import DateHandler
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# Gramps - a GTK+/GNOME based genealogy program
|
# Gramps - a GTK+/GNOME based genealogy program
|
||||||
#
|
#
|
||||||
# Copyright (C) 2000-2005 Donald N. Allingham
|
# Copyright (C) 2000-2006 Donald N. Allingham
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Pubilc License as published by
|
# it under the terms of the GNU General Pubilc License as published by
|
||||||
@ -69,11 +69,9 @@ import const
|
|||||||
from GrampsCfg import get_researcher
|
from GrampsCfg import get_researcher
|
||||||
import GenericFilter
|
import GenericFilter
|
||||||
import Sort
|
import Sort
|
||||||
import Report
|
from PluginUtils import Report, ReportOptions, ReportUtils
|
||||||
import Errors
|
import Errors
|
||||||
import Utils
|
import Utils
|
||||||
import ReportOptions
|
|
||||||
import ReportUtils
|
|
||||||
import ImgManip
|
import ImgManip
|
||||||
import GrampsLocale
|
import GrampsLocale
|
||||||
from QuestionDialog import ErrorDialog, WarningDialog
|
from QuestionDialog import ErrorDialog, WarningDialog
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# Gramps - a GTK+/GNOME based genealogy program
|
# Gramps - a GTK+/GNOME based genealogy program
|
||||||
#
|
#
|
||||||
# Copyright (C) 2003-2005 Donald N. Allingham
|
# Copyright (C) 2003-2006 Donald N. Allingham
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@ -41,11 +41,10 @@ import gtk
|
|||||||
# gramps modules
|
# gramps modules
|
||||||
#
|
#
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
import Report
|
from PluginUtils import Report, ReportOptions
|
||||||
import BaseDoc
|
import BaseDoc
|
||||||
import SelectObject
|
import SelectObject
|
||||||
import AddMedia
|
import AddMedia
|
||||||
import ReportOptions
|
|
||||||
import ImgManip
|
import ImgManip
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# Gramps - a GTK+/GNOME based genealogy program
|
# Gramps - a GTK+/GNOME based genealogy program
|
||||||
#
|
#
|
||||||
# Copyright (C) 2003-2005 Donald N. Allingham
|
# Copyright (C) 2003-2006 Donald N. Allingham
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@ -53,9 +53,7 @@ import gtk
|
|||||||
from RelLib import Person, Family
|
from RelLib import Person, Family
|
||||||
# gender and report type names
|
# gender and report type names
|
||||||
import BaseDoc
|
import BaseDoc
|
||||||
import Report
|
from PluginUtils import Report, ReportOptions, ReportUtils
|
||||||
import ReportUtils
|
|
||||||
import ReportOptions
|
|
||||||
import GenericFilter
|
import GenericFilter
|
||||||
import DateHandler
|
import DateHandler
|
||||||
from Utils import ProgressMeter
|
from Utils import ProgressMeter
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# Gramps - a GTK+/GNOME based genealogy program
|
# Gramps - a GTK+/GNOME based genealogy program
|
||||||
#
|
#
|
||||||
# Copyright (C) 2000-2004 Donald N. Allingham
|
# Copyright (C) 2000-2006 Donald N. Allingham
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@ -45,7 +45,7 @@ import gtk.glade
|
|||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
import Utils
|
import Utils
|
||||||
import RelLib
|
import RelLib
|
||||||
import Report
|
from PluginUtils import Report
|
||||||
import DateHandler
|
import DateHandler
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# Gramps - a GTK+/GNOME based genealogy program
|
# Gramps - a GTK+/GNOME based genealogy program
|
||||||
#
|
#
|
||||||
# Copyright (C) 2003-2005 Donald N. Allingham
|
# Copyright (C) 2003-2006 Donald N. Allingham
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@ -44,12 +44,11 @@ import gtk
|
|||||||
# GRAMPS modules
|
# GRAMPS modules
|
||||||
#
|
#
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
from ReportUtils import pt2cm
|
from PluginUtils import Report, ReportOptions, ReportUtils
|
||||||
import Report
|
pt2cm = ReportUtils.pt2cm
|
||||||
import BaseDoc
|
import BaseDoc
|
||||||
import GenericFilter
|
import GenericFilter
|
||||||
import Sort
|
import Sort
|
||||||
import ReportOptions
|
|
||||||
from QuestionDialog import ErrorDialog
|
from QuestionDialog import ErrorDialog
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user