diff --git a/src/FindDoc.py b/src/FindDoc.py
new file mode 100644
index 000000000..4ff8d6669
--- /dev/null
+++ b/src/FindDoc.py
@@ -0,0 +1,120 @@
+#
+# Gramps - a GTK+/GNOME based genealogy program
+#
+# Copyright (C) 2000 Donald N. Allingham
+#
+# 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
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+
+#-------------------------------------------------------------------------
+#
+#
+#
+#-------------------------------------------------------------------------
+from TextDoc import *
+import gtk
+import Config
+import intl
+_ = intl.gettext
+
+#-------------------------------------------------------------------------
+#
+#
+#
+#-------------------------------------------------------------------------
+_OpenOffice = _("OpenOffice")
+_AbiWord = _("AbiWord")
+_PDF = _("PDF")
+_HTML = _("HTML")
+
+_has_tables = 1
+_no_tables = 0
+
+_paper = 1
+_template = 0
+
+#-------------------------------------------------------------------------
+#
+#
+#
+#-------------------------------------------------------------------------
+_textdoc = []
+
+try:
+ import OpenOfficeDoc
+ _textdoc.append((_OpenOffice, _has_tables, _paper))
+except:
+ pass
+
+try:
+ import AbiWordDoc
+ _textdoc.append((_AbiWord, _no_tables, _paper))
+except:
+ pass
+
+try:
+ import PdfDoc
+ _textdoc.append((_PDF, _has_tables, _paper))
+except:
+ pass
+
+try:
+ import HtmlDoc
+ _textdoc.append((_HTML, _has_tables, _template))
+except:
+ pass
+
+#-------------------------------------------------------------------------
+#
+#
+#
+#-------------------------------------------------------------------------
+def get_text_doc_menu(main_menu,tables,callback,obj=None):
+
+ index = 0
+ myMenu = gtk.GtkMenu()
+ for item in _textdoc:
+ if tables and item[1] == 0:
+ continue
+ name = item[0]
+ menuitem = gtk.GtkMenuItem(name)
+ menuitem.set_data("name",name)
+ menuitem.set_data("paper",item[2])
+ menuitem.set_data("obj",obj)
+ if callback:
+ menuitem.connect("activate",callback)
+ menuitem.show()
+ myMenu.append(menuitem)
+ if name == Config.output_preference:
+ myMenu.set_active(index)
+ callback(menuitem)
+ index = index + 1
+ main_menu.set_menu(myMenu)
+
+#-------------------------------------------------------------------------
+#
+#
+#
+#-------------------------------------------------------------------------
+def make_text_doc(name,paper,orien,template):
+ if name == _OpenOffice:
+ return OpenOfficeDoc.OpenOfficeDoc(paper,orien)
+ elif name == _AbiWord:
+ return AbiWordDoc.AbiWordDoc(paper,orien)
+ elif name == _PDF:
+ return PdfDoc.PdfDoc(paper,orien)
+ else:
+ return HtmlDoc.HtmlDoc(template)
+
diff --git a/src/HtmlDoc.py b/src/HtmlDoc.py
index 63e93d3a4..9770bde5f 100644
--- a/src/HtmlDoc.py
+++ b/src/HtmlDoc.py
@@ -22,6 +22,9 @@ import os
import tempfile
import string
import re
+import intl
+
+_ = intl.gettext
from TextDoc import *
import const
@@ -69,7 +72,7 @@ class HtmlDoc(TextDoc):
top_add = 1
bottom_add = 0
- if self.template != "":
+ if self.template and self.template != "":
try:
templateFile = open(self.template,"r")
for line in templateFile.readlines():
diff --git a/src/config.glade b/src/config.glade
index 3df8133e3..0aa8a98fd 100644
--- a/src/config.glade
+++ b/src/config.glade
@@ -1340,7 +1340,6 @@ A4
GtkOptionMenu
output_format
- False
True
OpenOffice
HTML
diff --git a/src/plugins/AncestorReport.py b/src/plugins/AncestorReport.py
index 692880d25..dcd0e8f8f 100644
--- a/src/plugins/AncestorReport.py
+++ b/src/plugins/AncestorReport.py
@@ -32,15 +32,7 @@ import intl
_ = intl.gettext
from TextDoc import *
-from OpenOfficeDoc import *
-from HtmlDoc import *
-from AbiWordDoc import *
-
-try:
- from PdfDoc import *
- no_pdf = 0
-except:
- no_pdf = 1
+import FindDoc
from gtk import *
from gnome.ui import *
@@ -79,7 +71,7 @@ class AncestorReport:
15: _("Fifteenth"),
16: _("Sixteenth"),
17: _("Seventeenth"),
- 18: _("Eigthteenth"),
+ 18: _("Eightteenth"),
19: _("Nineteenth"),
20: _("Twentieth"),
21: _("Twenty-first"),
@@ -322,39 +314,32 @@ def report(database,person):
base = os.path.dirname(__file__)
glade_file = base + os.sep + "ancestorreport.glade"
topDialog = GladeXML(glade_file,"dialog1")
- topDialog.get_widget("htmltemplate").set_sensitive(0)
name = person.getPrimaryName().getRegularName()
PaperMenu.make_paper_menu(topDialog.get_widget("papersize"))
PaperMenu.make_orientation_menu(topDialog.get_widget("orientation"))
-
- if no_pdf:
- topDialog.get_widget("pdf").set_sensitive(0)
+ FindDoc.get_text_doc_menu(topDialog.get_widget("format"),0,option_switch)
topDialog.get_widget("labelTitle").set_text("Ahnentafel Report for " + name)
topDialog.signal_autoconnect({
"destroy_passed_object" : utils.destroy_passed_object,
- "on_save_clicked" : on_save_clicked,
- "on_html_toggled" : on_html_toggled
+ "on_save_clicked" : on_save_clicked
})
-
-#-------------------------------------------------------------------------
+#------------------------------------------------------------------------
#
+#
#
-#
-#-------------------------------------------------------------------------
-def on_html_toggled(obj):
- if obj.get_active():
- topDialog.get_widget("htmltemplate").set_sensitive(1)
- topDialog.get_widget("papersize").set_sensitive(0)
- topDialog.get_widget("orientation").set_sensitive(0)
- else:
- topDialog.get_widget("htmltemplate").set_sensitive(0)
- topDialog.get_widget("papersize").set_sensitive(1)
- topDialog.get_widget("orientation").set_sensitive(1)
-
+#------------------------------------------------------------------------
+def option_switch(obj):
+ val = obj.get_data("paper")
+ notebook = topDialog.get_widget("option_notebook")
+ if val == 1:
+ notebook.set_page(0)
+ else:
+ notebook.set_page(1)
+
#------------------------------------------------------------------------
#
#
@@ -365,7 +350,7 @@ def on_save_clicked(obj):
global db
outputName = topDialog.get_widget("fileentry1").get_full_path(0)
- if outputName == "":
+ if not outputName:
return
max_gen = topDialog.get_widget("generations").get_value_as_int()
@@ -376,17 +361,12 @@ def on_save_clicked(obj):
orien_obj = topDialog.get_widget("orientation").get_menu().get_active()
orien = orien_obj.get_data("i")
- if topDialog.get_widget("openoffice").get_active():
- document = OpenOfficeDoc(paper,orien)
- elif topDialog.get_widget("abiword").get_active():
- document = AbiWordDoc(paper,orien)
- elif topDialog.get_widget("pdf").get_active():
- document = PdfDoc(paper,orien)
- else:
- document = HtmlDoc(template)
+ item = topDialog.get_widget("format").get_menu().get_active()
+ format = item.get_data("name")
+
+ doc = FindDoc.make_text_doc(format,paper,orien,template)
- MyReport = AncestorReport(db,active_person,outputName,\
- max_gen, pgbrk, document)
+ MyReport = AncestorReport(db,active_person,outputName,max_gen,pgbrk,doc)
MyReport.write_report()
utils.destroy_passed_object(obj)
diff --git a/src/plugins/DescendReport.py b/src/plugins/DescendReport.py
index dea5eee1f..a8dac158a 100644
--- a/src/plugins/DescendReport.py
+++ b/src/plugins/DescendReport.py
@@ -33,15 +33,7 @@ import const
import utils
import const
from TextDoc import *
-from OpenOfficeDoc import *
-from AbiWordDoc import *
-from HtmlDoc import *
-try:
- import reportlab.platypus.tables
- from PdfDoc import *
- no_pdf = 0
-except:
- no_pdf = 1
+import FindDoc
from gtk import *
from gnome.ui import *
@@ -158,16 +150,29 @@ class DesReportWindow:
PaperMenu.make_paper_menu(self.top.get_widget("papersize"))
PaperMenu.make_orientation_menu(self.top.get_widget("orientation"))
+ FindDoc.get_text_doc_menu(self.top.get_widget("format"),0,\
+ option_switch,\
+ self.top.get_widget("option_notebook"))
mytop = self.top.get_widget("dialog1")
- if no_pdf:
- self.top.get_widget("pdf").set_sensitive(0)
-
mytop.set_data("o",self)
mytop.set_data("d",db)
mytop.show()
+#------------------------------------------------------------------------
+#
+#
+#
+#------------------------------------------------------------------------
+def option_switch(obj):
+ val = obj.get_data("paper")
+ notebook = obj.get_data("obj")
+ if val == 1:
+ notebook.set_page(0)
+ else:
+ notebook.set_page(1)
+
#------------------------------------------------------------------------
#
#
@@ -195,14 +200,14 @@ def on_save_clicked(obj):
orien_obj = myobj.top.get_widget("orientation")
orien = orien_obj.get_menu().get_active().get_data("i")
- if myobj.top.get_widget("openoffice").get_active():
- document = OpenOfficeDoc(paper,orien)
- elif myobj.top.get_widget("abiword").get_active():
- document = AbiWordDoc(paper,orien)
- else:
- document = PdfDoc(paper,orien)
+ template = myobj.top.get_widget("htmltemplate").get_full_path(0)
- report = DescendantReport(file,myobj.person,db,document)
+ item = myobj.top.get_widget("format").get_menu().get_active()
+ format = item.get_data("name")
+
+ doc = FindDoc.make_text_doc(format,paper,orien,template)
+
+ report = DescendantReport(file,myobj.person,db,doc)
report.setup()
report.report()
report.end()
diff --git a/src/plugins/FamilyGroup.py b/src/plugins/FamilyGroup.py
index 34518b77b..1b50a8d94 100644
--- a/src/plugins/FamilyGroup.py
+++ b/src/plugins/FamilyGroup.py
@@ -26,20 +26,12 @@ import os
import re
import sort
import string
+import FindDoc
import utils
import intl
-_ = intl.gettext
-
from TextDoc import *
-from OpenOfficeDoc import *
-from HtmlDoc import *
-try:
- import reportlab.platypus.tables
- from PdfDoc import *
- no_pdf = 0
-except:
- no_pdf = 1
+_ = intl.gettext
from gtk import *
from gnome.ui import *
@@ -403,18 +395,15 @@ def report(database,person):
family_list = person.getFamilyList()
label = topDialog.get_widget("labelTitle")
- if no_pdf == 1:
- topDialog.get_widget("pdf").set_sensitive(0)
-
label.set_text(_("Family Group Report for %s") % name)
topDialog.signal_autoconnect({
"destroy_passed_object" : utils.destroy_passed_object,
- "on_save_clicked" : on_save_clicked,
- "on_html_toggled" : on_html_toggled
+ "on_save_clicked" : on_save_clicked
})
PaperMenu.make_paper_menu(topDialog.get_widget("papersize"))
PaperMenu.make_orientation_menu(topDialog.get_widget("orientation"))
+ FindDoc.get_text_doc_menu(topDialog.get_widget("format"),1,option_switch)
frame = topDialog.get_widget("spouse")
option_menu = topDialog.get_widget("spouse_menu")
@@ -436,14 +425,20 @@ def report(database,person):
my_menu.append(item)
option_menu.set_menu(my_menu)
-#-------------------------------------------------------------------------
+#------------------------------------------------------------------------
#
+#
#
-#
-#-------------------------------------------------------------------------
-def on_html_toggled(obj):
- topDialog.get_widget("htmltemplate").set_sensitive(obj.get_active())
-
+#------------------------------------------------------------------------
+def option_switch(obj):
+ val = obj.get_data("paper")
+ notebook = topDialog.get_widget("option_notebook")
+
+ if val == 1:
+ notebook.set_page(0)
+ else:
+ notebook.set_page(1)
+
#------------------------------------------------------------------------
#
#
@@ -454,7 +449,7 @@ def on_save_clicked(obj):
global db
outputName = topDialog.get_widget("fileentry1").get_full_path(0)
- if outputName == "":
+ if not outputName:
return
menu = topDialog.get_widget("spouse_menu").get_menu()
@@ -463,15 +458,13 @@ def on_save_clicked(obj):
paper = paper_obj.get_menu().get_active().get_data("i")
orien_obj = topDialog.get_widget("orientation")
orien = orien_obj.get_menu().get_active().get_data("i")
+ template = topDialog.get_widget("htmlfile").get_text()
- if topDialog.get_widget("html").get_active():
- template = topDialog.get_widget("htmlfile").get_text()
- doc = HtmlDoc(template)
- elif topDialog.get_widget("openoffice").get_active():
- doc = OpenOfficeDoc(paper,orien)
- else:
- doc = PdfDoc(paper,orien)
-
+ item = topDialog.get_widget("format").get_menu().get_active()
+ format = item.get_data("name")
+
+ doc = FindDoc.make_text_doc(format,paper,orien,template)
+
MyReport = FamilyGroup(db,family,outputName,doc)
MyReport.setup()
@@ -489,11 +482,3 @@ def get_description():
def get_name():
return _("Generate files/Family Group Report")
-
-
-
-
-
-
-
-
diff --git a/src/plugins/IndivSummary.py b/src/plugins/IndivSummary.py
index 9e7610117..e86cb85fc 100644
--- a/src/plugins/IndivSummary.py
+++ b/src/plugins/IndivSummary.py
@@ -32,15 +32,7 @@ import intl
_ = intl.gettext
from TextDoc import *
-from OpenOfficeDoc import *
-from HtmlDoc import *
-from AbiWordDoc import *
-try:
- import reportlab.platypus.tables
- from PdfDoc import *
- no_pdf = 0
-except:
- no_pdf = 1
+import FindDoc
from gtk import *
from gnome.ui import *
@@ -381,25 +373,28 @@ def report(database,person):
label = topDialog.get_widget("labelTitle")
label.set_text("Individual Summary for " + name)
- if no_pdf:
- topDialog.get_widget("pdf").set_sensitive(0)
PaperMenu.make_paper_menu(topDialog.get_widget("papersize"))
PaperMenu.make_orientation_menu(topDialog.get_widget("orientation"))
+ FindDoc.get_text_doc_menu(topDialog.get_widget("format"),0,option_switch)
topDialog.signal_autoconnect({
"destroy_passed_object" : utils.destroy_passed_object,
- "on_save_clicked" : on_save_clicked,
- "on_html_toggled" : on_html_toggled
+ "on_save_clicked" : on_save_clicked
})
-#-------------------------------------------------------------------------
+#------------------------------------------------------------------------
#
+#
#
-#
-#-------------------------------------------------------------------------
-def on_html_toggled(obj):
- topDialog.get_widget("htmltemplate").set_sensitive(obj.get_active())
+#------------------------------------------------------------------------
+def option_switch(obj):
+ val = obj.get_data("paper")
+ notebook = topDialog.get_widget("option_notebook")
+ if val == 1:
+ notebook.set_page(0)
+ else:
+ notebook.set_page(1)
#------------------------------------------------------------------------
#
@@ -411,21 +406,19 @@ def on_save_clicked(obj):
global db
outputName = topDialog.get_widget("fileentry1").get_full_path(0)
- if outputName == "":
+ if not outputName:
return
paper_obj = topDialog.get_widget("papersize")
paper = paper_obj.get_menu().get_active().get_data("i")
orien_obj = topDialog.get_widget("orientation")
orien = orien_obj.get_menu().get_active().get_data("i")
+ template = topDialog.get_widget("htmltemplate").get_full_path(0)
- if topDialog.get_widget("html").get_active():
- template = topDialog.get_widget("htmlfile").get_text()
- doc = HtmlDoc(template)
- elif topDialog.get_widget("pdf").get_active():
- doc = PdfDoc(paper,orien)
- else:
- doc = OpenOfficeDoc(paper,orien)
+ item = topDialog.get_widget("format").get_menu().get_active()
+ format = item.get_data("name")
+
+ doc = FindDoc.make_text_doc(format,paper,orien,template)
MyReport = IndivSummary(db,active_person,outputName,doc)
diff --git a/src/plugins/ancestorreport.glade b/src/plugins/ancestorreport.glade
index d9c2c8c5e..b42b30d8f 100644
--- a/src/plugins/ancestorreport.glade
+++ b/src/plugins/ancestorreport.glade
@@ -191,143 +191,13 @@
- GtkVBox
- vbox4
- False
- 0
-
-
- GtkRadioButton
- openoffice
- True
-
- True
- True
- format
-
- 0
- False
- False
-
-
-
-
- GtkRadioButton
- abiword
- True
-
- False
- True
- format
-
- 0
- False
- False
-
-
-
-
- GtkRadioButton
- pdf
- True
-
- False
- True
- format
-
- 0
- False
- False
-
-
-
-
- GtkHBox
- hbox5
- False
- 0
-
- 0
- False
- False
-
-
-
- GtkRadioButton
- html
- True
-
- toggled
- on_html_toggled
- Tue, 20 Mar 2001 17:02:37 GMT
-
-
- False
- True
- format
-
- 0
- False
- False
-
-
-
-
- GtkHBox
- hbox1
- False
- 0
-
- 0
- True
- True
-
-
-
- GtkLabel
- label11
-
- GTK_JUSTIFY_CENTER
- False
- 1
- 0.5
- 5
- 0
-
- 0
- True
- True
-
-
-
-
- GnomeFileEntry
- htmltemplate
- False
- HtmlTemplate
- 10
- Choose the HTML template
- False
- False
-
- 5
- True
- True
-
-
-
- GtkEntry
- GnomeEntry:entry
- htmlfile
- True
- True
- True
- 0
-
-
-
-
-
+ GtkOptionMenu
+ format
+ 10
+ True
+
+
+ 0
@@ -362,13 +232,10 @@
- GtkTable
- table1
- 4
- 2
+ GtkVBox
+ vbox6
False
- 0
- 0
+ 0
0
True
@@ -376,180 +243,335 @@
- GtkLabel
- label14
-
- GTK_JUSTIFY_CENTER
- False
- 1
- 0.5
- 5
- 0
+ GtkTable
+ table1
+ 3
+ 2
+ False
+ 0
+ 0
- 0
- 1
- 0
- 1
+ 0
+ True
+ True
+
+
+
+ GtkLabel
+ label13
+
+ GTK_JUSTIFY_CENTER
+ False
+ 1
+ 0.5
+ 5
+ 0
+
+ 0
+ 1
+ 0
+ 1
+ 0
+ 0
+ False
+ False
+ False
+ False
+ True
+ False
+
+
+
+
+ GtkCheckButton
+ pagebreak
+ True
+
+ False
+ True
+
+ 1
+ 2
+ 1
+ 2
+ 5
+ 5
+ False
+ False
+ False
+ False
+ True
+ False
+
+
+
+
+ GtkSpinButton
+ generations
+ True
+ 1
+ 0
+ True
+ GTK_UPDATE_ALWAYS
+ False
+ False
+ 10
+ 1
+ 28
+ 1
+ 10
+ 10
+
+ 1
+ 2
+ 0
+ 1
+ 5
+ 5
+ True
+ False
+ False
+ False
+ True
+ False
+
+
+
+
+ GtkHSeparator
+ hseparator2
+
+ 0
+ 2
+ 2
+ 3
+ 0
+ 5
+ False
+ True
+ False
+ False
+ True
+ True
+
+
+
+
+
+ GtkNotebook
+ option_notebook
+ False
+ False
+ GTK_POS_TOP
+ False
+ 2
+ 2
+ False
+
+ 0
+ True
+ True
+
+
+
+ GtkTable
+ table2
+ 2
+ 2
+ False
+ 0
+ 0
+
+
+ GtkLabel
+ label14
+
+ GTK_JUSTIFY_CENTER
+ False
+ 1
+ 0.5
+ 5
+ 0
+
+ 0
+ 1
+ 0
+ 1
+ 0
+ 0
+ False
+ False
+ False
+ False
+ True
+ False
+
+
+
+
+ GtkLabel
+ label15
+
+ GTK_JUSTIFY_CENTER
+ False
+ 1
+ 0.5
+ 5
+ 0
+
+ 0
+ 1
+ 1
+ 2
+ 0
+ 0
+ False
+ False
+ False
+ False
+ True
+ False
+
+
+
+
+ GtkOptionMenu
+ papersize
+ True
+
+
+ 0
+
+ 1
+ 2
+ 0
+ 1
+ 5
+ 5
+ True
+ False
+ False
+ False
+ True
+ False
+
+
+
+
+ GtkOptionMenu
+ orientation
+ True
+
+
+ 0
+
+ 1
+ 2
+ 1
+ 2
+ 5
+ 5
+ False
+ False
+ False
+ False
+ True
+ False
+
+
+
+
+
+ GtkLabel
+ Notebook:tab
+ label14
+
+ GTK_JUSTIFY_CENTER
+ False
+ 0.5
+ 0.5
0
0
- False
- False
- False
- False
- True
- False
-
-
+
-
- GtkLabel
- label13
-
- GTK_JUSTIFY_CENTER
- False
- 1
- 0.5
- 5
- 0
-
- 0
- 1
- 2
- 3
+
+ GtkVBox
+ vbox7
+ False
+ 0
+
+
+ GtkHBox
+ hbox1
+ False
+ 0
+
+ 5
+ False
+ True
+
+
+
+ GtkLabel
+ label11
+
+ GTK_JUSTIFY_CENTER
+ False
+ 1
+ 0.5
+ 5
+ 0
+
+ 0
+ False
+ True
+
+
+
+
+ GnomeFileEntry
+ htmltemplate
+ HtmlTemplate
+ 10
+ Choose the HTML template
+ False
+ False
+
+ 5
+ True
+ True
+
+
+
+ GtkEntry
+ GnomeEntry:entry
+ htmlfile
+ True
+ True
+ True
+ 0
+
+
+
+
+
+
+ Placeholder
+
+
+
+
+ GtkLabel
+ Notebook:tab
+ label15
+
+ GTK_JUSTIFY_CENTER
+ False
+ 0.5
+ 0.5
0
0
- False
- False
- False
- False
- True
- False
-
-
-
-
- GtkCheckButton
- pagebreak
- True
-
- False
- True
-
- 1
- 2
- 3
- 4
- 5
- 5
- False
- False
- False
- False
- True
- False
-
-
-
-
- GtkSpinButton
- generations
- True
- 1
- 0
- True
- GTK_UPDATE_ALWAYS
- False
- False
- 10
- 1
- 28
- 1
- 10
- 10
-
- 1
- 2
- 2
- 3
- 5
- 5
- True
- False
- False
- False
- True
- False
-
-
-
-
- GtkOptionMenu
- papersize
- True
-
- 0
-
- 1
- 2
- 0
- 1
- 5
- 5
- False
- False
- False
- False
- True
- False
-
-
-
-
- GtkLabel
- label15
-
- GTK_JUSTIFY_CENTER
- False
- 1
- 0.5
- 5
- 0
-
- 0
- 1
- 1
- 2
- 0
- 0
- False
- False
- False
- False
- True
- False
-
-
-
-
- GtkOptionMenu
- orientation
- True
-
- 0
-
- 1
- 2
- 1
- 2
- 5
- 5
- False
- False
- False
- False
- True
- False
-
+
diff --git a/src/plugins/desreport.glade b/src/plugins/desreport.glade
index 7eb5dfd86..f7c02d230 100644
--- a/src/plugins/desreport.glade
+++ b/src/plugins/desreport.glade
@@ -190,141 +190,24 @@
GtkVBox
- vbox4
+ vbox6
+ 5
False
0
- GtkRadioButton
- openoffice
+ GtkOptionMenu
+ format
True
-
- True
- True
- format
+
+
+ 0
0
False
False
-
-
- GtkRadioButton
- abiword
- True
-
- False
- True
- format
-
- 0
- False
- False
-
-
-
-
- GtkRadioButton
- pdf
- True
-
- toggled
- on_html_toggled
-
- Tue, 20 Mar 2001 17:02:37 GMT
-
-
- False
- True
- format
-
- 0
- False
- False
-
-
-
-
- GtkRadioButton
- html
- True
-
- toggled
- on_html_toggled
-
- Tue, 20 Mar 2001 17:02:37 GMT
-
-
- False
- True
- format
-
- 0
- False
- False
-
-
-
-
- GtkHBox
- hbox1
- False
- 0
-
- 0
- True
- True
-
-
-
- Placeholder
-
-
-
- GtkLabel
- label11
-
- GTK_JUSTIFY_CENTER
- False
- 1
- 0.5
- 5
- 0
-
- 0
- True
- True
-
-
-
-
- GnomeFileEntry
- htmltemplate
- False
- HtmlTemplate
- 10
- Choose the HTML template
- False
- False
-
- 0
- True
- True
-
-
-
- GtkEntry
- GnomeEntry:entry
- htmlfile
- True
- True
- True
- 0
-
-
-
-
@@ -341,110 +224,215 @@
- GtkTable
- table1
- 2
- 2
- False
- 0
- 0
+ GtkNotebook
+ option_notebook
+ False
+ False
+ GTK_POS_TOP
+ False
+ 2
+ 2
+ False
+
+
+ GtkTable
+ table1
+ 2
+ 2
+ False
+ 0
+ 0
+
+
+ GtkLabel
+ label13
+
+ GTK_JUSTIFY_CENTER
+ False
+ 1
+ 0.5
+ 5
+ 0
+
+ 0
+ 1
+ 0
+ 1
+ 0
+ 0
+ False
+ False
+ False
+ False
+ True
+ False
+
+
+
+
+ GtkLabel
+ label14
+
+ GTK_JUSTIFY_CENTER
+ False
+ 1
+ 0.5
+ 5
+ 0
+
+ 0
+ 1
+ 1
+ 2
+ 0
+ 0
+ False
+ False
+ False
+ False
+ True
+ False
+
+
+
+
+ GtkOptionMenu
+ papersize
+ True
+
+
+ 0
+
+ 1
+ 2
+ 0
+ 1
+ 5
+ 5
+ True
+ False
+ False
+ False
+ True
+ False
+
+
+
+
+ GtkOptionMenu
+ orientation
+ True
+
+
+ 0
+
+ 1
+ 2
+ 1
+ 2
+ 5
+ 5
+ False
+ False
+ False
+ False
+ True
+ False
+
+
+
GtkLabel
+ Notebook:tab
label13
GTK_JUSTIFY_CENTER
False
- 1
+ 0.5
0.5
- 5
+ 0
0
-
- 0
- 1
- 0
- 1
- 0
- 0
- False
- False
- False
- False
- True
- False
-
+
+
+
+ GtkVBox
+ vbox5
+ False
+ 0
+
+
+ GtkHBox
+ hbox1
+ False
+ 0
+
+ 10
+ False
+ True
+
+
+
+ GtkLabel
+ label11
+
+ GTK_JUSTIFY_CENTER
+ False
+ 1
+ 0.5
+ 5
+ 0
+
+ 0
+ False
+ True
+
+
+
+
+ GnomeFileEntry
+ htmltemplate
+ False
+ HtmlTemplate
+ 10
+ Choose the HTML template
+ False
+ False
+
+ 0
+ True
+ True
+
+
+
+ GtkEntry
+ GnomeEntry:entry
+ htmlfile
+ True
+ True
+ True
+ 0
+
+
+
+
+
+
+ Placeholder
+
GtkLabel
+ Notebook:tab
label14
-
+
GTK_JUSTIFY_CENTER
False
- 1
+ 0.5
0.5
- 5
+ 0
0
-
- 0
- 1
- 1
- 2
- 0
- 0
- False
- False
- False
- False
- True
- False
-
-
-
-
- GtkOptionMenu
- papersize
- True
-
-
- 0
-
- 1
- 2
- 0
- 1
- 5
- 5
- True
- False
- False
- False
- True
- False
-
-
-
-
- GtkOptionMenu
- orientation
- True
-
-
- 0
-
- 1
- 2
- 1
- 2
- 5
- 5
- False
- False
- False
- False
- True
- False
-
diff --git a/src/plugins/familygroup.glade b/src/plugins/familygroup.glade
index 489d9d255..d1cf865da 100644
--- a/src/plugins/familygroup.glade
+++ b/src/plugins/familygroup.glade
@@ -15,6 +15,7 @@
GnomeDialog
dialog1
+ Gramps - Family Group Report
GTK_WINDOW_DIALOG
GTK_WIN_POS_NONE
False
@@ -219,139 +220,19 @@
0
- GtkRadioButton
- openoffice
+ GtkOptionMenu
+ format
+ 10
True
-
- True
- True
- format
+
+
+ 0
0
False
False
-
-
- GtkRadioButton
- abiword
- True
-
- toggled
- on_html_toggled
- Tue, 20 Mar 2001 17:02:37 GMT
-
-
- False
- True
- format
-
- 0
- False
- False
-
-
-
-
- GtkRadioButton
- pdf
- True
-
- toggled
- on_html_toggled
- Tue, 20 Mar 2001 17:02:37 GMT
-
-
- False
- True
- format
-
- 0
- False
- False
-
-
-
-
- GtkRadioButton
- html
- True
-
- toggled
- on_html_toggled
- Tue, 20 Mar 2001 17:02:37 GMT
-
-
- False
- True
- format
-
- 0
- False
- False
-
-
-
-
- GtkHBox
- hbox1
- False
- 0
-
- 0
- True
- True
-
-
-
- Placeholder
-
-
-
- GtkLabel
- label11
-
- GTK_JUSTIFY_CENTER
- False
- 1
- 0.5
- 5
- 0
-
- 0
- True
- True
-
-
-
-
- GnomeFileEntry
- htmltemplate
- False
- HtmlTemplate
- 10
- Choose the HTML template
- False
- False
-
- 0
- True
- True
-
-
-
- GtkEntry
- GnomeEntry:entry
- htmlfile
- True
- True
- True
- 0
-
-
-
-
@@ -368,110 +249,214 @@
- GtkTable
- table1
- 2
- 2
- False
- 0
- 0
+ GtkNotebook
+ option_notebook
+ False
+ False
+ GTK_POS_TOP
+ False
+ 2
+ 2
+ False
- GtkLabel
- label14
-
- GTK_JUSTIFY_CENTER
- False
- 1
- 0.5
- 5
- 0
-
- 0
- 1
- 1
- 2
- 0
+ GtkTable
+ table1
+ 2
+ 2
+ False
+ 0
+ 0
+
+
+ GtkLabel
+ label14
+
+ GTK_JUSTIFY_CENTER
+ False
+ 1
+ 0.5
+ 5
0
- False
- False
- False
- False
- True
- False
-
+
+ 0
+ 1
+ 1
+ 2
+ 0
+ 0
+ False
+ False
+ False
+ False
+ True
+ False
+
+
+
+
+ GtkLabel
+ label13
+
+ GTK_JUSTIFY_CENTER
+ False
+ 1
+ 0.5
+ 5
+ 0
+
+ 0
+ 1
+ 0
+ 1
+ 0
+ 0
+ False
+ False
+ False
+ False
+ True
+ False
+
+
+
+
+ GtkOptionMenu
+ orientation
+ True
+
+
+ 0
+
+ 1
+ 2
+ 1
+ 2
+ 5
+ 5
+ True
+ False
+ False
+ False
+ True
+ False
+
+
+
+
+ GtkOptionMenu
+ papersize
+ True
+
+
+ 0
+
+ 1
+ 2
+ 0
+ 1
+ 5
+ 5
+ True
+ False
+ False
+ False
+ True
+ False
+
+
GtkLabel
- label13
+ Notebook:tab
+ label14
GTK_JUSTIFY_CENTER
False
- 1
+ 0.5
0.5
- 5
+ 0
0
-
- 0
- 1
- 0
- 1
- 0
- 0
- False
- False
- False
- False
- True
- False
-
- GtkOptionMenu
- orientation
- True
-
-
- 0
-
- 1
- 2
- 1
- 2
- 5
- 5
- True
- False
- False
- False
- True
- False
-
+ GtkVBox
+ vbox5
+ False
+ 0
+
+
+ GtkHBox
+ hbox1
+ False
+ 0
+
+ 5
+ False
+ True
+
+
+
+ GtkLabel
+ label11
+
+ GTK_JUSTIFY_CENTER
+ False
+ 1
+ 0.5
+ 5
+ 0
+
+ 0
+ False
+ True
+
+
+
+
+ GnomeFileEntry
+ htmltemplate
+ HtmlTemplate
+ 10
+ Choose the HTML template
+ False
+ False
+
+ 5
+ True
+ True
+
+
+
+ GtkEntry
+ GnomeEntry:entry
+ htmlfile
+ True
+ True
+ True
+ 0
+
+
+
+
+
+
+ Placeholder
+
- GtkOptionMenu
- papersize
- True
-
-
- 0
-
- 1
- 2
- 0
- 1
- 5
- 5
- True
- False
- False
- False
- True
- False
-
+ GtkLabel
+ Notebook:tab
+ label15
+
+ GTK_JUSTIFY_CENTER
+ False
+ 0.5
+ 0.5
+ 0
+ 0
diff --git a/src/plugins/indsum.glade b/src/plugins/indsum.glade
index 7d3b26019..87ebd420b 100644
--- a/src/plugins/indsum.glade
+++ b/src/plugins/indsum.glade
@@ -15,6 +15,7 @@
GnomeDialog
dialog1
+ Gramps - Individual Summary
GTK_WINDOW_DIALOG
GTK_WIN_POS_NONE
False
@@ -190,124 +191,24 @@
GtkVBox
- vbox4
+ vbox6
False
0
- GtkRadioButton
- openoffice
+ GtkOptionMenu
+ format
+ 5
True
-
- True
- True
- format
+
+
+ 0
0
False
False
-
-
- GtkRadioButton
- pdf
- True
-
- toggled
- on_html_toggled
- Tue, 20 Mar 2001 17:02:37 GMT
-
-
- False
- True
- format
-
- 0
- False
- False
-
-
-
-
- GtkRadioButton
- html
- True
-
- toggled
- on_html_toggled
- Tue, 20 Mar 2001 17:02:37 GMT
-
-
- False
- True
- format
-
- 0
- False
- False
-
-
-
-
- GtkHBox
- hbox1
- False
- 0
-
- 0
- True
- True
-
-
-
- Placeholder
-
-
-
- GtkLabel
- label11
-
- GTK_JUSTIFY_CENTER
- False
- 1
- 0.5
- 5
- 0
-
- 0
- True
- True
-
-
-
-
- GnomeFileEntry
- htmltemplate
- False
- HtmlTemplate
- 10
- Choose the HTML template
- False
- False
-
- 0
- True
- True
-
-
-
- GtkEntry
- GnomeEntry:entry
- htmlfile
- True
- True
- True
- 0
-
-
-
-
@@ -324,110 +225,215 @@
- GtkTable
- table1
- 2
- 2
- False
- 0
- 0
+ GtkNotebook
+ option_notebook
+ False
+ False
+ GTK_POS_TOP
+ False
+ 2
+ 2
+ False
+
+
+ GtkTable
+ table1
+ 2
+ 2
+ False
+ 0
+ 0
+
+
+ GtkLabel
+ label13
+
+ GTK_JUSTIFY_CENTER
+ False
+ 1
+ 0.5
+ 5
+ 0
+
+ 0
+ 1
+ 0
+ 1
+ 0
+ 0
+ False
+ False
+ False
+ False
+ True
+ False
+
+
+
+
+ GtkLabel
+ label14
+
+ GTK_JUSTIFY_CENTER
+ False
+ 1
+ 0.5
+ 5
+ 0
+
+ 0
+ 1
+ 1
+ 2
+ 0
+ 0
+ False
+ False
+ False
+ False
+ True
+ False
+
+
+
+
+ GtkOptionMenu
+ orientation
+ True
+
+
+ 0
+
+ 1
+ 2
+ 1
+ 2
+ 5
+ 5
+ True
+ False
+ False
+ False
+ True
+ False
+
+
+
+
+ GtkOptionMenu
+ papersize
+ True
+
+
+ 0
+
+ 1
+ 2
+ 0
+ 1
+ 5
+ 5
+ True
+ False
+ False
+ False
+ True
+ False
+
+
+
GtkLabel
+ Notebook:tab
label13
GTK_JUSTIFY_CENTER
False
- 1
+ 0.5
0.5
- 5
+ 0
0
-
- 0
- 1
- 0
- 1
- 0
- 0
- False
- False
- False
- False
- True
- False
-
+
+
+
+ GtkVBox
+ vbox5
+ False
+ 0
+
+
+ GtkHBox
+ hbox1
+ False
+ 0
+
+ 5
+ False
+ True
+
+
+
+ GtkLabel
+ label11
+
+ GTK_JUSTIFY_CENTER
+ False
+ 1
+ 0.5
+ 5
+ 0
+
+ 0
+ False
+ True
+
+
+
+
+ GnomeFileEntry
+ htmltemplate
+ False
+ HtmlTemplate
+ 10
+ Choose the HTML template
+ False
+ False
+
+ 0
+ True
+ True
+
+
+
+ GtkEntry
+ GnomeEntry:entry
+ htmlfile
+ True
+ True
+ True
+ 0
+
+
+
+
+
+
+ Placeholder
+
GtkLabel
+ Notebook:tab
label14
-
+
GTK_JUSTIFY_CENTER
False
- 1
+ 0.5
0.5
- 5
+ 0
0
-
- 0
- 1
- 1
- 2
- 0
- 0
- False
- False
- False
- False
- True
- False
-
-
-
-
- GtkOptionMenu
- orientation
- True
-
-
- 0
-
- 1
- 2
- 1
- 2
- 5
- 5
- True
- False
- False
- False
- True
- False
-
-
-
-
- GtkOptionMenu
- papersize
- True
-
-
- 0
-
- 1
- 2
- 0
- 1
- 5
- 5
- True
- False
- False
- False
- True
- False
-