Commit Graph

396 Commits

Author SHA1 Message Date
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
15a8260ba4 update
svn: r3925
2005-01-18 03:15:40 +00:00
Alex Roitman
d8a76a4c6d * src/docgen/PdfDoc.py: Port table and image fixes from STABLE.
* src/plugins/Ancestors.py (person_name): Avoid overriding builtin.


svn: r3919
2005-01-17 05:12:34 +00:00
Alex Roitman
55c549de0a * src/docgen/KwordDoc.py: Register with paper capabilites.
* src/docgen/PdfDoc.py: Register with paper capabilites.
* src/docgen/RTFDoc.py: Register with paper capabilites.
* src/const.py.in: Update copyright year.
* NEWS: Update.


svn: r3914
2005-01-15 20:24:29 +00:00
Alex Roitman
41ef57a252 * src/plugins/SimpleBookTitle.py: Convert to new scheme.
* src/docgen/LPRDoc.py: Support photo alignments.
* src/Report.py: Fix interface creation order.


svn: r3883
2005-01-08 05:54:49 +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
Alex Roitman
c8bfe2e8d3 Merge REP_OPT branch
svn: r3827
2004-12-22 01:56:37 +00:00
Alex Roitman
4dd9d443e2 * src/docgen/AsciiDoc.py (reformat_para): Correctly check for
empty paragraph.


svn: r3825
2004-12-21 17:04:52 +00:00
Don Allingham
057ff4319c * src/docgen/OpenOfficeDoc.py: fix asian font, file extension
svn: r3679
2004-10-27 03:41:49 +00:00
Don Allingham
91dcd9d52a * src/docgen/HtmlDoc.py: fix typo
* src/docgen/OpenOfficeDoc.py: don't use temporary files
* src/plugins/PatchNames.py: pychecker fixes
* src/plugins/RelCalc.py: pychecker fixes
* src/plugins/ReorderIds.py: pychecker fixes
* src/plugins/Verify.py: pychecker fixes
* src/plugins/WebPage.py: pychecker fixes
* src/plugins/WriteFtree.py: pychecker fixes
* src/plugins/WriteGeneWeb.py: pychecker fixes


svn: r3674
2004-10-26 03:20:38 +00:00
Alex Roitman
98f99c995a * src/docgen/OpenSpreadSheet.py (write_text): Escape special
XML characters.


svn: r3644
2004-10-18 23:24:51 +00:00
Don Allingham
ba1022342b * src/docgen/OpenOfficeDoc.py: incorporated Julio Sanchez's
language patch


svn: r3631
2004-10-14 04:09:38 +00:00
Don Allingham
e6783320cb * src/GrampsInMemDB.py: handle null handle
* src/GrampsXMLDB.py: disable undo during normal read of database
* src/ReadGedcom.py: handle lines shorter than 50 lines, disable undo during
normal reads of the database
* src/ReadXML.py: disable undo during normal read of databas
* src/RelLib.py: revert Name.__cmp__ to Name.is_equal
* src/docgen/HTMLDoc.py: drop deprecated gnome.ui dialogs


svn: r3617
2004-10-10 21:16:44 +00:00
Alex Roitman
7af735c6cf * src/Makefile.am: Remove extra DESTDIR.
* src/docgen/Makefile.am: Remove extra DESTDIR, correct pycheck target.
* src/plugins/Makefile.am: Correct pycheck target.


svn: r3600
2004-10-06 19:16:26 +00:00
Don Allingham
2e6078301e * src/docgen/PdfDoc.py: fixed regsiter_book_doc call
svn: r3598
2004-10-06 02:18:53 +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
Alex Roitman
6d709a5c94 * src/docgen/AbiWord2Doc.py, src/docgen/AsciiDoc.py,
src/docgen/HtmlDoc.py, src/docgen/KwordDoc.py,
src/docgen/OpenOfficeDoc.py, src/docgen/PdfDoc.py,
src/docgen/RTFDoc.py: Translate type descriptions; correct print_label.


