Commit Graph

30 Commits

Author SHA1 Message Date
Alex Roitman
ac6ccd0adc * 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
33a41ef87f * src/docgen/PSDrawDoc.py (draw_text,write_at):
Attempt latin1 encoding.


svn: r4069
2005-02-22 01:45:52 +00:00
Alex Roitman
9ba1e69000 * 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
8e813388e5 * 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
ff42dac0d1 * 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
e7569e2671 * 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
dc9c4b26bc 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
79e0c69dde * 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
730e6fc24a * 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
02be6b99f1 * 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
efbbbf3823 * 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
421c8abb17 * 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
b5f75c0a77 switch from intl to gettext
svn: r2017
2003-08-17 02:14:33 +00:00
Tim Waugh
022508637d 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
51dc19df04 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
f323b7cf80 pychecker fixes
svn: r1750
2003-06-16 04:57:25 +00:00
Don Allingham
9c43834a21 * 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
374e418735 * 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
f17265cf9e Change file extentions in reports when different filetype is chosen
svn: r1534
2003-05-16 01:49:50 +00:00
Don Allingham
50c4ca4107 Reports handle file extensions and check for existing file.
svn: r1462
2003-04-18 04:15:42 +00:00
Don Allingham
dae5e3548e Drawing improvements
svn: r1290
2003-02-08 23:44:44 +00:00
Don Allingham
d2ef898a2d Report updates
svn: r1288
2003-02-08 17:28:41 +00:00
Don Allingham
7c398503c5 Image fixes
svn: r1286
2003-02-05 13:53:00 +00:00
Don Allingham
c76676a3b1 Image handling fixes
svn: r1284
2003-02-03 19:24:27 +00:00
Don Allingham
9c025ea71b Drawdoc cleanup
svn: r1277
2003-01-31 04:28:39 +00:00
Don Allingham
8bf2913518 keyword substituion in HTML documents
svn: r1274
2003-01-29 03:06:51 +00:00
Don Allingham
9b28f6263f Import fixes/pychecker fixes
svn: r1256
2003-01-15 05:25:50 +00:00
Don Allingham
1ec6b99059 Surname prefix support, landscape support for SVG and PS
svn: r1215
2002-12-01 03:40:47 +00:00
Don Allingham
b6926fa77b UTF-8 support for translations, clean up gettext, improved gallery handling
svn: r1204
2002-11-25 04:30:36 +00:00
Don Allingham
0ca0ae439e Initial revision
svn: r1140
2002-10-20 14:25:16 +00:00