Commit Graph

123 Commits

Author SHA1 Message Date
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