svn: r3491
2004-08-23 17:30:47 +00:00
Alex Roitman
fe4427adf8 * src/WriteGedcom.py (get_option_box): Make filters inclusive.
* src/plugins/merge.glade: Switch button order to comply with HIG.
* src/mergedata.glade: Switch button order to comply with HIG.
* src/plugins/RelGraph.py (get_default_basename): Add function.
* src/plugins/AncestorReport.py (write_report): Translate
string properly.
* src/EventEdit.py (update_event): Use transtable.
* src/EditPerson.py (on_event_add_clicked, on_edit_birth_clicked,
on_edit_death_clicked, on_event_update_clicked):
Pass TransTable to the event editor.
* src/Marriage.py (on_add_clicked, on_event_update_clicked):
Pass TransTable to the event editor.
* src/plugins/FtmStyleAncestors.py,
src/plugins/FtmStyleDescendants.py:
Remove extra space between vars in "%(.*_place)s %(.*_notes)s"
* src/plugins/verify.glade: Translate button label.
* src/plugins/IndivSummary.py: Proper handling of translation.
* src/docgen/OpenOfficeDoc.py (pt2cm): Add function;
(draw_text): Convert points to cm for the box width;
 Use self.string_width() method.
* src/BaseDoc.py (string_width): Add a method to compute width.
* src/docgen/LPRDoc.py (string_width): Override method.
* src/docgen/PdfDoc.py: Use self.string_width() method.
* src/docgen/SvgDrawDoc.py: Use self.string_width() method.
* src/plugins/AncestorChart2.py: Use self.doc.string_width() method.
* src/plugins/AncestorChart.py: Use self.doc.string_width() method.
* src/plugins/DesGraph.py: Use self.doc.string_width() method.
* src/plugins/FanChart.py: Use self.doc.string_width() method.
* src/plugins/TimeLine.py: Use self.doc.string_width() method.
* src/plugins/eval.glade: HIG compliance.


svn: r3453
2004-08-20 21:26:51 +00:00
Matthieu Pupate
6faf21155f Corrected typo
svn: r3445
2004-08-19 22:10:26 +00:00
Alex Roitman
bf450f901a Update .cvsignore files
svn: r3430
2004-08-18 04:46:30 +00:00
Alex Roitman
f78376424b Remove autogenerated files
svn: r3429
2004-08-18 04:35:25 +00:00
Don Allingham
1cd90a8bb0 * src/const.py.in: fix relationship types
svn: r3303
2004-07-31 03:51:34 +00:00
Don Allingham
95e62181d3 * src/RelLib.py, etc.: convert get_id to get_handle
svn: r3290
2004-07-28 02:29:07 +00:00
Don Allingham
9abe3ab152 * Makefiles: updated for installation
* src/data/gnome-mime-application-x-gramps.png: new icon
* src/data/gramps.svg: new icon
* src/data/gramps.xml: mime information


svn: r3195
2004-05-27 04:29:43 +00:00
Don Allingham
eba1ed0ea1 * various: transactions are now required for commits
svn: r3186
2004-05-24 04:32:19 +00:00
Alex Roitman
eeca791968 * src/plugins/RelGraph.py (_write_graph_record): Bug fixes.
* src/docgen/RTFDoc.py: Typo.


svn: r3170
2004-05-16 03:04:17 +00:00
Don Allingham
2bd66d6b4c pychecker fixes
svn: r3166
2004-05-13 22:45:51 +00:00
Don Allingham
a13eb68a88 * src/DbPrompter.py: remove unused functions
* src/DisplayModels.py: filtering support
* src/GenericFilter.py: filtering support
* src/PeopleModel.py: support for filtering
* src/PeopleView.py: support for filtering
* src/RelLib.py: filtering support
* src/Utils.py: filtering support
* src/gramps.glade: remove invert for filters
* src/gramps_main.py: filtering support


svn: r3114
2004-04-28 04:06:25 +00:00
Alex Roitman
b86de1f6be * src/docgen/RTFDoc.py: Typo.
* src/Utils.py (get_xpm_image): Add function.
* src/plugins/AncestorReport.py (get_xpm_image): Remove
function, import it from Utils.py instead.
* src/plugins/Ancestors.py (get_xpm_image): Remove function;
Bring up to the database interface.


svn: r3105
2004-04-25 04:48:02 +00:00
Alex Roitman
2273250137 * src/docgen/HtmlDoc.py: Typo.
svn: r3104
2004-04-23 17:02:49 +00:00
Alex Roitman
037a388949 * src/docgen/RTFDoc.py: Completely switch from grampslib.
* src/docgen/PdfDoc.py: Typo.


svn: r3103
2004-04-23 16:55:24 +00:00
Don Allingham
0417838641 * src/DbPrompter.py: support for new GTK 2.4 file chooser
svn: r3090
2004-04-19 03:15:05 +00:00
Don Allingham
2df83d0a6a * GrampsMime.py: added mime types
* grampslib_wrap.c: removed
* various: more undo functionality


