Commit Graph

285 Commits

Author SHA1 Message Date
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
6a864bb44c Fix PaperStyle typos for AbiWord2Doc.
svn: r8341
2007-04-01 03:10:29 +00:00
Brian Matherly
51d7922473 * src/docgen/GtkPrint.py: Fix 0000908: GtkPrint doesn't parse if you don't have pygtk version 2.10
svn: r8270
2007-03-06 03:01:43 +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
a8ad1dcdcf * src/docgen/SvgDrawDoc.py.py: Fix XML error in draw_text.
svn: r8230
2007-02-24 22:34:22 +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
f53f1abc21 * src/ReportBase/_PaperMenu.py: rename PaperStyle to PaperSize
* src/docgen/HtmlDoc.py: rename PaperStyle to PaperSize
* src/BaseDoc.py: rename PaperStyle to PaperSize
* src/plugins/Calendar.py: don't use tmargin

svn: r8166
2007-02-19 04:13:41 +00:00
Brian Matherly
d5077d219a * src/docgen/PSDrawDoc.py: remove draw_wedge from BaseDoc
* src/ReportBase/_ReportUtils.py: remove draw_wedge from BaseDoc
* src/plugins/FanChart.py: remove draw_wedge from BaseDoc
* src/BaseDoc.py: remove draw_wedge from BaseDoc

svn: r8121
2007-02-15 04:07:53 +00:00
Brian Matherly
5b457e10bd * src/docgen/HtmlDoc.py: fix html template loading.
* src/ReportBase/_ReportDialog.py: fix html template loading.

svn: r8119
2007-02-15 03:14:03 +00:00
Brian Matherly
e543bef596 * src/docgen/PSDrawDoc.py: Fix center_text and draw_bar
svn: r8099
2007-02-13 04:34:01 +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
04d8c46637 * src/docgen/PdfDoc.py: provide a more useful error when reportlab crashes
svn: r8071
2007-02-07 04:40:14 +00:00
Don Allingham
abf15c7712 2007-02-05 Don Allingham <don@gramps-project.org>
* src/DataViews/_MediaView.py: view export support
	* src/DataViews/_RepositoryView.py: view export support
	* src/DataViews/_SourceView.py: view export support
	* src/DataViews/_EventView.py: view export support
	* src/DataViews/_FamilyList.py: view export support
	* src/DataViews/_PlaceView.py: view export support
	* src/DataViews/_PersonView.py: view export support
	* src/ViewManager.py: view export support
	* src/plugins/EventCmp.py: use new format
	* src/PageView.py: view export support
	* src/docgen/TabbedDoc.py: base class for tabular format
	* src/docgen/ODSTab.py: Open Document format for tabular format
	* src/docgen/CSVTab.py: Comma Separated Value format for tabular format



svn: r8060
2007-02-06 05:19:16 +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
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