Commit Graph

88 Commits

Author SHA1 Message Date
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
Tim Waugh
15b8cb4cc5 2003-12-17 Tim Waugh <twaugh@redhat.com>
* src/plugins/Ancestors.py
        (ComprehensiveAncestorsReport.write_report): No need for separate
        clauses when using write_note, since output is not delayed here.
        (ComprehensiveAncestorsReport.long_notes): Handle pre-formatted
        notes on events.


svn: r2535
2003-12-17 11:24:23 +00:00
Tim Waugh
09810d7787 2003-12-16 Tim Waugh <twaugh@redhat.com>
* src/plugins/Aneestors.py: Use write_note() when appropriate.


svn: r2532
2003-12-16 17:06:52 +00:00
Don Allingham
f648e6c663 * src/plugins/WebPage.py: support for keeping track of options
* src/plugins/TimeLine.py: support for keeping track of options
* src/plugins/RelGraph.py: support for keeping track of options
* src/plugins/IndivSummary.py: support for keeping track of options
* src/plugins/IndivComplete.py: support for keeping track of options
* src/plugins/GraphViz.py: support for keeping track of options
* src/plugins/FtmStyleDescendants.py: support for keeping track of options
* src/plugins/FtmStyleAncestors.py: support for keeping track of options
* src/plugins/FanChart.py: support for keeping track of options
* src/plugins/FamilyGroup.py: support for keeping track of options
* src/plugins/DetAncestralReport.py: support for keeping track of options
* src/plugins/Ancestors.py: support for keeping track of options
* src/plugins/AncestorReport.py: support for keeping track of options
* src/plugins/AncestorChart.py: support for keeping track of options
* src/Utils.py: save key on style mappings


svn: r2295
2003-10-31 01:20:58 +00:00
Don Allingham
84b555b087 * src/docgen/AbiWordDoc2.py: make sure that an object is
an image before attempting to include in in a report
* src/docgen/AbiWordDoc.py: make sure that an object is
an image before attempting to include in in a report
* src/docgen/KwordDoc.py: make sure that an object is
an image before attempting to include in in a report
* src/docgen/LaTeXDoc.py: make sure that an object is
an image before attempting to include in in a report
* src/docgen/OpenOfficeDoc.py: make sure that an object is
an image before attempting to include in in a report
* src/docgen/PdfDoc.py: make sure that an object is
an image before attempting to include in in a report
* src/docgen/RTFDoc.py: make sure that an object is
an image before attempting to include in in a report
* src/plugins/Ancestors.py: make sure that an object is
an image before attempting to include in in a report
* src/plugins/DetAncestralReport.py: make sure that an object is
an image before attempting to include in in a report
* src/plugins/DetDescendantReport.py: make sure that an object is
an image before attempting to include in in a report


svn: r2287
2003-10-27 03:48:13 +00:00
Don Allingham
2f7e44c3bb * src/BaseDoc.py: add init function to BaseDoc to be called after
all graphics formats are defined
* src/docgen/OpenOfficeDoc.py: fix rotate_print and center_print
* src/plugins/AncestorChart.py: support BaseDoc.init
* src/plugins/AncestorReport.py: support BaseDoc.init
* src/plugins/BookReport.py: support BaseDoc.init
* src/plugins/CustomBookText.py: support BaseDoc.init
* src/plugins/DesGraph.py: support BaseDoc.init
* src/plugins/DescendReport.py: support BaseDoc.init
* src/plugins/DetAncestralReport.py: support BaseDoc.init
* src/plugins/DetDescendantReport.py: support BaseDoc.init
* src/plugins/FamilyGroup.py: support BaseDoc.init
* src/plugins/FanChart.py: support BaseDoc.init
* src/plugins/FtmStyleAncestors.py: support BaseDoc.init
* src/plugins/FtmStyleDescendants.py: support BaseDoc.init
* src/plugins/SimpleBookTitle.py: support BaseDoc.init
* src/plugins/Ancestors.py: support BaseDoc.init