svn: r3074
2004-04-04 04:39:52 +00:00
Alex Roitman
197ea9354f * src/docgen/PdfDoc.py (add_photo): Encode filename.
svn: r3049
2004-03-23 00:59:23 +00:00
Alex Roitman
95216d9cb0 * src/docgen/LPRDoc.py: Fix colliding name.
svn: r3044
2004-03-22 16:29:38 +00:00
Alex Roitman
ac6d3e74e0 * src/docgen/Makefile.am, src/docgen/Makefile.in: Ship LPRDoc.py.
* src/plugins/GraphViz.py (dump_index): Remove utf8 to latin
conversion. Switch to FreeSans.
* src/docgen/PdfDoc.py (draw_text, rotate_text): Fix encoding.


svn: r3024
2004-03-17 01:50:50 +00:00
Alex Roitman
9fc3b43afb * src/docgen/LPRDoc.py: Typo.
* src/po/da_DK.po: Remove in favor of da.po file.
* src/po/da.po: Add (replaces da_DK.po).
* configure.in, configure: Switch from da_DK to da in languages.


svn: r3023
2004-03-17 01:44:10 +00:00
Alex Roitman
35459c381d Change function name
svn: r3016
2004-03-16 02:22:37 +00:00
Alex Roitman
07c943cc0e * src/docgen/LPRDoc.py (do_print): Typos.
svn: r3012
2004-03-15 23:00:36 +00:00
Alex Roitman
6d202049ba Update
svn: r3008
2004-03-12 22:50:10 +00:00
Alex Roitman
2b7dbef8be * src/docgen/LPRDoc.py: Add number of copies and page range
selection options to a dialog. Remove all these "__" from var names.


svn: r3007
2004-03-12 19:47:06 +00:00
Alex Roitman
2a95e95206 * src/docgen/HtmlDoc.py (add_photo): Enforce given image size.
Add optional alt argument.


svn: r2997
2004-03-10 04:56:20 +00:00
Alex Roitman
5a4a69b83c * src/docgen/LPRDoc.py: Set and maintain self.brand_new_page.
Use constant factor for line spacing for given font size.


svn: r2989
2004-03-10 02:10:34 +00:00
Alex Roitman
ee99826261 * src/docgen/LPRDoc.py: Font autodetection: trying freefont,
MS fonts, and then stock Gnome fonts.


svn: r2981
2004-03-08 22:32:13 +00:00
Alex Roitman
0f8da3197c * src/docgen/LPRDoc.py: Support for graphic reports.
svn: r2980
2004-03-08 02:22:41 +00:00
Alex Roitman
0b235a68f3 * src/docgen/LPRDoc.py: Cell padding support. Images support
(requires CVS version of gnome-python).


svn: r2976
2004-03-07 06:28:00 +00:00
Alex Roitman
2389e64bae Padding in paragraphs.
svn: r2974
2004-03-06 02:29:20 +00:00
Alex Roitman
fd210a00cc Minor cleanups
svn: r2973
2004-03-06 00:08:09 +00:00
Alex Roitman
828aae62b7 * src/docgen/LPRDoc.py: Support for paragraph's margins and
the first indent properties. Font-specific line spacing.


svn: r2972
2004-03-06 00:00:39 +00:00
Alex Roitman
1e8b2e3f40 Switch to utf8 capable fonts. Enable monospace for formatted notes.
svn: r2971
2004-03-05 05:11:07 +00:00
Alex Roitman
43547bf06d Found fonts
svn: r2970
2004-03-05 04:33:40 +00:00
Alex Roitman
9bc863344c * src/docgen/LPRDoc.py: New paragraph formatting algorithm.
Proper alignment support (no implementation for justify yet).


svn: r2969
2004-03-05 03:01:21 +00:00
Alex Roitman
b8075b283f Some regression because of new algorithm
svn: r2968
2004-03-05 00:36:04 +00:00
Alex Roitman
1c685517c5 Update
svn: r2963
2004-03-04 15:47:00 +00:00
Alex Roitman
14ed64d973 page breaks, paragraph leader, dirty alignment hack.
svn: r2962
2004-03-03 23:38:48 +00:00
Alex Roitman
59adedf75f * src/docgen/LPRDoc.py: Superscript support, line breaks,
page breaks, paragraph leader.


