Commit Graph

32 Commits

Author SHA1 Message Date
Alex Roitman
73fcaec440 * src/SourceView.py: Correct behavior for right-click popup menu.
* src/EditPerson.py: Likewise.
* src/FamilyView.py: Likewise.
* src/ImageSelect.py: Likewise.
* src/PedView.py: Likewise.
* src/PlaceView.py: Likewise.
* src/plugins/BookReport.py: Likewise.
* src/PeopleView.py: Likewise.


svn: r2270
2003-10-20 02:47:03 +00:00
Alex Roitman
081d437873 * src/plugins/BookReport.py (BookReportSelector.__init__):
Use underline for labels.
* src/plugins/book.glade: Rework the dialog's layout.


svn: r2189
2003-10-02 03:46:09 +00:00
Don Allingham
9719ea83ee * 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


svn: r2119
2003-09-13 04:56:04 +00:00
Alex Roitman
8d2c37f2b4 (SimpleBookTitle.write_report): Insert image only if it is passed.
Set empty object_id to "" (was None).
* src/plugins/BookReport.py (BookReportSelector.open_book):
Don't displpay person name for special items (title).


svn: r2111
2003-09-10 03:05:14 +00:00
Alex Roitman
9e6a19860e * src/plugins/BookReport.py (BookList.save): Write encoding.
* src/plugins/FilterEditor.py (MyBoolean): Add class.
(FilterEditor.edit_rule): Implement Inclusive option.
* src/GenericFilter.py: Add categories and descriptions. Implement
Inclusive option.


svn: r2093
2003-09-05 04:38:43 +00:00
Alex Roitman
63d16e3085 * src/plugins/BookReport.py (BookList.save): Enable saving options
which are lists;
(BookParser.startElement, BookParser.endElement): Enable parsing
options which are lists.


svn: r2078
2003-09-02 02:59:19 +00:00
Alex Roitman
18af30c015 Update
svn: r2057
2003-08-29 04:14:59 +00:00
Alex Roitman
f85214c358 * src/docgen/LaTeXDoc.py: Do not register as a book format (have to
support both text and graphics).
* src/plugins/AncestorChart.py:  Minor code cleanup.
* src/plugins/BookReport.py: Add context menus to the dialog.
* src/FamilyView.py: Properly refer to gtk stock items.
* src/gramps_main.py: Likewise.


svn: r2056
2003-08-29 03:08:02 +00:00
Alex Roitman
704bce3232 * src/plugins/AncestorChart.py: Change from TextDoc and DrawDoc to
BaseDoc. Enable Book item functionality.
* src/plugins/SimpleBookTitle.py: Change from TextDoc to BaseDoc.
* src/plugins/BookReport.py: Likewise.
* src/plugins/FtmStyleDescendants.py: Likewise.


svn: r2049
2003-08-26 04:07:00 +00:00
Don Allingham
b5f75c0a77 switch from intl to gettext
svn: r2017
2003-08-17 02:14:33 +00:00
Lars Lundin
a082df7773 * src/plugins/BookReport.py: Fixed typo (containg).
* src/plugins/FtmStyleAncestors.py, src/plugins/FtmStyleDescendants.py:
Fixed typo (death_endotes).


svn: r1966
2003-08-07 08:53:22 +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
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
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
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
b8bdcbdb3c Minor corrections
svn: r1824
2003-07-05 23:11:44 +00:00
Alex Roitman
99c1a83cd8 Update
svn: r1822
2003-07-05 21:50:23 +00:00
Alex Roitman
f3171ecdf4 * src/plugins/BookReport.py (BookReportSelector.__init__):
Enable translation for interface strings,
* src/plugins/BookReport.py (BookReportDialog.get_stylesheet_savefile):
Add this function to form sane filename for the output.
* src/plugins/SimpleBookTitle.py: Add configurable title and copyright.


svn: r1820
2003-07-05 18:25:25 +00:00
Don Allingham
deada04e03 * src/DisplayTrace.py: identify more linux versions
* src/gramps_main.py: fix callbacks for reports
* src/plugins/ReorderIds.py: handle integers larger that 32bit
* src/Plugins.py: keep a separate lists for formats that support
the book format
* src/docgen/PdfDoc.py: register as a format supporting books
* src/docgen/OpenOfficeDoc.py: register as a format supporting books
* src/plugins/BookReport.py: Support different lists for books


svn: r1804
2003-06-30 03:12:22 +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
91d97c122d Remove options_dialog function as it is not nedded anymore.
* src/plugins/BookReport.py: Add lots of doc strings.


svn: r1753
2003-06-16 16:29:35 +00:00
Alex Roitman
ff0b84fd61 * src/plugins/BookReport.py (Book.pop_item): Add missing return
statement.
* src/plugins/BookReport.py (BookReportSelector.open_book):
Add a warning if the database for the book is not the same as current.


svn: r1709
2003-06-11 22:33:01 +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
17a7288371 * src/plugins/BookReport.py, src/plugins/FtmStyleDescendants.py:
Minor fixes.
* src/plugins/book.glade: Add Open and Save buttons.
* src/plugins/FtmStyleAncestors.py: Enable book item functionality.


svn: r1676
2003-06-09 00:07:31 +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
5e784971ce * src/Report.py: Split ReportDialog into BareReportDialog and
its subclass of ReportDialog. BareReportDialog has nothing to do with
the paper, format, filename, etc.
* src/plugins/BookReport.py: Make ReportOptionsDialog a sublcass of
Report.BareReportDialog.


svn: r1656
2003-06-04 05:12:08 +00:00
Alex Roitman
49150fa1f4 * src/plugins/BookReport.py (ReportOptionsDialog.on_change_clicked):
Deal with Cancel button pressed.


svn: r1632
2003-06-02 15:34:08 +00:00
Alex Roitman
51597b5813 * src/plugins/BookReport.py: Added to CVS.
* src/plugins/book.glade: Likewise.
* src/ListModel.py: (insert, get_data): Added new methods.
* src/SelectPerson.py: Added to CVS.
* src/choose.glade: Likewise.


svn: r1627
2003-06-02 13:34:18 +00:00