Brian Matherly
9c364490ce
Move PluginUtils/_PluginMgr.py to gen/plug/_manager.py. Now, instead of "from PluginUtils import PluginManager", use "from gen.plug import PluginManager".
...
svn: r11100
2008-10-02 04:02:10 +00:00
Gerald Britton
882199f1c2
Replace dict.has_key(x) with x in dict for performance gain
...
svn: r10874
2008-07-17 18:10:32 +00:00
Brian Matherly
92d5ba8dfd
Remove the "tables" parameter for text and book document generators. All generators support tables, and if one didn't, it doesn't look like the code would work.
...
svn: r10745
2008-05-20 03:19:58 +00:00
Brian Matherly
3afbd461c0
Put all the plugin management and registration stuff into a class. This new class is named PluginManager. It is a Singleton so that everyone gets access to the same plugin information.
...
svn: r10741
2008-05-18 19:24:28 +00:00
Raphael Ackermann
c962d5e6e1
2008-02-22 Raphael Ackermann <raphael.ackermann@gmail.com>
...
* various (294 files)
pep8 doc fixes & pylint fixes
svn: r10103
2008-02-24 13:55:55 +00:00
Don Allingham
643c75099c
* src/plugins/WriteCD.py: don't generate thumbnails
...
* src/Selectors/_SelectObject.py: new image sizing routines
* src/ImgManip.py: simplify
* src/docgen/HtmlDoc.py: new image sizing routines
* src/docgen/ODFDoc.py: new image sizing routines
* src/docgen/LaTeXDoc.py: new image sizing routines
* src/docgen/RTFDoc.py: new image sizing routines
* src/Makefile.am: add ThumbNails.py
* po/POTFILES.in: add ThumbNails.py
2007-09-10 Don Allingham <don@gramps-project.org>
svn: r8959
2007-09-11 03:51:35 +00:00
Brian Matherly
d7423fff15
Divide BaseDoc into BaseDoc, TextDoc and DrawDoc. TextDoc and DrawDoc are abstract interfaces that must be implemented by the corresponding document generators.
...
svn: r8431
2007-04-30 01:56:34 +00:00
Brian Matherly
3eebd910d5
Move Graphic Styles, Table Styles and Cell Styles into the StyleSheet class. All report styles are now defined in the "get_default_style()" function.
...
svn: r8421
2007-04-23 11:46:26 +00:00
Brian Matherly
5aa3a0f4b0
* src/BaseDoc.py:
...
* src/ReportBase/_CommandLineReport.py:
* src/ReportBase/_ReportDialgo.py:
* src/docgen/PdfDoc.py:
* src/docgen/OpenOfficeDoc.py:
* src/docgen/ODFDoc.py:
* src/docgen/RDFDoc.py:
* src/docgen/KwordDoc.py:
* src/docgen/PSDrawDoc.py:
* src/docgen/SvgDrawDoc.py:
* src/docgen/HtmlDoc.py:
* src/docgen/AbiWord2Doc.py:
* src/docgen/LaTeXDoc.py:
* src/plugins/BookReport.py:
Add PaperStyle to BaseDoc
svn: r8229
2007-02-24 21:15:21 +00:00
Brian Matherly
eaf86944e8
* src/docgen/ODFDoc.py: add start_superscript and stop_superscript
...
* src/docgen/KwordDoc.py: add start_superscript and stop_superscript
* src/docgen/RTFDoc.py: add start_superscript and stop_superscript
* src/docgen/HtmlDoc.py: add start_superscript and stop_superscript
* src/docgen/OpenOfficeDoc.py: add start_superscript and stop_superscript
* src/docgen/LaTeXDoc.py: add start_superscript and stop_superscript
svn: r8019
2007-01-31 03:13:31 +00:00
Brian Matherly
3451ed3e5e
* src/docgen/RTFDoc.py: Properly escape "\n" characters
...
svn: r7978
2007-01-25 04:29:39 +00:00
Brian Matherly
4ce72472a8
* src/docgen/RTFDoc.py: fix page breaks ( #0000441 )
...
svn: r7322
2006-09-13 04:33:45 +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
3f9adb3771
Add mime support for Windows platform
...
svn: r6911
2006-06-18 20:58:25 +00:00
Brian Matherly
0c008ceb78
various: enhance indexing with IndexMark
...
svn: r6850
2006-06-03 03:32:26 +00:00
Brian Matherly
1d225c91db
Add name keys for indexing in reports
...
svn: r6809
2006-05-29 02:52:14 +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
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
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
6b9d4207ce
* src/Plugins.py, src/PluginMgr.py: Move to ReportUtils.
...
svn: r6133
2006-03-11 01:12:06 +00:00
Alex Roitman
7286845b75
Add Mime package
...
svn: r6047
2006-03-03 00:23:04 +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
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
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
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
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
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
2df83d0a6a
* 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
e878549bfd
First DB pass
...
svn: r2884
2004-02-21 06:11:59 +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
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
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
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
c937ff4976
* src/docgen/RTFDoc.py: Fixed double printing of lines
...
svn: r2175
2003-09-27 19:41:39 +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
ebdc5fbcc3
switch from intl to gettext
...
svn: r2017
2003-08-17 02:14:33 +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
4247f38dbb
Change file extentions in reports when different filetype is chosen
...
svn: r1534
2003-05-16 01:49:50 +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
af7a07d49d
Import fixes/pychecker fixes
...
svn: r1256
2003-01-15 05:25:50 +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
5875df7c48
Initial revision
...
svn: r1140
2002-10-20 14:25:16 +00:00