GenoPro Home
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 

GenoPro Support Forum




Descendant Report with Images

Click to view RSS...
Author
Posted Friday, February 8, 2008 - Post #20718
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Customers
GenoPro version: 3.0.1.1

Last Login: Friday, April 9, 2021
Posts: 21, Visits: 422
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.

Customized Descendants Report with Images by EDilena.zip (168 views, 69.27 KB)

Posted Friday, February 8, 2008 - Post #20722
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
Important Contributors
GenoPro version: 3.0.0.7

Last Login: Sunday, November 26, 2023
Posts: 213, Visits: 4,464
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



Edited: Saturday, February 9, 2008 by GenoProSupport
Posted Sunday, February 10, 2008 - Post #20740
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: 11 hours ago
Posts: 3,397, Visits: 26,161
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"
Posted Monday, February 11, 2008 - Post #20752
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Customers
GenoPro version: 3.0.1.1

Last Login: Friday, April 9, 2021
Posts: 21, Visits: 422
Yes, this is the problem!!

I'm working on a fix and other things.

EDilena

Ian
Posted Monday, February 11, 2008 - Post #20755
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Customers
GenoPro version: 3.1.0.1

Last Login: Yesterday @ 11:38 PM
Posts: 18, Visits: 4,189
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


 

Posted Monday, February 11, 2008 - Post #20756
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Customers
GenoPro version: 3.0.1.1

Last Login: Friday, April 9, 2021
Posts: 21, Visits: 422
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??

Customized Descendants Report 0.1 by EDilena .zip (158 views, 69.79 KB)

Posted Monday, February 11, 2008 - Post #20757
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Customers
GenoPro version: 3.0.1.1

Last Login: Friday, April 9, 2021
Posts: 21, Visits: 422
For 60677:

maybe the tag

 <PlacePrefix_Region T="R"/>

in Dictionary.xml?

Edited: Monday, February 11, 2008 by EDilena

Posted Monday, February 11, 2008 - Post #20758
Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master

Customers
Important Contributors
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Sunday, March 21, 2021
Posts: 716, Visits: 12,927
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.


Edited: Tuesday, February 12, 2008 by maru-san
Posted Monday, February 18, 2008 - Post #20803
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Customers
GenoPro version: 3.0.1.1

Last Login: Friday, April 9, 2021
Posts: 21, Visits: 422
I developed a new version:

- Parameters group to config the output of images
- Add a Index of individuals pictures
- Wrap text around the picture.

I experience a problem with MSWord 2000, for that reason i put the Option "Pictures in the cell of a table  (Y/N)", because some larger pictures dissappear with ConvertToShape() function, you must resize the picture or set this option to "Yes"

Try and tell me what you think....

** I need collaboration to write the dummy functions for open office.

Customized Descendants Report 0.2 By EDilena.zip (189 views, 71.43 KB)

Edited: Monday, February 18, 2008 by EDilena

Posted Monday, February 18, 2008 - Post #20812
Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master

Customers
Important Contributors
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Sunday, March 21, 2021
Posts: 716, Visits: 12,927
Nice improvements, but also report of errors(sometimes):

Line 74 and line 140 in MSWriter.js
and some pictures are missing if the report is a lengthy one.

I am also inserting line such as
if (j) oWriter.newParagraph();
for occupancies. education and occupation records before Additional Information and then before next group of records(education and occupation)


Edited: Monday, February 18, 2008 by maru-san


Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse
Active: 3 - 1 guest, 1 member, 0 anonymous.
Refresh