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

GenoPro Support Forum




Report skin version 2020.11.26

Click to view RSS...
Author
Posted Sunday, January 31, 2021 - Post #41121
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: 3 hours ago
Posts: 3,424, Visits: 26,503
{EN} Descendants report work OK for me with both MS Word 2013 and OpenOffice.  The error you have with MS Word indicates that the Word template file Common\Code\Templates\standard.dot is missing the custom 'hyperlink' style. I have attached a copy of it for comparison (zipped because of forum's file extension restrictions).

I have updated my copy of {RU} Descendants Report with your files so that it gets included in my next cumulative update.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"


standard.zip (8 views, 6.57 KB)
Posted Sunday, January 31, 2021 - Post #41122
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: 3 hours ago
Posts: 3,424, Visits: 26,503
Alex,Regarding your issues with the DescendantTree skin, The RTF problem was due to the fact that non-ASCII characters need to be escaped/encoded, but the Family Relationship type, e.g. Widowed, Divorced was not being encoded. The attached revised DescendantTree.js fixes this and also resolved the issue of all individiuals instead of just tagged individuals being reported on. The dagger character † you are using for 'died' also needs to be escaped as \u8224? and has been amended in the Dictionary.xml mentioned below.

I noticed that the Dictionary.xml files in the Russian skins are quite similar but are not exactly the same.  Therefore I have tried to create a unified Russian Dictionary.xml and placed it in a new skin template {RU} Shared Dictionary which is also attached.  if you install this skin template and run it then it replaces Dictionary.xml in all other {RU} prefixed skins with a 'hard link' to its own Dictionary.xml thus causing all {RU} Dictionary.xml files to be the same physical file on disc. This means that in future any amendment to any one skin's Dictionary.xml file will be reflected in all the others since they are one and the same file.

p.s. ensure you have a backup of your skin folders before running Shared Dictionary just in case Unsure


Cheers,

Ron


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"


DescendantTree.js (5 views, 16.39 KB)
{RU} Shared Dictionary.zip (4 views, 45.63 KB)


Edited: Sunday, January 31, 2021 by genome
Posted Sunday, January 31, 2021 - Post #41124
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: 3 hours ago
Posts: 282, Visits: 12,499
- {RU} Descendant_Tree    -  OK.
- {RU} Descendants Report - maybe I didn't understand something, but WinMerge shows that files Common\Code\Templates\standard.dot and zipped standard.dot are identical.
- {RU} Shared Dictionary - I will try to test and write the result.
Thank you, Ron.
Posted Monday, February 1, 2021 - Post #41129
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: 3 hours ago
Posts: 3,424, Visits: 26,503
Regarding Descendants Report, if you open a copy of standard.dot with MS Word do you see the 'Hyperlink' style in the Styles List?  (Ctrl Alt Shift and S)

http://support.genopro.com/Uploads/Images/f90557b4-e350-43fc-9ab1-6a7f.png


The error occurs on line 83 of MSWriter.js

oText.Style = oWord.ActiveDocument.Styles('Hyperlink');

I have made a modified Common\Code\MSWriter.js as attached  that should trap this error and just log an error in the Report Log and continue.  Perhaps you could try this version 


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"


MSWriter.js (3 views, 8.39 KB)
Posted Tuesday, February 2, 2021 - Post #41130
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: 3 hours ago
Posts: 282, Visits: 12,499
Descendants Report with new MSWriter.js generates MS Word document.
But Log file:
http://support.genopro.com/Uploads/Images/699690cf-1d66-4d58-9665-2f35.jpg
Old Russian Descendants Report still works:
http://support.genopro.com/Uploads/Images/0453efd5-3556-49eb-949b-84ba.jpg

Edited: Tuesday, February 2, 2021 by Alex
Posted Tuesday, February 2, 2021 - Post #41132
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: 3 hours ago
Posts: 3,424, Visits: 26,503
Unfortunately you did not answer my first question, i.e. can you see the Hyperlink style in standard.dot?   I can only surmise that Word localises the built-in style names.

Bases on this assumption I have created a new style gnoHyperlink in standard.dot and changed MSWriter.js to use this style name instead. Both files are attached. 



'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"


standard.zip (4 views, 6.62 KB)
MSWriter.js (4 views, 8.44 KB)
Posted Thursday, February 4, 2021 - Post #41138
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: 3 hours ago
Posts: 282, Visits: 12,499
Sorry Ron. After two days of experiments with MS Word, OpenOffice, Descendants Report and  
standard.dot I installed MS Word 2013, but still could not find Hyperlink style in standard.dot.Blush
Descendants Report works now with last standard.dot and MSWriter.js....
But I'm not sure about the need for the phrase 'Name Index' :
http://support.genopro.com/Uploads/Images/5d86c784-d8de-47de-80af-81a0.jpg
Posted Thursday, February 4, 2021 - Post #41139
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: 3 hours ago
Posts: 3,424, Visits: 26,503
Glad to hear it is now working OK.  I inserted the hyperlink >Name Index so that the reader could easily get to the index by clicking on it if they wanted to look for a particular name instead of having to scroll all the way through the document. The hyperlinks in the index then allow quick access to the desired person.

p.s. is your MS Word Style List displayed in Russian?  e.g. did гиперссылка (or whatever the Russian translatin is) appear instead of Hyperlink?


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted Friday, February 5, 2021 - Post #41142
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: 3 hours ago
Posts: 282, Visits: 12,499
I tried to open standard.dot in MS Word and OpenOffice.
Result in Style.zip ... Smile

Style.zip (3 views, 151.41 KB)
Posted Friday, February 5, 2021 - Post #41143
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: 3 hours ago
Posts: 3,424, Visits: 26,503
It doesn't really matter any more but


http://support.genopro.com/Uploads/Images/f56aad6e-7fcf-428e-951d-3d3f.png



Clicking at 2 as shown or pressing Alt+Ctrl+Shift+S gives

http://support.genopro.com/Uploads/Images/3bee38de-774e-4af1-89bd-9aec.png


Smile


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"


Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

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