Commit Graph

378 Commits

Author SHA1 Message Date
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
Jérôme Rapinat
c4f062c473 allow translations for page counter on preview dialog
svn: r10531
2008-04-09 14:08:54 +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
Doug Blank
7b8ed5ded7 0001232: Preview now allows Print; no more PRINT_OPERATION failure
svn: r10426
2008-03-30 15:06:34 +00:00
Raphael Ackermann
7579825843 0001986: export view to CSV --> does not add .csv filetype ending to file
svn: r10407
2008-03-28 07:36:17 +00:00
Brian Matherly
c247caa5e9 0001917: UI font gets small when creating PDF documents.
svn: r10233
2008-03-09 03:33:11 +00:00
Doug Blank
a32cd288f0 2008-03-05 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/docgen/TextBufDoc.py: fixed translations of Quick View
	* src/plugins/References.py: fixed translations of ref types



svn: r10194
2008-03-05 12:02:22 +00:00
Doug Blank
bfa0ec0853 2008-03-04 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/docgen/HtmlDoc.py (HtmlDoc.page_break): 
	Fixed indentation issue



svn: r10187
2008-03-04 23:23:08 +00:00
Peter Landgren
5cb9cdebcc Issues #1875 and #1879
svn: r10184
2008-03-04 19:47:52 +00:00
Brian Matherly
afa4d05227 0001882: Reports->Text Reports->Kinship Report output to "Text buffer" causes an error
No longer use Text Buffer for reports because TextBufDoc does not conform to the report interface.

