Commit Graph

239 Commits

Author SHA1 Message Date
Stéphane Charette
5ea0cd4b3e work in progress converting FamilyLines to new GraphViz plugin
svn: r9612
2007-12-28 10:08:19 +00:00
Brian Matherly
935f32acff Fix thumbnail images and HTML labels for relationship graph (Graphviz).
svn: r9604
2007-12-27 22:23:40 +00:00
Brian Matherly
2faff1abfb _GraphvizReportDialog.py: Fix Graphviz generated PDF.
svn: r9603
2007-12-27 22:05:45 +00:00
Brian Matherly
8456e16cbc _GraphvisReportDialog.py: Fix to conform to 80 columns. Add Graphviz generated PDF as an option (requires Graphviz 2.16 to work)
svn: r9602
2007-12-27 21:47:11 +00:00
Brian Matherly
12bdeb40a6 Fix default fonts in GraphvizReportDialog
svn: r9581
2007-12-25 05:27:27 +00:00
Stéphane Charette
5f077e4795 more generic changes to the GraphViz base class
svn: r9579
2007-12-25 01:57:45 +00:00
Brian Matherly
677a0e280f Add _DocReportDialog.py to the Makefile.
svn: r9572
2007-12-24 14:12:29 +00:00
Brian Matherly
9da5862816 0001480: custom paper size is not editable for 2nd and any additional invocations of the report
svn: r9570
2007-12-24 04:41:11 +00:00
Brian Matherly
7aa7acb355 Fix 0001393: Detailed descendant report crash on too many references.
svn: r9569
2007-12-23 22:20:51 +00:00
Brian Matherly
b5946124b7 Updates to makefiles.
svn: r9566
2007-12-23 21:08:10 +00:00
Stéphane Charette
e9ebd454cc more graphviz based options
svn: r9562
2007-12-23 07:52:01 +00:00
Brian Matherly
f8d3f210f8 Misc improvements to Graphviz reports.
svn: r9551
2007-12-21 05:57:43 +00:00
Brian Matherly
6af58e348b Various enhancements to the Graphviz report system. Added GVRelGraph.py - adapted GraphViz.py to use Graphviz report system.
svn: r9541
2007-12-20 06:26:38 +00:00
Doug Blank
c3471430b0 Removed margins from write_common
svn: r9524
2007-12-17 03:59:50 +00:00
Doug Blank
a163da2218 * src/ReportBase/_PaperMenu.py: get margins in PaperFrame constructor
* src/ReportBase/_DocReportDialog.py: pass margins to PaperFrame constructor
	* src/ReportBase/_ReportOptions.py: added getters/setters for margins

2007-12-16  Douglas S. Blank  <dblank@cs.brynmawr.edu>


svn: r9523
2007-12-17 03:44:13 +00:00
Brian Matherly
3e9e629f56 Remove unnecessary code in Graphviz report dialog.
svn: r9518
2007-12-16 04:47:09 +00:00
Brian Matherly
4860b1e422 Add Generic GraphViz options to the GraphVis report dialog for use by all graphviz related reports.
svn: r9515
2007-12-16 03:51:02 +00:00
Brian Matherly
05575ad026 Refactor various aspects of the report system.
svn: r9496
2007-12-13 01:52:03 +00:00
Doug Blank
56905cedd8 2007-11-29 Douglas S.Blank <dblank@cs.brynmawr.edu>
* src/ReportBase/__init__.py: import MenuReportOptions
	* src/ReportBase/_ReportOptions.py: import MenuOptions and
	  define MenuReportOptions
	* src/plugins/Calendar.py: get MenuReportOptions from ReportOptions
	* src/plugins/DescendChart.py: ditto
	* src/plugins/AncestorChart.py: ditto
	* src/plugins/GVHourGlass.py: ditto
	* src/plugins/FanChart.py: ditto
	* src/PluginUtils/__init__.py: define MenuToolOptions
	* src/PluginUtils/_MenuOptions.py: Remove circular dependancies



svn: r9433
2007-11-29 15:02:40 +00:00
Doug Blank
d9e043c69b 2007-11-28 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/ReportBase/Makefile.am: removed _MenuOptions.py
	* src/PluginUtils/Makefile.am: added _MenuOptions.py



svn: r9426
2007-11-29 02:00:50 +00:00
Doug Blank
d2be7227f5 * src/ReportBase/_MenuOptions.py: removed/moved to PluginUtils
* src/ReportBase/__init__.py: removed Menu items
	* src/plugins/Calendar.py: uses MenuReportOptions
	* src/plugins/DescendChart.py: uses MenuReportOptions
	* src/plugins/AncestorChart.py: uses MenuReportOptions
	* src/plugins/GVHourGlass.py: uses MenuReportOptions
	* src/plugins/FanChart.py: uses MenuReportOptions
	* src/PluginUtils/__init__.py: imports Menu items

2007-11-28  Douglas S.Blank  <dblank@cs.brynmawr.edu>


svn: r9424
2007-11-28 23:33:40 +00:00
Doug Blank
3a7c546917 2007-11-28 Douglas S.Blank <dblank@cs.brynmawr.edu>
* src/ReportBase/_MenuOptions.py: removed global need for gtk here



