Commit Graph

25 Commits

Author SHA1 Message Date
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
3c91c0f1b6 * src/plugins/BookReport.py (BookReportDialog.__init__): Do not
* src/plugins/FtmStyleDescendants.py (FtmDescendantReport.__init__):
* src/plugins/IndivComplete.py (IndivComplete.__init__): Likewise.
* src/plugins/IndivSummary.py (IndivSummary.__init__): Likewise.


svn: r1859
2003-07-11 02:52:59 +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
Don Allingham
445cf6e4d8 * src/plugins/FtmStyleDescendants.py: handle missing "endnotes"
svn: r1801
2003-06-29 14:38:50 +00:00
Don Allingham
d97f62782b * src/docgen/PdfDoc.py: handle page break
* src/plugins/BookReport.py: move book report to its own category,
handle page break properly
* src/plugins/FtmStyleAncestors.py: handle book improvements
* src/plugins/FtmStyleDescendants.py: handle book improvements
* src/plugins/IndivSummary.py: handle book improvements, rename
document styles


svn: r1774
2003-06-25 03:35:44 +00:00
Alex Roitman
1b85923e09 * src/plugins/FtmStyleAncestors.py, src/plugins/FtmStyleDescendants.py:
Remove options_dialog function -- it is not nedded anymore.


svn: r1751
2003-06-16 13:50:10 +00:00
Alex Roitman
9b23b01451 * src/docgen/HtmlDoc.py: Properly build style declaration.
* src/plugins/FtmStyleDescendants.py: Setup before opening.


svn: r1721
2003-06-13 16:17:45 +00:00
Alex Roitman
3fea9c7a0c * src/Plugins.py: Add more values for book item registration.
* src/plugins/FtmStyleDescendants.py: Comply with book changes.
* src/plugins/FtmStyleAncestors.py: Likewise.
* src/plugins/BookReport.py: Rewrite most of the code using new classes:
BookItem, Book, BookList, BookParser, BookListDisplay. Add
open/save/edit functionality.
* src/plugins/book.glade: Add new dialog for BookListDisplay. Also add
a text entry field for saving book and new buttons: Open, Edit, Save.


svn: r1706
2003-06-11 04:39:53 +00:00
Alex Roitman
52e494be76 * src/plugins/BookReport.py, src/plugins/FtmStyleDescendants.py,
src/plugins/FtmStyleAncestors.py: Further work on option handling.
Start parse/save cycle.


svn: r1681
2003-06-10 04:49:39 +00:00
Alex Roitman
c32afb7470 * src/Plugins.py: Register book items with options and style instead
of the functions get_options and get_style.
* src/plugins/BookReport.py, src/plugins/FtmStyleDescendants.py,
src/plugins/FtmStyleAncestors.py: Change from functions to values,
accordingly. Also switch to a proper use of dialog.run().


svn: r1678
2003-06-09 22:39:56 +00:00
Alex Roitman
34f42ec646 * src/Report.py: De-uglify center_person frame.
* src/plugins/BookReport.py: Add a center person column to a book
* src/plugins/FtmStyleDescendants.py: Get the style right.


svn: r1674
2003-06-08 20:32:17 +00:00
Alex Roitman
00eb8ef198 * src/Report.py, src/plugins/BookReport.py,
src/plugins/FtmStyleDescendants.py: Fix changing center person -- only
remember change if OK was clicked.


svn: r1673
2003-06-08 06:19:54 +00:00
Alex Roitman
b19034763d * src/Report.py: Clean up the split into BareReportDialog and
ReportDialog classes.
* src/Plugins.py: Enable book item registration.
* src/plugins/BookReport.py: lots of changes -- trying to get it work.
* src/plugins/FtmStyleDescendants.py: book item functionality.


svn: r1671
2003-06-07 23:38:13 +00:00
Alex Roitman
aa57665c07 * src/plugins/FtmStyleAncestor.py (apply_filter):
Fixed generation condition.
* src/plugins/FtmStyleDescendants.py (write_report):
Do not print children if the current generation is the last.
* src/plugins/DetDescendantReport.py (filter):
Make it apply_filter, clean up and make shorter, modify numbering
algorithm so that no gaps occur in people's indices.


svn: r1649
2003-06-03 19:48:33 +00:00
Alex Roitman
10b974bae6 * src/plugins/FtmStyleAncestor.py (print_more_about,print_notes):
Change to regular name instead of formal name.
* src/plugins/FtmStyleDescendants.py (print_more_about):
Likewise.
* src/plugins/FtmStyleDescendants.py (print_children):
Table name includes only family id.


svn: r1645
2003-06-03 16:13:05 +00:00
Alex Roitman
45d3413028 * src/plugins/FtmStyleDescendants.py (print_children):
End children's table only if it was started.


svn: r1637
2003-06-02 19:55:53 +00:00
Alex Roitman
ce12a00898 * src/plugins/DetDescendantReport.py
(DetDescendantReport.write_marriage):
Missing value for the format line parameter

* src/plugins/FtmStyleDescendants.py
(FtmDescendantReport.print_more_about): Print regular name in the
header of the "More About" dialog. Also add missing endnotes value.
(FtmDescendantReport.print_parents): Fix a typo in a format line value.


svn: r1623
2003-06-02 03:44:47 +00:00
Alex Roitman
2de702052c Typo
svn: r1596
2003-05-27 18:06:45 +00:00
Alex Roitman
ba83e6c767 Removing redundant strings
svn: r1595
2003-05-27 17:18:01 +00:00
Don Allingham
ea3423f181 Catch loops in filters
svn: r1583
2003-05-23 04:08:03 +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
Alex Roitman
ab2caa2422 Minor cleanups
svn: r1513
2003-05-10 20:55:40 +00:00
Alex Roitman
1696c41ca5 Almost done
svn: r1512
2003-05-10 06:18:34 +00:00
Alex Roitman
9af70c93a4 Initial mock-up, needs work
svn: r1505
2003-05-08 02:39:39 +00:00