Descendant Report with Images
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 
GenoPro Support Forum
Home        Members    Who's On
Welcome Guest ( Login | Register )
        



Descendant Report with Images Expand / Collapse
Author
Message
Post #20718 Posted 2/8/2008 8:23:51 AM


Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Customers
Last Login: 8/26/2008 7:39:35 AM
GenoPro Version: 2.0.1.4
Posts: 22, Visits: 407
I developed a customized version of descendant report for include primary picture of each person.

Tell me what do you think.

Note*: works only for MSWord.

  Post Attachments 
Customized Descendants Report with Images by EDilena.zip (22 views, 69.27 KB)

Post #20722 Posted 2/8/2008 2:51:31 PM


Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer This user is an important contributor to the GenoPro community 

Group: Customers
Last Login: Today @ 12:57:35 AM
GenoPro Version: 2.0.1.6
Posts: 239, Visits: 3,871
I get this error:

Generating report to 'e:\GenoPro Reports\41\'
Cloning document Document2...
Opening configuration file Config.xml for skin '\book-photo\* (Descendants Report (Beta))'...
Loading Dictionary.xml...
[0.00] Processing template 'Main.js'...
Note: Auto Select - OpenOffice API not found (429: ‏‏לשרת אוטומציה אין אפשרות ליצור אובייקט) - Checking for MS Word
Generating report on descendants of Yom-Tov
יום-טוב Baruch ברוך
Error at line 99, position 6 (Code/MSWriter.js): שם זה אינו שם קובץ חוקי.
נסה אחת או יותר מן הפעולות הבאות:
*
בדוק את הנתיב כדי לוודא שהוקלד נכון.
*
בחר קובץ מתוך רשימת הקבצים והתיקיות.
Microsoft Word 800A1420

Post #20740 Posted 2/10/2008 10:34:12 AM


Grand Master

Grand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand Master This user is a contributor to FamilyTrees.GenoPro.com This user is an important contributor to the GenoPro community 

Group: Customers
Last Login: Today @ 6:30:53 PM
GenoPro Version: 2.0.1.6
Posts: 1,151, Visits: 5,401
Nice to have someone else aboard trying their hand at writing report skins! A very good effort on your part.

When trying it on the standard HarryPotter.gno sample file reporting on Mr Dursley (snr) it fails as MS Office doesn't appear to like http URLs as picture references.


Generating report on descendants of Mr Dursley
Error at line 99, position 6 (Code/MSWriter.js): This is not a valid file name.
Try one or more of the following:
* Check the path to make sure it was typed correctly.
* Select a file from the list of files and folders.

Microsoft Word 800A1420

This is presumably the same as Beraha's post.

With a modified HarryPotter.gno with pictures locally after Marjorie & Vernon Dursley and Harry Potter have been reported with photos I get:


Generating report to 'G:\Shared Documents\Genealogy\GenoPro\reports\HarryPotter\'
Cloning document HarryPotter...
Opening configuration file Config.xml for skin '\Customized Descendants Report with Images by EDilena\* (Descendants Report (Beta))'...
Loading Dictionary.xml...
[0.00] Processing template 'Main.js'...
Generating report on descendants of Mr Dursley
Error at line 106, position 7 (Code/Descendants.js): Cannot access individual columns in this collection because the table has mixed cell widths.

Microsoft Word 800A1768




'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Post #20752 Posted 2/11/2008 8:23:25 AM


Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Customers
Last Login: 8/26/2008 7:39:35 AM
GenoPro Version: 2.0.1.4
Posts: 22, Visits: 407
Yes, this is the problem!!

I'm working on a fix and other things.

EDilena

Post #20755 Posted 2/11/2008 5:27:39 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Customers
Last Login: Today @ 3:31:44 PM
GenoPro Version: 2.0.1.4
Posts: 7, Visits: 1,129
I have generated two reports on separate data sets using SMWord and got no errors reported. The report was 34 pages and took 417 seconds with a good selection of images. I tried it on another machine with OpenOffice and got the following error:-

Error at line 239, position 3 (Code/Descendants.js): 'oWord' is undefined
 Microsoft JScript runtime error 800A1391

As you say the code was developed for MSWord so I did not expect it to work.

I did find one other error which has nothing to do with images. All places I have defined as Regions print out with a "R" eg I have defined Crayford as a Region of London and get "R Crayford, London"

Ian


 

Post #20756 Posted 2/11/2008 5:29:25 PM


Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Customers
Last Login: 8/26/2008 7:39:35 AM
GenoPro Version: 2.0.1.4
Posts: 22, Visits: 407
Try this version.

fix the error for locate the pictures.  (Must be in local disk)
Name Index in 3 columns format
OOWriter.js dummy functions



Note:

I put my new functions and code at the end of each file.

The pictures are in a cell, because some larger pictures disappear with the ConvertToShape() function. This is possible to do manually, but not for vba.   is a MSWord bug??

  Post Attachments 
Customized Descendants Report 0.1 by EDilena .zip (11 views, 69.79 KB)

Post #20757 Posted 2/11/2008 5:40:52 PM


Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Customers
Last Login: 8/26/2008 7:39:35 AM
GenoPro Version: 2.0.1.4
Posts: 22, Visits: 407
For 60677:

maybe the tag

 <PlacePrefix_Region T="R"/>

in Dictionary.xml?

Post #20758 Posted 2/11/2008 11:37:53 PM


Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master This user is an important contributor to the translation of GenoPro This user is an important contributor to the GenoPro community This user is a contributor to FamilyTrees.GenoPro.com 

Group: Customers
Last Login: Today @ 7:55:16 AM
GenoPro Version: 2.0.1.6
Posts: 720, Visits: 6,070
Have managed to create a report with pictures, but there is one item to be solved: If you have many educations and occupations, these stay in the center column, whereas the picture is in the right column with a lot of empty space below. The text needs to be wrapped around the picture/column. The column to be ended by the height of the picture.

Would also be nice to have the spouse` picture included. Looks promising.
Post #20803