svn: r9422
2007-11-28 22:21:18 +00:00
Benny Malengier
f42d1870c5 2007-11-27 Benny Malengier <benny.malengier@gramps-project.org>
* src/ManagedWindow.py: new call_modal method. 
				Reports tools should use that
	* src/GrampsWidgets.py: improve a text string
	* src/plugins/NarrativeWeb.py: use call_modal, trunkate long filter
				names, better placement of selector note/media
	* src/ReportBase/_BareReportDialog.py: reports are modal but not 
				transient, remove bug to make them transient!



svn: r9415
2007-11-27 10:05:24 +00:00
James G Sack
ecfa4aa0c0 add USER_xxx constants to const, use them
svn: r9407
2007-11-26 05:11:19 +00:00
Jérôme Rapinat
30fd8b8604 src/ReportBase/Makefile.am add missing _GraphvizReportDialog reference
svn: r9374
2007-11-20 14:53:49 +00:00
Stéphane Charette
766d9147b8 that'll teach me! -- typo in the typo
svn: r9322
2007-11-08 07:54:20 +00:00
Stéphane Charette
8eab0594bb typos, no functional change
svn: r9321
2007-11-08 07:43:42 +00:00
Doug Blank
4ad174fc44 2007-10-22 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/ReportBase/_MenuOptions.py: Refactored options, GEPS #005



svn: r9231
2007-10-22 04:21:14 +00:00
Brian Matherly
b3fcd5a4f5 Remove unused funtions setup_output_notebook and setup_post_process from the ReportDialog class.
svn: r9224
2007-10-21 04:23:54 +00:00
Doug Blank
c49af9ad43 * src/plugins/Calendar.py: no negative years on calendar (no events show before they occur)
* src/plugins/Calendar.py: uses StringOption in MenuOption
	* src/ReportBase/_MenuOptions.py: adds StringOption (one line text entry)
	* src/ReportBase/__init__.py: adds StringOption



svn: r9175
2007-10-14 01:56:00 +00:00
Don Allingham
d58641415d 2007-10-08 Don Allingham <don@gramps-project.org>
* various: gen.lib integration. probably touches almost every file

	* various: gen.utils integration


svn: r9101
2007-10-08 16:41:39 +00:00
Don Allingham
32d7968365 2007-10-06 Don Allingham <don@gramps-project.org>
* various: creation of gen.db package



svn: r9091
2007-10-07 03:19:35 +00:00
Brian Matherly
d05b0e142e 0001253: Calendar report crashes without margins entered.
svn: r9048
2007-10-01 02:24:36 +00:00
Brian Matherly
7f3d94ae44 Fix typo in GVDoc.py
svn: r9043
2007-09-30 06:52:57 +00:00
Brian Matherly
152a452b2e Added support for new GVDoc interface which makes it easier to write reports that user Graphviz for layout.
svn: r9042
2007-09-30 04:56:56 +00:00
Zsolt Foldvari
faaaf7e858 2007-09-28 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/docgen/CairoDoc.py (fontstyle_to_fontdescription): Fix deprecated
        warning.
        * src/ReportBase/_PaperMenu.py:
        * src/data/papersize.xml:
        Fix "C" and "D" paper size values.
        * src/const.py.in: Correct PAPERSIZE path constant.



svn: r9026
2007-09-28 12:24:27 +00:00
Zsolt Foldvari
8108c3a59e 2007-09-17 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/ReportBase/_ReportDialog.py: Paper settings better handling.
        * src/docgen/GtkPrint.py: Custom size paper name translatable.



svn: r8986
2007-09-17 18:48:29 +00:00
Zsolt Foldvari
2eea9723b9 2007-09-17 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/ReportBase/_MenuOptions.py: Set SVN properties.
        * src/docgen/GtkPrint.py: Round up paper size values received from
        GtkContext.



svn: r8984
2007-09-17 12:36:03 +00:00
Zsolt Foldvari
99777f16b4 2007-09-16 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/ReportBase/_ReportDialog.py:
        * src/glade/paper_settings.glade:
        Enable paper margin entries on report dialog. Still not saved.



svn: r8983
2007-09-16 18:58:24 +00:00
Zsolt Foldvari
b5d073c25c 2007-09-16 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/ReportBase/_ReportDialog.py: Cleanup.
	* src/glade/paper_settings.glade: Remove frames.



svn: r8979
2007-09-16 09:20:23 +00:00
Brian Matherly
817efdf103 Bring the calendar report up to date with the changes in the 3.0 branch. Issue #0001170.
svn: r8978
2007-09-16 03:51:18 +00:00
Zsolt Foldvari
0788ce0479 * src/ReportBase/_ReportDialog.py:
* src/glade/paper_settings.glade:
	Add paper margins to report dialog. (Only GUI is implemented for
	feedback.)
 
2007-09-15  Zsolt Foldvari  <zfoldvar@users.sourceforge.net>


svn: r8977
2007-09-15 21:51:44 +00:00
Zsolt Foldvari
4dab575005 2007-09-15 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/ReportBase/_ReportDialog.py (parse_paper_frame): Fix paper size
	default value in case of exception.



