From: Bruce D. <bde...@co...> - 2005-05-31 02:02:31
|
Don, when I did the original DetAncestralReport I had patched in the following option list in the code. This was as much for development as for final version. As you and the Gramps community consider the merging the text reports you might consider starting with this or a similar list. Of course the final options should be put it into a GUI display but this is not particularly difficult if the option list has been stablized. Since it took just a matter of hours to convert DetAncestralReport to DetDescendantReport I think it is possible to have one text report with Ancestor/Descendant option for Gramps. Photos should difinitely be included in the report. I had in prototype the ability to display photos on the (1) left at the start of an individual with wrap on/off, (2) on the right, and (3) collection of images (mini album) following the individual (after the children list). I think these should be the minimum photo/image set of features. Adding options such as photos is no trivial task, most of my time back then was studying and experimenting with the XML for OpenOffice and Kword. I am sure much has changed since then, but adding a general photo/image insert feature could still be a test. Back then I found HTML much easier to work with, mainly because it was better documented. (BTW I have no experience with Abiword.) The following is copied from DetAncestralReport.py ### Initialize report options### #Use first name in place of he or she in text self.firstName= reportOptions.Yes #Use year only, not full date/month self.fullDate= reportOptions.Yes #Do not list children self.listChildren= reportOptions.Yes #Add stepchildren to the list of children #self.addStepChildren= reportOptions.Yes #Print notes self.includeNotes= reportOptions.Yes #Selectively print notes (omit private information) #self.omitPrivInfo= reportOptions.No #generate header for each page, specify text #self.noHeader= reportOptions.Yes #Inculde reference notes #self.noRefNotes= reportOptions.Yes #Include source notes #self.noSourceNotes= reportOptions.Yes #Replace missing Place with ___________ self.blankPlace= reportOptions.No #Replace missing dates with __________ self.blankDate= reportOptions.No #Omit country code #self.noCountryInfo= reportOptions.No #Put title before or after name (Dr., Lt., etc.) #self.titleAfter= reportOptions.Yes #Add "Died at the age of NN" in text self.calcAgeFlag= reportOptions.Yes #Add Photos and Images to report self.addImages= reportOptions.Yes #self.imageAttrTag= "DetAncestralReport-H" #self.imageAttrTag= "DetAncestralReport-L" #Omit sensitive information such as birth, christening, marriage # for living after XXXXX date. #Omit duplicate persons, occurs when distant cousins marry self.dupPersons= reportOptions.Yes #Add descendant reference in child list self.childRef= reportOptions.Yes Bruce |