svn: r2120
2003-09-13 04:57:30 +00:00
Alex Roitman
f78e8dcc74 * src/PaperMenu.py: Change from TextDoc to BaseDoc.
* src/Report.py: Likewise.
* src/SpreadSheetDoc.py: Likewise.
* src/StyleEditor.py: Likewise.
* src/docgen/OpenSpreadSheet.py: Likewise.
* src/docgen/AbiWord2Doc.py: Likewise.
* src/plugins/AncestorReport.py: Likewise.
* src/plugins/DescendReport.py: Likewise.
* src/plugins/DetAncestralReport.py: Likewise.
* src/plugins/DetDescendantReport.py: Likewise.
* src/plugins/EventCmp.py: Likewise.
* src/plugins/FamilyGroup.py: Likewise.
* src/plugins/FtmStyleAncestors.py: Likewise.
* src/plugins/GraphViz.py: Likewise.
* src/plugins/IndivComplete.py: Likewise.
* src/plugins/IndivSummary.py: Likewise.
* src/plugins/WebPage.py: Likewise.
* src/plugins/Ancestors.py: Likewise.
* src/plugins/CustomBookText.py: Likewise.
* src/BaseDoc.py: Likewise.


svn: r2074
2003-09-02 00:47:09 +00:00
Tim Waugh
07543dbdde 2003-09-01 Tim Waugh <twaugh@redhat.com>
* src/plugins/Ancestors.py: Separate paternal and maternal ancestors
        for easier reading.


svn: r2073
2003-09-01 20:57:51 +00:00
Don Allingham
b5f75c0a77 switch from intl to gettext
svn: r2017
2003-08-17 02:14:33 +00:00
Tim Waugh
b997206104 2003-08-11 Tim Waugh <twaugh@redhat.com>
* src/plugins/Ancestors.py: Use Relationship.get_grandparents_string.


svn: r1990
2003-08-11 17:10:17 +00:00
Tim Waugh
a5c11501bb 2003-07-23 Tim Waugh <twaugh@redhat.com>
* src/plugins/Ancestors.py: More translation bits.  Include
        source author and publication information.


svn: r1924
2003-07-23 13:52:17 +00:00
Tim Waugh
aafca6b2cd 2003-07-22 Tim Waugh <twaugh@redhat.com>
* src/plugins/Ancestors.py: Mark translation strings.


svn: r1922
2003-07-22 17:40:05 +00:00
Tim Waugh
0acc01c46c 2003-07-22 Tim Waugh <twaugh@redhat.com>
* src/plugins/Ancestors.py: Mark the easy translation strings.
        Start tentative work on making the rest translatable.


svn: r1921
2003-07-22 11:53:04 +00:00
Tim Waugh
6afedf0d52 2003-07-22 Tim Waugh <twaugh@redhat.com>
* src/plugins/Ancestors.py: Mark the easy translation strings.


svn: r1920
2003-07-22 11:40:03 +00:00
Tim Waugh
b70d077e8e 2003-07-20 Tim Waugh <twaugh@redhat.com>
* src/plugins/Ancestors.py: Include source notes.  Adjusted default
        styles.