svn: r8976
2007-09-15 21:34:12 +00:00
Don Allingham
a65a73d1d7 * various: const.py changes
2007-09-07  Don Allingham  <don@gramps-project.org>
	* src/DateHandler/_Date_fr.py: fix indentation errors

2007-09-07  Don Allingham  <don@gramps-project.org>


svn: r8948
2007-09-08 05:54:02 +00:00
Brian Matherly
febd6e9ed5 Add MenuOptions class for report options.
svn: r8926
2007-09-05 03:02:50 +00:00
Benny Malengier
9ce50cee93 Quick reports general functionality
svn: r8889
2007-08-29 19:37:58 +00:00
Zsolt Foldvari
e693f56091 2007-08-26 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/ReportBase/_ReportDialog.py (report): Report dialog window is
	closed before report is run.
	* src/glade/printpreview.glade: Added.
	* src/glade/Makefile.am: printpreview.glade added.
	* src/docgen/GtkPrint.py: Preview is getting shape.



svn: r8872
2007-08-26 14:05:34 +00:00
Brian Matherly
33ca7e7df8 Output relationship type correctly in Detailed descendant and ancestor reports (improved)
svn: r8865
2007-08-25 12:35:06 +00:00
Brian Matherly
95ceb4e904 Patch from Robert Cawley. 0001121: Output relationshipo type correctly in Detailed descendant and ancestor reports
svn: r8839
2007-08-20 02:28:41 +00:00
Brian Matherly
c7edf38176 Convert NarrativeWeb report to use PrivateProxyDb.
svn: r8809
2007-08-12 02:42:22 +00:00
Brian Matherly
0960410443 Improve Bibliography and use it in Narrative Web report as well.
svn: r8760
2007-07-23 12:22:03 +00:00
Brian Matherly
0b54846df9 Move superscript from Endnotes to each individual report.
svn: r8751
2007-07-21 13:23:32 +00:00
Don Allingham
f3d39e5f33 2007-07-18 Don Allingham <don@gramps-project.org>
* src/ReportBase/_StyleEditor.py: get rid of Utils.destroy_passed_object
	* src/Utils.py: Remove unused functions
	* src/ScratchPad.py: get_note removal



svn: r8741
2007-07-19 03:48:38 +00:00
Brian Matherly
698934ce67 Translate "Custom Size" string for reports.
svn: r8691
2007-07-03 04:23:21 +00:00
Alex Roitman
953f45ce51 2007-06-30 Alex Roitman <shura@gramps-project.org>
* src/ReportBase/_TemplateParser.py: Close file after parsing.
	* src/ReportBase/_ReportOptions.py (OptionListCollection.parse):
	Close file after parsing.
	* src/ReportBase/_PaperMenu.py: Close file after parsing.
	* src/plugins/BookReport.py (BookList.parse): Close file after parsing.
	* src/Filters/_FilterList.py (load): Close file after parsing.
	* src/BaseDoc.py (StyleSheetList.parse): Close file after parsing.



svn: r8687
2007-06-30 18:58:14 +00:00
Alex Roitman
74ad7b95a4 * src/TreeViews/_PersonTreeView.py: Use name_displayer.
* src/ReportBase/_ReportUtils.py: Use name_displayer.
	* src/ReportBase/_CommandLineReport.py: Use name_displayer.
	* src/ReportBase/_BareReportDialog.py: Use name_displayer.
	* src/PluginUtils/_Tool.py: Use name_displayer.
	* src/plugins/TimeLine.py: Use name_displayer.
	* src/plugins/RelCalc.py: Use name_displayer.
	* src/plugins/ReadGrdb.py: Use name_displayer.
	* src/plugins/NarrativeWeb.py: Use name_displayer.
	* src/plugins/IndivComplete.py: Use name_displayer.
	* src/plugins/GraphViz.py: Use name_displayer.
	* src/plugins/FindDupes.py: Use name_displayer.
	* src/plugins/FamilyGroup.py: Use name_displayer.
	* src/plugins/DetDescendantReport.py: Use name_displayer.
	* src/plugins/DetAncestralReport.py: Use name_displayer.
	* src/plugins/DesGraph.py: Use name_displayer.
	* src/plugins/DescendReport.py: Use name_displayer.
	* src/plugins/DescendChart.py: Use name_displayer.
	* src/plugins/Check.py: Use name_displayer.
	* src/plugins/Ancestors.py: Use name_displayer.
	* src/plugins/AncestorReport.py: Use name_displayer.
	* src/plugins/AncestorChart2.py: Use name_displayer.
	* src/ObjectSelector/_PersonTreeFrame.py: Use name_displayer.
	* src/ObjectSelector/_PersonFrame.py: Use name_displayer.
	* src/Merge/_MergePerson.py: Use name_displayer.
	* src/GrampsDbUtils/_WriteGedcom.py: Use name_displayer.
	* src/GrampsDbUtils/_ReadXML.py: Use name_displayer.
	* src/GrampsDbUtils/_GedcomParse.py: Use name_displayer.
	* src/FilterEditor/_ShowResults.py: Use name_displayer.
	* src/FilterEditor/_EditRule.py: Use name_displayer.
	* src/Editors/_EditPrimary.py: Use name_displayer.
	* src/Editors/_EditPersonRef.py: Use name_displayer.
	* src/Editors/_EditPerson.py: Use name_displayer.
	* src/Editors/_EditName.py: Use name_displayer.
	* src/Editors/_EditLdsOrd.py: Use name_displayer.
	* src/Editors/_EditFamily.py: Use name_displayer.
	* src/DisplayTabs/_PersonRefModel.py: Use name_displayer.
	* src/DisplayTabs/_NameModel.py: Use name_displayer.
	* src/DisplayTabs/_ChildModel.py: Use name_displayer.
	* src/DisplayTabs/_BackRefModel.py: Use name_displayer.
	* src/DisplayModels/_PeopleModel.py: Use name_displayer.
	* src/DisplayModels/_FamilyModel.py: Use name_displayer.
	* src/DataViews/_PersonView.py: Use name_displayer.
	* src/DataViews/_RelationView.py: Use name_displayer.
	* src/DataViews/_PedigreeView.py: Use name_displayer.
	* src/Utils.py: Use name_displayer.
	* src/SubstKeywords.py: Use name_displayer.
	* src/Sort.py: Use name_displayer.
	* src/Reorder.py: Use name_displayer.
	* src/PageView.py (BookMarkView.add_bookmark): Use name_displayer.
	* src/Navigation.py: Use name_displayer.
	* src/DisplayState.py: Use name_displayer.
	* src/GrampsCfg.py: Use name_displayer.
	* src/Bookmarks.py (Bookmarks.make_label): Use name_displayer.
	* src/GrampsDb/Makefile.am (pkgdata_PYTHON): Ship new files.
	* src/Makefile.am (gdir_PYTHON): Ship ProgressDialog.py


