Better handling of output format types, including user's preference
svn: r91
This commit is contained in:
parent
9f5401da94
commit
db9bb2246e
120
gramps/src/FindDoc.py
Normal file
120
gramps/src/FindDoc.py
Normal file
@ -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)
|
||||||
|
|
@ -22,6 +22,9 @@ import os
|
|||||||
import tempfile
|
import tempfile
|
||||||
import string
|
import string
|
||||||
import re
|
import re
|
||||||
|
import intl
|
||||||
|
|
||||||
|
_ = intl.gettext
|
||||||
|
|
||||||
from TextDoc import *
|
from TextDoc import *
|
||||||
import const
|
import const
|
||||||
@ -69,7 +72,7 @@ class HtmlDoc(TextDoc):
|
|||||||
top_add = 1
|
top_add = 1
|
||||||
bottom_add = 0
|
bottom_add = 0
|
||||||
|
|
||||||
if self.template != "":
|
if self.template and self.template != "":
|
||||||
try:
|
try:
|
||||||
templateFile = open(self.template,"r")
|
templateFile = open(self.template,"r")
|
||||||
for line in templateFile.readlines():
|
for line in templateFile.readlines():
|
||||||
|
@ -1340,7 +1340,6 @@ A4
|
|||||||
<widget>
|
<widget>
|
||||||
<class>GtkOptionMenu</class>
|
<class>GtkOptionMenu</class>
|
||||||
<name>output_format</name>
|
<name>output_format</name>
|
||||||
<sensitive>False</sensitive>
|
|
||||||
<can_focus>True</can_focus>
|
<can_focus>True</can_focus>
|
||||||
<items>OpenOffice
|
<items>OpenOffice
|
||||||
HTML
|
HTML
|
||||||
|
@ -32,15 +32,7 @@ import intl
|
|||||||
_ = intl.gettext
|
_ = intl.gettext
|
||||||
|
|
||||||
from TextDoc import *
|
from TextDoc import *
|
||||||
from OpenOfficeDoc import *
|
import FindDoc
|
||||||
from HtmlDoc import *
|
|
||||||
from AbiWordDoc import *
|
|
||||||
|
|
||||||
try:
|
|
||||||
from PdfDoc import *
|
|
||||||
no_pdf = 0
|
|
||||||
except:
|
|
||||||
no_pdf = 1
|
|
||||||
|
|
||||||
from gtk import *
|
from gtk import *
|
||||||
from gnome.ui import *
|
from gnome.ui import *
|
||||||
@ -79,7 +71,7 @@ class AncestorReport:
|
|||||||
15: _("Fifteenth"),
|
15: _("Fifteenth"),
|
||||||
16: _("Sixteenth"),
|
16: _("Sixteenth"),
|
||||||
17: _("Seventeenth"),
|
17: _("Seventeenth"),
|
||||||
18: _("Eigthteenth"),
|
18: _("Eightteenth"),
|
||||||
19: _("Nineteenth"),
|
19: _("Nineteenth"),
|
||||||
20: _("Twentieth"),
|
20: _("Twentieth"),
|
||||||
21: _("Twenty-first"),
|
21: _("Twenty-first"),
|
||||||
@ -322,39 +314,32 @@ def report(database,person):
|
|||||||
base = os.path.dirname(__file__)
|
base = os.path.dirname(__file__)
|
||||||
glade_file = base + os.sep + "ancestorreport.glade"
|
glade_file = base + os.sep + "ancestorreport.glade"
|
||||||
topDialog = GladeXML(glade_file,"dialog1")
|
topDialog = GladeXML(glade_file,"dialog1")
|
||||||
topDialog.get_widget("htmltemplate").set_sensitive(0)
|
|
||||||
|
|
||||||
name = person.getPrimaryName().getRegularName()
|
name = person.getPrimaryName().getRegularName()
|
||||||
|
|
||||||
PaperMenu.make_paper_menu(topDialog.get_widget("papersize"))
|
PaperMenu.make_paper_menu(topDialog.get_widget("papersize"))
|
||||||
PaperMenu.make_orientation_menu(topDialog.get_widget("orientation"))
|
PaperMenu.make_orientation_menu(topDialog.get_widget("orientation"))
|
||||||
|
FindDoc.get_text_doc_menu(topDialog.get_widget("format"),0,option_switch)
|
||||||
if no_pdf:
|
|
||||||
topDialog.get_widget("pdf").set_sensitive(0)
|
|
||||||
|
|
||||||
topDialog.get_widget("labelTitle").set_text("Ahnentafel Report for " + name)
|
topDialog.get_widget("labelTitle").set_text("Ahnentafel Report for " + name)
|
||||||
topDialog.signal_autoconnect({
|
topDialog.signal_autoconnect({
|
||||||
"destroy_passed_object" : utils.destroy_passed_object,
|
"destroy_passed_object" : utils.destroy_passed_object,
|
||||||
"on_save_clicked" : on_save_clicked,
|
"on_save_clicked" : on_save_clicked
|
||||||
"on_html_toggled" : on_html_toggled
|
|
||||||
})
|
})
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------
|
||||||
#-------------------------------------------------------------------------
|
|
||||||
#
|
#
|
||||||
|
#
|
||||||
#
|
#
|
||||||
#
|
#------------------------------------------------------------------------
|
||||||
#-------------------------------------------------------------------------
|
def option_switch(obj):
|
||||||
def on_html_toggled(obj):
|
val = obj.get_data("paper")
|
||||||
if obj.get_active():
|
notebook = topDialog.get_widget("option_notebook")
|
||||||
topDialog.get_widget("htmltemplate").set_sensitive(1)
|
if val == 1:
|
||||||
topDialog.get_widget("papersize").set_sensitive(0)
|
notebook.set_page(0)
|
||||||
topDialog.get_widget("orientation").set_sensitive(0)
|
else:
|
||||||
else:
|
notebook.set_page(1)
|
||||||
topDialog.get_widget("htmltemplate").set_sensitive(0)
|
|
||||||
topDialog.get_widget("papersize").set_sensitive(1)
|
|
||||||
topDialog.get_widget("orientation").set_sensitive(1)
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
@ -365,7 +350,7 @@ def on_save_clicked(obj):
|
|||||||
global db
|
global db
|
||||||
|
|
||||||
outputName = topDialog.get_widget("fileentry1").get_full_path(0)
|
outputName = topDialog.get_widget("fileentry1").get_full_path(0)
|
||||||
if outputName == "":
|
if not outputName:
|
||||||
return
|
return
|
||||||
|
|
||||||
max_gen = topDialog.get_widget("generations").get_value_as_int()
|
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_obj = topDialog.get_widget("orientation").get_menu().get_active()
|
||||||
orien = orien_obj.get_data("i")
|
orien = orien_obj.get_data("i")
|
||||||
|
|
||||||
if topDialog.get_widget("openoffice").get_active():
|
item = topDialog.get_widget("format").get_menu().get_active()
|
||||||
document = OpenOfficeDoc(paper,orien)
|
format = item.get_data("name")
|
||||||
elif topDialog.get_widget("abiword").get_active():
|
|
||||||
document = AbiWordDoc(paper,orien)
|
doc = FindDoc.make_text_doc(format,paper,orien,template)
|
||||||
elif topDialog.get_widget("pdf").get_active():
|
|
||||||
document = PdfDoc(paper,orien)
|
|
||||||
else:
|
|
||||||
document = HtmlDoc(template)
|
|
||||||
|
|
||||||
MyReport = AncestorReport(db,active_person,outputName,\
|
MyReport = AncestorReport(db,active_person,outputName,max_gen,pgbrk,doc)
|
||||||
max_gen, pgbrk, document)
|
|
||||||
MyReport.write_report()
|
MyReport.write_report()
|
||||||
|
|
||||||
utils.destroy_passed_object(obj)
|
utils.destroy_passed_object(obj)
|
||||||
|
@ -33,15 +33,7 @@ import const
|
|||||||
import utils
|
import utils
|
||||||
import const
|
import const
|
||||||
from TextDoc import *
|
from TextDoc import *
|
||||||
from OpenOfficeDoc import *
|
import FindDoc
|
||||||
from AbiWordDoc import *
|
|
||||||
from HtmlDoc import *
|
|
||||||
try:
|
|
||||||
import reportlab.platypus.tables
|
|
||||||
from PdfDoc import *
|
|
||||||
no_pdf = 0
|
|
||||||
except:
|
|
||||||
no_pdf = 1
|
|
||||||
|
|
||||||
from gtk import *
|
from gtk import *
|
||||||
from gnome.ui import *
|
from gnome.ui import *
|
||||||
@ -158,16 +150,29 @@ class DesReportWindow:
|
|||||||
|
|
||||||
PaperMenu.make_paper_menu(self.top.get_widget("papersize"))
|
PaperMenu.make_paper_menu(self.top.get_widget("papersize"))
|
||||||
PaperMenu.make_orientation_menu(self.top.get_widget("orientation"))
|
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")
|
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("o",self)
|
||||||
mytop.set_data("d",db)
|
mytop.set_data("d",db)
|
||||||
mytop.show()
|
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_obj = myobj.top.get_widget("orientation")
|
||||||
orien = orien_obj.get_menu().get_active().get_data("i")
|
orien = orien_obj.get_menu().get_active().get_data("i")
|
||||||
|
|
||||||
if myobj.top.get_widget("openoffice").get_active():
|
template = myobj.top.get_widget("htmltemplate").get_full_path(0)
|
||||||
document = OpenOfficeDoc(paper,orien)
|
|
||||||
elif myobj.top.get_widget("abiword").get_active():
|
|
||||||
document = AbiWordDoc(paper,orien)
|
|
||||||
else:
|
|
||||||
document = PdfDoc(paper,orien)
|
|
||||||
|
|
||||||
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.setup()
|
||||||
report.report()
|
report.report()
|
||||||
report.end()
|
report.end()
|
||||||
|
@ -26,20 +26,12 @@ import os
|
|||||||
import re
|
import re
|
||||||
import sort
|
import sort
|
||||||
import string
|
import string
|
||||||
|
import FindDoc
|
||||||
import utils
|
import utils
|
||||||
import intl
|
import intl
|
||||||
|
|
||||||
_ = intl.gettext
|
|
||||||
|
|
||||||
from TextDoc import *
|
from TextDoc import *
|
||||||
from OpenOfficeDoc import *
|
_ = intl.gettext
|
||||||
from HtmlDoc import *
|
|
||||||
try:
|
|
||||||
import reportlab.platypus.tables
|
|
||||||
from PdfDoc import *
|
|
||||||
no_pdf = 0
|
|
||||||
except:
|
|
||||||
no_pdf = 1
|
|
||||||
|
|
||||||
from gtk import *
|
from gtk import *
|
||||||
from gnome.ui import *
|
from gnome.ui import *
|
||||||
@ -403,18 +395,15 @@ def report(database,person):
|
|||||||
family_list = person.getFamilyList()
|
family_list = person.getFamilyList()
|
||||||
label = topDialog.get_widget("labelTitle")
|
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)
|
label.set_text(_("Family Group Report for %s") % name)
|
||||||
topDialog.signal_autoconnect({
|
topDialog.signal_autoconnect({
|
||||||
"destroy_passed_object" : utils.destroy_passed_object,
|
"destroy_passed_object" : utils.destroy_passed_object,
|
||||||
"on_save_clicked" : on_save_clicked,
|
"on_save_clicked" : on_save_clicked
|
||||||
"on_html_toggled" : on_html_toggled
|
|
||||||
})
|
})
|
||||||
|
|
||||||
PaperMenu.make_paper_menu(topDialog.get_widget("papersize"))
|
PaperMenu.make_paper_menu(topDialog.get_widget("papersize"))
|
||||||
PaperMenu.make_orientation_menu(topDialog.get_widget("orientation"))
|
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")
|
frame = topDialog.get_widget("spouse")
|
||||||
option_menu = topDialog.get_widget("spouse_menu")
|
option_menu = topDialog.get_widget("spouse_menu")
|
||||||
@ -436,14 +425,20 @@ def report(database,person):
|
|||||||
my_menu.append(item)
|
my_menu.append(item)
|
||||||
option_menu.set_menu(my_menu)
|
option_menu.set_menu(my_menu)
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
#
|
||||||
#
|
#
|
||||||
#
|
#------------------------------------------------------------------------
|
||||||
#-------------------------------------------------------------------------
|
def option_switch(obj):
|
||||||
def on_html_toggled(obj):
|
val = obj.get_data("paper")
|
||||||
topDialog.get_widget("htmltemplate").set_sensitive(obj.get_active())
|
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
|
global db
|
||||||
|
|
||||||
outputName = topDialog.get_widget("fileentry1").get_full_path(0)
|
outputName = topDialog.get_widget("fileentry1").get_full_path(0)
|
||||||
if outputName == "":
|
if not outputName:
|
||||||
return
|
return
|
||||||
|
|
||||||
menu = topDialog.get_widget("spouse_menu").get_menu()
|
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")
|
paper = paper_obj.get_menu().get_active().get_data("i")
|
||||||
orien_obj = topDialog.get_widget("orientation")
|
orien_obj = topDialog.get_widget("orientation")
|
||||||
orien = orien_obj.get_menu().get_active().get_data("i")
|
orien = orien_obj.get_menu().get_active().get_data("i")
|
||||||
|
template = topDialog.get_widget("htmlfile").get_text()
|
||||||
|
|
||||||
if topDialog.get_widget("html").get_active():
|
item = topDialog.get_widget("format").get_menu().get_active()
|
||||||
template = topDialog.get_widget("htmlfile").get_text()
|
format = item.get_data("name")
|
||||||
doc = HtmlDoc(template)
|
|
||||||
elif topDialog.get_widget("openoffice").get_active():
|
doc = FindDoc.make_text_doc(format,paper,orien,template)
|
||||||
doc = OpenOfficeDoc(paper,orien)
|
|
||||||
else:
|
|
||||||
doc = PdfDoc(paper,orien)
|
|
||||||
|
|
||||||
MyReport = FamilyGroup(db,family,outputName,doc)
|
MyReport = FamilyGroup(db,family,outputName,doc)
|
||||||
|
|
||||||
MyReport.setup()
|
MyReport.setup()
|
||||||
@ -489,11 +482,3 @@ def get_description():
|
|||||||
|
|
||||||
def get_name():
|
def get_name():
|
||||||
return _("Generate files/Family Group Report")
|
return _("Generate files/Family Group Report")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -32,15 +32,7 @@ import intl
|
|||||||
_ = intl.gettext
|
_ = intl.gettext
|
||||||
|
|
||||||
from TextDoc import *
|
from TextDoc import *
|
||||||
from OpenOfficeDoc import *
|
import FindDoc
|
||||||
from HtmlDoc import *
|
|
||||||
from AbiWordDoc import *
|
|
||||||
try:
|
|
||||||
import reportlab.platypus.tables
|
|
||||||
from PdfDoc import *
|
|
||||||
no_pdf = 0
|
|
||||||
except:
|
|
||||||
no_pdf = 1
|
|
||||||
|
|
||||||
from gtk import *
|
from gtk import *
|
||||||
from gnome.ui import *
|
from gnome.ui import *
|
||||||
@ -381,25 +373,28 @@ def report(database,person):
|
|||||||
label = topDialog.get_widget("labelTitle")
|
label = topDialog.get_widget("labelTitle")
|
||||||
|
|
||||||
label.set_text("Individual Summary for " + name)
|
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_paper_menu(topDialog.get_widget("papersize"))
|
||||||
PaperMenu.make_orientation_menu(topDialog.get_widget("orientation"))
|
PaperMenu.make_orientation_menu(topDialog.get_widget("orientation"))
|
||||||
|
FindDoc.get_text_doc_menu(topDialog.get_widget("format"),0,option_switch)
|
||||||
|
|
||||||
topDialog.signal_autoconnect({
|
topDialog.signal_autoconnect({
|
||||||
"destroy_passed_object" : utils.destroy_passed_object,
|
"destroy_passed_object" : utils.destroy_passed_object,
|
||||||
"on_save_clicked" : on_save_clicked,
|
"on_save_clicked" : on_save_clicked
|
||||||
"on_html_toggled" : on_html_toggled
|
|
||||||
})
|
})
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
#
|
||||||
#
|
#
|
||||||
#
|
#------------------------------------------------------------------------
|
||||||
#-------------------------------------------------------------------------
|
def option_switch(obj):
|
||||||
def on_html_toggled(obj):
|
val = obj.get_data("paper")
|
||||||
topDialog.get_widget("htmltemplate").set_sensitive(obj.get_active())
|
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
|
global db
|
||||||
|
|
||||||
outputName = topDialog.get_widget("fileentry1").get_full_path(0)
|
outputName = topDialog.get_widget("fileentry1").get_full_path(0)
|
||||||
if outputName == "":
|
if not outputName:
|
||||||
return
|
return
|
||||||
|
|
||||||
paper_obj = topDialog.get_widget("papersize")
|
paper_obj = topDialog.get_widget("papersize")
|
||||||
paper = paper_obj.get_menu().get_active().get_data("i")
|
paper = paper_obj.get_menu().get_active().get_data("i")
|
||||||
orien_obj = topDialog.get_widget("orientation")
|
orien_obj = topDialog.get_widget("orientation")
|
||||||
orien = orien_obj.get_menu().get_active().get_data("i")
|
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():
|
item = topDialog.get_widget("format").get_menu().get_active()
|
||||||
template = topDialog.get_widget("htmlfile").get_text()
|
format = item.get_data("name")
|
||||||
doc = HtmlDoc(template)
|
|
||||||
elif topDialog.get_widget("pdf").get_active():
|
doc = FindDoc.make_text_doc(format,paper,orien,template)
|
||||||
doc = PdfDoc(paper,orien)
|
|
||||||
else:
|
|
||||||
doc = OpenOfficeDoc(paper,orien)
|
|
||||||
|
|
||||||
MyReport = IndivSummary(db,active_person,outputName,doc)
|
MyReport = IndivSummary(db,active_person,outputName,doc)
|
||||||
|
|
||||||
|
@ -191,143 +191,13 @@
|
|||||||
</child>
|
</child>
|
||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>GtkVBox</class>
|
<class>GtkOptionMenu</class>
|
||||||
<name>vbox4</name>
|
<name>format</name>
|
||||||
<homogeneous>False</homogeneous>
|
<border_width>10</border_width>
|
||||||
<spacing>0</spacing>
|
<can_focus>True</can_focus>
|
||||||
|
<items>
|
||||||
<widget>
|
</items>
|
||||||
<class>GtkRadioButton</class>
|
<initial_choice>0</initial_choice>
|
||||||
<name>openoffice</name>
|
|
||||||
<can_focus>True</can_focus>
|
|
||||||
<label>OpenOffice </label>
|
|
||||||
<active>True</active>
|
|
||||||
<draw_indicator>True</draw_indicator>
|
|
||||||
<group>format</group>
|
|
||||||
<child>
|
|
||||||
<padding>0</padding>
|
|
||||||
<expand>False</expand>
|
|
||||||
<fill>False</fill>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
|
|
||||||
<widget>
|
|
||||||
<class>GtkRadioButton</class>
|
|
||||||
<name>abiword</name>
|
|
||||||
<can_focus>True</can_focus>
|
|
||||||
<label>AbiWord</label>
|
|
||||||
<active>False</active>
|
|
||||||
<draw_indicator>True</draw_indicator>
|
|
||||||
<group>format</group>
|
|
||||||
<child>
|
|
||||||
<padding>0</padding>
|
|
||||||
<expand>False</expand>
|
|
||||||
<fill>False</fill>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
|
|
||||||
<widget>
|
|
||||||
<class>GtkRadioButton</class>
|
|
||||||
<name>pdf</name>
|
|
||||||
<can_focus>True</can_focus>
|
|
||||||
<label>PDF</label>
|
|
||||||
<active>False</active>
|
|
||||||
<draw_indicator>True</draw_indicator>
|
|
||||||
<group>format</group>
|
|
||||||
<child>
|
|
||||||
<padding>0</padding>
|
|
||||||
<expand>False</expand>
|
|
||||||
<fill>False</fill>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
|
|
||||||
<widget>
|
|
||||||
<class>GtkHBox</class>
|
|
||||||
<name>hbox5</name>
|
|
||||||
<homogeneous>False</homogeneous>
|
|
||||||
<spacing>0</spacing>
|
|
||||||
<child>
|
|
||||||
<padding>0</padding>
|
|
||||||
<expand>False</expand>
|
|
||||||
<fill>False</fill>
|
|
||||||
</child>
|
|
||||||
|
|
||||||
<widget>
|
|
||||||
<class>GtkRadioButton</class>
|
|
||||||
<name>html</name>
|
|
||||||
<can_focus>True</can_focus>
|
|
||||||
<signal>
|
|
||||||
<name>toggled</name>
|
|
||||||
<handler>on_html_toggled</handler>
|
|
||||||
<last_modification_time>Tue, 20 Mar 2001 17:02:37 GMT</last_modification_time>
|
|
||||||
</signal>
|
|
||||||
<label>HTML</label>
|
|
||||||
<active>False</active>
|
|
||||||
<draw_indicator>True</draw_indicator>
|
|
||||||
<group>format</group>
|
|
||||||
<child>
|
|
||||||
<padding>0</padding>
|
|
||||||
<expand>False</expand>
|
|
||||||
<fill>False</fill>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
|
|
||||||
<widget>
|
|
||||||
<class>GtkHBox</class>
|
|
||||||
<name>hbox1</name>
|
|
||||||
<homogeneous>False</homogeneous>
|
|
||||||
<spacing>0</spacing>
|
|
||||||
<child>
|
|
||||||
<padding>0</padding>
|
|
||||||
<expand>True</expand>
|
|
||||||
<fill>True</fill>
|
|
||||||
</child>
|
|
||||||
|
|
||||||
<widget>
|
|
||||||
<class>GtkLabel</class>
|
|
||||||
<name>label11</name>
|
|
||||||
<label>Template</label>
|
|
||||||
<justify>GTK_JUSTIFY_CENTER</justify>
|
|
||||||
<wrap>False</wrap>
|
|
||||||
<xalign>1</xalign>
|
|
||||||
<yalign>0.5</yalign>
|
|
||||||
<xpad>5</xpad>
|
|
||||||
<ypad>0</ypad>
|
|
||||||
<child>
|
|
||||||
<padding>0</padding>
|
|
||||||
<expand>True</expand>
|
|
||||||
<fill>True</fill>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
|
|
||||||
<widget>
|
|
||||||
<class>GnomeFileEntry</class>
|
|
||||||
<name>htmltemplate</name>
|
|
||||||
<sensitive>False</sensitive>
|
|
||||||
<history_id>HtmlTemplate</history_id>
|
|
||||||
<max_saved>10</max_saved>
|
|
||||||
<title>Choose the HTML template</title>
|
|
||||||
<directory>False</directory>
|
|
||||||
<modal>False</modal>
|
|
||||||
<child>
|
|
||||||
<padding>5</padding>
|
|
||||||
<expand>True</expand>
|
|
||||||
<fill>True</fill>
|
|
||||||
</child>
|
|
||||||
|
|
||||||
<widget>
|
|
||||||
<class>GtkEntry</class>
|
|
||||||
<child_name>GnomeEntry:entry</child_name>
|
|
||||||
<name>htmlfile</name>
|
|
||||||
<can_focus>True</can_focus>
|
|
||||||
<editable>True</editable>
|
|
||||||
<text_visible>True</text_visible>
|
|
||||||
<text_max_length>0</text_max_length>
|
|
||||||
<text></text>
|
|
||||||
</widget>
|
|
||||||
</widget>
|
|
||||||
</widget>
|
|
||||||
</widget>
|
|
||||||
</widget>
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
|
|
||||||
@ -362,13 +232,10 @@
|
|||||||
</child>
|
</child>
|
||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>GtkTable</class>
|
<class>GtkVBox</class>
|
||||||
<name>table1</name>
|
<name>vbox6</name>
|
||||||
<rows>4</rows>
|
|
||||||
<columns>2</columns>
|
|
||||||
<homogeneous>False</homogeneous>
|
<homogeneous>False</homogeneous>
|
||||||
<row_spacing>0</row_spacing>
|
<spacing>0</spacing>
|
||||||
<column_spacing>0</column_spacing>
|
|
||||||
<child>
|
<child>
|
||||||
<padding>0</padding>
|
<padding>0</padding>
|
||||||
<expand>True</expand>
|
<expand>True</expand>
|
||||||
@ -376,180 +243,335 @@
|
|||||||
</child>
|
</child>
|
||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>GtkLabel</class>
|
<class>GtkTable</class>
|
||||||
<name>label14</name>
|
<name>table1</name>
|
||||||
<label>Paper</label>
|
<rows>3</rows>
|
||||||
<justify>GTK_JUSTIFY_CENTER</justify>
|
<columns>2</columns>
|
||||||
<wrap>False</wrap>
|
<homogeneous>False</homogeneous>
|
||||||
<xalign>1</xalign>
|
<row_spacing>0</row_spacing>
|
||||||
<yalign>0.5</yalign>
|
<column_spacing>0</column_spacing>
|
||||||
<xpad>5</xpad>
|
|
||||||
<ypad>0</ypad>
|
|
||||||
<child>
|
<child>
|
||||||
<left_attach>0</left_attach>
|
<padding>0</padding>
|
||||||
<right_attach>1</right_attach>
|
<expand>True</expand>
|
||||||
<top_attach>0</top_attach>
|
<fill>True</fill>
|
||||||
<bottom_attach>1</bottom_attach>
|
</child>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>GtkLabel</class>
|
||||||
|
<name>label13</name>
|
||||||
|
<label>Generations</label>
|
||||||
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
||||||
|
<wrap>False</wrap>
|
||||||
|
<xalign>1</xalign>
|
||||||
|
<yalign>0.5</yalign>
|
||||||
|
<xpad>5</xpad>
|
||||||
|
<ypad>0</ypad>
|
||||||
|
<child>
|
||||||
|
<left_attach>0</left_attach>
|
||||||
|
<right_attach>1</right_attach>
|
||||||
|
<top_attach>0</top_attach>
|
||||||
|
<bottom_attach>1</bottom_attach>
|
||||||
|
<xpad>0</xpad>
|
||||||
|
<ypad>0</ypad>
|
||||||
|
<xexpand>False</xexpand>
|
||||||
|
<yexpand>False</yexpand>
|
||||||
|
<xshrink>False</xshrink>
|
||||||
|
<yshrink>False</yshrink>
|
||||||
|
<xfill>True</xfill>
|
||||||
|
<yfill>False</yfill>
|
||||||
|
</child>
|
||||||
|
</widget>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>GtkCheckButton</class>
|
||||||
|
<name>pagebreak</name>
|
||||||
|
<can_focus>True</can_focus>
|
||||||
|
<label>Page break between generations</label>
|
||||||
|
<active>False</active>
|
||||||
|
<draw_indicator>True</draw_indicator>
|
||||||
|
<child>
|
||||||
|
<left_attach>1</left_attach>
|
||||||
|
<right_attach>2</right_attach>
|
||||||
|
<top_attach>1</top_attach>
|
||||||
|
<bottom_attach>2</bottom_attach>
|
||||||
|
<xpad>5</xpad>
|
||||||
|
<ypad>5</ypad>
|
||||||
|
<xexpand>False</xexpand>
|
||||||
|
<yexpand>False</yexpand>
|
||||||
|
<xshrink>False</xshrink>
|
||||||
|
<yshrink>False</yshrink>
|
||||||
|
<xfill>True</xfill>
|
||||||
|
<yfill>False</yfill>
|
||||||
|
</child>
|
||||||
|
</widget>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>GtkSpinButton</class>
|
||||||
|
<name>generations</name>
|
||||||
|
<can_focus>True</can_focus>
|
||||||
|
<climb_rate>1</climb_rate>
|
||||||
|
<digits>0</digits>
|
||||||
|
<numeric>True</numeric>
|
||||||
|
<update_policy>GTK_UPDATE_ALWAYS</update_policy>
|
||||||
|
<snap>False</snap>
|
||||||
|
<wrap>False</wrap>
|
||||||
|
<value>10</value>
|
||||||
|
<lower>1</lower>
|
||||||
|
<upper>28</upper>
|
||||||
|
<step>1</step>
|
||||||
|
<page>10</page>
|
||||||
|
<page_size>10</page_size>
|
||||||
|
<child>
|
||||||
|
<left_attach>1</left_attach>
|
||||||
|
<right_attach>2</right_attach>
|
||||||
|
<top_attach>0</top_attach>
|
||||||
|
<bottom_attach>1</bottom_attach>
|
||||||
|
<xpad>5</xpad>
|
||||||
|
<ypad>5</ypad>
|
||||||
|
<xexpand>True</xexpand>
|
||||||
|
<yexpand>False</yexpand>
|
||||||
|
<xshrink>False</xshrink>
|
||||||
|
<yshrink>False</yshrink>
|
||||||
|
<xfill>True</xfill>
|
||||||
|
<yfill>False</yfill>
|
||||||
|
</child>
|
||||||
|
</widget>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>GtkHSeparator</class>
|
||||||
|
<name>hseparator2</name>
|
||||||
|
<child>
|
||||||
|
<left_attach>0</left_attach>
|
||||||
|
<right_attach>2</right_attach>
|
||||||
|
<top_attach>2</top_attach>
|
||||||
|
<bottom_attach>3</bottom_attach>
|
||||||
|
<xpad>0</xpad>
|
||||||
|
<ypad>5</ypad>
|
||||||
|
<xexpand>False</xexpand>
|
||||||
|
<yexpand>True</yexpand>
|
||||||
|
<xshrink>False</xshrink>
|
||||||
|
<yshrink>False</yshrink>
|
||||||
|
<xfill>True</xfill>
|
||||||
|
<yfill>True</yfill>
|
||||||
|
</child>
|
||||||
|
</widget>
|
||||||
|
</widget>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>GtkNotebook</class>
|
||||||
|
<name>option_notebook</name>
|
||||||
|
<show_tabs>False</show_tabs>
|
||||||
|
<show_border>False</show_border>
|
||||||
|
<tab_pos>GTK_POS_TOP</tab_pos>
|
||||||
|
<scrollable>False</scrollable>
|
||||||
|
<tab_hborder>2</tab_hborder>
|
||||||
|
<tab_vborder>2</tab_vborder>
|
||||||
|
<popup_enable>False</popup_enable>
|
||||||
|
<child>
|
||||||
|
<padding>0</padding>
|
||||||
|
<expand>True</expand>
|
||||||
|
<fill>True</fill>
|
||||||
|
</child>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>GtkTable</class>
|
||||||
|
<name>table2</name>
|
||||||
|
<rows>2</rows>
|
||||||
|
<columns>2</columns>
|
||||||
|
<homogeneous>False</homogeneous>
|
||||||
|
<row_spacing>0</row_spacing>
|
||||||
|
<column_spacing>0</column_spacing>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>GtkLabel</class>
|
||||||
|
<name>label14</name>
|
||||||
|
<label>Paper</label>
|
||||||
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
||||||
|
<wrap>False</wrap>
|
||||||
|
<xalign>1</xalign>
|
||||||
|
<yalign>0.5</yalign>
|
||||||
|
<xpad>5</xpad>
|
||||||
|
<ypad>0</ypad>
|
||||||
|
<child>
|
||||||
|
<left_attach>0</left_attach>
|
||||||
|
<right_attach>1</right_attach>
|
||||||
|
<top_attach>0</top_attach>
|
||||||
|
<bottom_attach>1</bottom_attach>
|
||||||
|
<xpad>0</xpad>
|
||||||
|
<ypad>0</ypad>
|
||||||
|
<xexpand>False</xexpand>
|
||||||
|
<yexpand>False</yexpand>
|
||||||
|
<xshrink>False</xshrink>
|
||||||
|
<yshrink>False</yshrink>
|
||||||
|
<xfill>True</xfill>
|
||||||
|
<yfill>False</yfill>
|
||||||
|
</child>
|
||||||
|
</widget>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>GtkLabel</class>
|
||||||
|
<name>label15</name>
|
||||||
|
<label>Orientation</label>
|
||||||
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
||||||
|
<wrap>False</wrap>
|
||||||
|
<xalign>1</xalign>
|
||||||
|
<yalign>0.5</yalign>
|
||||||
|
<xpad>5</xpad>
|
||||||
|
<ypad>0</ypad>
|
||||||
|
<child>
|
||||||
|
<left_attach>0</left_attach>
|
||||||
|
<right_attach>1</right_attach>
|
||||||
|
<top_attach>1</top_attach>
|
||||||
|
<bottom_attach>2</bottom_attach>
|
||||||
|
<xpad>0</xpad>
|
||||||
|
<ypad>0</ypad>
|
||||||
|
<xexpand>False</xexpand>
|
||||||
|
<yexpand>False</yexpand>
|
||||||
|
<xshrink>False</xshrink>
|
||||||
|
<yshrink>False</yshrink>
|
||||||
|
<xfill>True</xfill>
|
||||||
|
<yfill>False</yfill>
|
||||||
|
</child>
|
||||||
|
</widget>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>GtkOptionMenu</class>
|
||||||
|
<name>papersize</name>
|
||||||
|
<can_focus>True</can_focus>
|
||||||
|
<items>
|
||||||
|
</items>
|
||||||
|
<initial_choice>0</initial_choice>
|
||||||
|
<child>
|
||||||
|
<left_attach>1</left_attach>
|
||||||
|
<right_attach>2</right_attach>
|
||||||
|
<top_attach>0</top_attach>
|
||||||
|
<bottom_attach>1</bottom_attach>
|
||||||
|
<xpad>5</xpad>
|
||||||
|
<ypad>5</ypad>
|
||||||
|
<xexpand>True</xexpand>
|
||||||
|
<yexpand>False</yexpand>
|
||||||
|
<xshrink>False</xshrink>
|
||||||
|
<yshrink>False</yshrink>
|
||||||
|
<xfill>True</xfill>
|
||||||
|
<yfill>False</yfill>
|
||||||
|
</child>
|
||||||
|
</widget>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>GtkOptionMenu</class>
|
||||||
|
<name>orientation</name>
|
||||||
|
<can_focus>True</can_focus>
|
||||||
|
<items>
|
||||||
|
</items>
|
||||||
|
<initial_choice>0</initial_choice>
|
||||||
|
<child>
|
||||||
|
<left_attach>1</left_attach>
|
||||||
|
<right_attach>2</right_attach>
|
||||||
|
<top_attach>1</top_attach>
|
||||||
|
<bottom_attach>2</bottom_attach>
|
||||||
|
<xpad>5</xpad>
|
||||||
|
<ypad>5</ypad>
|
||||||
|
<xexpand>False</xexpand>
|
||||||
|
<yexpand>False</yexpand>
|
||||||
|
<xshrink>False</xshrink>
|
||||||
|
<yshrink>False</yshrink>
|
||||||
|
<xfill>True</xfill>
|
||||||
|
<yfill>False</yfill>
|
||||||
|
</child>
|
||||||
|
</widget>
|
||||||
|
</widget>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>GtkLabel</class>
|
||||||
|
<child_name>Notebook:tab</child_name>
|
||||||
|
<name>label14</name>
|
||||||
|
<label>Paper</label>
|
||||||
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
||||||
|
<wrap>False</wrap>
|
||||||
|
<xalign>0.5</xalign>
|
||||||
|
<yalign>0.5</yalign>
|
||||||
<xpad>0</xpad>
|
<xpad>0</xpad>
|
||||||
<ypad>0</ypad>
|
<ypad>0</ypad>
|
||||||
<xexpand>False</xexpand>
|
</widget>
|
||||||
<yexpand>False</yexpand>
|
|
||||||
<xshrink>False</xshrink>
|
|
||||||
<yshrink>False</yshrink>
|
|
||||||
<xfill>True</xfill>
|
|
||||||
<yfill>False</yfill>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>GtkLabel</class>
|
<class>GtkVBox</class>
|
||||||
<name>label13</name>
|
<name>vbox7</name>
|
||||||
<label>Generations</label>
|
<homogeneous>False</homogeneous>
|
||||||
<justify>GTK_JUSTIFY_CENTER</justify>
|
<spacing>0</spacing>
|
||||||
<wrap>False</wrap>
|
|
||||||
<xalign>1</xalign>
|
<widget>
|
||||||
<yalign>0.5</yalign>
|
<class>GtkHBox</class>
|
||||||
<xpad>5</xpad>
|
<name>hbox1</name>
|
||||||
<ypad>0</ypad>
|
<homogeneous>False</homogeneous>
|
||||||
<child>
|
<spacing>0</spacing>
|
||||||
<left_attach>0</left_attach>
|
<child>
|
||||||
<right_attach>1</right_attach>
|
<padding>5</padding>
|
||||||
<top_attach>2</top_attach>
|
<expand>False</expand>
|
||||||
<bottom_attach>3</bottom_attach>
|
<fill>True</fill>
|
||||||
|
</child>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>GtkLabel</class>
|
||||||
|
<name>label11</name>
|
||||||
|
<label>Template</label>
|
||||||
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
||||||
|
<wrap>False</wrap>
|
||||||
|
<xalign>1</xalign>
|
||||||
|
<yalign>0.5</yalign>
|
||||||
|
<xpad>5</xpad>
|
||||||
|
<ypad>0</ypad>
|
||||||
|
<child>
|
||||||
|
<padding>0</padding>
|
||||||
|
<expand>False</expand>
|
||||||
|
<fill>True</fill>
|
||||||
|
</child>
|
||||||
|
</widget>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>GnomeFileEntry</class>
|
||||||
|
<name>htmltemplate</name>
|
||||||
|
<history_id>HtmlTemplate</history_id>
|
||||||
|
<max_saved>10</max_saved>
|
||||||
|
<title>Choose the HTML template</title>
|
||||||
|
<directory>False</directory>
|
||||||
|
<modal>False</modal>
|
||||||
|
<child>
|
||||||
|
<padding>5</padding>
|
||||||
|
<expand>True</expand>
|
||||||
|
<fill>True</fill>
|
||||||
|
</child>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>GtkEntry</class>
|
||||||
|
<child_name>GnomeEntry:entry</child_name>
|
||||||
|
<name>htmlfile</name>
|
||||||
|
<can_focus>True</can_focus>
|
||||||
|
<editable>True</editable>
|
||||||
|
<text_visible>True</text_visible>
|
||||||
|
<text_max_length>0</text_max_length>
|
||||||
|
<text></text>
|
||||||
|
</widget>
|
||||||
|
</widget>
|
||||||
|
</widget>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>Placeholder</class>
|
||||||
|
</widget>
|
||||||
|
</widget>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>GtkLabel</class>
|
||||||
|
<child_name>Notebook:tab</child_name>
|
||||||
|
<name>label15</name>
|
||||||
|
<label>Template</label>
|
||||||
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
||||||
|
<wrap>False</wrap>
|
||||||
|
<xalign>0.5</xalign>
|
||||||
|
<yalign>0.5</yalign>
|
||||||
<xpad>0</xpad>
|
<xpad>0</xpad>
|
||||||
<ypad>0</ypad>
|
<ypad>0</ypad>
|
||||||
<xexpand>False</xexpand>
|
</widget>
|
||||||
<yexpand>False</yexpand>
|
|
||||||
<xshrink>False</xshrink>
|
|
||||||
<yshrink>False</yshrink>
|
|
||||||
<xfill>True</xfill>
|
|
||||||
<yfill>False</yfill>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
|
|
||||||
<widget>
|
|
||||||
<class>GtkCheckButton</class>
|
|
||||||
<name>pagebreak</name>
|
|
||||||
<can_focus>True</can_focus>
|
|
||||||
<label>Page break between generations</label>
|
|
||||||
<active>False</active>
|
|
||||||
<draw_indicator>True</draw_indicator>
|
|
||||||
<child>
|
|
||||||
<left_attach>1</left_attach>
|
|
||||||
<right_attach>2</right_attach>
|
|
||||||
<top_attach>3</top_attach>
|
|
||||||
<bottom_attach>4</bottom_attach>
|
|
||||||
<xpad>5</xpad>
|
|
||||||
<ypad>5</ypad>
|
|
||||||
<xexpand>False</xexpand>
|
|
||||||
<yexpand>False</yexpand>
|
|
||||||
<xshrink>False</xshrink>
|
|
||||||
<yshrink>False</yshrink>
|
|
||||||
<xfill>True</xfill>
|
|
||||||
<yfill>False</yfill>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
|
|
||||||
<widget>
|
|
||||||
<class>GtkSpinButton</class>
|
|
||||||
<name>generations</name>
|
|
||||||
<can_focus>True</can_focus>
|
|
||||||
<climb_rate>1</climb_rate>
|
|
||||||
<digits>0</digits>
|
|
||||||
<numeric>True</numeric>
|
|
||||||
<update_policy>GTK_UPDATE_ALWAYS</update_policy>
|
|
||||||
<snap>False</snap>
|
|
||||||
<wrap>False</wrap>
|
|
||||||
<value>10</value>
|
|
||||||
<lower>1</lower>
|
|
||||||
<upper>28</upper>
|
|
||||||
<step>1</step>
|
|
||||||
<page>10</page>
|
|
||||||
<page_size>10</page_size>
|
|
||||||
<child>
|
|
||||||
<left_attach>1</left_attach>
|
|
||||||
<right_attach>2</right_attach>
|
|
||||||
<top_attach>2</top_attach>
|
|
||||||
<bottom_attach>3</bottom_attach>
|
|
||||||
<xpad>5</xpad>
|
|
||||||
<ypad>5</ypad>
|
|
||||||
<xexpand>True</xexpand>
|
|
||||||
<yexpand>False</yexpand>
|
|
||||||
<xshrink>False</xshrink>
|
|
||||||
<yshrink>False</yshrink>
|
|
||||||
<xfill>True</xfill>
|
|
||||||
<yfill>False</yfill>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
|
|
||||||
<widget>
|
|
||||||
<class>GtkOptionMenu</class>
|
|
||||||
<name>papersize</name>
|
|
||||||
<can_focus>True</can_focus>
|
|
||||||
<items></items>
|
|
||||||
<initial_choice>0</initial_choice>
|
|
||||||
<child>
|
|
||||||
<left_attach>1</left_attach>
|
|
||||||
<right_attach>2</right_attach>
|
|
||||||
<top_attach>0</top_attach>
|
|
||||||
<bottom_attach>1</bottom_attach>
|
|
||||||
<xpad>5</xpad>
|
|
||||||
<ypad>5</ypad>
|
|
||||||
<xexpand>False</xexpand>
|
|
||||||
<yexpand>False</yexpand>
|
|
||||||
<xshrink>False</xshrink>
|
|
||||||
<yshrink>False</yshrink>
|
|
||||||
<xfill>True</xfill>
|
|
||||||
<yfill>False</yfill>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
|
|
||||||
<widget>
|
|
||||||
<class>GtkLabel</class>
|
|
||||||
<name>label15</name>
|
|
||||||
<label>Orientation</label>
|
|
||||||
<justify>GTK_JUSTIFY_CENTER</justify>
|
|
||||||
<wrap>False</wrap>
|
|
||||||
<xalign>1</xalign>
|
|
||||||
<yalign>0.5</yalign>
|
|
||||||
<xpad>5</xpad>
|
|
||||||
<ypad>0</ypad>
|
|
||||||
<child>
|
|
||||||
<left_attach>0</left_attach>
|
|
||||||
<right_attach>1</right_attach>
|
|
||||||
<top_attach>1</top_attach>
|
|
||||||
<bottom_attach>2</bottom_attach>
|
|
||||||
<xpad>0</xpad>
|
|
||||||
<ypad>0</ypad>
|
|
||||||
<xexpand>False</xexpand>
|
|
||||||
<yexpand>False</yexpand>
|
|
||||||
<xshrink>False</xshrink>
|
|
||||||
<yshrink>False</yshrink>
|
|
||||||
<xfill>True</xfill>
|
|
||||||
<yfill>False</yfill>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
|
|
||||||
<widget>
|
|
||||||
<class>GtkOptionMenu</class>
|
|
||||||
<name>orientation</name>
|
|
||||||
<can_focus>True</can_focus>
|
|
||||||
<items></items>
|
|
||||||
<initial_choice>0</initial_choice>
|
|
||||||
<child>
|
|
||||||
<left_attach>1</left_attach>
|
|
||||||
<right_attach>2</right_attach>
|
|
||||||
<top_attach>1</top_attach>
|
|
||||||
<bottom_attach>2</bottom_attach>
|
|
||||||
<xpad>5</xpad>
|
|
||||||
<ypad>5</ypad>
|
|
||||||
<xexpand>False</xexpand>
|
|
||||||
<yexpand>False</yexpand>
|
|
||||||
<xshrink>False</xshrink>
|
|
||||||
<yshrink>False</yshrink>
|
|
||||||
<xfill>True</xfill>
|
|
||||||
<yfill>False</yfill>
|
|
||||||
</child>
|
|
||||||
</widget>
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
|
@ -190,141 +190,24 @@
|
|||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>GtkVBox</class>
|
<class>GtkVBox</class>
|
||||||
<name>vbox4</name>
|
<name>vbox6</name>
|
||||||
|
<border_width>5</border_width>
|
||||||
<homogeneous>False</homogeneous>
|
<homogeneous>False</homogeneous>
|
||||||
<spacing>0</spacing>
|
<spacing>0</spacing>
|
||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>GtkRadioButton</class>
|
<class>GtkOptionMenu</class>
|
||||||
<name>openoffice</name>
|
<name>format</name>
|
||||||
<can_focus>True</can_focus>
|
<can_focus>True</can_focus>
|
||||||
<label>OpenOffice </label>
|
<items>
|
||||||
<active>True</active>
|
</items>
|
||||||
<draw_indicator>True</draw_indicator>
|
<initial_choice>0</initial_choice>
|
||||||
<group>format</group>
|
|
||||||
<child>
|
<child>
|
||||||
<padding>0</padding>
|
<padding>0</padding>
|
||||||
<expand>False</expand>
|
<expand>False</expand>
|
||||||
<fill>False</fill>
|
<fill>False</fill>
|
||||||
</child>
|
</child>
|
||||||
</widget>
|
</widget>
|
||||||
|
|
||||||
<widget>
|
|
||||||
<class>GtkRadioButton</class>
|
|
||||||
<name>abiword</name>
|
|
||||||
<can_focus>True</can_focus>
|
|
||||||
<label>AbiWord</label>
|
|
||||||
<active>False</active>
|
|
||||||
<draw_indicator>True</draw_indicator>
|
|
||||||
<group>format</group>
|
|
||||||
<child>
|
|
||||||
<padding>0</padding>
|
|
||||||
<expand>False</expand>
|
|
||||||
<fill>False</fill>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
|
|
||||||
<widget>
|
|
||||||
<class>GtkRadioButton</class>
|
|
||||||
<name>pdf</name>
|
|
||||||
<can_focus>True</can_focus>
|
|
||||||
<signal>
|
|
||||||
<name>toggled</name>
|
|
||||||
<handler>on_html_toggled</handler>
|
|
||||||
<object>dialog1</object>
|
|
||||||
<last_modification_time>Tue, 20 Mar 2001 17:02:37 GMT</last_modification_time>
|
|
||||||
</signal>
|
|
||||||
<label>PDF</label>
|
|
||||||
<active>False</active>
|
|
||||||
<draw_indicator>True</draw_indicator>
|
|
||||||
<group>format</group>
|
|
||||||
<child>
|
|
||||||
<padding>0</padding>
|
|
||||||
<expand>False</expand>
|
|
||||||
<fill>False</fill>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
|
|
||||||
<widget>
|
|
||||||
<class>GtkRadioButton</class>
|
|
||||||
<name>html</name>
|
|
||||||
<can_focus>True</can_focus>
|
|
||||||
<signal>
|
|
||||||
<name>toggled</name>
|
|
||||||
<handler>on_html_toggled</handler>
|
|
||||||
<object>dialog1</object>
|
|
||||||
<last_modification_time>Tue, 20 Mar 2001 17:02:37 GMT</last_modification_time>
|
|
||||||
</signal>
|
|
||||||
<label>HTML</label>
|
|
||||||
<active>False</active>
|
|
||||||
<draw_indicator>True</draw_indicator>
|
|
||||||
<group>format</group>
|
|
||||||
<child>
|
|
||||||
<padding>0</padding>
|
|
||||||
<expand>False</expand>
|
|
||||||
<fill>False</fill>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
|
|
||||||
<widget>
|
|
||||||
<class>GtkHBox</class>
|
|
||||||
<name>hbox1</name>
|
|
||||||
<homogeneous>False</homogeneous>
|
|
||||||
<spacing>0</spacing>
|
|
||||||
<child>
|
|
||||||
<padding>0</padding>
|
|
||||||
<expand>True</expand>
|
|
||||||
<fill>True</fill>
|
|
||||||
</child>
|
|
||||||
|
|
||||||
<widget>
|
|
||||||
<class>Placeholder</class>
|
|
||||||
</widget>
|
|
||||||
|
|
||||||
<widget>
|
|
||||||
<class>GtkLabel</class>
|
|
||||||
<name>label11</name>
|
|
||||||
<label>Template</label>
|
|
||||||
<justify>GTK_JUSTIFY_CENTER</justify>
|
|
||||||
<wrap>False</wrap>
|
|
||||||
<xalign>1</xalign>
|
|
||||||
<yalign>0.5</yalign>
|
|
||||||
<xpad>5</xpad>
|
|
||||||
<ypad>0</ypad>
|
|
||||||
<child>
|
|
||||||
<padding>0</padding>
|
|
||||||
<expand>True</expand>
|
|
||||||
<fill>True</fill>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
|
|
||||||
<widget>
|
|
||||||
<class>GnomeFileEntry</class>
|
|
||||||
<name>htmltemplate</name>
|
|
||||||
<sensitive>False</sensitive>
|
|
||||||
<history_id>HtmlTemplate</history_id>
|
|
||||||
<max_saved>10</max_saved>
|
|
||||||
<title>Choose the HTML template</title>
|
|
||||||
<directory>False</directory>
|
|
||||||
<modal>False</modal>
|
|
||||||
<child>
|
|
||||||
<padding>0</padding>
|
|
||||||
<expand>True</expand>
|
|
||||||
<fill>True</fill>
|
|
||||||
</child>
|
|
||||||
|
|
||||||
<widget>
|
|
||||||
<class>GtkEntry</class>
|
|
||||||
<child_name>GnomeEntry:entry</child_name>
|
|
||||||
<name>htmlfile</name>
|
|
||||||
<can_focus>True</can_focus>
|
|
||||||
<editable>True</editable>
|
|
||||||
<text_visible>True</text_visible>
|
|
||||||
<text_max_length>0</text_max_length>
|
|
||||||
<text></text>
|
|
||||||
</widget>
|
|
||||||
</widget>
|
|
||||||
</widget>
|
|
||||||
</widget>
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
|
|
||||||
@ -341,110 +224,215 @@
|
|||||||
</child>
|
</child>
|
||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>GtkTable</class>
|
<class>GtkNotebook</class>
|
||||||
<name>table1</name>
|
<name>option_notebook</name>
|
||||||
<rows>2</rows>
|
<show_tabs>False</show_tabs>
|
||||||
<columns>2</columns>
|
<show_border>False</show_border>
|
||||||
<homogeneous>False</homogeneous>
|
<tab_pos>GTK_POS_TOP</tab_pos>
|
||||||
<row_spacing>0</row_spacing>
|
<scrollable>False</scrollable>
|
||||||
<column_spacing>0</column_spacing>
|
<tab_hborder>2</tab_hborder>
|
||||||
|
<tab_vborder>2</tab_vborder>
|
||||||
|
<popup_enable>False</popup_enable>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>GtkTable</class>
|
||||||
|
<name>table1</name>
|
||||||
|
<rows>2</rows>
|
||||||
|
<columns>2</columns>
|
||||||
|
<homogeneous>False</homogeneous>
|
||||||
|
<row_spacing>0</row_spacing>
|
||||||
|
<column_spacing>0</column_spacing>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>GtkLabel</class>
|
||||||
|
<name>label13</name>
|
||||||
|
<label>Paper</label>
|
||||||
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
||||||
|
<wrap>False</wrap>
|
||||||
|
<xalign>1</xalign>
|
||||||
|
<yalign>0.5</yalign>
|
||||||
|
<xpad>5</xpad>
|
||||||
|
<ypad>0</ypad>
|
||||||
|
<child>
|
||||||
|
<left_attach>0</left_attach>
|
||||||
|
<right_attach>1</right_attach>
|
||||||
|
<top_attach>0</top_attach>
|
||||||
|
<bottom_attach>1</bottom_attach>
|
||||||
|
<xpad>0</xpad>
|
||||||
|
<ypad>0</ypad>
|
||||||
|
<xexpand>False</xexpand>
|
||||||
|
<yexpand>False</yexpand>
|
||||||
|
<xshrink>False</xshrink>
|
||||||
|
<yshrink>False</yshrink>
|
||||||
|
<xfill>True</xfill>
|
||||||
|
<yfill>False</yfill>
|
||||||
|
</child>
|
||||||
|
</widget>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>GtkLabel</class>
|
||||||
|
<name>label14</name>
|
||||||
|
<label>Orientation</label>
|
||||||
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
||||||
|
<wrap>False</wrap>
|
||||||
|
<xalign>1</xalign>
|
||||||
|
<yalign>0.5</yalign>
|
||||||
|
<xpad>5</xpad>
|
||||||
|
<ypad>0</ypad>
|
||||||
|
<child>
|
||||||
|
<left_attach>0</left_attach>
|
||||||
|
<right_attach>1</right_attach>
|
||||||
|
<top_attach>1</top_attach>
|
||||||
|
<bottom_attach>2</bottom_attach>
|
||||||
|
<xpad>0</xpad>
|
||||||
|
<ypad>0</ypad>
|
||||||
|
<xexpand>False</xexpand>
|
||||||
|
<yexpand>False</yexpand>
|
||||||
|
<xshrink>False</xshrink>
|
||||||
|
<yshrink>False</yshrink>
|
||||||
|
<xfill>True</xfill>
|
||||||
|
<yfill>False</yfill>
|
||||||
|
</child>
|
||||||
|
</widget>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>GtkOptionMenu</class>
|
||||||
|
<name>papersize</name>
|
||||||
|
<can_focus>True</can_focus>
|
||||||
|
<items>
|
||||||
|
</items>
|
||||||
|
<initial_choice>0</initial_choice>
|
||||||
|
<child>
|
||||||
|
<left_attach>1</left_attach>
|
||||||
|
<right_attach>2</right_attach>
|
||||||
|
<top_attach>0</top_attach>
|
||||||
|
<bottom_attach>1</bottom_attach>
|
||||||
|
<xpad>5</xpad>
|
||||||
|
<ypad>5</ypad>
|
||||||
|
<xexpand>True</xexpand>
|
||||||
|
<yexpand>False</yexpand>
|
||||||
|
<xshrink>False</xshrink>
|
||||||
|
<yshrink>False</yshrink>
|
||||||
|
<xfill>True</xfill>
|
||||||
|
<yfill>False</yfill>
|
||||||
|
</child>
|
||||||
|
</widget>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>GtkOptionMenu</class>
|
||||||
|
<name>orientation</name>
|
||||||
|
<can_focus>True</can_focus>
|
||||||
|
<items>
|
||||||
|
</items>
|
||||||
|
<initial_choice>0</initial_choice>
|
||||||
|
<child>
|
||||||
|
<left_attach>1</left_attach>
|
||||||
|
<right_attach>2</right_attach>
|
||||||
|
<top_attach>1</top_attach>
|
||||||
|
<bottom_attach>2</bottom_attach>
|
||||||
|
<xpad>5</xpad>
|
||||||
|
<ypad>5</ypad>
|
||||||
|
<xexpand>False</xexpand>
|
||||||
|
<yexpand>False</yexpand>
|
||||||
|
<xshrink>False</xshrink>
|
||||||
|
<yshrink>False</yshrink>
|
||||||
|
<xfill>True</xfill>
|
||||||
|
<yfill>False</yfill>
|
||||||
|
</child>
|
||||||
|
</widget>
|
||||||
|
</widget>
|
||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>GtkLabel</class>
|
<class>GtkLabel</class>
|
||||||
|
<child_name>Notebook:tab</child_name>
|
||||||
<name>label13</name>
|
<name>label13</name>
|
||||||
<label>Paper</label>
|
<label>Paper</label>
|
||||||
<justify>GTK_JUSTIFY_CENTER</justify>
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
||||||
<wrap>False</wrap>
|
<wrap>False</wrap>
|
||||||
<xalign>1</xalign>
|
<xalign>0.5</xalign>
|
||||||
<yalign>0.5</yalign>
|
<yalign>0.5</yalign>
|
||||||
<xpad>5</xpad>
|
<xpad>0</xpad>
|
||||||
<ypad>0</ypad>
|
<ypad>0</ypad>
|
||||||
<child>
|
</widget>
|
||||||
<left_attach>0</left_attach>
|
|
||||||
<right_attach>1</right_attach>
|
<widget>
|
||||||
<top_attach>0</top_attach>
|
<class>GtkVBox</class>
|
||||||
<bottom_attach>1</bottom_attach>
|
<name>vbox5</name>
|
||||||
<xpad>0</xpad>
|
<homogeneous>False</homogeneous>
|
||||||
<ypad>0</ypad>
|
<spacing>0</spacing>
|
||||||
<xexpand>False</xexpand>
|
|
||||||
<yexpand>False</yexpand>
|
<widget>
|
||||||
<xshrink>False</xshrink>
|
<class>GtkHBox</class>
|
||||||
<yshrink>False</yshrink>
|
<name>hbox1</name>
|
||||||
<xfill>True</xfill>
|
<homogeneous>False</homogeneous>
|
||||||
<yfill>False</yfill>
|
<spacing>0</spacing>
|
||||||
</child>
|
<child>
|
||||||
|
<padding>10</padding>
|
||||||
|
<expand>False</expand>
|
||||||
|
<fill>True</fill>
|
||||||
|
</child>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>GtkLabel</class>
|
||||||
|
<name>label11</name>
|
||||||
|
<label>Template</label>
|
||||||
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
||||||
|
<wrap>False</wrap>
|
||||||
|
<xalign>1</xalign>
|
||||||
|
<yalign>0.5</yalign>
|
||||||
|
<xpad>5</xpad>
|
||||||
|
<ypad>0</ypad>
|
||||||
|
<child>
|
||||||
|
<padding>0</padding>
|
||||||
|
<expand>False</expand>
|
||||||
|
<fill>True</fill>
|
||||||
|
</child>
|
||||||
|
</widget>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>GnomeFileEntry</class>
|
||||||
|
<name>htmltemplate</name>
|
||||||
|
<sensitive>False</sensitive>
|
||||||
|
<history_id>HtmlTemplate</history_id>
|
||||||
|
<max_saved>10</max_saved>
|
||||||
|
<title>Choose the HTML template</title>
|
||||||
|
<directory>False</directory>
|
||||||
|
<modal>False</modal>
|
||||||
|
<child>
|
||||||
|
<padding>0</padding>
|
||||||
|
<expand>True</expand>
|
||||||
|
<fill>True</fill>
|
||||||
|
</child>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>GtkEntry</class>
|
||||||
|
<child_name>GnomeEntry:entry</child_name>
|
||||||
|
<name>htmlfile</name>
|
||||||
|
<can_focus>True</can_focus>
|
||||||
|
<editable>True</editable>
|
||||||
|
<text_visible>True</text_visible>
|
||||||
|
<text_max_length>0</text_max_length>
|
||||||
|
<text></text>
|
||||||
|
</widget>
|
||||||
|
</widget>
|
||||||
|
</widget>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>Placeholder</class>
|
||||||
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>GtkLabel</class>
|
<class>GtkLabel</class>
|
||||||
|
<child_name>Notebook:tab</child_name>
|
||||||
<name>label14</name>
|
<name>label14</name>
|
||||||
<label>Orientation</label>
|
<label>Template</label>
|
||||||
<justify>GTK_JUSTIFY_CENTER</justify>
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
||||||
<wrap>False</wrap>
|
<wrap>False</wrap>
|
||||||
<xalign>1</xalign>
|
<xalign>0.5</xalign>
|
||||||
<yalign>0.5</yalign>
|
<yalign>0.5</yalign>
|
||||||
<xpad>5</xpad>
|
<xpad>0</xpad>
|
||||||
<ypad>0</ypad>
|
<ypad>0</ypad>
|
||||||
<child>
|
|
||||||
<left_attach>0</left_attach>
|
|
||||||
<right_attach>1</right_attach>
|
|
||||||
<top_attach>1</top_attach>
|
|
||||||
<bottom_attach>2</bottom_attach>
|
|
||||||
<xpad>0</xpad>
|
|
||||||
<ypad>0</ypad>
|
|
||||||
<xexpand>False</xexpand>
|
|
||||||
<yexpand>False</yexpand>
|
|
||||||
<xshrink>False</xshrink>
|
|
||||||
<yshrink>False</yshrink>
|
|
||||||
<xfill>True</xfill>
|
|
||||||
<yfill>False</yfill>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
|
|
||||||
<widget>
|
|
||||||
<class>GtkOptionMenu</class>
|
|
||||||
<name>papersize</name>
|
|
||||||
<can_focus>True</can_focus>
|
|
||||||
<items>
|
|
||||||
</items>
|
|
||||||
<initial_choice>0</initial_choice>
|
|
||||||
<child>
|
|
||||||
<left_attach>1</left_attach>
|
|
||||||
<right_attach>2</right_attach>
|
|
||||||
<top_attach>0</top_attach>
|
|
||||||
<bottom_attach>1</bottom_attach>
|
|
||||||
<xpad>5</xpad>
|
|
||||||
<ypad>5</ypad>
|
|
||||||
<xexpand>True</xexpand>
|
|
||||||
<yexpand>False</yexpand>
|
|
||||||
<xshrink>False</xshrink>
|
|
||||||
<yshrink>False</yshrink>
|
|
||||||
<xfill>True</xfill>
|
|
||||||
<yfill>False</yfill>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
|
|
||||||
<widget>
|
|
||||||
<class>GtkOptionMenu</class>
|
|
||||||
<name>orientation</name>
|
|
||||||
<can_focus>True</can_focus>
|
|
||||||
<items>
|
|
||||||
</items>
|
|
||||||
<initial_choice>0</initial_choice>
|
|
||||||
<child>
|
|
||||||
<left_attach>1</left_attach>
|
|
||||||
<right_attach>2</right_attach>
|
|
||||||
<top_attach>1</top_attach>
|
|
||||||
<bottom_attach>2</bottom_attach>
|
|
||||||
<xpad>5</xpad>
|
|
||||||
<ypad>5</ypad>
|
|
||||||
<xexpand>False</xexpand>
|
|
||||||
<yexpand>False</yexpand>
|
|
||||||
<xshrink>False</xshrink>
|
|
||||||
<yshrink>False</yshrink>
|
|
||||||
<xfill>True</xfill>
|
|
||||||
<yfill>False</yfill>
|
|
||||||
</child>
|
|
||||||
</widget>
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
<widget>
|
<widget>
|
||||||
<class>GnomeDialog</class>
|
<class>GnomeDialog</class>
|
||||||
<name>dialog1</name>
|
<name>dialog1</name>
|
||||||
|
<title>Gramps - Family Group Report</title>
|
||||||
<type>GTK_WINDOW_DIALOG</type>
|
<type>GTK_WINDOW_DIALOG</type>
|
||||||
<position>GTK_WIN_POS_NONE</position>
|
<position>GTK_WIN_POS_NONE</position>
|
||||||
<modal>False</modal>
|
<modal>False</modal>
|
||||||
@ -219,139 +220,19 @@
|
|||||||
<spacing>0</spacing>
|
<spacing>0</spacing>
|
||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>GtkRadioButton</class>
|
<class>GtkOptionMenu</class>
|
||||||
<name>openoffice</name>
|
<name>format</name>
|
||||||
|
<border_width>10</border_width>
|
||||||
<can_focus>True</can_focus>
|
<can_focus>True</can_focus>
|
||||||
<label>OpenOffice </label>
|
<items>
|
||||||
<active>True</active>
|
</items>
|
||||||
<draw_indicator>True</draw_indicator>
|
<initial_choice>0</initial_choice>
|
||||||
<group>format</group>
|
|
||||||
<child>
|
<child>
|
||||||
<padding>0</padding>
|
<padding>0</padding>
|
||||||
<expand>False</expand>
|
<expand>False</expand>
|
||||||
<fill>False</fill>
|
<fill>False</fill>
|
||||||
</child>
|
</child>
|
||||||
</widget>
|
</widget>
|
||||||
|
|
||||||
<widget>
|
|
||||||
<class>GtkRadioButton</class>
|
|
||||||
<name>abiword</name>
|
|
||||||
<can_focus>True</can_focus>
|
|
||||||
<signal>
|
|
||||||
<name>toggled</name>
|
|
||||||
<handler>on_html_toggled</handler>
|
|
||||||
<last_modification_time>Tue, 20 Mar 2001 17:02:37 GMT</last_modification_time>
|
|
||||||
</signal>
|
|
||||||
<label>AbiWord</label>
|
|
||||||
<active>False</active>
|
|
||||||
<draw_indicator>True</draw_indicator>
|
|
||||||
<group>format</group>
|
|
||||||
<child>
|
|
||||||
<padding>0</padding>
|
|
||||||
<expand>False</expand>
|
|
||||||
<fill>False</fill>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
|
|
||||||
<widget>
|
|
||||||
<class>GtkRadioButton</class>
|
|
||||||
<name>pdf</name>
|
|
||||||
<can_focus>True</can_focus>
|
|
||||||
<signal>
|
|
||||||
<name>toggled</name>
|
|
||||||
<handler>on_html_toggled</handler>
|
|
||||||
<last_modification_time>Tue, 20 Mar 2001 17:02:37 GMT</last_modification_time>
|
|
||||||
</signal>
|
|
||||||
<label>PDF</label>
|
|
||||||
<active>False</active>
|
|
||||||
<draw_indicator>True</draw_indicator>
|
|
||||||
<group>format</group>
|
|
||||||
<child>
|
|
||||||
<padding>0</padding>
|
|
||||||
<expand>False</expand>
|
|
||||||
<fill>False</fill>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
|
|
||||||
<widget>
|
|
||||||
<class>GtkRadioButton</class>
|
|
||||||
<name>html</name>
|
|
||||||
<can_focus>True</can_focus>
|
|
||||||
<signal>
|
|
||||||
<name>toggled</name>
|
|
||||||
<handler>on_html_toggled</handler>
|
|
||||||
<last_modification_time>Tue, 20 Mar 2001 17:02:37 GMT</last_modification_time>
|
|
||||||
</signal>
|
|
||||||
<label>HTML</label>
|
|
||||||
<active>False</active>
|
|
||||||
<draw_indicator>True</draw_indicator>
|
|
||||||
<group>format</group>
|
|
||||||
<child>
|
|
||||||
<padding>0</padding>
|
|
||||||
<expand>False</expand>
|
|
||||||
<fill>False</fill>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
|
|
||||||
<widget>
|
|
||||||
<class>GtkHBox</class>
|
|
||||||
<name>hbox1</name>
|
|
||||||
<homogeneous>False</homogeneous>
|
|
||||||
<spacing>0</spacing>
|
|
||||||
<child>
|
|
||||||
<padding>0</padding>
|
|
||||||
<expand>True</expand>
|
|
||||||
<fill>True</fill>
|
|
||||||
</child>
|
|
||||||
|
|
||||||
<widget>
|
|
||||||
<class>Placeholder</class>
|
|
||||||
</widget>
|
|
||||||
|
|
||||||
<widget>
|
|
||||||
<class>GtkLabel</class>
|
|
||||||
<name>label11</name>
|
|
||||||
<label>Template</label>
|
|
||||||
<justify>GTK_JUSTIFY_CENTER</justify>
|
|
||||||
<wrap>False</wrap>
|
|
||||||
<xalign>1</xalign>
|
|
||||||
<yalign>0.5</yalign>
|
|
||||||
<xpad>5</xpad>
|
|
||||||
<ypad>0</ypad>
|
|
||||||
<child>
|
|
||||||
<padding>0</padding>
|
|
||||||
<expand>True</expand>
|
|
||||||
<fill>True</fill>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
|
|
||||||
<widget>
|
|
||||||
<class>GnomeFileEntry</class>
|
|
||||||
<name>htmltemplate</name>
|
|
||||||
<sensitive>False</sensitive>
|
|
||||||
<history_id>HtmlTemplate</history_id>
|
|
||||||
<max_saved>10</max_saved>
|
|
||||||
<title>Choose the HTML template</title>
|
|
||||||
<directory>False</directory>
|
|
||||||
<modal>False</modal>
|
|
||||||
<child>
|
|
||||||
<padding>0</padding>
|
|
||||||
<expand>True</expand>
|
|
||||||
<fill>True</fill>
|
|
||||||
</child>
|
|
||||||
|
|
||||||
<widget>
|
|
||||||
<class>GtkEntry</class>
|
|
||||||
<child_name>GnomeEntry:entry</child_name>
|
|
||||||
<name>htmlfile</name>
|
|
||||||
<can_focus>True</can_focus>
|
|
||||||
<editable>True</editable>
|
|
||||||
<text_visible>True</text_visible>
|
|
||||||
<text_max_length>0</text_max_length>
|
|
||||||
<text></text>
|
|
||||||
</widget>
|
|
||||||
</widget>
|
|
||||||
</widget>
|
|
||||||
</widget>
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
|
|
||||||
@ -368,110 +249,214 @@
|
|||||||
</child>
|
</child>
|
||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>GtkTable</class>
|
<class>GtkNotebook</class>
|
||||||
<name>table1</name>
|
<name>option_notebook</name>
|
||||||
<rows>2</rows>
|
<show_tabs>False</show_tabs>
|
||||||
<columns>2</columns>
|
<show_border>False</show_border>
|
||||||
<homogeneous>False</homogeneous>
|
<tab_pos>GTK_POS_TOP</tab_pos>
|
||||||
<row_spacing>0</row_spacing>
|
<scrollable>False</scrollable>
|
||||||
<column_spacing>0</column_spacing>
|
<tab_hborder>2</tab_hborder>
|
||||||
|
<tab_vborder>2</tab_vborder>
|
||||||
|
<popup_enable>False</popup_enable>
|
||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>GtkLabel</class>
|
<class>GtkTable</class>
|
||||||
<name>label14</name>
|
<name>table1</name>
|
||||||
<label>Orientation</label>
|
<rows>2</rows>
|
||||||
<justify>GTK_JUSTIFY_CENTER</justify>
|
<columns>2</columns>
|
||||||
<wrap>False</wrap>
|
<homogeneous>False</homogeneous>
|
||||||
<xalign>1</xalign>
|
<row_spacing>0</row_spacing>
|
||||||
<yalign>0.5</yalign>
|
<column_spacing>0</column_spacing>
|
||||||
<xpad>5</xpad>
|
|
||||||
<ypad>0</ypad>
|
<widget>
|
||||||
<child>
|
<class>GtkLabel</class>
|
||||||
<left_attach>0</left_attach>
|
<name>label14</name>
|
||||||
<right_attach>1</right_attach>
|
<label>Orientation</label>
|
||||||
<top_attach>1</top_attach>
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
||||||
<bottom_attach>2</bottom_attach>
|
<wrap>False</wrap>
|
||||||
<xpad>0</xpad>
|
<xalign>1</xalign>
|
||||||
|
<yalign>0.5</yalign>
|
||||||
|
<xpad>5</xpad>
|
||||||
<ypad>0</ypad>
|
<ypad>0</ypad>
|
||||||
<xexpand>False</xexpand>
|
<child>
|
||||||
<yexpand>False</yexpand>
|
<left_attach>0</left_attach>
|
||||||
<xshrink>False</xshrink>
|
<right_attach>1</right_attach>
|
||||||
<yshrink>False</yshrink>
|
<top_attach>1</top_attach>
|
||||||
<xfill>True</xfill>
|
<bottom_attach>2</bottom_attach>
|
||||||
<yfill>False</yfill>
|
<xpad>0</xpad>
|
||||||
</child>
|
<ypad>0</ypad>
|
||||||
|
<xexpand>False</xexpand>
|
||||||
|
<yexpand>False</yexpand>
|
||||||
|
<xshrink>False</xshrink>
|
||||||
|
<yshrink>False</yshrink>
|
||||||
|
<xfill>True</xfill>
|
||||||
|
<yfill>False</yfill>
|
||||||
|
</child>
|
||||||
|
</widget>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>GtkLabel</class>
|
||||||
|
<name>label13</name>
|
||||||
|
<label>Paper</label>
|
||||||
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
||||||
|
<wrap>False</wrap>
|
||||||
|
<xalign>1</xalign>
|
||||||
|
<yalign>0.5</yalign>
|
||||||
|
<xpad>5</xpad>
|
||||||
|
<ypad>0</ypad>
|
||||||
|
<child>
|
||||||
|
<left_attach>0</left_attach>
|
||||||
|
<right_attach>1</right_attach>
|
||||||
|
<top_attach>0</top_attach>
|
||||||
|
<bottom_attach>1</bottom_attach>
|
||||||
|
<xpad>0</xpad>
|
||||||
|
<ypad>0</ypad>
|
||||||
|
<xexpand>False</xexpand>
|
||||||
|
<yexpand>False</yexpand>
|
||||||
|
<xshrink>False</xshrink>
|
||||||
|
<yshrink>False</yshrink>
|
||||||
|
<xfill>True</xfill>
|
||||||
|
<yfill>False</yfill>
|
||||||
|
</child>
|
||||||
|
</widget>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>GtkOptionMenu</class>
|
||||||
|
<name>orientation</name>
|
||||||
|
<can_focus>True</can_focus>
|
||||||
|
<items>
|
||||||
|
</items>
|
||||||
|
<initial_choice>0</initial_choice>
|
||||||
|
<child>
|
||||||
|
<left_attach>1</left_attach>
|
||||||
|
<right_attach>2</right_attach>
|
||||||
|
<top_attach>1</top_attach>
|
||||||
|
<bottom_attach>2</bottom_attach>
|
||||||
|
<xpad>5</xpad>
|
||||||
|
<ypad>5</ypad>
|
||||||
|
<xexpand>True</xexpand>
|
||||||
|
<yexpand>False</yexpand>
|
||||||
|
<xshrink>False</xshrink>
|
||||||
|
<yshrink>False</yshrink>
|
||||||
|
<xfill>True</xfill>
|
||||||
|
<yfill>False</yfill>
|
||||||
|
</child>
|
||||||
|
</widget>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>GtkOptionMenu</class>
|
||||||
|
<name>papersize</name>
|
||||||
|
<can_focus>True</can_focus>
|
||||||
|
<items>
|
||||||
|
</items>
|
||||||
|
<initial_choice>0</initial_choice>
|
||||||
|
<child>
|
||||||
|
<left_attach>1</left_attach>
|
||||||
|
<right_attach>2</right_attach>
|
||||||
|
<top_attach>0</top_attach>
|
||||||
|
<bottom_attach>1</bottom_attach>
|
||||||
|
<xpad>5</xpad>
|
||||||
|
<ypad>5</ypad>
|
||||||
|
<xexpand>True</xexpand>
|
||||||
|
<yexpand>False</yexpand>
|
||||||
|
<xshrink>False</xshrink>
|
||||||
|
<yshrink>False</yshrink>
|
||||||
|
<xfill>True</xfill>
|
||||||
|
<yfill>False</yfill>
|
||||||
|
</child>
|
||||||
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>GtkLabel</class>
|
<class>GtkLabel</class>
|
||||||
<name>label13</name>
|
<child_name>Notebook:tab</child_name>
|
||||||
|
<name>label14</name>
|
||||||
<label>Paper</label>
|
<label>Paper</label>
|
||||||
<justify>GTK_JUSTIFY_CENTER</justify>
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
||||||
<wrap>False</wrap>
|
<wrap>False</wrap>
|
||||||
<xalign>1</xalign>
|
<xalign>0.5</xalign>
|
||||||
<yalign>0.5</yalign>
|
<yalign>0.5</yalign>
|
||||||
<xpad>5</xpad>
|
<xpad>0</xpad>
|
||||||
<ypad>0</ypad>
|
<ypad>0</ypad>
|
||||||
<child>
|
|
||||||
<left_attach>0</left_attach>
|
|
||||||
<right_attach>1</right_attach>
|
|
||||||
<top_attach>0</top_attach>
|
|
||||||
<bottom_attach>1</bottom_attach>
|
|
||||||
<xpad>0</xpad>
|
|
||||||
<ypad>0</ypad>
|
|
||||||
<xexpand>False</xexpand>
|
|
||||||
<yexpand>False</yexpand>
|
|
||||||
<xshrink>False</xshrink>
|
|
||||||
<yshrink>False</yshrink>
|
|
||||||
<xfill>True</xfill>
|
|
||||||
<yfill>False</yfill>
|
|
||||||
</child>
|
|
||||||
</widget>
|
</widget>
|
||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>GtkOptionMenu</class>
|
<class>GtkVBox</class>
|
||||||
<name>orientation</name>
|
<name>vbox5</name>
|
||||||
<can_focus>True</can_focus>
|
<homogeneous>False</homogeneous>
|
||||||
<items>
|
<spacing>0</spacing>
|
||||||
</items>
|
|
||||||
<initial_choice>0</initial_choice>
|
<widget>
|
||||||
<child>
|
<class>GtkHBox</class>
|
||||||
<left_attach>1</left_attach>
|
<name>hbox1</name>
|
||||||
<right_attach>2</right_attach>
|
<homogeneous>False</homogeneous>
|
||||||
<top_attach>1</top_attach>
|
<spacing>0</spacing>
|
||||||
<bottom_attach>2</bottom_attach>
|
<child>
|
||||||
<xpad>5</xpad>
|
<padding>5</padding>
|
||||||
<ypad>5</ypad>
|
<expand>False</expand>
|
||||||
<xexpand>True</xexpand>
|
<fill>True</fill>
|
||||||
<yexpand>False</yexpand>
|
</child>
|
||||||
<xshrink>False</xshrink>
|
|
||||||
<yshrink>False</yshrink>
|
<widget>
|
||||||
<xfill>True</xfill>
|
<class>GtkLabel</class>
|
||||||
<yfill>False</yfill>
|
<name>label11</name>
|
||||||
</child>
|
<label>Template</label>
|
||||||
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
||||||
|
<wrap>False</wrap>
|
||||||
|
<xalign>1</xalign>
|
||||||
|
<yalign>0.5</yalign>
|
||||||
|
<xpad>5</xpad>
|
||||||
|
<ypad>0</ypad>
|
||||||
|
<child>
|
||||||
|
<padding>0</padding>
|
||||||
|
<expand>False</expand>
|
||||||
|
<fill>True</fill>
|
||||||
|
</child>
|
||||||
|
</widget>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>GnomeFileEntry</class>
|
||||||
|
<name>htmltemplate</name>
|
||||||
|
<history_id>HtmlTemplate</history_id>
|
||||||
|
<max_saved>10</max_saved>
|
||||||
|
<title>Choose the HTML template</title>
|
||||||
|
<directory>False</directory>
|
||||||
|
<modal>False</modal>
|
||||||
|
<child>
|
||||||
|
<padding>5</padding>
|
||||||
|
<expand>True</expand>
|
||||||
|
<fill>True</fill>
|
||||||
|
</child>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>GtkEntry</class>
|
||||||
|
<child_name>GnomeEntry:entry</child_name>
|
||||||
|
<name>htmlfile</name>
|
||||||
|
<can_focus>True</can_focus>
|
||||||
|
<editable>True</editable>
|
||||||
|
<text_visible>True</text_visible>
|
||||||
|
<text_max_length>0</text_max_length>
|
||||||
|
<text></text>
|
||||||
|
</widget>
|
||||||
|
</widget>
|
||||||
|
</widget>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>Placeholder</class>
|
||||||
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>GtkOptionMenu</class>
|
<class>GtkLabel</class>
|
||||||
<name>papersize</name>
|
<child_name>Notebook:tab</child_name>
|
||||||
<can_focus>True</can_focus>
|
<name>label15</name>
|
||||||
<items>
|
<label>Template</label>
|
||||||
</items>
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
||||||
<initial_choice>0</initial_choice>
|
<wrap>False</wrap>
|
||||||
<child>
|
<xalign>0.5</xalign>
|
||||||
<left_attach>1</left_attach>
|
<yalign>0.5</yalign>
|
||||||
<right_attach>2</right_attach>
|
<xpad>0</xpad>
|
||||||
<top_attach>0</top_attach>
|
<ypad>0</ypad>
|
||||||
<bottom_attach>1</bottom_attach>
|
|
||||||
<xpad>5</xpad>
|
|
||||||
<ypad>5</ypad>
|
|
||||||
<xexpand>True</xexpand>
|
|
||||||
<yexpand>False</yexpand>
|
|
||||||
<xshrink>False</xshrink>
|
|
||||||
<yshrink>False</yshrink>
|
|
||||||
<xfill>True</xfill>
|
|
||||||
<yfill>False</yfill>
|
|
||||||
</child>
|
|
||||||
</widget>
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
<widget>
|
<widget>
|
||||||
<class>GnomeDialog</class>
|
<class>GnomeDialog</class>
|
||||||
<name>dialog1</name>
|
<name>dialog1</name>
|
||||||
|
<title>Gramps - Individual Summary</title>
|
||||||
<type>GTK_WINDOW_DIALOG</type>
|
<type>GTK_WINDOW_DIALOG</type>
|
||||||
<position>GTK_WIN_POS_NONE</position>
|
<position>GTK_WIN_POS_NONE</position>
|
||||||
<modal>False</modal>
|
<modal>False</modal>
|
||||||
@ -190,124 +191,24 @@
|
|||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>GtkVBox</class>
|
<class>GtkVBox</class>
|
||||||
<name>vbox4</name>
|
<name>vbox6</name>
|
||||||
<homogeneous>False</homogeneous>
|
<homogeneous>False</homogeneous>
|
||||||
<spacing>0</spacing>
|
<spacing>0</spacing>
|
||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>GtkRadioButton</class>
|
<class>GtkOptionMenu</class>
|
||||||
<name>openoffice</name>
|
<name>format</name>
|
||||||
|
<border_width>5</border_width>
|
||||||
<can_focus>True</can_focus>
|
<can_focus>True</can_focus>
|
||||||
<label>OpenOffice </label>
|
<items>
|
||||||
<active>True</active>
|
</items>
|
||||||
<draw_indicator>True</draw_indicator>
|
<initial_choice>0</initial_choice>
|
||||||
<group>format</group>
|
|
||||||
<child>
|
<child>
|
||||||
<padding>0</padding>
|
<padding>0</padding>
|
||||||
<expand>False</expand>
|
<expand>False</expand>
|
||||||
<fill>False</fill>
|
<fill>False</fill>
|
||||||
</child>
|
</child>
|
||||||
</widget>
|
</widget>
|
||||||
|
|
||||||
<widget>
|
|
||||||
<class>GtkRadioButton</class>
|
|
||||||
<name>pdf</name>
|
|
||||||
<can_focus>True</can_focus>
|
|
||||||
<signal>
|
|
||||||
<name>toggled</name>
|
|
||||||
<handler>on_html_toggled</handler>
|
|
||||||
<last_modification_time>Tue, 20 Mar 2001 17:02:37 GMT</last_modification_time>
|
|
||||||
</signal>
|
|
||||||
<label>PDF</label>
|
|
||||||
<active>False</active>
|
|
||||||
<draw_indicator>True</draw_indicator>
|
|
||||||
<group>format</group>
|
|
||||||
<child>
|
|
||||||
<padding>0</padding>
|
|
||||||
<expand>False</expand>
|
|
||||||
<fill>False</fill>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
|
|
||||||
<widget>
|
|
||||||
<class>GtkRadioButton</class>
|
|
||||||
<name>html</name>
|
|
||||||
<can_focus>True</can_focus>
|
|
||||||
<signal>
|
|
||||||
<name>toggled</name>
|
|
||||||
<handler>on_html_toggled</handler>
|
|
||||||
<last_modification_time>Tue, 20 Mar 2001 17:02:37 GMT</last_modification_time>
|
|
||||||
</signal>
|
|
||||||
<label>HTML</label>
|
|
||||||
<active>False</active>
|
|
||||||
<draw_indicator>True</draw_indicator>
|
|
||||||
<group>format</group>
|
|
||||||
<child>
|
|
||||||
<padding>0</padding>
|
|
||||||
<expand>False</expand>
|
|
||||||
<fill>False</fill>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
|
|
||||||
<widget>
|
|
||||||
<class>GtkHBox</class>
|
|
||||||
<name>hbox1</name>
|
|
||||||
<homogeneous>False</homogeneous>
|
|
||||||
<spacing>0</spacing>
|
|
||||||
<child>
|
|
||||||
<padding>0</padding>
|
|
||||||
<expand>True</expand>
|
|
||||||
<fill>True</fill>
|
|
||||||
</child>
|
|
||||||
|
|
||||||
<widget>
|
|
||||||
<class>Placeholder</class>
|
|
||||||
</widget>
|
|
||||||
|
|
||||||
<widget>
|
|
||||||
<class>GtkLabel</class>
|
|
||||||
<name>label11</name>
|
|
||||||
<label>Template</label>
|
|
||||||
<justify>GTK_JUSTIFY_CENTER</justify>
|
|
||||||
<wrap>False</wrap>
|
|
||||||
<xalign>1</xalign>
|
|
||||||
<yalign>0.5</yalign>
|
|
||||||
<xpad>5</xpad>
|
|
||||||
<ypad>0</ypad>
|
|
||||||
<child>
|
|
||||||
<padding>0</padding>
|
|
||||||
<expand>True</expand>
|
|
||||||
<fill>True</fill>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
|
|
||||||
<widget>
|
|
||||||
<class>GnomeFileEntry</class>
|
|
||||||
<name>htmltemplate</name>
|
|
||||||
<sensitive>False</sensitive>
|
|
||||||
<history_id>HtmlTemplate</history_id>
|
|
||||||
<max_saved>10</max_saved>
|
|
||||||
<title>Choose the HTML template</title>
|
|
||||||
<directory>False</directory>
|
|
||||||
<modal>False</modal>
|
|
||||||
<child>
|
|
||||||
<padding>0</padding>
|
|
||||||
<expand>True</expand>
|
|
||||||
<fill>True</fill>
|
|
||||||
</child>
|
|
||||||
|
|
||||||
<widget>
|
|
||||||
<class>GtkEntry</class>
|
|
||||||
<child_name>GnomeEntry:entry</child_name>
|
|
||||||
<name>htmlfile</name>
|
|
||||||
<can_focus>True</can_focus>
|
|
||||||
<editable>True</editable>
|
|
||||||
<text_visible>True</text_visible>
|
|
||||||
<text_max_length>0</text_max_length>
|
|
||||||
<text></text>
|
|
||||||
</widget>
|
|
||||||
</widget>
|
|
||||||
</widget>
|
|
||||||
</widget>
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
|
|
||||||
@ -324,110 +225,215 @@
|
|||||||
</child>
|
</child>
|
||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>GtkTable</class>
|
<class>GtkNotebook</class>
|
||||||
<name>table1</name>
|
<name>option_notebook</name>
|
||||||
<rows>2</rows>
|
<show_tabs>False</show_tabs>
|
||||||
<columns>2</columns>
|
<show_border>False</show_border>
|
||||||
<homogeneous>False</homogeneous>
|
<tab_pos>GTK_POS_TOP</tab_pos>
|
||||||
<row_spacing>0</row_spacing>
|
<scrollable>False</scrollable>
|
||||||
<column_spacing>0</column_spacing>
|
<tab_hborder>2</tab_hborder>
|
||||||
|
<tab_vborder>2</tab_vborder>
|
||||||
|
<popup_enable>False</popup_enable>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>GtkTable</class>
|
||||||
|
<name>table1</name>
|
||||||
|
<rows>2</rows>
|
||||||
|
<columns>2</columns>
|
||||||
|
<homogeneous>False</homogeneous>
|
||||||
|
<row_spacing>0</row_spacing>
|
||||||
|
<column_spacing>0</column_spacing>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>GtkLabel</class>
|
||||||
|
<name>label13</name>
|
||||||
|
<label>Paper</label>
|
||||||
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
||||||
|
<wrap>False</wrap>
|
||||||
|
<xalign>1</xalign>
|
||||||
|
<yalign>0.5</yalign>
|
||||||
|
<xpad>5</xpad>
|
||||||
|
<ypad>0</ypad>
|
||||||
|
<child>
|
||||||
|
<left_attach>0</left_attach>
|
||||||
|
<right_attach>1</right_attach>
|
||||||
|
<top_attach>0</top_attach>
|
||||||
|
<bottom_attach>1</bottom_attach>
|
||||||
|
<xpad>0</xpad>
|
||||||
|
<ypad>0</ypad>
|
||||||
|
<xexpand>False</xexpand>
|
||||||
|
<yexpand>False</yexpand>
|
||||||
|
<xshrink>False</xshrink>
|
||||||
|
<yshrink>False</yshrink>
|
||||||
|
<xfill>True</xfill>
|
||||||
|
<yfill>False</yfill>
|
||||||
|
</child>
|
||||||
|
</widget>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>GtkLabel</class>
|
||||||
|
<name>label14</name>
|
||||||
|
<label>Orientation</label>
|
||||||
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
||||||
|
<wrap>False</wrap>
|
||||||
|
<xalign>1</xalign>
|
||||||
|
<yalign>0.5</yalign>
|
||||||
|
<xpad>5</xpad>
|
||||||
|
<ypad>0</ypad>
|
||||||
|
<child>
|
||||||
|
<left_attach>0</left_attach>
|
||||||
|
<right_attach>1</right_attach>
|
||||||
|
<top_attach>1</top_attach>
|
||||||
|
<bottom_attach>2</bottom_attach>
|
||||||
|
<xpad>0</xpad>
|
||||||
|
<ypad>0</ypad>
|
||||||
|
<xexpand>False</xexpand>
|
||||||
|
<yexpand>False</yexpand>
|
||||||
|
<xshrink>False</xshrink>
|
||||||
|
<yshrink>False</yshrink>
|
||||||
|
<xfill>True</xfill>
|
||||||
|
<yfill>False</yfill>
|
||||||
|
</child>
|
||||||
|
</widget>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>GtkOptionMenu</class>
|
||||||
|
<name>orientation</name>
|
||||||
|
<can_focus>True</can_focus>
|
||||||
|
<items>
|
||||||
|
</items>
|
||||||
|
<initial_choice>0</initial_choice>
|
||||||
|
<child>
|
||||||
|
<left_attach>1</left_attach>
|
||||||
|
<right_attach>2</right_attach>
|
||||||
|
<top_attach>1</top_attach>
|
||||||
|
<bottom_attach>2</bottom_attach>
|
||||||
|
<xpad>5</xpad>
|
||||||
|
<ypad>5</ypad>
|
||||||
|
<xexpand>True</xexpand>
|
||||||
|
<yexpand>False</yexpand>
|
||||||
|
<xshrink>False</xshrink>
|
||||||
|
<yshrink>False</yshrink>
|
||||||
|
<xfill>True</xfill>
|
||||||
|
<yfill>False</yfill>
|
||||||
|
</child>
|
||||||
|
</widget>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>GtkOptionMenu</class>
|
||||||
|
<name>papersize</name>
|
||||||
|
<can_focus>True</can_focus>
|
||||||
|
<items>
|
||||||
|
</items>
|
||||||
|
<initial_choice>0</initial_choice>
|
||||||
|
<child>
|
||||||
|
<left_attach>1</left_attach>
|
||||||
|
<right_attach>2</right_attach>
|
||||||
|
<top_attach>0</top_attach>
|
||||||
|
<bottom_attach>1</bottom_attach>
|
||||||
|
<xpad>5</xpad>
|
||||||
|
<ypad>5</ypad>
|
||||||
|
<xexpand>True</xexpand>
|
||||||
|
<yexpand>False</yexpand>
|
||||||
|
<xshrink>False</xshrink>
|
||||||
|
<yshrink>False</yshrink>
|
||||||
|
<xfill>True</xfill>
|
||||||
|
<yfill>False</yfill>
|
||||||
|
</child>
|
||||||
|
</widget>
|
||||||
|
</widget>
|
||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>GtkLabel</class>
|
<class>GtkLabel</class>
|
||||||
|
<child_name>Notebook:tab</child_name>
|
||||||
<name>label13</name>
|
<name>label13</name>
|
||||||
<label>Paper</label>
|
<label>Paper</label>
|
||||||
<justify>GTK_JUSTIFY_CENTER</justify>
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
||||||
<wrap>False</wrap>
|
<wrap>False</wrap>
|
||||||
<xalign>1</xalign>
|
<xalign>0.5</xalign>
|
||||||
<yalign>0.5</yalign>
|
<yalign>0.5</yalign>
|
||||||
<xpad>5</xpad>
|
<xpad>0</xpad>
|
||||||
<ypad>0</ypad>
|
<ypad>0</ypad>
|
||||||
<child>
|
</widget>
|
||||||
<left_attach>0</left_attach>
|
|
||||||
<right_attach>1</right_attach>
|
<widget>
|
||||||
<top_attach>0</top_attach>
|
<class>GtkVBox</class>
|
||||||
<bottom_attach>1</bottom_attach>
|
<name>vbox5</name>
|
||||||
<xpad>0</xpad>
|
<homogeneous>False</homogeneous>
|
||||||
<ypad>0</ypad>
|
<spacing>0</spacing>
|
||||||
<xexpand>False</xexpand>
|
|
||||||
<yexpand>False</yexpand>
|
<widget>
|
||||||
<xshrink>False</xshrink>
|
<class>GtkHBox</class>
|
||||||
<yshrink>False</yshrink>
|
<name>hbox1</name>
|
||||||
<xfill>True</xfill>
|
<homogeneous>False</homogeneous>
|
||||||
<yfill>False</yfill>
|
<spacing>0</spacing>
|
||||||
</child>
|
<child>
|
||||||
|
<padding>5</padding>
|
||||||
|
<expand>False</expand>
|
||||||
|
<fill>True</fill>
|
||||||
|
</child>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>GtkLabel</class>
|
||||||
|
<name>label11</name>
|
||||||
|
<label>Template</label>
|
||||||
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
||||||
|
<wrap>False</wrap>
|
||||||
|
<xalign>1</xalign>
|
||||||
|
<yalign>0.5</yalign>
|
||||||
|
<xpad>5</xpad>
|
||||||
|
<ypad>0</ypad>
|
||||||
|
<child>
|
||||||
|
<padding>0</padding>
|
||||||
|
<expand>False</expand>
|
||||||
|
<fill>True</fill>
|
||||||
|
</child>
|
||||||
|
</widget>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>GnomeFileEntry</class>
|
||||||
|
<name>htmltemplate</name>
|
||||||
|
<sensitive>False</sensitive>
|
||||||
|
<history_id>HtmlTemplate</history_id>
|
||||||
|
<max_saved>10</max_saved>
|
||||||
|
<title>Choose the HTML template</title>
|
||||||
|
<directory>False</directory>
|
||||||
|
<modal>False</modal>
|
||||||
|
<child>
|
||||||
|
<padding>0</padding>
|
||||||
|
<expand>True</expand>
|
||||||
|
<fill>True</fill>
|
||||||
|
</child>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>GtkEntry</class>
|
||||||
|
<child_name>GnomeEntry:entry</child_name>
|
||||||
|
<name>htmlfile</name>
|
||||||
|
<can_focus>True</can_focus>
|
||||||
|
<editable>True</editable>
|
||||||
|
<text_visible>True</text_visible>
|
||||||
|
<text_max_length>0</text_max_length>
|
||||||
|
<text></text>
|
||||||
|
</widget>
|
||||||
|
</widget>
|
||||||
|
</widget>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>Placeholder</class>
|
||||||
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>GtkLabel</class>
|
<class>GtkLabel</class>
|
||||||
|
<child_name>Notebook:tab</child_name>
|
||||||
<name>label14</name>
|
<name>label14</name>
|
||||||
<label>Orientation</label>
|
<label>Template</label>
|
||||||
<justify>GTK_JUSTIFY_CENTER</justify>
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
||||||
<wrap>False</wrap>
|
<wrap>False</wrap>
|
||||||
<xalign>1</xalign>
|
<xalign>0.5</xalign>
|
||||||
<yalign>0.5</yalign>
|
<yalign>0.5</yalign>
|
||||||
<xpad>5</xpad>
|
<xpad>0</xpad>
|
||||||
<ypad>0</ypad>
|
<ypad>0</ypad>
|
||||||
<child>
|
|
||||||
<left_attach>0</left_attach>
|
|
||||||
<right_attach>1</right_attach>
|
|
||||||
<top_attach>1</top_attach>
|
|
||||||
<bottom_attach>2</bottom_attach>
|
|
||||||
<xpad>0</xpad>
|
|
||||||
<ypad>0</ypad>
|
|
||||||
<xexpand>False</xexpand>
|
|
||||||
<yexpand>False</yexpand>
|
|
||||||
<xshrink>False</xshrink>
|
|
||||||
<yshrink>False</yshrink>
|
|
||||||
<xfill>True</xfill>
|
|
||||||
<yfill>False</yfill>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
|
|
||||||
<widget>
|
|
||||||
<class>GtkOptionMenu</class>
|
|
||||||
<name>orientation</name>
|
|
||||||
<can_focus>True</can_focus>
|
|
||||||
<items>
|
|
||||||
</items>
|
|
||||||
<initial_choice>0</initial_choice>
|
|
||||||
<child>
|
|
||||||
<left_attach>1</left_attach>
|
|
||||||
<right_attach>2</right_attach>
|
|
||||||
<top_attach>1</top_attach>
|
|
||||||
<bottom_attach>2</bottom_attach>
|
|
||||||
<xpad>5</xpad>
|
|
||||||
<ypad>5</ypad>
|
|
||||||
<xexpand>True</xexpand>
|
|
||||||
<yexpand>False</yexpand>
|
|
||||||
<xshrink>False</xshrink>
|
|
||||||
<yshrink>False</yshrink>
|
|
||||||
<xfill>True</xfill>
|
|
||||||
<yfill>False</yfill>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
|
|
||||||
<widget>
|
|
||||||
<class>GtkOptionMenu</class>
|
|
||||||
<name>papersize</name>
|
|
||||||
<can_focus>True</can_focus>
|
|
||||||
<items>
|
|
||||||
</items>
|
|
||||||
<initial_choice>0</initial_choice>
|
|
||||||
<child>
|
|
||||||
<left_attach>1</left_attach>
|
|
||||||
<right_attach>2</right_attach>
|
|
||||||
<top_attach>0</top_attach>
|
|
||||||
<bottom_attach>1</bottom_attach>
|
|
||||||
<xpad>5</xpad>
|
|
||||||
<ypad>5</ypad>
|
|
||||||
<xexpand>True</xexpand>
|
|
||||||
<yexpand>False</yexpand>
|
|
||||||
<xshrink>False</xshrink>
|
|
||||||
<yshrink>False</yshrink>
|
|
||||||
<xfill>True</xfill>
|
|
||||||
<yfill>False</yfill>
|
|
||||||
</child>
|
|
||||||
</widget>
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
|
Loading…
Reference in New Issue
Block a user