svn: r10175
2008-03-03 04:19:45 +00:00
Brian Matherly
af21e396d9 Fix page_break() in AsciiDoc
svn: r10112
2008-02-24 23:21:19 +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
Raphael Ackermann
90f883e46d 2008-02-18 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/* 143 files
    * test/try_tree_model.py
    * windows/nsis/gcheck.py
    imports cleanup

svn: r10055
2008-02-18 20:07:09 +00:00
Raphael Ackermann
de5edf9f29 2008-02-18 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/DataViews/PersonView.py
	* src/ViewManager.py
	* src/GrampsCfg.py
	* src/plugins/WriteCD.py
	* src/plugins/FindDupes.py
	* src/Merge/_MergePerson.py
	* src/DbManager.py
	* src/ArgHandler.py
	* src/docgen/HtmlDoc.py
	* src/DbLoader.py
	use from QuestionDialog import ErrorDialog etc to bring in line with
	rest of gramps
	* src/Editors/_EditPrimary.py: EditPrimary._uses_duplicate_id() check
	for duplicates and give error dialog if id is already used. #0001347
	* src/Editors/_EditFamily.py: EditFamily.__do_save(), add call to 
	_uses_duplicate_id(). #0001347 

svn: r10046
2008-02-18 10:09:50 +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
506eb32637 2008-01-24 Raphael Ackermann <raphael.ackermann@gmail.com>
Removed all the __author__, __revision__ and __version__ statements

svn: r9928
2008-01-24 20:38:10 +00:00
Raphael Ackermann
bbe2cc6d4e 2008-01-22 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/* Everything but src/images/* and src/data/* add correct svn 
	properties with the commands:
	svn propset -R svn:mime-type text/plain src/
	svn propset -R svn:eol-style native src/
	svn propset -R svn:keywords Id src/
	See below why the Id keyword is enough. From svn help propset
	svn:keywords   - Keywords to be expanded.  Valid keywords are:
      URL, HeadURL             - The URL for the head version of the object.
      Author, LastChangedBy    - The last person to modify the file.
      Date, LastChangedDate    - The date/time the object was last modified.
      Rev, Revision,           - The last revision the object changed.
      LastChangedRevision
      Id                       - A compressed summary of the previous
                                   4 keywords.

svn: r9912
2008-01-22 09:17:46 +00:00
Brian Matherly
7e56dfb1c7 0001321: Ancester Graph SVG Export dosn't show text
svn: r9899
2008-01-21 04:22:51 +00:00
Raphael Ackermann
ca3f6a935b 2008-01-15 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/docgen/Makefile.am: added line to copy gtkprintpreview.glade
	on distcheck.

svn: r9832
2008-01-16 06:45:28 +00:00
Brian Matherly
5d70be92d4 0001541: Box size too small - Descendant Chart
svn: r9773
2008-01-10 04:00:41 +00:00
Raphael Ackermann
204accb85b fixed previously changed import
svn: r9765
2008-01-09 16:16:47 +00:00
Raphael Ackermann
7ebbb7825e tabs and spaces fix
svn: r9754
2008-01-08 20:13:16 +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
Jérôme Rapinat
248e96dff8 2008-01-06 Jerome Rapinat <romjerome@yahoo.fr>
* src/docgen/Makefile.am: gtkprintpreview.glade was not pasted on install 



svn: r9724
2008-01-06 13:14:25 +00:00
Benny Malengier
d003fd55a7 2008-01-06 Benny Malengier <benny.malengier@gramps-project.org>
Raphael Ackermann <raphael.ackermann@gmail.com>
	* src/docgen/LaTeXDoc.py: wrong indent on write, bug #1506


svn: r9718
2008-01-06 08:58:27 +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
Brian Matherly
fe2bd2834e Patch from Raphael Ackermann <raphael.ackermann@gmail.com> to fix undefined variables in HtmlDoc.py.
svn: r9644
2007-12-30 21:00:28 +00:00
Brian Matherly
88ff3ab413 Fix 0001431: Tried to run a statistics report:
svn: r9600
2007-12-27 18:39:11 +00:00
Doug Blank
09e86586db 2007-12-21 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/plugins/lineage.py: moved to new quick view format
	* src/docgen/TextBufDoc.py: fixed transient window issue



svn: r9558
2007-12-22 01:23:52 +00:00
Doug Blank
c23b1259c8 2007-12-21 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/DataViews/_PersonView.py: pass create_quickreport uistate
	* src/Editors/_EditPrimary.py: pass create_quickreport uistate
	* src/plugins/all_events.py: use SimpleTable
	* src/plugins/siblings.py: use SimpleTable
	* src/QuickReports.py: pass create_quickreport uistate
	* src/Simple/_SimpleTable.py: Handles raw objects, click/doubleclick
	* src/PageView.py: pass create_quickreport uistate
	* src/docgen/TextBufDoc.py: need to make a managed window, transient



svn: r9552
2007-12-21 06:22:46 +00:00
Doug Blank
f84b9c816c 2007-12-20 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/plugins/siblings.py: Quick Reports under construction...
	* src/Simple/_SimpleDoc.py: added table style defaults
	* src/Simple/__init__.py: added SimpleTable
	* src/BaseDoc.py: added doc.type = "standard"
	* src/docgen/TextBufDoc.py: added doc.type = "gtk"
	* src/Simple/_SimpleTable.py: new file defining table



svn: r9550
2007-12-21 00:18:39 +00:00
Brian Matherly
a579d61dbc Fix application launch for PDFDoc.
svn: r9516
2007-12-16 04:17:46 +00:00
Alex Roitman
5d01d158a1 2007-11-19 Alex Roitman <shura@gramps-project.org>
* src/docgen/Makefile.am (dist_pkgdata_DATA): Use proper name.



svn: r9369
2007-11-19 15:49:37 +00:00
Don Allingham
b63befadce svn: r9131 2007-10-11 03:25:51 +00:00
Jérôme Rapinat
4b3134ebb5 add missing reference for CairoDoc
svn: r9054
2007-10-01 16:10:20 +00:00
Zsolt Foldvari
291ea85269 Fix zooming problem in print preview.
svn: r9044
2007-09-30 18:52:57 +00:00
Zsolt Foldvari
cc63610f0d Rewrite PDF docgen without gtk.PrintOperation/PrintContext dependency.
svn: r9029
2007-09-28 22:32:00 +00:00
Zsolt Foldvari
6736044628 CairoDoc.py, GtkPrint.py and PdfDoc.py cleanup.
svn: r9028
2007-09-28 21:57:08 +00:00
Zsolt Foldvari
faaaf7e858 2007-09-28 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/docgen/CairoDoc.py (fontstyle_to_fontdescription): Fix deprecated
        warning.
        * src/ReportBase/_PaperMenu.py:
        * src/data/papersize.xml:
        Fix "C" and "D" paper size values.
        * src/const.py.in: Correct PAPERSIZE path constant.



svn: r9026
2007-09-28 12:24:27 +00:00
Zsolt Foldvari
374b8ac050 2007-09-27 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/docgen/GtkPrint.py (paperstyle_to_pagesetup): Fix paper name and
        custom size conversion.


svn: r9022
2007-09-27 19:55:43 +00:00
Zsolt Foldvari
1ce7c2e543 2007-09-27 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/docgen/CairoDoc.py: Really fix text position in the box.


svn: r9021
2007-09-27 19:31:32 +00:00
Zsolt Foldvari
e2f73de019 2007-09-27 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/docgen/PdfDoc.py: Fix pagination problems.
        * src/docgen/CairoDoc.py: Fix pagination problem. Fix text position in
        the box.


svn: r9020
2007-09-27 19:13:30 +00:00
Zsolt Foldvari
8108c3a59e 2007-09-17 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/ReportBase/_ReportDialog.py: Paper settings better handling.
        * src/docgen/GtkPrint.py: Custom size paper name translatable.



svn: r8986
2007-09-17 18:48:29 +00:00
Zsolt Foldvari
2eea9723b9 2007-09-17 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/ReportBase/_MenuOptions.py: Set SVN properties.
        * src/docgen/GtkPrint.py: Round up paper size values received from
        GtkContext.



svn: r8984
2007-09-17 12:36:03 +00:00
Zsolt Foldvari
2f81f516e5 * src/docgen/PdfDoc.py: Added.
2007-09-13  Zsolt Foldvari  <zfoldvar@users.sourceforge.net>


svn: r8974
2007-09-13 20:01:46 +00:00
Zsolt Foldvari
6d95bf3eba 2007-09-13 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/docgen/GtkPrint.py:
	* src/docgen/CairoDoc.py:
	Separate Cairo based document generation to be used with other outputs.



svn: r8973
2007-09-13 19:22:32 +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
59bb4c9ea9 svn: r8957 2007-09-10 17:59:54 +00:00