svn: r2961
2004-03-03 20:50:06 +00:00
Alex Roitman
82b0624841 Paragraph leader
svn: r2960
2004-03-03 16:59:47 +00:00
Alex Roitman
f64d881a38 * src/docgen/LPRDoc.py: Superscript support.
svn: r2959
2004-03-03 16:12:26 +00:00
Alex Roitman
6889a6460c * src/docgen/LPRDoc.py: Re-write using paragraph class.
svn: r2958
2004-03-03 05:54:26 +00:00
Alex Roitman
3cbd973566 * src/docgen/AsciiDoc.py: Typo.
svn: r2953
2004-03-02 14:43:37 +00:00
Alex Roitman
ceff4ae87c Update
svn: r2952
2004-03-02 04:57:00 +00:00
Alex Roitman
fe971218bd Oops
svn: r2948
2004-03-02 03:09:49 +00:00
Alex Roitman
bbb680d707 Update
svn: r2947
2004-03-02 01:35:53 +00:00
Alex Roitman
acc4cae477 Update
svn: r2946
2004-03-02 00:36:53 +00:00
Alex Roitman
d4d0db9e65 * src/docgen/LPRDoc.py: Table support correction: transferring
row to the next page.


svn: r2944
2004-03-01 16:50:23 +00:00
Alex Roitman
6653a0d15f * src/docgen/AsciiDoc.py: Correctly treat cells with span>1.
svn: r2939
2004-03-01 03:47:58 +00:00
Alex Roitman
3d18a13115 Some additions
svn: r2938
2004-02-29 17:42:38 +00:00
Alex Roitman
441403391e * src/docgen/LPRDoc.py: Add to CVS.
svn: r2937
2004-02-29 15:35:44 +00:00
Alex Roitman
8e733036f2 * src/docgen/AsciiDoc.py: Add to CVS.
* src/Makefile.am, src/Makefile.in: Ship AsciiDoc.py.


svn: r2929
2004-02-29 00:04:45 +00:00
Don Allingham
e878549bfd First DB pass
svn: r2884
2004-02-21 06:11:59 +00:00
Don Allingham
ba5df96a28 * src/docgen/PdfDoc.py: fix encoding exception
* gramps-mdk.spec: Mandrake RPM spec file


svn: r2720
2004-01-28 02:18:53 +00:00
Don Allingham
d19da4e173 * src/docgen/PdfDoc.py: handle iso-8859-1 characters
svn: r2666
2004-01-20 04:15:58 +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
50bd66c3d9 update
svn: r2624
2004-01-10 18:05:36 +00:00
Don Allingham
f9a4cf1ee8 * src/docgen/OpenOfficeDoc.py: proper handling of center_text
* src/docgen/PdfDoc.py: proper handling of center_text
* src/plugins/TimeLine.py: switch to using center_text instead of draw_text
* src/plugins/AncestorChart2.py: switch to using center_text instead of draw_text


svn: r2623
2004-01-10 18:04:32 +00:00
Don Allingham
5ef54614ad * src/docgen/OpenOfficeDoc.py: allow disabling of the box shadow
svn: r2621
2004-01-10 02:37:07 +00:00
Alex Roitman
bdfe040d0d * src/docgen/PdfDoc.py: Set print_label to None.
* src/docgen/KwordDoc.py: Set print_label to None.
* src/docgen/HtmlDoc.py: Set print_label to None.
* src/docgen/AbiWord2Doc.py: Set print_label to None.
* src/docgen/RTFDoc.py: Set print_label to None.


svn: r2616
2004-01-09 03:58:17 +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
2b89441470 * src/docgen/KwordDoc.py (KwordDoc.close): handle KWord mime type
* src/grampslib_wrap.c: handle NULL pointers


svn: r2613
2004-01-09 03:12:28 +00:00
Don Allingham
b56cdceddf * src/BaseDoc.py: Scaleable shadow
* src/plugins/AncestorChart2.py: Scale to page implemented
* src/docgen/PdfDoc.py: Scalable shadow


svn: r2609
2004-01-08 18:09:18 +00:00
Don Allingham
8e9f6a4219 * src/const.py.in: eliminate zipcmd
* src/docgen/OpenSpreadSheet.py: eliminate the need for ZIP, use python
zipfile module instead
* src/plugins/EventCmp.py (DisplayChart.on_save_clicked): fix rows, double lines
no longer used
* configure.in: add check for vfs bindings, eliminate the check for
swig and zip
* gramps.spec.in (Requires): Added gnome-python2-gnomevfs dependency


svn: r2577
2004-01-01 19:10:23 +00:00
Don Allingham
cbfa7161ad update
svn: r2576
2004-01-01 18:18:29 +00:00
Don Allingham
2582bec96c * src/docgen/PdfDoc.py: add the ability to open the document in the
default viewer
* src/docgen/AbiWord2Doc.py: add the ability to open the document in AbiWord
* src/docgen/OpenOfficeDoc.py: fixed the search for default viewer
* src/docgen/RTFDoc.py: add the ability to open the document in the default viewer
* src/docgen/HtmlDoc.py: add the ability to open the document in the default viewer
* src/docgen/KwordDoc.py: add comment


