Commit Graph

363 Commits

Author SHA1 Message Date
Brian Matherly
0bc7ae7731 remove debug
svn: r7977
2007-01-25 03:26:00 +00:00
Brian Matherly
c6c5c8be50 * src/docgen/ODFDoc.py: Add "open with" option for book reports
* src/docgen/OpenOfficeDoc.py: Add "open with" option for book reports
* src/plugins/BookReport.py: Add "open with" option for book reports
* src/PluginUtils/_PluginMgr.py: Add "open with" option for book reports

svn: r7976
2007-01-25 03:22:46 +00:00
Brian Matherly
de6bc22670 * src/docgen/PSDrawDoc.py: 0000869: PostScript print option will crash
* src/ReportBase/__init__.py: 0000869: PostScript print option will crash
* src/ReportBase/_PrintTools.py: 0000869: PostScript print option will crash

svn: r7972
2007-01-24 19:45:57 +00:00
Brian Matherly
ed7a1c81da * src/docgen/PdfDoc.py: 0000870: docgen/PdfDoc.py offset error, and missing italics
svn: r7968
2007-01-24 12:53:51 +00:00
Richard Taylor
aa1a8d08a1 minor tweeks to gtkprint
svn: r7871
2007-01-05 16:36:44 +00:00
Richard Taylor
00cf9559b3 minor tweeks to gtkprint
svn: r7870
2007-01-05 16:10:08 +00:00
Richard Taylor
6054e6f7b9 Add initial stab at GtkPrint.
svn: r7869
2007-01-05 11:58:16 +00:00
Don Allingham
dc5c8f3d00 2006-12-28 Don Allingham <don@gramps-project.org>
* src/docgen/PdfDoc.py: convert image name to str from unicode
	due to a ReportLab bug.

2006-12-27  Don Allingham  <don@gramps-project.org>
	* configure.in: change version number to 2.2.5



svn: r7855
2006-12-29 03:58:26 +00:00
Brian Matherly
17ded7e6c6 * src/docgen/KwordDoc.py: don't us getuid in Windows
* src/plugins/NarrativeWeb.py: don't us getuid in Windows

svn: r7728
2006-11-29 04:23:20 +00:00
Don Allingham
cada86b952 2006-11-26 Don Allingham <don@gramps-project.org>
* src/docgen/ODFDoc.py: fix registration



svn: r7706
2006-11-26 19:33:48 +00:00
Don Allingham
aad2755abc 2006-11-25 Don Allingham <don@gramps-project.org>
* src/docgen/ODFDoc.py: don't query mime type for ODT, since some systems
	return only "ODT Document", which is kind of useless. Use OpenDocument Text
	instead.



svn: r7693
2006-11-25 20:16:55 +00:00
Don Allingham
c51cf48564 2006-11-23 Don Allingham <don@gramps-project.org>
* src/docgen/Makefile.am: don't install AbiWord, OpenOffice 1.X,
	and KWord formats, since they have been superceded by OpenDocument.