svn: r1904
2003-07-20 12:19:12 +00:00
Alex Roitman
2a33c54618 * src/docgen/OpenOfficeDoc.py (_write_styles_file): Switch paragraph
alignment to "start" and "end" (was "left and "right").
* src/plugins/AncestorReport.py: Change prefixed style name ("AHN-").
Needed because HTML gets confised by ":" in the class name.
* src/plugins/Ancestors.py: Likewise ("AR-").
* src/plugins/DescendReport.py: Likewise ("DR-").
* src/plugins/DetAncestralReport.py: Likewise ("DAR-").
* src/plugins/DetDescendantReport.py: Likewise ("DDR-").
* src/plugins/FtmStyleAncestors.py: Likewise ("FTA-").
* src/plugins/FtmStyleDescendants.py: Likewise ("FTD-").
* src/plugins/FamilyGroup.py: Likewise ("FGR-").
* src/plugins/CustomBookText.py: Likewise ("CBT-").
* src/plugins/SimpleBookTitle.py: Likewise ("SBT-").
* src/plugins/IndivSummary.py: Likewise ("IVS-").
* src/plugins/IndivComplete.py: Likewise ("IDS-").


svn: r1903
2003-07-18 13:43:13 +00:00
Alex Roitman
6431759d5a * src/gramps_main.py (open_example): Fix destination name when copying
files (was directory name).
* doc/gramps-manual/C/gramps-manual.xml: Reflect name change for
Comprehensive Ancestors Report.
* src/plugins/AncestorReport.py: Prefixed style names ("AHN:").
* src/plugins/Ancestors.py: Prefixed style names ("AR:").
* src/plugins/DescendReport.py: Prefixed style names ("DR:").
* src/plugins/DetAncestralReport.py: Prefixed style names ("DAR:").
* src/plugins/DetDescendantReport.py: Prefixed style names ("DDR:").
* src/plugins/FtmStyleAncestors.py: Prefixed style names ("FTA:").
* src/plugins/FtmStyleDescendants.py: Prefixed style names ("FTD:").
* src/plugins/FamilyGroup.py: Prefixed style names ("FGR:").
* src/plugins/CustomBookText.py: Prefixed style names ("CBT:").
* src/plugins/SimpleBookTitle.py: Prefixed style names ("SBT:").
Rename "Copyright string" with "Subtitle string".
* src/plugins/BookReport.py (BookReportDialog.__init__): Finally,
clear the style problem.


svn: r1901
2003-07-18 06:17:28 +00:00
Tim Waugh
c3976a2bc9 2003-07-17 Tim Waugh <twaugh@redhat.com>
* src/plugins/Ancestors.py: Handle unknown genders and missing
        first names.


svn: r1900
2003-07-17 17:15:09 +00:00
Tim Waugh
e1036d8bc9 2003-07-17 Tim Waugh <twaugh@redhat.com>
* src/plugins/Ancestors.py: Include grandchildren's birth dates in
        abbreviated form.


svn: r1898
2003-07-17 11:06:50 +00:00
Tim Waugh
e24e67fc7e 2003-07-17 Tim Waugh <twaugh@redhat.com>
* src/plugins/Ancestors.py: Include other names in the notes.
        Include birth/marriage/death descriptions.


svn: r1897
2003-07-17 10:54:41 +00:00
Tim Waugh
2f274a4b42 2003-07-17 Tim Waugh <twaugh@redhat.com>
* src/plugins/Ancestors.py: Change report name.  Include addresses.
        Better generation headings.  Include nickname.


svn: r1895
2003-07-17 10:00:53 +00:00
Alex Roitman
2bc38a14d9 * src/plugins/BookReport.py (BookReportDialog.make_document):
Move item initialization here (was in make_report).
* src/plugins/DetDescendantReport.py: Remove empty setup().
* src/plugins/AncestorReport.py: Likewise.
* src/plugins/Ancestors.py: Likewise.
* src/plugins/DescendReport.py: Likewise.
* src/plugins/FtmStyleAncestors.py: Likewise.
* src/plugins/FamilyGroup.py: Likewise.
* src/plugins/DetAncestralReport.py: Likewise.


svn: r1874
2003-07-13 00:09:29 +00:00
Alex Roitman
1f45296ff7 * src/Report.py (BareReportDialog.build_style_menu):
Initialize menu to self.style_name;
(ReportDialog.__init__): Set self.style_name to "default"
for standalone reports.
* src/plugins/DetDescendantReport.py: Define self.style_name before
calling Report.BareReportDialog.__init__().
* src/plugins/AncestorReport.py: Likewise.
* src/plugins/Ancestors.py: Likewise.
* src/plugins/DescendReport.py: Likewise.
* src/plugins/FtmStyleAncestors.py: Likewise.
* src/plugins/FtmStyleDescendants.py: Likewise.
* src/plugins/IndivComplete.py: Likewise.
* src/plugins/IndivSummary.py: Likewise.
* src/plugins/FamilyGroup.py: Likewise.
* src/plugins/DetAncestralReport.py: Likewise.


svn: r1861
2003-07-11 03:29:33 +00:00
Alex Roitman
fde4b089f7 Fix styles in book. Switch to tuple of options.
* src/plugins/AncestorReport.py: Fix styles in book.
* src/plugins/Ancestors.py: Fix styles in book.
* src/plugins/DescendReport.py: Fix styles in book.
* src/plugins/FtmStyleAncestors.py: Fix styles in book.
* src/plugins/FtmStyleDescendants.py: Fix styles in book.
* src/plugins/IndivComplete.py: Switch to tuple of options.
* src/plugins/IndivSummary.py: Switch to tuple of options.
* src/plugins/SimpleBookTitle.py: Fix styles in book.
* src/plugins/FamilyGroup.py: Fix styles in book.
* src/plugins/DetAncestralReport.py: Fix styles in book.


svn: r1837
2003-07-07 16:57:27 +00:00
Alex Roitman
19f0183de2 * src/plugins/BookReport.py: Make a list of options from a tuple.
* src/plugins/AncestorReport.py: Register options as a tuple.
* src/plugins/Ancestors.py: Register options as a tuple.
* src/plugins/DescendReport.py: Register options as a tuple.
* src/plugins/FtmStyleAncestors.py: Register options as a tuple.
* src/plugins/FtmStyleDescendants.py: Register options as a tuple.
* src/plugins/IndivComplete.py:  Register options as a tuple.
* src/plugins/IndivSummary.py: Register options as a tuple.
* src/plugins/SimpleBookTitle.py: Register options as a tuple.


svn: r1829
2003-07-06 19:55:45 +00:00
Alex Roitman
7de3319f77 * src/plugins/Ancestors.py: Enable book functionality.
svn: r1823
2003-07-05 23:10:43 +00:00
Tim Waugh
18ea4d6658 2003-07-04 Tim Waugh <twaugh@redhat.com>
* src/plugins/Ancestors.py: Really fixed text style for '(no photo)'.


svn: r1819
2003-07-04 22:16:32 +00:00
Tim Waugh
5616ef7266 2003-06-30 Tim Waugh <twaugh@redhat.com>
* src/plugins/Ancestors.py (generation): Report on the correct
        number of generations (was out by one).  Fixed text style for
        '(no photo)'.


svn: r1806
2003-06-30 14:56:32 +00:00
Tim Waugh
dac160cf68 2003-06-27 Tim Waugh <twaugh@redhat.com>
* src/plugins/Ancestors.py: Include source reference notes.  Made
        source citation optional.  Adjusted styles.


svn: r1794
2003-06-27 11:18:58 +00:00
Tim Waugh
248bdcbc25 2003-06-26 Tim Waugh <twaugh@redhat.com>
* src/plugins/Ancestors.py: Cite sources.


svn: r1787
2003-06-26 22:13:58 +00:00
Tim Waugh
61fb7e9f24 2003-06-26 Tim Waugh <twaugh@redhat.com>
* src/plugins/Ancestors.py: Include notes for principal names.


svn: r1785
2003-06-26 14:30:27 +00:00
Tim Waugh
316c9d9145 2003-06-26 Tim Waugh <twaugh@redhat.com>
* src/plugins/Ancestors.py: Briefly list children from other
        marriages.  Make extra table cells for other spouses.


svn: r1784
2003-06-26 14:13:05 +00:00
Tim Waugh
47f96ba80e 2003-06-25 Tim Waugh <twaugh@redhat.com>
* src/plugins/Ancestors.py: Handle page break option.


svn: r1780
2003-06-25 11:06:42 +00:00
Tim Waugh
d1de4381cb 2003-06-21 Tim Waugh <twaugh@redhat.com>
* src/plugins/Ancestors.py: Better handling of missing photos.


svn: r1767
2003-06-21 08:57:35 +00:00
Tim Waugh
51b0db35fe 2003-06-21 Tim Waugh <twaugh@redhat.com>
* src/plugins/Ancestors.py (event_info): Better handling of strings.


svn: r1766
2003-06-21 08:51:23 +00:00
Tim Waugh
553d22cd4f 2003-06-21 Tim Waugh <twaugh@redhat.com>
* src/plugins/Ancestors.py (person_name): Handle titles and suffices.


svn: r1765
2003-06-21 08:43:48 +00:00
Don Allingham
fa7d837011 * Ancestors.py (AncestorsReport.__init__): Define Photo and
Entry cell styles.


svn: r1736
2003-06-14 13:58:24 +00:00
Don Allingham
71adf538a3 * src/plugins/Ancestors.py: New Ancestors report added
svn: r1726
2003-06-14 01:16:30 +00:00