svn: r8680
2007-06-28 05:41:40 +00:00
Alex Roitman
6a5dc740a2 Ship new files
svn: r8679
2007-06-28 00:14:21 +00:00
Brian Matherly
bee9c3319c src/ReportBase/_ReportDialog.py: Fix attribute error exceptions.
svn: r8636
2007-06-23 14:28:13 +00:00
Brian Matherly
da83135ac2 src/ReportBase/_ReportDialog.py: Still let REAL exceptions pass through.
svn: r8626
2007-06-22 13:19:52 +00:00
Brian Matherly
dae8c99230 Enhance source endnotes in some text reports.
svn: r8541
2007-06-13 04:13:00 +00:00
Don Allingham
fe0e24310b * configure.in: update Simple/Makefile
* src/Simple/_SimpleAccess.py: Move to Simple package
	* src/Simple/_SimpleDoc.py: Move to Simple package
	* src/Makefile.am: Move to Simple package
	* src/DataViews/_PersonView.py: Simple package support
	* src/plugins/all_events.py: Simple package supprt

2007-05-20  Don Allingham  <don@gramps-project.org>


svn: r8502
2007-05-21 04:07:00 +00:00
Brian Matherly
c020882e40 0001043: Dropdown list in htmloptions in Family Group Report has very large size
svn: r8479
2007-05-16 02:09:04 +00:00
Don Allingham
247e0020ed 2007-05-14 Don Allingham <don@gramps-project.org>
* src/DataViews/_PedigreeView.py: catch errors
	* src/DataViews/_RelationView.py: catch errors
	* src/ReportBase/_ReportDialog.py: catch errors
	* src/ReportBase/_SimpleAccess.py: fix marriage place/date values
	* src/Editors/_EditFamily.py: catch errors
	* src/DisplayTabs/_EmbeddedList.py: catch errors
	* src/plugins/FindDupes.py: catch errors
	* src/plugins/Verify.py: catch errors
	* src/AddMedia.py: fix scale_simple types
	* src/AutoComp.py: pylint fixes
	* src/ImgManip.py: pylint fixes
	* src/LdsUtils.py: new temple types
	* src/DbLoader.py: error types



svn: r8473
2007-05-15 04:17:12 +00:00
Don Allingham
b884474407 svn: r8445 2007-05-08 04:35:14 +00:00
Don Allingham
87764d64c0 2007-05-07 Don Allingham <don@gramps-project.org>
* src/ReportBase/_SimpleDoc.py: add support for tabs
	* src/BaseDoc.py: add support for tabs	
	* src/docgen/TextBufDoc.py: add support for tabs



svn: r8443
2007-05-08 02:56:33 +00:00
Don Allingham
aafae7e1cd svn: r8440 2007-05-07 04:03:04 +00:00
Don Allingham
6e065c407f 2007-05-06 Don Allingham <don@gramps-project.org>
* src/DataViews/_PersonView.py: add quick report
	* src/GrampsDb/_GrampsDbBase.py: use NotImplementedError instead of assertion
	* src/ReportBase/_SimpleAccess.py: added functionality
	* src/RelLib/_MediaObject.py: comments
	* src/RelLib/_Person.py: remove @sort comment
	* src/RelLib/_BasicPrimaryObject.py: 
	* src/plugins/all_events.py: comments
	* src/glade/gramps.glade: clean up width
	* src/gramps_main.py: added docgen to the search path
	* src/docgen/TextBufDoc.py: Added interface



svn: r8439
2007-05-07 03:39:46 +00:00
Don Allingham
9fd30ff3f9 2007-05-01 Don Allingham <don@gramps-project.org>
* src/ReportBase/_SimpleAccess.py: simplifed database access routines



