Commit Graph

49 Commits

Author SHA1 Message Date
Craig J. Anderson
eba22c4062 fix for 5733. ODT reports were not scaling fonts
svn: r19731
2012-05-31 19:17:56 +00:00
Craig J. Anderson
9f63d657cd update for feature request 5801
Paul wrote over 70% of this code.  I only got to improve upon it
slightly.

Also fixed a very small error in the descendant tree where the box
shadow was not scaled up/down with the report (if the report was
scaled).



svn: r19684
2012-05-28 15:02:02 +00:00
Jérôme Rapinat
b7f7ce860f 2356: add comments about genitive form issues under some locales
svn: r18914
2012-02-17 15:48:43 +00:00
Paul Franklin
4cdc101c26 typos (and one file's SVN properties)
svn: r18651
2011-12-24 19:08:19 +00:00
Paul Franklin
3c54cda718 typos
svn: r18594
2011-12-13 17:10:21 +00:00
Brian Matherly
0b8ea1202d Implement new "User()" class for reports to indicate progress and prompt the user. This allows the removal of from "gui.utils import ProgressMeter" from reports so that they don't depend on gui.
svn: r18378
2011-10-29 05:02:33 +00:00
Brian Matherly
b0b919d148 Patch from Paul Franklin - Partial work for: 0004646: reports cannot be run from the command line in a non-GUI environment
svn: r18047
2011-08-19 01:57:43 +00:00
Craig J. Anderson
b5b20b7f7d small error found and fixed.
svn: r17079
2011-04-07 22:46:07 +00:00
Craig J. Anderson
19f254e3a1 missing space
svn: r17076
2011-04-07 17:04:28 +00:00
Craig J. Anderson
2b2f7cc7ca fixes:
http://www.gramps-project.org/bugs/view.php?id=4767#c18712
http://www.gramps-project.org/bugs/view.php?id=4603#c18711
this could well be final for these two reports.


svn: r17074
2011-04-07 16:58:02 +00:00
Craig J. Anderson
0cbeb502e9 updates as per: http://www.gramps-project.org/bugs/view.php?id=4767#c18708
svn: r17070
2011-04-07 01:50:45 +00:00
Craig J. Anderson
4f076b9de7 updates for: http://www.gramps-project.org/bugs/view.php?id=4767#c18699
svn: r17067
2011-04-06 20:07:28 +00:00
Craig J. Anderson
4350b0d073 incramental update for: http://www.gramps-project.org/bugs/view.php?id=4767
re 18636:  Ok, I've gone with 'Whether to include a separate marital box in the report'

re 18637:
1) missing information is a future feature.  
a check box to "include placeholders for missing generations"...  I'll think about it.  But I think I may go your way.

2) it deals with space available for missing boxes.  Or instead of displaying an empty box with "include placeholders for missing generations" above, no box is displayed and the space for it is still there.

3) This has nothing to do with marriages boxes.  Fathers have a display format, and Mothers have a display format.  The center person is neither a Father or Mother.  So which display box should we use?

4) good.  But most common?  I have no idea what those are...  I'll think about it, but if you have any ideas...

5) Done

6) Done and Done (above)

7) I was thinking that scale was sizing and resizing is sizing too.  Hense the 's'.  I may still be wrong.

8) I'm under the impression that people don't see the tool tip.

9) wow.  checked a 3.2 version and there is no 'include title' option...  wow.

10) I don't see a 'include border' either in 3.2.  Set to default to False

11) done but I can't seem to get the text box or enumerated list to be greyed out.  I'll work on it more.


svn: r17047
2011-04-05 14:49:34 +00:00
Craig J. Anderson
c50862b54e updates to fix: http://www.gramps-project.org/bugs/view.php?id=4767
Ancestor report:
- removed father uses main option
  changed to 'center person uses' option on tree tab
- option main_disp to father_disp
- opton sec_dis to mother_disp
- moved secondary tab to display tab
- display boxes are now labeled 'father display' and mother display'

Descendant report:
- changed cli opts to 'descend_disp' and 'spouse_disp'
- removed 'use separate display for spouses'
- changed default note location to bottom left

Both reports:
- added 'Sizes' tab to hold scale and resize options only
- 'print' tab is now the 'include' tab
- options on the include tab say 'include' instead of 'print'
- moved 'Note' tab into the 'include' tab and labeled 'include note'
- moved some of the resize tooltip into the description
- tried to get the 'compress' tool tip a little better



svn: r17030
2011-04-03 01:13:32 +00:00
Craig J. Anderson
822c49a472 This is a fix for: http://www.gramps-project.org/bugs/view.php?id=4767
Unified cli option names
removed a '2' from a class name


svn: r16999
2011-03-30 23:33:01 +00:00
Craig J. Anderson
b2bc4d13e5 Fixes: http://www.gramps-project.org/bugs/view.php?id=4729
Modified how the first two options on the 'page' tab are worded
also removes the 'Resize Page to Fit Tree size.' option in the bookreport
-This line, and those below, will be ignored--

M    src/plugins/drawreport/AncestorTree.py
M    src/plugins/drawreport/DescendTree.py
M    src/plugins/drawreport/drawplugins.gpr.py


svn: r16928
2011-03-25 15:36:49 +00:00
Craig J. Anderson
1c8384ff20 fixes for error:
http://www.gramps-project.org/bugs/view.php?id=4751

Too much work was done inside of __init__.  Moved it out.


svn: r16842
2011-03-17 16:28:18 +00:00
Craig J. Anderson
ed32530f57 Fixes (part one) for
http://www.gramps-project.org/bugs/view.php?id=4727
too much report work was done in __init__()  Moved it to begin_report()

also modified libtreebase to not have so many pointers to .doc


