|
|
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)
|
|
|
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  |
|
|
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.
|
|
|
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)
 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)
|
|
|
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:  Old Russian Descendants Report still works:
Edited: Tuesday, February 2, 2021 by
Alex
|
|
|
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)
|
|
|
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.  Descendants Report works now with last standard.dot and MSWriter.js.... But I'm not sure about the need for the phrase 'Name Index' :
|
|
|
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"
|
|
|
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 ...
Style.zip
(3 views,
151.41 KB)
|
|
|
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 Clicking at 2 as shown or pressing Alt+Ctrl+Shift+S gives 
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
|