Commit Graph

108 Commits

Author SHA1 Message Date
Jérôme Rapinat
22b476be8a 3343: Misnamed report format. Open Document to OpenDocument
svn: r13632
2009-11-19 11:13:39 +00:00
Doug Blank
f272ce3dd1 Move gtk-based items out of scope of import for cli
svn: r13599
2009-11-16 22:39:54 +00:00
Doug Blank
406e46eac9 Added link and underline sections to base and html docgen types; defaults to silent pass so that we can add to other docgen types without breaking anything yet
svn: r13587
2009-11-15 13:15:54 +00:00
Benny Malengier
e03cd66c2d 3304: current HTML modules add a newline for every doc.write_text()
svn: r13439
2009-10-28 08:15:16 +00:00
Benny Malengier
53de46901e add license to gpr.py files
svn: r13424
2009-10-26 19:15:58 +00:00
Jérôme Rapinat
af0455bcdd typo
svn: r13407
2009-10-25 14:58:17 +00:00
Benny Malengier
ed619cfdd6 3292: register plugins, load on need, not on start of GRAMPS - GEPS 014
svn: r13400
2009-10-24 13:53:20 +00:00
Jérôme Rapinat
d1fbb2bff9 3309: HtmlDoc module ignores title-style of reports (contribution by lcc)
svn: r13399
2009-10-24 07:17:04 +00:00
Doug Blank
edc6dc8f0f 3259: CSS ordering broken for html text reports from lcc
svn: r13333
2009-10-07 13:18:51 +00:00
Gerald Britton
941fff23ae Tweaks to use inplace arithmetic
svn: r13191
2009-09-10 18:49:48 +00:00
Serge Noiraud
442eaf9923 ODFDoc : issue 3187 : <, > and & should be escaped
svn: r13118
2009-08-25 16:48:12 +00:00
Serge Noiraud
3d13046fa0 ODFDoc : Styled notes : Bad format, font, indents and spacing.
svn: r13113
2009-08-23 22:00:34 +00:00
Serge Noiraud
8e7c827c83 ODFDoc : More pylint compliant.
Duplicate styles and fonts suppression.
         Multi line now works correctly : tested with multi-lines attribut.



svn: r13102
2009-08-21 20:54:14 +00:00
Jérôme Rapinat
ef08e419d1 update french translation
svn: r13092
2009-08-20 15:15:10 +00:00
Serge Noiraud
e60588a5b0 ODFDoc : highlight problem in styled notes.
svn: r13081
2009-08-19 22:01:28 +00:00
Serge Noiraud
6e7970895d ODFDoc : forgot to suppress a print line.
svn: r13056
2009-08-17 22:38:50 +00:00
Serge Noiraud
786bf9b1fd ODFDoc : Styled notes integration.
svn: r13054
2009-08-17 22:23:26 +00:00
Raphael Ackermann
5ae1a75bc0 0003137: Attribute error on EmptyDoc for all graphical reports - only with PostScript and SVG output formats !
removed 'template' parameter from init method.
problem was that they still used template parameter, when BaseDoc didn't have a template parameter anymore.

also pylint cleanup

svn: r12927
2009-08-08 19:15:19 +00:00
Raphael Ackermann
c839502568 remove unused import
svn: r12926
2009-08-08 19:12:12 +00:00
Benny Malengier
31f923bab6 avoid cli crash if css file is passed that does not exist
svn: r12807
2009-07-16 12:48:31 +00:00
Gerald Britton
fdfacd972c Minor tweaks to use slices instead of lists of items
svn: r12705
2009-06-25 13:41:16 +00:00
Rob G. Healey
ae28b8538b Fixed Utils.open_file_with_default_application() to gui.utils instead of Utils now. Works again.
svn: r12699
2009-06-23 20:49:18 +00:00
Benny Malengier
aa5aa031c0 fix ODF output put, prettify kinship html output
svn: r12657
2009-06-12 07:31:30 +00:00
Benny Malengier
f78db6f418 2707: Add markup notes to html output. Finished
svn: r12654
2009-06-11 13:01:27 +00:00
Benny Malengier
e4de221227 2707: Add markup notes to html output: div and class elements
svn: r12647
2009-06-09 20:47:32 +00:00
Benny Malengier
a177da80b0 2707: Add markup notes to html output
Part 2: enable css, clean up code.
      TODO: better output, support in default css files, test


svn: r12644
2009-06-08 23:19:37 +00:00
Benny Malengier
542b1e404d 02707: Add markup notes to html output
part 1: remove template from html output


svn: r12631
2009-06-06 09:49:40 +00:00
Benny Malengier
142e7e4970 move latexbackend into PdfDoc
svn: r12614
2009-06-02 18:42:41 +00:00
Benny Malengier
fb3ec68c6a part 3 : split basedoc in files, remove Utils dependance, move fontscale in gen,
update build system


svn: r12603
2009-05-31 14:59:56 +00:00
Benny Malengier
8dd7adc607 part 2 basedoc: move BaseDoc.py to /gen/plug/docgen and add /gen/plug/docbackend
that was missing in part 1 
 Still to come: makefiles and splitting new basedoc.py in small files


svn: r12591
2009-05-29 22:25:44 +00:00
Benny Malengier
f999ba9cc4 Part 1 basedoc changes: move out backend stuff from BaseDoc, use backend in
the docs. As a dir change will be done, backend itself will be committed 
later, trunk will be broken till then


