Commit Graph

125 Commits

Author SHA1 Message Date
Don Allingham
90a33e61ab * 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
830d35c467 * src/docgen/PdfDoc.py: handle iso-8859-1 characters
svn: r2666
2004-01-20 04:15:58 +00:00
Don Allingham
79e0c69dde * 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
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
Don Allingham
dc62aabea9 update
svn: r2624
2004-01-10 18:05:36 +00:00
Don Allingham
31716c32f0 * 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
91e870629e * src/docgen/OpenOfficeDoc.py: allow disabling of the box shadow
svn: r2621
2004-01-10 02:37:07 +00:00
Alex Roitman
1f848875e4 * 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
02be6b99f1 * 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
7c66298bf8 * 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
7cc4eee404 * 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
d082cb92e6 * 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
9442619e59 update
svn: r2576
2004-01-01 18:18:29 +00:00
Don Allingham
e047ea7aba * 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
612705a717 * 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
29bdaac8cb update
svn: r2522
2003-12-14 23:26:33 +00:00
Don Allingham
91d5a4c7b7 * 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
5822f74770 * src/docgen/KwordDoc.py (write_note): Implement function.
svn: r2516
2003-12-13 17:16:00 +00:00
Alex Roitman
1fda68c3af * src/docgen/OpenOfficeDoc.py (write_note): Implement function.
svn: r2514
2003-12-13 05:59:35 +00:00
Alex Roitman
2cbb3e2d64 * 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
869456b101 * 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
b48ab4a70b * src/docgen/HtmlDoc.py (write_note): Use stypes for preformatted note.
svn: r2506
2003-12-12 02:34:29 +00:00
Alex Roitman
6e79027390 * src/docgen/PdfDoc.py (draw_text): Remove extra ",".
svn: r2505
2003-12-11 22:24:44 +00:00
Alex Roitman
f0273b8956 * 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
da00d9c6aa Update
svn: r2487
2003-12-10 01:04:51 +00:00
Don Allingham
589bfdb0f8 * 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
80297accda * 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
5a64444135 update
svn: r2329
2003-11-13 04:25:25 +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
0f52350340 update
svn: r2256
2003-10-15 03:55:54 +00:00
Don Allingham
f8f5efc5e5 * 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
2c49a9de8b * 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
47474665e0 * src/docgen/HTMLDoc.py: removed references to
gnome.ui.WarningDialog


svn: r2229
2003-10-11 14:22:17 +00:00
Don Allingham
0c39234249 * src/docgen/RTFDoc.py: Fixed double printing of lines
svn: r2175
2003-09-27 19:41:39 +00:00
Alex Roitman
289163145a * 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
a46cde5e05 * 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
efbbbf3823 * 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
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
Don Allingham
4191d535f8 * src/docgen/PdfDoc.py: fix typo
svn: r2115
2003-09-11 02:59:21 +00:00
Don Allingham
4ba080738c update
svn: r2109
2003-09-09 01:48:50 +00:00
Don Allingham
a115be7739 * src/docgen/PdfDoc.py: handle multiple image classes defined
by reportlab


svn: r2104
2003-09-08 04:20:01 +00:00
Don Allingham
3b3e0a29f6 update
svn: r2086
2003-09-03 04:20:11 +00:00
Alex Roitman
b3298e8d35 * 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
caa78c7f0f * src/docgen/OpenOfficeDoc.py: Fix styles
svn: r2079
2003-09-02 03:28:27 +00:00
Don Allingham
421c8abb17 * 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
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
6f7c2daa5b 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
fbf2caaeb2 * src/docgen/PdfDoc.py (left_print): Don't convert to cm.
svn: r2069
2003-09-01 02:23:39 +00:00
Alex Roitman
c2b86fbed5 * 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
e5195ecf75 * 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