Commit Graph

72 Commits

Author SHA1 Message Date
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