svn: r12590
2009-05-29 19:52:57 +00:00
Gerald Britton
5eb7e18dc6 Bug 3018: ImportGrdb: remove calls to keys() dictionary method where possible
svn: r12572
2009-05-26 20:48:09 +00:00
Gerald Britton
021b754939 Bug 3011: change old-style classes to new-style classes
svn: r12559
2009-05-21 17:19:50 +00:00
Rob G. Healey
b282953be5 Removed missing gladefile in src/plugins/docgen/Makefile.am for allow complete to finish. Applied large image scaling in NarrativeWeb.
svn: r12554
2009-05-20 23:26:30 +00:00
Benny Malengier
ac6ef2a9bc 2956: Errors with GTKPrint on Ubuntu 9.04
svn: r12547
2009-05-19 09:00:48 +00:00
Gerald Britton
73e1ab5722 Bug 2888: downgrade the glade files in tools to gtk version 2.12
svn: r12538
2009-05-18 15:36:03 +00:00
Gerald Britton
110557c3c7 Add glade.py with Glade class and use instead of gtk.Builder throughout project
svn: r12528
2009-05-14 20:15:59 +00:00
Serge Noiraud
a01e27d254 ODFDoc : internal permission of files and encoding.
svn: r12514
2009-05-08 20:22:56 +00:00
Gerald Britton
d03592eebc Bug 2888: GtkPrint: convert from liglade to gtkbuilder
svn: r12464
2009-04-17 16:04:04 +00:00
Brian Matherly
a39b1ba156 Move src/plugins/docgen/CairoDoc.py to src/plugins/lib/libcairodoc.py.
svn: r12363
2009-03-19 12:08:52 +00:00
Brian Matherly
84b972cfb5 Remove src/ReportBase/_PrintTools.py. It is not being used.
svn: r12360
2009-03-19 02:32:16 +00:00
Brian Matherly
c56c25b932 Add DocGenPlugin to be used to register all docgen plugins. This replaces the array of variables which was more difficult to read.
svn: r12359
2009-03-19 02:24:29 +00:00
Brian Matherly
0214b842cd Remove the "print_label" construct from the reports. The only label is "Open with default viewer". No need to check the mime type or to look for the default application because Gramps uses the host OS to figure it out for the user.
svn: r12351
2009-03-16 04:22:12 +00:00
Gary Burton
64faf2567e Bug #2768: .rtf report disrespects DDR-FirstEntry style
svn: r12217
2009-03-04 22:41:45 +00:00
Benny Malengier
dcd4115466 2725: End Of Line Report not flowing over page boundaries
svn: r12025
2009-02-17 21:19:44 +00:00
Benny Malengier
bf305d9251 2665: PDF: Paginate error in descendant chart (graphical) on person without descendants
svn: r11986
2009-02-14 13:45:44 +00:00
Benny Malengier
917658df34 bug fix 2714: long note in indiv complete report means infinite loop in cairo
The fix consists in allowing cells to be split, so by extension also 
 rows now split automatically in CairoDoc


svn: r11984
2009-02-14 13:12:59 +00:00
Benny Malengier
7fefd970c7 Fix problem when markup spans two paragraph in the note: make sure
styling stops at paragraph if backend splits the note in pieces
  to print
Fix problem with paragraphs written in cells. Paragraphs should
  not divide as cells and rows are not allowed to divide. This
  forces table to be divided, and full paragraph to be written


svn: r11969
2009-02-11 22:30:59 +00:00
Benny Malengier
cfadb3fafc issue 2688: some wrong bindings and <super> not working yet. All should work now
svn: r11957
2009-02-10 23:07:35 +00:00
Benny Malengier
c39210b745 latex output was broken. This fixes some things. Also adds style
to notes: bold, italic, underline, some fontsize and mono font
Remove verbatim code to indicate preformatted, it is too rigid


svn: r11926
2009-02-08 18:03:10 +00:00
Benny Malengier
e53c2ae8ad add credits
svn: r11914
2009-02-08 10:01:11 +00:00
Benny Malengier
ac50776d33 Support markup in TextDoc, add implementation in CairoDoc, use in indiv complete report
svn: r11913
2009-02-08 09:59:36 +00:00
Benny Malengier
00a68636a9 0002633: Characters in Notes don't show in report - 3.0.4 and trunk
1357: Incorrect marriage event description when outputting to PDF
1328: opened a gedcom, and create a pdf text file
Do it better with a private method so plugin authors don't circumvent
style settings


svn: r11896
2009-02-07 10:39:28 +00:00
Benny Malengier
38c04c0a50 2633: Characters in Notes don't show in report - 3.0.4 and trunk
1357: Incorrect marriage event description when outputting to PDF 
1328: opened a gedcom, and create a pdf text file 
Correctly escape text for cairo layout before writing


svn: r11892
2009-02-07 09:47:25 +00:00
Brian Matherly
3259b393da Change the way we "launch" files using their default application. Instead of trying to find the application ourselves, use the OS built in functions to open a file with its default application. We no longer show the name of the application that we will open the file with because we don't know.
svn: r11781
2009-02-01 04:21:17 +00:00
Jérôme Rapinat
4574406d32 1357: Incorrect marriage event description when outputting to PDF (only ampersand, < > ?)
svn: r11751
2009-01-28 09:01:39 +00:00
Benny Malengier
0df7429978 make autotools work again
svn: r11666
2009-01-19 20:26:41 +00:00
Brian Matherly
3f95d8ddb7 Plugins Restructure: Move docgen plugins into plugins/docgen.
svn: r11652
2009-01-18 04:59:14 +00:00