svn: r16777
2011-03-07 15:54:03 +00:00
Craig J. Anderson
62a951147b found that the 'one page' option should be false by default.
svn: r16747
2011-03-02 18:02:11 +00:00
Craig J. Anderson
97040bfd6e Updated MakeAncestorTree.recurse to MakeAncestorTree.iterate
an iterative version of recurse.  Mostly done to try and reduce
memory usage.  Use
http://www.gramps-project.org/bugs/view.php?id=4670
http://www.gramps-project.org/bugs/view.php?id=4708
to test.



svn: r16735
2011-03-01 03:17:33 +00:00
Craig J. Anderson
84d40e946d This is in responce to:
http://www.gramps-project.org/bugs/view.php?id=4670
1. cannot display individuals without parents (AncestorsTree)

Also a little code cleanup to prepare for an iterative
version of recurse


svn: r16731
2011-02-28 16:21:41 +00:00
Vassilii Khachaturov
1a41a34b30 harmonize l10n string with DescendTree.py, by suggestion from Egor
svn: r16685
2011-02-20 21:44:55 +00:00
Vassilii Khachaturov
3b868f6eab * From Egor Reentov <Egor.Gramps@gmail.com>:
Adding i18n of strings in AncestorTree.py and DescendTree.py
	(CR'ed with Benny's and Jerome's help --- thanks a lot, folks!)
* Merged Egor's and other recent new strings into ru.po
	(from a local gramps.pot - not checking it in)
	"POT-Creation-Date: 2011-02-20 20:52+0200\n"
* Minor fixes of ru.po along the way



svn: r16683
2011-02-20 19:41:37 +00:00
Craig J. Anderson
4232d8b621 Updates to all three reports.
Ancestor
 Descendant
 Family Descendant

fixes error 4602, 4603
and other errors I found


svn: r16626
2011-02-15 23:31:16 +00:00
Gerald Britton
e8f9c8422a Tweaks to graphical tree reports
svn: r16422
2011-01-21 14:30:14 +00:00
Jérôme Rapinat
526268641a typos (contribution by Paul Franklin)
svn: r16393
2011-01-17 08:31:26 +00:00
Craig J. Anderson
459bc9e87b removed '+' from
_("text" +
  "more text")
lines to help with translations.



svn: r16391
2011-01-16 20:47:57 +00:00
Craig J. Anderson
5fad02da57 accidently backed out some work dealing with shadows.
svn: r16390
2011-01-16 04:35:07 +00:00
Craig J. Anderson
21772a92db update shadows to be more like Descendant report
updated _fill function to be iterative.  not recursive.



svn: r16389
2011-01-16 04:27:43 +00:00
Craig J. Anderson
b159aa02c2 small updates. remove box.shadow and used report_opt.box_shadow
also removed .prev from Descendant reports.  
updated shadows to be more consistent.



svn: r16380
2011-01-14 19:20:19 +00:00
Craig J. Anderson
8145163220 This is speed/memory improvement number 1 for the Ancestor report
added a CalcItems helper class to calculate text for boxes.

also fixed some strings that were concatinated (due to length),
but did not have a space at the end or beginning.



svn: r16367
2011-01-12 03:16:48 +00:00
Jérôme Rapinat
3d8e5d5311 4326: typo (contribution by Paul Franklin)
svn: r16357
2011-01-10 09:20:13 +00:00
Craig J. Anderson
df9825821b In this commit:
Update Ancestor report
Updated Descendant report
new Family Descendant report

new docs for these reports are found at
http://www.gramps-project.org/wiki/index.php?title=User:Ander882

included into trunk for hopeful inclusion into 3.3



svn: r16348
2011-01-07 16:11:17 +00:00
Craig J. Anderson
de35544b79 The new version of SubstKeywords by ander882@hotmail.com
docs at: http://www.gramps-project.org/wiki/index.php?title=Display_formatting33



svn: r16252
2010-12-06 03:10:35 +00:00
Peter Landgren
919f632993 Issue 4162, correction of box width.
svn: r15702
2010-08-11 07:00:14 +00:00
Brian Matherly
df32be43de 0003796: Make export available when no GUI available. Patch from jmodule (Jakim Friant).
svn: r15294
2010-05-01 04:12:42 +00:00
Brian Matherly
f04880ec09 Move gettext, ngettext and sgettext calls into the new ggettext module. All of them return unicode all of the time.
svn: r14091
2010-01-18 04:42:17 +00:00
Brian Matherly
c5f54d0cfc Continued work on GEP008: Move src/BasicUtils/_NameDisplay.py to src/gen/display.
svn: r14072
2010-01-14 04:08:04 +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
Gerald Britton
a052bc3c63 Tweaks to use inplace arithmetic
svn: r13184
2009-09-09 20:37:26 +00:00
Raphael Ackermann
30d6eebd0b 0002542: Crash whilst generating web pages from command line
Throwing Report Error if center person is not in database. Added catching of Report Error to CommandLineReport
if using GUI it is not possible to cause this, as you have to select a person that is in the DB. However on the command line you can specify any PID and even no person with that pid exists an error was thrown.

svn: r13004
2009-08-14 07:14:25 +00:00
Peter Landgren
4a2fa50abb Fix of issue 3109, max number of generations are now set to 50, equal in ancestor tree and descendent tree.
svn: r12816
2009-07-19 06:56:20 +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
Gerald Britton
81a0848490 Bug 3018: remove calls to keys() and values() dictionary method where possible
svn: r12579
2009-05-27 17:33:45 +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
Brian Matherly
efd64ad139 Clean up AncestorTree report.
svn: r11796
2009-02-02 12:50:24 +00:00
Brian Matherly
96f9411caa Move all draw reports into plugins/drawreport.
svn: r11634
2009-01-16 21:10:36 +00:00