Commit Graph

41 Commits

Author SHA1 Message Date
Don Allingham
efd152ac78 * GrampsMime.py: added mime types
* grampslib_wrap.c: removed
* various: more undo functionality


svn: r3074
2004-04-04 04:39:52 +00:00
Don Allingham
2d81ccd542 First DB pass
svn: r2884
2004-02-21 06:11:59 +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
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
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
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
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
1fda68c3af * src/docgen/OpenOfficeDoc.py (write_note): Implement function.
svn: r2514
2003-12-13 05:59:35 +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
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
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
caa78c7f0f * src/docgen/OpenOfficeDoc.py: Fix styles
svn: r2079
2003-09-02 03:28:27 +00:00
Alex Roitman
808eacaa47 Update
svn: r2046
2003-08-26 01:19:41 +00:00
Alex Roitman
7c9ffc6935 * src/docgen/OpenOfficeDoc.py (open): Typos.
svn: r2045
2003-08-25 23:58:01 +00:00
Don Allingham
af665d5a65 * 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
49fbb18740 * 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
Don Allingham
b5f75c0a77 switch from intl to gettext
svn: r2017
2003-08-17 02:14:33 +00:00
Tim Waugh
022508637d 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
Don Allingham
9307d1e83e * src/docgen/OpenOfficeDoc.py: Header paragraphs have the keep-with-next
property set


svn: r1911
2003-07-21 03:28:14 +00:00
Alex Roitman
2a33c54618 * 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
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
829115ed72 * 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
59567076ce * src/docgen/OpenOfficeDoc.py: Escape special XML characters.
svn: r1720
2003-06-13 15:13:47 +00:00
Alex Roitman
c5c5b9b217 * src/docgen/OpenOfficeDoc.py: Surround images by paragraph tags
when inside the table cell.


svn: r1718
2003-06-13 04:07:13 +00:00
Alex Roitman
212a2d95ee Typo
svn: r1714
2003-06-12 14:21:34 +00:00
Alex Roitman
dffbb9178d * 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
059fbee03e * 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
Don Allingham
ea94d9a4fa * 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
5393053b44 Support for AbiWord 1.9 or greater (table support)
svn: r1556
2003-05-20 23:20:47 +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
Don Allingham
50c4ca4107 Reports handle file extensions and check for existing file.
svn: r1462
2003-04-18 04:15:42 +00:00
Don Allingham
f830960278 Report error exceptions
svn: r1275
2003-01-29 04:43:12 +00:00
Don Allingham
c47fa5b942 tempfile fixes
svn: r1269
2003-01-22 04:29:00 +00:00
Don Allingham
9b28f6263f Import fixes/pychecker fixes
svn: r1256
2003-01-15 05:25:50 +00:00
Don Allingham
487cf61840 OpenOffice fixes, calendar format fixes
svn: r1239
2003-01-06 05:14:49 +00:00
Don Allingham
b6926fa77b UTF-8 support for translations, clean up gettext, improved gallery handling
svn: r1204
2002-11-25 04:30:36 +00:00
Don Allingham
0ca0ae439e Initial revision
svn: r1140
2002-10-20 14:25:16 +00:00