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
4982292774
Code optimizations wrt handling of None - bug 2212
...
svn: r10811
2008-06-16 15:01:46 +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
Brian Matherly
a79a82faf5
0001945: Book report, title page, adding a image - do not work when output is ODF
...
svn: r10493
2008-04-06 03:41:22 +00:00
Brian Matherly
bccd2fc07d
Escape characters in image names for ODF output.
...
svn: r9961
2008-01-30 05:11:44 +00:00
Raphael Ackermann
db5f123fd0
2008-01-07 Raphael Ackermann <raphael.ackermann@gmail.com>
...
* src/docgen/ODFDoc.py: remove duplicate import
* src/docgen/LaTeXDoc.py :added support for opening latex editor
0001536: not possible to select latex editor like kile to open a latex file
automatically
svn: r9738
2008-01-07 08:04:45 +00:00
Brian Matherly
bf3900f043
Patch from Raphael Ackermann <raphael.ackermann@gmail.com> -- Fix 0001538: tabs and spaces are mixed in some source files
...
svn: r9713
2008-01-05 20:10:26 +00:00
Don Allingham
04e249f902
2007-09-12 Don Allingham <don@gramps-project.org>
...
* src/docgen/ODFDoc.py (ODFDoc): Fix ratio assignment
svn: r8965
2007-09-12 15:02:03 +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
Don Allingham
a65a73d1d7
* various: const.py changes
...
2007-09-07 Don Allingham <don@gramps-project.org>
* src/DateHandler/_Date_fr.py: fix indentation errors
2007-09-07 Don Allingham <don@gramps-project.org>
svn: r8948
2007-09-08 05:54:02 +00:00
Brian Matherly
06620b869e
Fix display of preformatted notes in ODF output ( #0001109 ).
...
svn: r8707
2007-07-08 22:17:45 +00:00
Brian Matherly
343673f696
Fix rotated text location and remove background color to improve the fanchart display in ODF format ( #0001072 )
...
svn: r8652
2007-06-24 21:00:25 +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
4708a791a4
Escape still wasn't right in ODFDoc.py. Ancestor and descendant charts were displaying wrong.
...
svn: r8418
2007-04-22 13:29:05 +00:00
Brian Matherly
1c2514d9b2
PROPERLY escape ampersands in ODFDoc.py
...
svn: r8406
2007-04-20 03:58:03 +00:00
Don Allingham
6edbffe3a3
2007-04-17 Don Allingham <don@gramps-project.org>
...
* src/DataViews/_FamilyList.py: add marriage date column
* src/GrampsDb/_DbUtils.py: add function for finding a marriage event
* src/DisplayModels/_FamilyModel.py: add marriage date column
* src/GrampsDbUtils/_GedcomParse.py: handle place form handing
* src/GrampsDbUtils/_GedcomLex.py: handle place form handing
* src/GrampsDbUtils/_WriteGedcom.py: handle note list
* src/docgen/ODFDoc.py: escape special characters
svn: r8398
2007-04-18 02:12:40 +00:00
Brian Matherly
c71b782345
Remove "self.font" and "self.media_list" from the BaseDoc interface as they are only common to a couple of formats.
...
svn: r8342
2007-04-01 04:21:44 +00:00
Brian Matherly
d7d7ed340b
* src/BaseDoc.py:
...
* src/docgen/PSDrawDoc.py:
* src/docgen/SvgDrawDoc.py:
* src/docgen/PdfDoc.py:
* src/docgen/OpenOfficeDoc.py:
* src/docgen/GtkPrint.py:
* src/docgen/LPRDoc.py:
* src/docgen/ODFDoc.py:
* src/plugins/StatisticsChart.py:
* src/plugins/Calendar.py:
* src/ReportBase/_ReportUtils.py:
Remove draw_bar function
svn: r8254
2007-02-27 04:10:43 +00:00
Brian Matherly
4b510b098c
* src/BaseDoc.py:
...
* src/docgen/PSDrawDoc.py:
* src/docgen/SvgDrawDoc.py:
* src/docgen/PdfDoc.py:
* src/docgen/OpenOfficeDoc.py:
* src/docgen/GtkPrint.py:
* src/docgen/LPRDoc.py:
* src/docgen/ODFDoc.py:
* src/plugins/AncestorChart2.py:
* src/plugins/DescendChart.py:
* src/plugins/StatisticsChart.py:
* src/plugins/TimeLine.py:
Remove height and width from GraphicsStyle
svn: r8237
2007-02-25 21:53:38 +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
Don Allingham
ee407ca871
* src/GrampsDbUtils/_GedcomParser.py: fix a few bugs
...
svn: r8216
2007-02-23 06:03:02 +00:00
Brian Matherly
2a6e0cb197
Remove the write_at function. Use draw_text instead. Add center_text to SVGDoc
...
svn: r8089
2007-02-12 04:55:11 +00:00
Brian Matherly
92f4e58fc0
Remove unused functions from BaseDoc
...
svn: r8082
2007-02-11 03:51:43 +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
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
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
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
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
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
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
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
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
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
Alex Roitman
7286845b75
Add Mime package
...
svn: r6047
2006-03-03 00:23:04 +00:00