svn: r2575
2004-01-01 18:17:47 +00:00
Alex Roitman
f829336c33 * src/docgen/Makefile.am: Remove AbiWordDoc.py from the list.
* src/plugins/DetAncestralReport.py (write_person): Call write_note().
* src/plugins/DetDescendantReport.py (write_person): Call write_note().
* src/plugins/FtmStyleAncestors.py (print_notes): Call write_note().
* src/plugins/IndivComplete.py (write_note): Call doc.write_note().
* src/plugins/WebPage.py (write_gallery,write_notes): Call write_note().


svn: r2523
2003-12-15 04:18:51 +00:00
Don Allingham
e5fe097315 update
svn: r2522
2003-12-14 23:26:33 +00:00
Don Allingham
5e9a9d1266 * src/docgen/AbiWordDoc.py: removed the 1.0 version of AbiWord, since
GRAMPS is a GNOME 2 application, support the GNOME 2 version of AbiWord
* src/docgen/OpenOfficeDoc.py: Fixed width fonts for preformatted text
* src/docgen/AbiWord2Doc.py: Fixed width fonts for preformatted text


svn: r2521
2003-12-14 21:45:11 +00:00
Alex Roitman
6ae0b14d61 * src/docgen/KwordDoc.py (write_note): Implement function.
svn: r2516
2003-12-13 17:16:00 +00:00
Alex Roitman
2819de10a2 * src/docgen/OpenOfficeDoc.py (write_note): Implement function.
svn: r2514
2003-12-13 05:59:35 +00:00
Alex Roitman
570fd76a2f * src/docgen/LaTeXDoc.py (write_note): Implement function.
* src/docgen/PdfDoc.py (write_note): Implement function.
* src/docgen/RTFDoc.py (write_note): Implement function.
* src/docgen/AbiWordDoc.py (write_note): Implement function.
* src/docgen/AbiWord2Doc.py (write_note): Implement function.


svn: r2513
2003-12-13 04:05:01 +00:00
Alex Roitman
e962ebe517 * src/docgen/HtmlDoc.py (write_note): Set monospace font family
for a preformatted note.


svn: r2512
2003-12-12 23:24:07 +00:00
Alex Roitman
daeaf138e9 * src/docgen/HtmlDoc.py (write_note): Use stypes for preformatted note.
svn: r2506
2003-12-12 02:34:29 +00:00
Alex Roitman
2ba0326dc5 * src/docgen/PdfDoc.py (draw_text): Remove extra ",".
svn: r2505
2003-12-11 22:24:44 +00:00
Alex Roitman
527e161b42 * src/BaseDoc.py (write_note): Add function.
* src/docgen/HtmlDoc.py (write_note): Implement function.
* src/plugins/FtmStyleDescendants.py (print_notes): Call write_note()
with the note's format.


svn: r2500
2003-12-11 03:49:44 +00:00
Alex Roitman
c07f6f2fc0 Update
svn: r2487
2003-12-10 01:04:51 +00:00
Don Allingham
ea396a1618 * src/docgen/OpenOfficeDoc.py (OpenOfficeDoc.close): replace hardcoded
"oowriter" with the command found by querying the mime database with
the open office document type. Different distributions seem to install
OOo with different names (oofice, oowriter, soffice).

* src/EventEdit.py (EventEditor.__init__): add translated name to the
popdown menu list if isn't already there. Prevents a parital match on
other strings
* src/PedView.py: add a '*' to the popup menu if the child has children


svn: r2405
2003-11-30 05:51:24 +00:00
Alex Roitman
5dad0028a1 * src/ImageSelect.py (GlobalMediaProperties.__init__): Find labels from
XML; (redraw_attr_list): Change attribute label; (display_refs): Change
references label; (on_notebook_switch_page): change notes label.
* src/imagesel.glade: Set meaningful label ids, remove bold markup.