svn: r7676
2006-11-24 04:21:51 +00:00
Brian Matherly
4ce72472a8 * src/docgen/RTFDoc.py: fix page breaks (#0000441)
svn: r7322
2006-09-13 04:33:45 +00:00
Alex Roitman
f528f74a12 * src/docgen/PdfDoc.py: Work for both utf8 and latin-1 capable
reportlab versions.


svn: r7178
2006-08-14 20:44:12 +00:00
Don Allingham
2d9551ad4b 2006-07-24 Manfred Paulus <manfred.paulus@gmx.de>
* src/plugins/FanChart.py: Add circle, 1/2 circle and 1/4
	circle options, along with selectable generations
	* src/docgen/OpenOfficeDoc.py: fix rotation angle



svn: r7069
2006-07-24 23:18:51 +00:00
Don Allingham
4bb46152db 2006-07-23 Manfred Paulus <manfred.paulus@gmx.de>
* src/BaseDoc.py: fix angle calculation
	* src/docgen/PSDrawDoc.py: fix angle calculation



svn: r7063
2006-07-23 23:16:21 +00:00
Don Allingham
051f992afb 2006-07-04 Don Allingham <don@gramps-project.org>
* various: pyflakes fixes



svn: r6992
2006-07-04 23:38:51 +00:00
Brian Matherly
d04393b085 * src/docgen/ODFDoc.py: Handle exception when file is not writeable
* src/docgen/ODSDoc.py: Handle exception when file is not writeable
* src/docgen/OpenOfficeDoc.py: Handle exception when file is not writeable
* src/docgen/OpenSpreadSheet.py: Handle exception when file is not writeable
* src/plugins/AncestorChart2.py: Remove Title option
* src/plugins/DecendChart.py: Remove Title option

svn: r6961
2006-06-24 17:22:34 +00:00
Serge Noiraud
e3245a0d1e # It include many corrections ( centered text, misalignment, ... )
# Tab replacement by spaces in source code.



svn: r6917
2006-06-19 20:48:28 +00:00
Brian Matherly
3f9adb3771 Add mime support for Windows platform
svn: r6911
2006-06-18 20:58:25 +00:00
Brian Matherly
848e970ce3 * src/docgen/PSDrawDoc.py: fix imports - make it work
* src/ReportBase/_StyleEditor.py: use ManagedWindow
	* src/ReportBase/_BareReportDialog.py: import StyleEditor
	* src/plugins/BookReport.py: fix "Center Person" display
	* src/plugins/WriteCD.py: fail gracefully without Gnome

svn: r6860
2006-06-04 23:23:10 +00:00
Alex Roitman
5848cf17b2 * src/docgen/PSDrawDoc.py: Use ReportUtils.pt2cm.
* src/docgen/OpenOfficeDoc.py: Use ReportUtils.pt2cm.
	* src/docgen/ODFDoc.py: Use ReportUtils.pt2cm.


svn: r6858
2006-06-04 18:27:50 +00:00
Brian Matherly
5b88e0a716 add Table of Contents marks
svn: r6855
2006-06-04 04:26:28 +00:00
Brian Matherly
0c008ceb78 various: enhance indexing with IndexMark
svn: r6850
2006-06-03 03:32:26 +00:00
Alex Roitman
8b211d50f4 Update
svn: r6826
2006-05-31 03:48:32 +00:00
Brian Matherly
1d225c91db Add name keys for indexing in reports
svn: r6809
2006-05-29 02:52:14 +00:00
Brian Matherly
4d83a7d828 * src/docgen/OpenOfficeDoc.py: Allow large cells to span pages (bug 0000165)
svn: r6803
2006-05-28 15:10:47 +00:00
Alex Roitman
ee0b61433d 2006-05-27 Alex Roitman <shura@gramps-project.org>
* src/docgen/LPRDoc.py: Typo.



svn: r6798
2006-05-28 02:33:03 +00:00
Alex Roitman
3fe3482efb In .:
2006-05-01  Alex Roitman  <shura@gramps-project.org>
	* various: merge changes from gramps20.

In po:
2006-05-01  Alex Roitman  <shura@gramps-project.org>
	* POTFILES.in: Add new file.



svn: r6504
2006-05-01 21:11:26 +00:00
Don Allingham
4063ae7172 * src/Editors/_EditFamily.py: fix Select Person calls
* src/docgen/Makefile.am: add ODSDoc.py
	* po/POTFILES.in: add ODSDoc.py


svn: r6499
2006-04-30 04:17:54 +00:00
Brian Matherly
58a6f62125 Add ODSDoc.py and use it in EventCmp.py
svn: r6493
2006-04-28 23:47:19 +00:00
Brian Matherly
b0d282b75a * src/docgen/OpenSpreadSheet.py: fix manifest so files open in calc
svn: r6479
2006-04-28 01:17:33 +00:00
Alex Roitman
5505dc12d3 2006-04-27 Alex Roitman <shura@gramps-project.org>
* src/PluginUtils/_PluginStatus.py: Fix wm.
	* src/PluginUtils/_Plugins.py: Fix Reload tool. The re-building of
	the menus still needs to be fixed.
	* src/plugins/Leak.py: Fix wm.
	* src/docgen/LPRDoc.py: Import Errors module before it is called.
	* src/plugins/DumpGenderStats.py: Fix wm.



svn: r6468
2006-04-27 19:19:10 +00:00
Don Allingham
5b8749ba73 * src/GrampsDb/_GrampsDbBase.py: pychecker
* src/GrampsDb/_GrampsBSDDB.py: pychecker
	* src/RelLib/_CalSdn.py: pychecker
	* src/RelLib/_PrivateSourceNote.py: pychecker
	* src/RelLib/_GenderStats.py: pychecker
	* src/MergePeople.py: pychecker
	* src/SelectObject.py: pychecker
	* src/ScratchPad.py: pychecker
	* src/ImgManip.py: pychecker
	* src/docgen/ODFDoc.py: pychecker
	* src/docgen/OpenOfficeDoc.py: pychecker
	* src/docgen/LPRDoc.py: pychecker
	* src/SelectEvent.py: pychecker


svn: r6418
2006-04-23 04:29:14 +00:00
Alex Roitman
b9371e2e08 2006-04-21 Alex Roitman <shura@gramps-project.org>
* src/PluginUtils/_ReportUtils.py (buried_str): Typo.
	* src/plugins/DetDescendantReport.py (write_children): Use child_refs.
	* src/plugins/DetAncestralReport.py (write_children): Use child_refs.
	* src/plugins/IndivComplete.py (write_fact): Use new event type.
	* src/docgen/KwordDoc.py (KwordDoc.close): Use tarile.



svn: r6413
2006-04-22 05:13:21 +00:00
Don Allingham
dcfc832ca3 updated PluginStatus dialog
svn: r6390
2006-04-21 17:08:34 +00:00
Brian Matherly
d631037137 Fix space at beginning of paragraph for ODF doc.
svn: r6385
2006-04-20 23:01:35 +00:00
Brian Matherly
cbcef67f59 Improve graphic alignment in OO reports. (Bug 1370498)
svn: r6297
2006-04-10 04:29:29 +00:00
Alex Roitman
dc434a5736 * src/Makefile.am: Clean byte-compiled files.
* src/DataViews/Makefile.am: Clean byte-compiled files.
	* src/GrampsDb/Makefile.am: Clean byte-compiled files.
	* src/Config/Makefile.am: Clean byte-compiled files.
	* src/RelLib/Makefile.am: Clean byte-compiled files.
	* src/Editors/Makefile.am: Clean byte-compiled files.
	* src/plugins/Makefile.am: Clean byte-compiled files.
	* src/ObjectSelector/Makefile.am: Clean byte-compiled files.
	* src/TreeViews/Makefile.am: Clean byte-compiled files.
	* src/Models/Makefile.am: Clean byte-compiled files.
	* src/Mime/Makefile.am: Clean byte-compiled files.
	* src/GrampsLogger/Makefile.am: Clean byte-compiled files.
	* src/PluginUtils/Makefile.am: Clean byte-compiled files.
	* src/docgen/Makefile.am: Clean byte-compiled files.
	* src/DateHandler/Makefile.am: Clean byte-compiled files.


svn: r6295
2006-04-10 01:02:50 +00:00
Brian Matherly
0d8e481893 * src/docgen/PdfDoc.py: fix columns, error check images
* src/docgen/RTFDoc.py: error check images

svn: r6292
2006-04-08 01:59:33 +00:00
Alex Roitman
57d6df04c9 * various: Revert back to using gettext except for the modules that need context -- those will use TransUtils.sgettext
svn: r6282
2006-04-06 22:02:46 +00:00
Brian Matherly
ed211a6aab Fix image handling problems for reports.
svn: r6269
2006-04-05 04:41:56 +00:00
Brian Matherly
f0c7f6bd61 fix const.progName to const.program_name
svn: r6222
2006-03-29 04:51:19 +00:00
Alex Roitman
93add4967a * various: Use TransUtils.sgettext instead of gettext.gettext to work out stripping the context.
svn: r6155
2006-03-16 20:24:27 +00:00
Alex Roitman
c6ea05e24d * various: intltoolize and gettextize properly.
svn: r6144
2006-03-15 23:58:23 +00:00
Alex Roitman
596894f4f7 Update
svn: r6138
2006-03-11 05:11:41 +00:00
Alex Roitman
6b9d4207ce * src/Plugins.py, src/PluginMgr.py: Move to ReportUtils.
svn: r6133
2006-03-11 01:12:06 +00:00
Don Allingham
dfeb7259b3 new logging scheme
svn: r6080
2006-03-05 04:31:24 +00:00
Alex Roitman
7286845b75 Add Mime package
svn: r6047
2006-03-03 00:23:04 +00:00
Alex Roitman
b3798a9f30 Remove .cvsignore files from all directories.
svn: r6034
2006-03-02 19:30:29 +00:00
Alex Roitman
6044ca5317 * src/ViewManager.py (ViewManager.import_data): Properly process
non-native (plugin) imports; (_do_import): factor common code into
the new method.
* src/GrampsDb/_ReadXML.py (GrampsParser.__init__): Skip updating
if callback is empty (non-callable).
* src/docgen/HtmlDoc.py (HtmlDoc.load_tpkg): Use tarfile.
* src/ArgHandler.py (ArgHandler.cl_import): Use tarfile.
* src/plugins/WritePkg.py (PackageWriter.export): Use tarfile.
* src/plugins/ReadPkg.py (impData): Use tarfile module.


svn: r6012
2006-03-01 00:26:29 +00:00
Alex Roitman
2b96e371e1 * various: merge changes made in gramps20 up until R2_0_10_real tag.
* configure.in: Bump up release number.
* Release: Version 2.0.10 "Holy Hand Grenade of Antioch" released.


svn: r6011
2006-02-28 19:54:35 +00:00
Alex Roitman
b08882b5b2 * various: merge changes made in gramps20 up until R2_0_9 tag.
svn: r5544
2005-12-13 02:07:16 +00:00
Alex Roitman
2f962b5f96 merge changes from gramps20
svn: r5482
2005-12-06 06:38:09 +00:00
Alex Roitman
704e0c4787 Merge changes from gramps20 made since 2.0.5
svn: r5105
2005-08-18 05:58:28 +00:00
Alex Roitman
895d7e1a53 Merge changes made between 2.0.3 and 2.0.5
svn: r4911
2005-07-08 20:24:54 +00:00
Alex Roitman
bd020c830a * src/docgen/PdfDoc.py (write_note): Attempt latin1 encoding.
svn: r4077
2005-02-22 18:38:35 +00:00
Alex Roitman
0552710245 Update
svn: r4071
2005-02-22 02:26:14 +00:00
Alex Roitman
8ee891bee7 * src/docgen/PSDrawDoc.py (rgb_color): Remove function, import it
from ReportUtils instead.
* src/ReportUtils.py (rgb_color): Add function.
* src/docgen/PdfDoc.py: Use rgb_color from ReportUtils.
* src/docgen/LPRDoc.py: Use rgb_color from ReportUtils.


svn: r4070
2005-02-22 01:59:28 +00:00
Alex Roitman
60e01abcdd * src/docgen/PSDrawDoc.py (draw_text,write_at):
Attempt latin1 encoding.


svn: r4069
2005-02-22 01:45:52 +00:00
Alex Roitman
0e14c45c5f * src/docgen/LPRDoc.py (draw_path,draw_bar): Set proper linewidth.
svn: r4065
2005-02-21 02:01:04 +00:00
Alex Roitman
8b0aa1f633 * src/docgen/LPRDoc.py (draw_path,draw_bar): Fill, then stroke.
* src/DbPrompter.py: Change file filter name.

* src/Report.py (doc_type_changed): Deal with empty extensions.
* src/docgen/AsciiDoc.py (add_photo): Add method;
(end_row): Inlcude last cell into proper formatting.
* src/GedcomInfo.py: Properly import expat.ParserCreate class.
* src/TipOfDay.py: Properly import expat.ParserCreate class.
* src/RecentFiles.py: Properly import expat.ParserCreate class.
* src/ReadXML.py: Properly import expat.* classes.
* doc/gramps-manual/C/usage.xml: Update.
* doc/gramps-manual/C/usage.xml: Update.
* doc/xmldocs.make: Switch Makefile from CLEANFILES to DISTCLEANFILES.
* src/Makefile.am: Add const.pyc and const.pyo to CLEANFILES.


svn: r4051
2005-02-19 00:49:49 +00:00
Alex Roitman
fdfa19fa1f * src/docgen/LPRDoc.py (draw_path,draw_bar): Fill, then stroke.
* src/DbPrompter.py: Change file filter name.


svn: r4049
2005-02-18 20:02:00 +00:00
Alex Roitman
3e75d92a03 * src/docgen/OpenOfficeDoc.py: Typo.
svn: r4047
2005-02-18 05:17:48 +00:00
Alex Roitman
e983226112 * src/docgen/LPRDoc.py (write_at): Correct vertical offset.
* src/docgen/PdfDoc.py (write_at,draw_bar): Add functions.
* src/docgen/PSDrawDoc.py (write_at): Add function;
(draw_bar): Support for filling with color.
* src/ReportUtils.py (draw_legend): Correct vertical offset.


svn: r4045
2005-02-18 01:10:25 +00:00
Alex Roitman
f7daf18f5d * src/ReportUtils.py (born_died_str,married_str): Use NameDisplay
to properly display names; (get_birth_death_strings, child_str,
born_str, died_str, buried_str): Add functions; (draw_legend): Use
correct style for the legend text, using write_at().
* src/docgen/OpenOffice.org (write_at): Accept paragraph style name.
* src/docgen/LPRDoc.org (draw_bar): Properly draw and use color
for the bar; (write_at): Correctly transform coordinates.
* src/plugins/StatisticsChart.py: Replace tabs with spaces.


svn: r4005
2005-01-31 05:31:30 +00:00
Alex Roitman
9a35d9e662 * src/docgen/LPRDoc.py (LPRDoc.draw_box): Shadow support.
svn: r3957
2005-01-25 00:23:53 +00:00
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