Raphael Ackermann
90f883e46d
2008-02-18 Raphael Ackermann <raphael.ackermann@gmail.com>
...
* src/* 143 files
* test/try_tree_model.py
* windows/nsis/gcheck.py
imports cleanup
svn: r10055
2008-02-18 20:07:09 +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
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
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
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
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
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
e543bef596
* src/docgen/PSDrawDoc.py: Fix center_text and draw_bar
...
svn: r8099
2007-02-13 04:34:01 +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
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
Don Allingham
4bb46152db
2006-07-23 Manfred Paulus <manfred.paulus@gmx.de>
...
* src/BaseDoc.py: fix angle calculation
* src/docgen/PSDrawDoc.py: fix angle calculation
svn: r7063
2006-07-23 23:16:21 +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
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
5848cf17b2
* src/docgen/PSDrawDoc.py: Use ReportUtils.pt2cm.
...
* src/docgen/OpenOfficeDoc.py: Use ReportUtils.pt2cm.
* src/docgen/ODFDoc.py: Use ReportUtils.pt2cm.
svn: r6858
2006-06-04 18:27:50 +00:00
Brian Matherly
0c008ceb78
various: enhance indexing with IndexMark
...
svn: r6850
2006-06-03 03:32:26 +00:00
Alex Roitman
8b211d50f4
Update
...
svn: r6826
2006-05-31 03:48:32 +00:00
Brian Matherly
1d225c91db
Add name keys for indexing in reports
...
svn: r6809
2006-05-29 02:52:14 +00:00
Alex Roitman
57d6df04c9
* various: Revert back to using gettext except for the modules that need context -- those will use TransUtils.sgettext
...
svn: r6282
2006-04-06 22:02:46 +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
2f962b5f96
merge changes from gramps20
...
svn: r5482
2005-12-06 06:38:09 +00:00
Alex Roitman
8ee891bee7
* src/docgen/PSDrawDoc.py (rgb_color): Remove function, import it
...
from ReportUtils instead.
* src/ReportUtils.py (rgb_color): Add function.
* src/docgen/PdfDoc.py: Use rgb_color from ReportUtils.
* src/docgen/LPRDoc.py: Use rgb_color from ReportUtils.
svn: r4070
2005-02-22 01:59:28 +00:00
Alex Roitman
60e01abcdd
* src/docgen/PSDrawDoc.py (draw_text,write_at):
...
Attempt latin1 encoding.
svn: r4069
2005-02-22 01:45:52 +00:00
Alex Roitman
e983226112
* src/docgen/LPRDoc.py (write_at): Correct vertical offset.
...
* src/docgen/PdfDoc.py (write_at,draw_bar): Add functions.
* src/docgen/PSDrawDoc.py (write_at): Add function;
(draw_bar): Support for filling with color.
* src/ReportUtils.py (draw_legend): Correct vertical offset.
svn: r4045
2005-02-18 01:10:25 +00:00
Don Allingham
c39b6ba091
* src/ReportUtils.py: added estimate_age and sanitize_person
...
* src/BaseDoc.py: Add checks attempting to add styles after initializing
the document
* src/docgen/OpenOfficeDoc.py: add init assertions
* src/docgen/PSDrawDoc.py: fix line style in boxes
* src/docgen/SvgDrawDoc.py: fix line style in boxes
* src/ReportUtils.py: added documentation
svn: r3942
2005-01-20 04:11:13 +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
Don Allingham
40559041d3
* src/Plugins.py: move non-gui functions to PluginMgr.py
...
* src/PluginMgr.py: Non-gui functions for plugins
* src/Makefile.am: Added PluginMgr.py
* various: switch from Plugins to PluginMgr
svn: r3866
2005-01-05 05:02:19 +00:00
Tim Waugh
71e20a6585
2004-09-14 Tim Waugh <twaugh@redhat.com>
...
* src/docgen/PSDrawDoc.py (PSDrawDoc.__init__): Fixed base method
call (missing parameter).
* src/docgen/SvgDrawDoc.py (SvgDrawDoc.__init__): Likewise.
svn: r3542
2004-09-14 13:00:35 +00:00
Don Allingham
384a6c0fae
* src/plugins/FilterEditor.py: handle unicode characters
...
* src/PeopleStore.py: handle corrupt iter
* src/GenericFilter.py: handle unicode
* src/docgen/PSDrawDoc.py: handle iso-8859-1 characters
svn: r2664
2004-01-20 03:57:19 +00:00
Don Allingham
0718510e0a
* src/docgen/AbiWord2Doc.py: pychecker fixes
...
* src/docgen/HtmlDoc.py: pychecker fixes
* src/docgen/KwordDoc.py: pychecker fixes
* src/docgen/LaTeXDoc.py: pychecker fixes
* src/docgen/OpenOfficeDoc.py: pychecker fixes
* src/docgen/OpenSpreadSheet.py: pychecker fixes
* src/docgen/PSDrawDoc.py: pychecker fixes
* src/docgen/PdfDoc.py: pychecker fixes
* src/docgen/SvgDrawDoc.py: pychecker fixes
* src/plugins/Ancestors.py: pychecker fixes
* src/plugins/BookReport.py: pychecker fixes
* src/plugins/CustomBookText.py: pychecker fixes
* src/plugins/DescendReport.py: pychecker fixes
* src/plugins/DetAncestralReport.py: pychecker fixes
* src/plugins/DetDescendantReport.py: pychecker fixes
* src/plugins/FtmStyleAncestors.py: pychecker fixes
* src/plugins/IndivComplete.py: pychecker fixes
* src/plugins/ReadPkg.py: pychecker fixes
* src/plugins/RelCalc.py: pychecker fixes
* src/plugins/SimpleBookTitle.py: pychecker fixes
* src/plugins/TimeLine.py: pychecker fixes
* src/plugins/WriteCD.py: pychecker fixes
* src/plugins/WriteFtree.py: pychecker fixes
* src/plugins/rel_de.py: pychecker fixes
* src/GenericFilter.py: pychecker fixes
* src/RelLib.py: pychecker fixes
* src/Report.py: pychecker fixes
* src/SelectPerson.py: pychecker fixes
* src/gramps_main.py: pychecker fixes
svn: r2634
2004-01-13 05:05:39 +00:00
Don Allingham
6e8c2876a3
* src/docgen/PSDrawDoc.py: Scaleable shadow
...
* src/docgen/OpenOfficeDoc.py: Scaleable shadow
* src/docgen/KwordDoc.py (KwordDoc.close): handle KWord mime type
* src/grampslib_wrap.c: handle NULL pointers
svn: r2614
2004-01-09 03:16:48 +00:00
Don Allingham
e374f8132b
* src/docgen/SvgDrawDoc.py: use proper init parameters for BaseDoc
...
* src/docgen/PSDrawDoc.py: use proper init parameters for BaseDoc
* src/docgen/OpenOfficeDoc.py: handle rotation of text better
* src/Report.py: Proper init sequence for BaseDoc derived reports
svn: r2125
2003-09-14 04:50:44 +00:00
Don Allingham
2013aa79f2
* src/docgen/PSDrawDoc.py: Change from Text/DrawDoc to BaseDoc
...
* src/docgen/SvgDrawDoc.py: Change from Text/DrawDoc to BaseDoc
svn: r2076
2003-09-02 02:56:42 +00:00
Don Allingham
ebdc5fbcc3
switch from intl to gettext
...
svn: r2017
2003-08-17 02:14:33 +00:00
Tim Waugh
a5ee260def
2003-08-05 Tim Waugh <twaugh@redhat.com>
...
* src/Report.py, src/TextDoc.py, src/DrawDoc.py: Adjusted the way
that 'Print Report' is handled.
* src/docgen/OpenOfficeDoc.py, src/docgen/PSDrawDoc.py: Likewise.
* src/plugins/AncestorChart.py: Undo previous change to do with
printing reports.
svn: r1962
2003-08-05 17:01:47 +00:00
Tim Waugh
3cdc0261ef
2003-07-28 Tim Waugh <twaugh@redhat.com>
...
* src/Report.py, src/TextDoc.py, src/DrawDoc.py: More support for
making printable output formats.
* src/docgen/PSDrawDoc.py, src/docgen/PdfDrawDoc.py: Make these
output formats printable.
svn: r1936
2003-07-28 17:20:18 +00:00
Don Allingham
cf54cbc309
pychecker fixes
...
svn: r1750
2003-06-16 04:57:25 +00:00
Don Allingham
cec9010812
* src/DrawDoc.py: support for drawing wedges and rotated text
...
* src/docgen/PSDrawDoc.py: postscipt support for wedges and rotated text
* src/docgen/PdfDrawDoc.py: PDF support for wedges and rotated text
* src/docgen/SvgDrawDoc.py: SVG support for wedges and rotated text
* src/docgen/OpenDrawDoc.py: OpenOffice support for wedges and rotated text
* src/plugins/FanChart.py: Fan chart report
* src/GenericFilter.py: rewrote IsAncestorOf and IsDescendantOf rules
to be more efficient and to properly handle loop detection.
* src/RelLib.py: Added the getValidDeath and getValidBirth methods to
the Person class
* src/plugins/WebPage.py: Handle filter errors
* src/docgen/OpenOfficeDoc.py: pass non-unicode names to zipfile
svn: r1716
2003-06-13 04:00:24 +00:00
Don Allingham
4630bb94eb
* src/docgen/PdfDrawDoc.py: Support for rotated text and wedges
...
* src/docgen/PSDrawDoc.py: Support for rotated text and wedges
svn: r1692
2003-06-11 02:59:01 +00:00
Don Allingham
4247f38dbb
Change file extentions in reports when different filetype is chosen
...
svn: r1534
2003-05-16 01:49:50 +00:00
Don Allingham
a67cd53b35
Reports handle file extensions and check for existing file.
...
svn: r1462
2003-04-18 04:15:42 +00:00
Don Allingham
1c18c6a3f0
Drawing improvements
...
svn: r1290
2003-02-08 23:44:44 +00:00
Don Allingham
49aaabcbdc
Report updates
...
svn: r1288
2003-02-08 17:28:41 +00:00
Don Allingham
4d69982b87
Image fixes
...
svn: r1286
2003-02-05 13:53:00 +00:00
Don Allingham
0aa3cce886
Image handling fixes
...
svn: r1284
2003-02-03 19:24:27 +00:00
Don Allingham
38b9ab596f
Drawdoc cleanup
...
svn: r1277
2003-01-31 04:28:39 +00:00
Don Allingham
16fa3b0b8f
keyword substituion in HTML documents
...
svn: r1274
2003-01-29 03:06:51 +00:00
Don Allingham
af7a07d49d
Import fixes/pychecker fixes
...
svn: r1256
2003-01-15 05:25:50 +00:00
Don Allingham
efd7282292
Surname prefix support, landscape support for SVG and PS
...
svn: r1215
2002-12-01 03:40:47 +00:00