* src/docgen/HtmlDoc.py (start_bold, end_bold): Add functions (closes
bug #841277).

* src/EditSource.py (__init__): Find labels from XML.
* src/EventEdit.py: (__init__): Find labels from XML;
* src/NameEdit.py: (__init__): Find labels from XML;


svn: r2330
2003-11-13 18:50:01 +00:00
Don Allingham
4f26fe7f6d update
svn: r2329
2003-11-13 04:25:25 +00:00
Don Allingham
94a50f3c26 * 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
e54014834a update
svn: r2256
2003-10-15 03:55:54 +00:00
Don Allingham
af9da3a25a * src/data/templates/Makefile.am: install blue_edge.tpkg
* src/docgen/HtmlDoc.py: report error correctly on missing
template


svn: r2255
2003-10-15 03:55:15 +00:00
Don Allingham
07c2e959dd * src/plugins/WebPage.py: handle page titles
* src/docgen/HtmlDoc.py: handle page titles


svn: r2236
2003-10-12 02:29:24 +00:00
Don Allingham
ceef3f7372 * src/docgen/HTMLDoc.py: removed references to
gnome.ui.WarningDialog


svn: r2229
2003-10-11 14:22:17 +00:00
Don Allingham
c937ff4976 * src/docgen/RTFDoc.py: Fixed double printing of lines
svn: r2175
2003-09-27 19:41:39 +00:00
Alex Roitman
e99846cb13 * src/docgen/Makefile.am: Don't ship OpenDrawDoc.py anymore.
* src/docgen/Makefile.in: Likewise.


svn: r2139
2003-09-16 04:02:02 +00:00
Don Allingham
3f6c2b23ef * src/docgen/OpenOfficeDoc.py: set z-index properly for paths
so they appear over text, fix font for draw_text


svn: r2136
2003-09-16 03:33:05 +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
a3445a9b90 * 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
Don Allingham
57726ddf93 * src/docgen/PdfDoc.py: fix typo
svn: r2115
2003-09-11 02:59:21 +00:00
Don Allingham
d4c872a4dc update
svn: r2109
2003-09-09 01:48:50 +00:00
Don Allingham
f6d06b1220 * src/docgen/PdfDoc.py: handle multiple image classes defined
by reportlab


svn: r2104
2003-09-08 04:20:01 +00:00
Don Allingham
1d25e51110 update
svn: r2086
2003-09-03 04:20:11 +00:00
Alex Roitman
967c6aba28 * src/docgen/PdfDoc.py (make_color): Remove the first occurence --
was defined twice; (left_print): Remove print statement.


svn: r2081
2003-09-02 04:04:07 +00:00
Don Allingham
7f68e7f8c0 * src/docgen/OpenOfficeDoc.py: Fix styles
svn: r2079
2003-09-02 03:28:27 +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
Alex Roitman
f27d6ae5f7 * 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
eb5b85072a 2003-09-01 Tim Waugh <twaugh@redhat.com>
* src/docgen/Makefile.am: Removed reference to PdfDrawDoc.py.


svn: r2070
2003-09-01 14:26:35 +00:00
Don Allingham
890b809f80 * src/docgen/PdfDoc.py (left_print): Don't convert to cm.
svn: r2069
2003-09-01 02:23:39 +00:00
Alex Roitman
59f503c8bc * src/docgen/PdfDoc.py (page_break): Minor cleanup;
(end_page): Was defined twice -- remove the first occurence.


svn: r2067
2003-08-31 04:49:28 +00:00
Don Allingham
65f18d93ac * PdfDoc.py: Support drawing functions.
* PdfDrawDoc.py: remove - all functions integrated into
PdfDoc.py
* DbPrompter.py: change title from "Save" to "Create" when
opening a new database, prompt with last database saved.


svn: r2064
2003-08-31 03:26:13 +00:00
Alex Roitman
18454e96b5 * 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
5651e2af78 Update
svn: r2046
2003-08-26 01:19:41 +00:00
Alex Roitman
d3c75f9962 * src/docgen/OpenOfficeDoc.py (open): Typos.
svn: r2045
2003-08-25 23:58:01 +00:00
Don Allingham
3666b8aa50 * src/BaseDoc.py: support start_page and end_page for backwards
compatibility to older versions
* src/docgen/OpenOfficeDoc.py: support all graphics functionality


svn: r2038
2003-08-25 03:13:52 +00:00
Don Allingham
99161f8ca9 * src/plugins/FanChart.py: remove print statement
* src/docgen/RTFDoc.py: change from TextDoc to BaseDoc
* src/docgen/PdfDoc.py: change from TextDoc to BaseDoc
* src/docgen/LaTeXDoc.py: change from TextDoc to BaseDoc
* src/docgen/KwordDoc.py: change from TextDoc to BaseDoc
* src/docgen/HtmlDoc.py: change from TextDoc to BaseDoc
* src/docgen/AbiWordDoc.py: change from TextDoc to BaseDoc
* src/docgen/AbiWord2Doc.py: change from TextDoc to BaseDoc


svn: r2036
2003-08-25 03:11:40 +00:00
Don Allingham
b42e9e406c * src/BaseDoc.py: New base clase for TextDoc/DrawDoc combination
* src/docgen/OpenOffice.py: Derive from BaseDoc instead of TextDoc


svn: r2033
2003-08-23 21:10:21 +00:00
Tim Waugh
2844e6b3fa 2003-08-19 Tim Waugh <twaugh@redhat.com>
* src/docgen/OpenDrawDoc.py: Fixed escaping.


svn: r2028
2003-08-19 18:21:57 +00:00
Don Allingham
ebdc5fbcc3 switch from intl to gettext
svn: r2017
2003-08-17 02:14:33 +00:00
Don Allingham
05ca4d93eb update
svn: r2014
2003-08-16 03:26:43 +00:00
Don Allingham
06b0b2b186 GNOME/python configure detection
svn: r2002
2003-08-14 03:53:41 +00:00
Don Allingham
a27c351000 update
svn: r1998
2003-08-13 04:28:53 +00:00
Tim Waugh
e4c6227dc8 2003-08-11 Tim Waugh <twaugh@redhat.com>
* src/docgen/OpenDrawDoc.py: Fixed tag mismatch.  Added report printing
        support.
        * src/Report.py: Report printing support added to Draw-style
        reports.


svn: r1991
2003-08-11 17:33:27 +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
6d2dcd0034 * src/docgen/OpenOfficeDoc.py: Header paragraphs have the keep-with-next
property set


svn: r1911
2003-07-21 03:28:14 +00:00
Don Allingham
29110734d6 * src/GrampsParser.py: use findFamilyNoConflicts
* src/RelLib.py: remove findFamilyNoConflict
* src/docgen/LaTeXDoc.py: Fixed typo in latex generated comment


svn: r1909
2003-07-21 02:49:25 +00:00
Alex Roitman
5ee6d863e0 * 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
Donald A. Peterson
1a73d411a9 * src/docgen/LaTeXDoc.py: Regress UNICODE support to be only a
commented line in the output rather than implemented by default
since not all LaTeX installations include ucs.sty by default.


svn: r1877
2003-07-14 18:41:10 +00:00
Donald A. Peterson
e520ec0825 Added UNICODE support and '&' replacement
svn: r1866
2003-07-11 15:30:44 +00:00
Don Allingham
693b991573 * 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
2f5bcae451 * 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
Don Allingham
cf54cbc309 pychecker fixes
svn: r1750
2003-06-16 04:57:25 +00:00
Don Allingham
c0d1a6d133 removed extra '}'
svn: r1733
2003-06-14 04:01:09 +00:00
Don Allingham
7007e389fb * src/docgen/RTFDoc.py: add support for superscripts
svn: r1731
2003-06-14 03:49:09 +00:00
Don Allingham
baeb2fb412 * src/docgen/KwordDoc.py: add support for superscripts
svn: r1729
2003-06-14 02:57:49 +00:00
Don Allingham
f9c3e6291f * src/docgen/OpenDrawDoc.py: add support for superscripts
* src/docgen/OpenOfficeDoc.py: add support for superscripts
* src/plugins/Ancestors.py: New Ancestors report added


svn: r1727
2003-06-14 02:18:55 +00:00
Alex Roitman
218bffffdb * 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
dad0cc144e * src/docgen/OpenOfficeDoc.py: Escape special XML characters.
svn: r1720
2003-06-13 15:13:47 +00:00
Alex Roitman
1584227b86 * src/docgen/OpenOfficeDoc.py: Surround images by paragraph tags
when inside the table cell.


svn: r1718
2003-06-13 04:07:13 +00:00
Don Allingham
ec5e7e7bc7 update
svn: r1717
2003-06-13 04:03:44 +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
Alex Roitman
597b4af2bc * src/docgen/KwordDoc.py (write_text): Replace & with &amp in text.
Closes gramps-bugs-649228, finally.
(start_table): close FRAMESET tag conditionally. This prevents closing
it twice (both in end_cell and start_table). Closes 753151.


svn: r1715
2003-06-13 03:29:15 +00:00
Alex Roitman
7038679ab5 Typo
svn: r1714
2003-06-12 14:21:34 +00:00
Alex Roitman
3828d35f6b * src/docgen/OpenOfficeDoc.py: Fix typo. Prevent images from being
copied more than once.


svn: r1713
2003-06-12 14:19:30 +00:00
Don Allingham
57bd52fd17 * 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


svn: r1710
2003-06-12 02:04:42 +00:00
Alex Roitman
37e9220498 * src/docgen/HtmlDoc.py (add_photo): Fix typo in image reference.
svn: r1708
2003-06-11 16:26:36 +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
4d0aaa727a * src/TextDoc.py: Added name property to style sheets
* src/StyleEditor.py: Add name property to edited style sheets
* src/RelLib.py: Fix for witness event under ZODB
* src/docgen/OpenDrawDoc.py: change name to OpenOffice.org
* src/docgen/OpenOfficeDoc.py: change name to OpenOffice.org


svn: r1677
2003-06-09 18:04:04 +00:00
Don Allingham
5d2f999431 Fixed spouse selection when family changes
svn: r1643
2003-06-03 02:54:56 +00:00
Don Allingham
6166b47e5a Center list after a quick person add
svn: r1621
2003-06-01 22:46:00 +00:00
Don Allingham
37ee8a3449 Handle formats without an extension type
svn: r1608
2003-05-31 01:56:21 +00:00
Don Allingham
533bd7dcab Template update
svn: r1602
2003-05-28 15:57:38 +00:00
Donald A. Peterson
f30c137391 * Added new targets "trans" and "pycheck" to top-level Makefile
* Python verification (pychecker) removed from check-local target to become
part of the pycheck target heiarchy.  Each subdir now has a
GRAMPS_PY_MODPATH variable that indicates a colon-separated path for
the PYTHONPATH environment to allow module importing to work.


svn: r1559
2003-05-21 00:30:02 +00:00
Don Allingham
b8a8f8176f Support for AbiWord 1.9 or greater (table support)
svn: r1556
2003-05-20 23:20:47 +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
Alex Roitman
f2e22535cc Superscripts in HTML and LaTeX
svn: r1503
2003-05-08 00:42:10 +00:00
Don Allingham
960e030100 Family Tree Maker style ancestor report
svn: r1487
2003-05-02 02:49:34 +00:00
Don Allingham
e0fe3aa2a0 Fixed title in count_anc.py, added superscript for TextDoc
svn: r1485
2003-05-01 23:35:27 +00:00
Don Allingham
5d09a26cd2 Relcal changes for plugins
svn: r1479
2003-04-30 00:24:32 +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
354b143fcf Fixed example database
svn: r1415
2003-03-31 03:51:01 +00:00
Don Allingham
2c5b7b691d Example database menu item
svn: r1413
2003-03-31 01:33:40 +00:00
Don Allingham
5937b027b6 Fixed templates for HTML reports
svn: r1385
2003-03-23 04:16:29 +00:00
Don Allingham
a72b6df23c Bug fixes from pychecker
svn: r1333
2003-03-08 05:59:20 +00:00
Don Allingham
b6fe29b4d8 Title handling
svn: r1328
2003-03-07 02:21:18 +00:00
Don Allingham
0f616d0b90 Updated dialogs
svn: r1314
2003-02-24 04:51:57 +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
71ee24226d Report error exceptions
svn: r1275
2003-01-29 04:43:12 +00:00
Don Allingham
16fa3b0b8f keyword substituion in HTML documents
svn: r1274
2003-01-29 03:06:51 +00:00
Don Allingham
74da40d0f8 tempfile fixes
svn: r1269
2003-01-22 04:29:00 +00:00
Don Allingham
e2588440e1 Fix temporary file handling
svn: r1268
2003-01-22 04:25:21 +00:00
Don Allingham
af7a07d49d Import fixes/pychecker fixes
svn: r1256
2003-01-15 05:25:50 +00:00
Don Allingham
5d176c702f Convert OpenDrawDoc to use zipfile
svn: r1240
2003-01-06 05:35:30 +00:00
Don Allingham
c6ca0c4e18 OpenOffice fixes, calendar format fixes
svn: r1239
2003-01-06 05:14:49 +00:00
Don Allingham
42ab304330 Support for natural find
svn: r1230
2002-12-24 22:36:46 +00:00
Don Allingham
efd7282292 Surname prefix support, landscape support for SVG and PS
svn: r1215
2002-12-01 03:40:47 +00:00
Don Allingham
dbe98f4068 UTF-8 support for translations, clean up gettext, improved gallery handling
svn: r1204
2002-11-25 04:30:36 +00:00
Don Allingham
01557d9444 Updated configure scripts
svn: r1171
2002-11-08 05:25:53 +00:00
Don Allingham
a274422171 GEDCOM importing working, Plugin dialog working
svn: r1161
2002-11-03 06:35:06 +00:00
Don Allingham
25891fb894 Fixed configure script to use pkg-config
svn: r1156
2002-10-29 03:55:19 +00:00
Don Allingham
5875df7c48 Initial revision
svn: r1140
2002-10-20 14:25:16 +00:00