svn: r8433
2007-05-02 04:05:41 +00:00
Brian Matherly
d7423fff15 Divide BaseDoc into BaseDoc, TextDoc and DrawDoc. TextDoc and DrawDoc are abstract interfaces that must be implemented by the corresponding document generators.
svn: r8431
2007-04-30 01:56:34 +00:00
Don Allingham
8cb2469df8 svn: r8423 2007-04-27 04:25:24 +00:00
Brian Matherly
3eebd910d5 Move Graphic Styles, Table Styles and Cell Styles into the StyleSheet class. All report styles are now defined in the "get_default_style()" function.
svn: r8421
2007-04-23 11:46:26 +00:00
Brian Matherly
a8621d50ea 0001012: Private source and private child references shown in narrative website.
svn: r8385
2007-04-15 19:12:57 +00:00
Brian Matherly
698c28f230 Remove "get_newpage()" and "set_newpage()" from the ReportOptions class. They are not really options. The BookReportDialog now takes care of inserting page breaks.
svn: r8339
2007-03-30 02:30:42 +00:00
Brian Matherly
58b1e800ca Remove "parse_report_options_frame()" and "parse_other_frames()" from the report interface. They are not used.
svn: r8330
2007-03-28 03:17:13 +00:00
Brian Matherly
adbf4b1dac Remove "enable_options()" from the report interface. All reports define all their own options. So it is not used.
svn: r8329
2007-03-28 02:47:03 +00:00
Brian Matherly
2151ad9780 Remove the "pagecount" option from the paper menu in the reports. It is not used.
svn: r8325
2007-03-27 12:04:07 +00:00
Brian Matherly
4a6b730259 Remove "get_generations()" from the report options base classes. It was
forcing some reports to have the "page break between generations" options
even though they weren't using it. All reports now define all of their own
options.

svn: r8323
2007-03-27 11:50:26 +00:00
Brian Matherly
dfed629290 Remove get_report_extra_menu_info() from _BareReportDialog as it is not used.
svn: r8317
2007-03-26 04:13:22 +00:00
Brian Matherly
36d29f3592 Remove get_display_format() from _ReportOptions.py. It is no longer used.
svn: r8316
2007-03-25 20:42:39 +00:00
Brian Matherly
7ee6b12070 Remove get_report_filters() function. Let reports define the filter options themselves.
svn: r8315
2007-03-25 20:35:33 +00:00
Brian Matherly
7593dbfe69 src/ReportBase/_ReportDialog.py: don't catch all exceptions - we won't get a traceback.
svn: r8291
2007-03-11 22:21:19 +00:00
Brian Matherly
e463a083a3 * src/plugins/NarrativeWeb.py: Support new note API
* src/ReportBase/_ReportUtils.py: Support new note API

svn: r8287
2007-03-10 04:25:23 +00:00
Brian Matherly
8ab1d729aa * src/plugins/NarrativeWeb.py:
* src/ReportBase/_ReportUtils.py:
Fix 0000956: Event order within GRAMPS not replicated in web report

svn: r8278
2007-03-07 03:15:45 +00:00
Brian Matherly
cd570de9e3 * src/plugins/AncestorChart2.py:
* src/plugins/DescendChart.py:
	Make AncestorChart and DescendChart consistent in options
* src/ReportBase/_BareReportDialog.py: remove get_report_extra_textbox_info
* src/ReportBase/_CommandLineReport.py:
* src/ReportBase/_ReportOptions.py:
	remove dispf

svn: r8263
2007-03-03 03:12:04 +00:00
Brian Matherly
d7d7ed340b * src/BaseDoc.py:
* src/docgen/PSDrawDoc.py:
* src/docgen/SvgDrawDoc.py:
* src/docgen/PdfDoc.py:
* src/docgen/OpenOfficeDoc.py:
* src/docgen/GtkPrint.py:
* src/docgen/LPRDoc.py:
* src/docgen/ODFDoc.py:
* src/plugins/StatisticsChart.py:
* src/plugins/Calendar.py:
* src/ReportBase/_ReportUtils.py:
Remove draw_bar function

svn: r8254
2007-02-27 04:10:43 +00:00
Brian Matherly
5aa3a0f4b0 * src/BaseDoc.py:
* src/ReportBase/_CommandLineReport.py:
* src/ReportBase/_ReportDialgo.py:
* src/docgen/PdfDoc.py:
* src/docgen/OpenOfficeDoc.py:
* src/docgen/ODFDoc.py:
* src/docgen/RDFDoc.py:
* src/docgen/KwordDoc.py:
* src/docgen/PSDrawDoc.py:
* src/docgen/SvgDrawDoc.py:
* src/docgen/HtmlDoc.py:
* src/docgen/AbiWord2Doc.py:
* src/docgen/LaTeXDoc.py:
* src/plugins/BookReport.py:
Add PaperStyle to BaseDoc

