Erik De Richter
13d6f0b76c
typo
...
svn: r9890
2008-01-18 20:04:41 +00:00
Brian Matherly
07e1529f27
Refactoring the report system. Decouple MenuOptions from the code that displays them. (Book Report is broken and needs to be fixed.)
...
svn: r9875
2008-01-18 05:39:50 +00:00
Brian Matherly
81e521c53b
More refactoring in the report system. More reports use MenuOptions now. BareReportDialog no longer has "center person".
...
svn: r9714
2008-01-05 20:42:05 +00:00
Brian Matherly
bf3900f043
Patch from Raphael Ackermann <raphael.ackermann@gmail.com> -- Fix 0001538: tabs and spaces are mixed in some source files
...
svn: r9713
2008-01-05 20:10:26 +00:00
Brian Matherly
05575ad026
Refactor various aspects of the report system.
...
svn: r9496
2007-12-13 01:52:03 +00:00
Jérôme Rapinat
fc362508e8
src/plugins typo
...
svn: r9335
2007-11-12 13:09:09 +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
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
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
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
4b510b098c
* 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/AncestorChart2.py:
* src/plugins/DescendChart.py:
* src/plugins/StatisticsChart.py:
* src/plugins/TimeLine.py:
Remove height and width from GraphicsStyle
svn: r8237
2007-02-25 21:53:38 +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
Alex Roitman
f1e55e1df0
2006-09-01 Alex Roitman <shura@gramps-project.org>
...
* src/plugins/StatisticsChart.py: Remove cause.
* src/GrampsDb/_WriteXML.py (write_object): Escape path of the files;
(fix): remove control characters.
svn: r7296
2006-09-01 22:57:57 +00:00
Alex Roitman
1cb5f1fa9b
* src/FilterEditor/_FilterEditor.py (close): Override parent's close.
...
* src/Filters/_FilterMenu.py (build_filter_menu,
build_filter_model): Import Custom and System filters when needed.
* src/plugins/Calendar.py (get_filters): Import Custom
filters when needed.
* src/plugins/GraphViz.py (get_report_filters): Import Custom
filters when needed.
* src/plugins/IndivComplete.py (get_report_filters): Import Custom
filters when needed.
* src/plugins/NarrativeWeb.py (get_report_filters): Import Custom
filters when needed.
* src/plugins/StatisticsChart.py (get_report_filters): Import Custom
filters when needed.
* src/plugins/TimeLine.py (get_report_filters): Import Custom
filters when needed.
svn: r7231
2006-08-22 05:28:55 +00:00
Alex Roitman
805a82bcab
* src/plugins/StatisticsChart.py
...
(StatisticsChartOptions.get_report_filters): Add custom filters.
* src/plugins/Calendar.py (FilterWidget.get_filters): Add custom
filters.
* src/plugins/TimeLine.py (TimeLineOptions.get_report_filters):
Add custom filters.
* src/plugins/IndivComplete.py
(IndivCompleteOptions.get_report_filters): Add custom filters.
* src/plugins/NarrativeWeb.py
(WebReportOptions.get_report_filters): Add custom filters.
encoding errors;
(GraphVizOptions.get_report_filters): Add custom filters.
svn: r7048
2006-07-20 00:42:20 +00:00
Don Allingham
2f86415842
svn: r6903
2006-06-16 21:26:44 +00:00
Brian Matherly
f99fbb9fda
* src/plugins/vaious: upgrade to new report interface
...
svn: r6838
2006-06-01 04:39:40 +00:00
Alex Roitman
2dd9893045
* src/Filters/Rules/*: Add object-specific rules.
...
svn: r6529
2006-05-03 06:29:07 +00:00
Alex Roitman
ba42a155b1
* src/GenericFilters.py: Remove.
...
* src/Filters: Move filtering to its own package.
svn: r6521
2006-05-03 01:02:54 +00:00
Alex Roitman
d2698f566a
2006-04-27 Alex Roitman <shura@gramps-project.org>
...
* src/ViewManager.py (ViewManager.build_plugin_menu): Use unique
command-line name for action menu.
* src/plugins/GraphViz.py: Fix report.
* src/PluginUtils/_PluginMgr.py (_register_standalone): Remove
unneeded import.
* src/PluginUtils/_Plugins.py (build_tools_menu, build_report_menu,
build_plugin_menu, by_menu_name): Remove functions already
re-implemented in ViewManager.
* src/plugins/EventCmp.py: Correct button label.
* src/plugins/StatisticsChart.py: Fix report.
svn: r6481
2006-04-28 04:33:28 +00:00
Brian Matherly
d9277db7ee
Remove use of deprecated functions. Supported graphical reports should work now.
...
svn: r6232
2006-03-30 05:15:54 +00:00
Alex Roitman
93add4967a
* various: Use TransUtils.sgettext instead of gettext.gettext to work out stripping the context.
...
svn: r6155
2006-03-16 20:24:27 +00:00
Alex Roitman
6b9d4207ce
* src/Plugins.py, src/PluginMgr.py: Move to ReportUtils.
...
svn: r6133
2006-03-11 01:12:06 +00:00
Alex Roitman
bd67a5ec84
* PluginUtils: Add module with Report and Tool utils.
...
svn: r6121
2006-03-09 20:49:29 +00:00
Alex Roitman
f418f4435a
Remove executable bit
...
svn: r6033
2006-03-02 18:43:00 +00:00
Alex Roitman
2f962b5f96
merge changes from gramps20
...
svn: r5482
2005-12-06 06:38:09 +00:00
Don Allingham
f1b3c2c39f
* various: remove set_date/get_date removal to be replaced by
...
DateHandler calls
svn: r5031
2005-08-06 02:57:37 +00:00
Alex Roitman
895d7e1a53
Merge changes made between 2.0.3 and 2.0.5
...
svn: r4911
2005-07-08 20:24:54 +00:00
Alex Roitman
d7ce524379
Merge from 2.0.1
...
svn: r4666
2005-05-24 13:08:06 +00:00
Alex Roitman
2a77676b36
Merge changes made in gramps20 into HEAD
...
svn: r4549
2005-05-11 14:04:47 +00:00
Eero Tamminen
c6ce98c899
better variable name
...
svn: r4320
2005-04-07 20:06:39 +00:00
Martin Hawlisch
4abe4ea4be
* src/plugins/TestcaseGenerator.py: Small changes to family generation
...
* src/plugins/StatisticsChart.py: Added statistics for Surnames, Number of Families and Event Types
svn: r4278
2005-04-01 20:32:06 +00:00
Eero Tamminen
8b9747c7eb
Fix StatisticsChart.py date object checking
...
svn: r4048
2005-02-18 19:22:06 +00:00
Eero Tamminen
670b90d3ab
better colors for pies
...
svn: r4018
2005-02-02 20:50:14 +00:00
Don Allingham
6463227a6e
* various: Change Person.male, Person.female, and Person.unkwown
...
to Person.MALE, Person.FEMALE and Person.UNKNOWN
* gramps.spec.in: bring up to date, support Fedora Core and Mandrake
* src/plugins/NavWebPage.py: Start of the Narrative Web Page plugin
svn: r4008
2005-02-01 03:46:29 +00:00
Alex Roitman
f7daf18f5d
* src/ReportUtils.py (born_died_str,married_str): Use NameDisplay
...
to properly display names; (get_birth_death_strings, child_str,
born_str, died_str, buried_str): Add functions; (draw_legend): Use
correct style for the legend text, using write_at().
* src/docgen/OpenOffice.org (write_at): Accept paragraph style name.
* src/docgen/LPRDoc.org (draw_bar): Properly draw and use color
for the bar; (write_at): Correctly transform coordinates.
* src/plugins/StatisticsChart.py: Replace tabs with spaces.
svn: r4005
2005-01-31 05:31:30 +00:00
Eero Tamminen
19dd2dccb0
Added Pie chart support to StatisticsChart plugin
...
svn: r3989
2005-01-29 20:41:22 +00:00
Eero Tamminen
c4871857fe
Add 5 new statistics to StatisticsChart.py plugin
...
svn: r3988
2005-01-29 17:11:02 +00:00
Eero Tamminen
e92157a658
made cli report name consistent with naming of other reports
...
svn: r3962
2005-01-25 20:24:25 +00:00
Eero Tamminen
fc4502f33d
fix StatisticsChart.py chart output, improve code
...
svn: r3961
2005-01-25 19:56:23 +00:00
Alex Roitman
73f958b915
* src/Report.py: Fix adding styles and calling doc.init().
...
* src/BaseDoc.py: Restructure header; Replace tabs with spaces.
* src/plugins/AncestorChart.py (calc): Remove doc.init() call.
* src/plugins/AncestorChart2.py (calc): Remove doc.init() call.
* src/plugins/Ancestors.py (define_table_styles): Add method.
* src/plugins/FamilyGroup.py (define_table_styles): Add method.
* src/plugins/FanChart.py (define_graphics_styles): Add method.
* src/plugins/FtmStyleDescendants.py (define_table_styles):
Add method.
* src/plugins/FtmStyleAncestors.py: Minor cleanups
* src/plugins/IndivComplete.py (define_table_styles): Add method.
* src/plugins/IndivSummary.py (define_table_styles): Add method.
* src/plugins/Partition.py: Remove from CVS.
* src/plugins/StatisticsChart.py (define_graphics_styles):
Add method.
* src/plugins/TimeLine.py (define_graphics_styles): Add method.
svn: r3948
2005-01-24 16:33:47 +00:00
Eero Tamminen
17fef1ebc6
Complete refactoring of the Extract class
...
svn: r3946
2005-01-22 21:46:55 +00:00
Eero Tamminen
a1509e8f81
preliminary multiple statistics chart support
...
svn: r3945
2005-01-21 21:55:10 +00:00
Eero Tamminen
5daaef4675
added a few TODOs
...
svn: r3943
2005-01-21 19:05:37 +00:00
Alex Roitman
660028889a
* src/Utils.py (roman, pt2cm, cm2pt): Remove functions.
...
* src/ReportUtils.py (roman): Add function.
* src/docgen/OpenOfficeDoc.py (pt2cm): Remove function.
* src/docgen/PSDrawDoc.py (pt2cm): Remove function.
* src/plugins/AncestorChart2.py: Use ReportUtils.
* src/plugins/AncestorChart.py: Use ReportUtils.
* src/plugins/DesGraph.py: Use ReportUtils.
* src/plugins/FanChart.py: Use ReportUtils.
* src/plugins/StatisticsChart.py: Use ReportUtils.
* src/plugins/TimeLine.py: Use ReportUtils.
svn: r3937
2005-01-19 04:47:36 +00:00
Alex Roitman
f89ee71f28
* src/plugins/GraphViz.py: Restore "Place/cause when no date"
...
option that was available before in RelGraph; rename 'show
family nodes' into 'sfn'.
* src/plugins/StatisticsChart.py: Rename 'sort' into 'sortby'.
svn: r3913
2005-01-15 05:51:48 +00:00
Alex Roitman
99eb6c0e88
Update
...
svn: r3903
2005-01-11 23:01:54 +00:00
Eero Tamminen
b4c0e9df90
fixes to StatisticsChart
...
svn: r3901
2005-01-11 20:31:51 +00:00
Alex Roitman
a70bf6bf46
More fixes
...
svn: r3894
2005-01-11 03:17:56 +00:00
Alex Roitman
5eeb9e9050
* src/plugins/StatisticsChart.py: Misc fixes.
...
svn: r3893
2005-01-11 02:19:29 +00:00