svn: r8229
2007-02-24 21:15:21 +00:00
Richard Taylor
70e12c490e Moved NameDisplay into BasicUtils.
svn: r8197
2007-02-20 20:56:48 +00:00
Brian Matherly
f53f1abc21 * src/ReportBase/_PaperMenu.py: rename PaperStyle to PaperSize
* src/docgen/HtmlDoc.py: rename PaperStyle to PaperSize
* src/BaseDoc.py: rename PaperStyle to PaperSize
* src/plugins/Calendar.py: don't use tmargin

svn: r8166
2007-02-19 04:13:41 +00:00
Brian Matherly
e197638418 * src/ReportBase/_Report.py: remove unused progress bar functions
svn: r8141
2007-02-17 14:16:24 +00:00
Brian Matherly
d5077d219a * src/docgen/PSDrawDoc.py: remove draw_wedge from BaseDoc
* src/ReportBase/_ReportUtils.py: remove draw_wedge from BaseDoc
* src/plugins/FanChart.py: remove draw_wedge from BaseDoc
* src/BaseDoc.py: remove draw_wedge from BaseDoc

svn: r8121
2007-02-15 04:07:53 +00:00
Brian Matherly
5b457e10bd * src/docgen/HtmlDoc.py: fix html template loading.
* src/ReportBase/_ReportDialog.py: fix html template loading.

svn: r8119
2007-02-15 03:14:03 +00:00
Brian Matherly
7d48cdfc1e * src/ReportBase/_ReportUtils.py: 0000922: Slight change to estimate_age, and an additional function
svn: r8118
2007-02-15 02:26:18 +00:00
Brian Matherly
2a6e0cb197 Remove the write_at function. Use draw_text instead. Add center_text to SVGDoc
svn: r8089
2007-02-12 04:55:11 +00:00
Zsolt Foldvari
e54cbc8c51 2007-02-11 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/MarkupText.py: added
	* src/DisplayTabs/_NoteTab.py: handling 'rich text' notes
	* src/RelLib/_NoteBase.py: handling 'rich text' notes
	* src/RelLib/_Note.py: handling 'rich text' notes
	* src/GrampsDb/_GrampsBSDDB.py: handling 'rich text' notes
	* src/GrampsDbUtils/_ReadXML.py: handling 'rich text' notes
	* src/GrampsDbUtils/_WriteXML.py: handling 'rich text' notes
	* src/Merge/_MergeSource.py: handling 'rich text' notes
	* src/Merge/_MergePlace.py: handling 'rich text' notes
	* src/Merge/_MergePerson.py: handling 'rich text' notes
	* src/ReportBase/_ReportUtils.py: handling 'rich text' notes
	* src/ViewManager.py: cleanup



svn: r8081
2007-02-10 23:40:48 +00:00
Brian Matherly
2461850cbc * src/ReportBase/_ReportDialog.py: 0000905: Typo in catching exceptions in buggy reports
svn: r8066
2007-02-07 03:59:43 +00:00
Brian Matherly
e36c9fc6d4 * src/plugins/IndivComplete.py: fix source citations (0000867)
* src/ReportBase.py: fix source citations (0000867)

svn: r8020
2007-01-31 03:16:11 +00:00
Don Allingham
a5676edc5f 2007-01-30 Don Allingham <don@gramps-project.org>
* src/ReportBase/_ReportDialog.py: error reporting
	* src/plugins/NarrativeWeb.py: error reporting

	* src/Filters/_SearchBar.py: numlock handling
	* src/Filters/SideBar/_SidebarFilter.py: numlock handling


svn: r8016
2007-01-31 00:02:15 +00:00
Don Allingham
b188dd1796 2007-01-29 Don Allingham <don@gramps-project.org>
* src/ReportBase/_ReportOptions.py: fix landscape saving.



svn: r8006
2007-01-29 16:08:36 +00:00
Don Allingham
736b549910 * src/ReportBase/_ReportOptions.py: (#877) escape XML constructs
* src/BaseDoc.py: escape XML constructs


svn: r8000
2007-01-28 05:08:49 +00:00
Brian Matherly
be857dc7d1 * src/ReportBase/ReportUtils.py: 0000875: _ReportUtils.py has incorrect conversion cm2pt
svn: r7991
2007-01-26 14:55:11 +00:00
Brian Matherly
de6bc22670 * src/docgen/PSDrawDoc.py: 0000869: PostScript print option will crash
* src/ReportBase/__init__.py: 0000869: PostScript print option will crash
* src/ReportBase/_PrintTools.py: 0000869: PostScript print option will crash

svn: r7972
2007-01-24 19:45:57 +00:00
Brian Matherly
1a57769135 * src/ReportBase/_ReportUtils.py: Add function "get_address_str"
* src/plugins/DetDescendantReport.py: Add addresses (0000791)
* src/plugins/DetAncestralReport.py: Add addresses (0000791)
* src/plugins/IndivComplete.py: Add addresses (0000791)
* src/plugins/NarrativeWeb.py: use "get_address_str"
* src/plugins/FamilyGroup.py: use "get_address_str"

svn: r7956
2007-01-23 01:51:33 +00:00
Don Allingham
2406378435 * src/GrampsDb/_GrampsDBCallback.py: sys.getfilesystemencoding()
* src/GrampsDb/_GrampsBSDDB.py: sys.getfilesystemencoding()
	* src/Exporter.py: sys.getfilesystemencoding()
	* src/ReportBase/_FileEntry.py: sys.getfilesystemencoding()
	* src/Editors/_EditMedia.py: sys.getfilesystemencoding()
	* src/DisplayTabs/_SourceEmbedList.py: sys.getfilesystemencoding()
	* src/plugins/WriteCD.py: sys.getfilesystemencoding()
	* src/plugins/WritePkg.py: sys.getfilesystemencoding()
	* src/plugins/Check.py: sys.getfilesystemencoding()
	* src/plugins/EventCmp.py: sys.getfilesystemencoding()
	* src/AddMedia.py: sys.getfilesystemencoding()
	* src/DisplayModels/_BaseModel.py: sys.getfilesystemencoding()
	* src/DateEdit.py: sys.getfilesystemencoding()
	* src/ArgHandler.py: sys.getfilesystemencoding()
	* src/DbLoader.py: sys.getfilesystemencoding()


svn: r7951
2007-01-22 03:56:23 +00:00
Brian Matherly
00765912ee src/ReportBase/_ReportDialog.py: 0000832: Please enable cm/inch toggle in custom size for relationship graph
svn: r7926
2007-01-18 03:05:26 +00:00
Don Allingham
5493631d19 2006-12-31 Don Allingham <don@gramps-project.org>
* src/ReportBase/_ReportDialog.py: add HELP button support
	* src/ReportBase/_BareReportDialog.py: add HELP button support
	* src/plugins/NarrativeWeb.py: add HELP button support



svn: r7862
2006-12-31 23:56:14 +00:00
Don Allingham
aad2755abc 2006-11-25 Don Allingham <don@gramps-project.org>
* src/docgen/ODFDoc.py: don't query mime type for ODT, since some systems
	return only "ODT Document", which is kind of useless. Use OpenDocument Text
	instead.



svn: r7693
2006-11-25 20:16:55 +00:00
Martin Hawlisch
19c431c6dd * src/ReportBase/_ReportUtils: Factor out common code into get_birth_or_fallback() and get_death_or_fallback()
* src/DataViews/_PedigreeView.py: Use get_birth/death_or_fallback()
* src/DataViews/_RelationView.py: Use get_birth/death_or_fallback()
* src/DisplayModels/_PeopleModel.py: Fix EventRoleType call



svn: r7669
2006-11-22 22:30:47 +00:00
Brian Matherly
e6edf76240 * src/plugins/DetDescendantReport.py: Use callname instead of nickname (#0000557)
* src/plugins/DetAncestralReport.py: Use callname instead of nickname (#0000557)
	* src/ReportBase/_ReportUtils.py: Use callname instead of nickname (#0000557)

svn: r7657
2006-11-20 13:16:22 +00:00
Brian Matherly
c263f5bcac * src/plugins/NarrativeWeb.py: Fix 0000543: Multimedia-Objects marked as private are visible in narrative web-report
svn: r7648
2006-11-19 04:40:24 +00:00
Alex Roitman
2e495a8315 In .:
2006-11-18  Alex Roitman  <shura@gramps-project.org>
	* src/ReportBase/_StyleEditor.py (__init__): Translate string.

In po:
2006-11-18  Piotr Czubaszek  <pioterus@gmail.com>
	* pl.po: Translation update.



svn: r7647
2006-11-19 02:51:45 +00:00
Alex Roitman
72403bcdb5 2006-11-03 Alex Roitman <shura@gramps-project.org>
* configure.in: Bump up the version.
	* src/Editors/_EditLdsOrd.py (update_parent_label): Spurious
	translation.
	* src/DataViews/_RelationView.py (write_event_ref): Spurious
	translation.
	* src/ReportBase/_ReportDialog.py (get_header): Spurious
	translation.
	* RELEASE: version 2.2.2 is released.



svn: r7547
2006-11-03 17:05:24 +00:00
Alex Roitman
f7b943fe26 * src/Makefile.am (docmodules): Update.
* src/Filters/Rules/Family/_MemberBase.py: Formatting fixes.
	* src/ReportBase/_ReportUtils.py: Formatting fixes.


svn: r7482
2006-10-29 05:49:50 +00:00
Don Allingham
8a105f8901 2006-10-23 Don Allingham <don@gramps-project.org>
* src/ReportBase/_BareReportDialog.py: declare logger.



svn: r7429
2006-10-24 02:41:02 +00:00
Alex Roitman
82f2d2d69d * src/ReportBase/_BareReportDialog.py (setup_title): Set name to
empty string if no person is available.
	* src/ReportBase/_ReportDialog.py (get_header): Make meaningful
	title for the header when name is empty.


svn: r7381
2006-10-10 00:09:24 +00:00
Brian Matherly
ce5520455f * src/ReportBase/_StyleEditor.py: Make style editor not modal
* src/glade/gramps.glade: Make style editor not modal

svn: r7334
2006-09-28 03:29:23 +00:00
Don Allingham
9c21616e00 * src/ReportBase/_FileEntry.py (FileEntry.select_file): force
a present() to force dialog


svn: r7167
2006-08-13 04:06:12 +00:00
Brian Matherly
a9e03faf98 * src/ReportBase/_ReportUtils.py: fix born_str typo (bug #266)
svn: r7080
2006-07-26 04:08:38 +00:00
Brian Matherly
b6fff67b59 * src/ReportBase/_ReportUtils.py: fix modified birth string (bug # 266).
svn: r7056
2006-07-23 03:50:55 +00:00
Brian Matherly
0f9e40c4f2 * src/plugins/_CommandLineReport.py: missing import - CustomFilters
svn: r7025
2006-07-13 03:51:10 +00:00
Don Allingham
051f992afb 2006-07-04 Don Allingham <don@gramps-project.org>
* various: pyflakes fixes



svn: r6992
2006-07-04 23:38:51 +00:00
Don Allingham
60d21403a7 * src/ReportBase/_ReportDialog.py (report): catch IOError
svn: r6969
2006-06-27 05:12:21 +00:00
Alex Roitman
a734940c05 2006-06-24 Alex Roitman <shura@gramps-project.org>
* src/ReportBase/_ReportDialog.py (report): Handle wm closing.
	* src/plugins/GraphViz.py (GraphVizDialog.__init__): Handle wm
	closing. 
	* src/plugins/NarrativeWeb.py (WebReportDialog.__init__): Handle
	wm closing.



svn: r6964
2006-06-25 02:26:29 +00:00
Don Allingham
2f86415842 svn: r6903 2006-06-16 21:26:44 +00:00
Brian Matherly
7461974e33 * src/ReportBase/_BareReportDialog.py: missing import (Bug #0000180)
svn: r6869
2006-06-07 02:10:35 +00:00
Brian Matherly
848e970ce3 * src/docgen/PSDrawDoc.py: fix imports - make it work
* src/ReportBase/_StyleEditor.py: use ManagedWindow
	* src/ReportBase/_BareReportDialog.py: import StyleEditor
	* src/plugins/BookReport.py: fix "Center Person" display
	* src/plugins/WriteCD.py: fail gracefully without Gnome

svn: r6860
2006-06-04 23:23:10 +00:00
Alex Roitman
1b473c8178 2006-06-04 Alex Roitman <shura@gramps-project.org>
* src/ReportBase/Makefile.am (pkgdata_PYTHON): Remove _BookReport.py
	* src/plugins/Makefile.am (pkgdata_PYTHON): Move BookReport.py



svn: r6857
2006-06-04 18:24:51 +00:00
Brian Matherly
0c008ceb78 various: enhance indexing with IndexMark
svn: r6850
2006-06-03 03:32:26 +00:00
Brian Matherly
1092ef14c4 misc typos
svn: r6845
2006-06-02 04:19:09 +00:00
Alex Roitman
c1c7e1359a * src/ReportBase/_ReportDialog.py (report): Use new report modules
for oddball reports.
	* src/plugins/GraphViz.py: Use new report modules.
	* src/plugins/NarrativeWeb.py: Use new report modules.
	* src/plugins/CountAncestors.py: Use wm and new report modules.
	* src/plugins/Summary.py: Use wm and new report modules.


svn: r6842
2006-06-02 00:40:54 +00:00
Alex Roitman
51f42ca315 2006-06-01 Alex Roitman <shura@gramps-project.org>
* src/ReportBase/_BareReportDialog.py: import FilterComboBox.



svn: r6841
2006-06-02 00:14:41 +00:00
Alex Roitman
196ca399f2 Update
svn: r6834
2006-05-31 23:00:22 +00:00
Alex Roitman
0addd2c59c * src/PluginUtils/_PluginMgr.py: Import MODE_CLI.
* src/ReportBase/_BookFormatComboBox.py: Adapt to changes.


svn: r6831
2006-05-31 19:26:34 +00:00
Alex Roitman
cb63f90caa 2006-05-31 Alex Roitman <shura@gramps-project.org>
* src/Selectors/_SelectPerson.py (__init__): take track argument.
	* src/Editors/_EditFamily.py: Adapt to SelectPerson change.
	* src/Editors/_EditPersonRef.py (_select_person): Adapt to
	SelectPerson change.
	* src/ReportBase/_BareReportDialog.py: Use dbstata and uistate,
	convert to Managed window.
	* src/ReportBase/_ReportDialog.py: Use dbstate and uistate.
	* src/ReportBase/_DrawReportDialog.py: Use dbstate and uistate.
	* src/ReportBase/_TextReportDialog.py: Use dbstate and uistate.
	* src/ViewManager.py (make_report_callback): Use dbstate and uistate.



svn: r6830
2006-05-31 18:26:50 +00:00
Alex Roitman
5310057173 Update
svn: r6829
2006-05-31 06:08:09 +00:00
Alex Roitman
cf2940d514 Update
svn: r6828
2006-05-31 05:57:55 +00:00
Alex Roitman
8b211d50f4 Update
svn: r6826
2006-05-31 03:48:32 +00:00
Alex Roitman
99acb9d02f Update
svn: r6824
2006-05-31 02:41:46 +00:00
Alex Roitman
2e9af64722 Update
svn: r6823
2006-05-31 02:03:29 +00:00
Alex Roitman
f8eb3a2ebb 2006-05-30 Alex Roitman <shura@gramps-project.org>
* POTFILES.in: Change files due to module split.



svn: r6821
2006-05-31 00:57:54 +00:00