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

GenoPro Support Forum




Descendant Report

Click to view RSS...
Author bugs in MS Word
Posted Wednesday, January 30, 2008 - Post #20638
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Customers
GenoPro version: 2.0.1.4

Last Login: Saturday, September 21, 2019
Posts: 16, Visits: 89
Using MS Word 97, I get this error message, sometimes overe and over:
"Error at line 173, position 17 (Code/MSWriter.js): The formatting in this document is too complex. Please full save the document now.
Microsoft Word 800A1624"

It works fine in Open Office.

Also, in MS Word, the first line in the paragraphs in notes is reverse indented (instead of the entire paragraph?). I think this can be fixed in the .dot file.

Let me know if you'd like details. I'm using the version with descendants.js dated January 11, 2008.

Bob Webster
Posted Sunday, February 3, 2008 - Post #20678
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: 2 days ago @ 9:23 PM
Posts: 3,464, Visits: 26,854
Yes this problem has been reported before and I thought I had posted the circumvention, other than amending the code as in this response, but I can't find it.

So the circumvention: There is now a configuration parameter, MSWordSavePages that can be amended at run time to a lower value. try setting it to say 4 first, then 2.

Not sure what you mean exactly by reverse indented. Notes are intended to be hanging indents. I have made a small change in version 2.0.1.5RC1 posted elsewhere. If this doesn't do thetrick then please send you suggestions for a modified .dot. Thanks.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted Monday, February 4, 2008 - Post #20687
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Customers
GenoPro version: 2.0.1.4

Last Login: Saturday, September 21, 2019
Posts: 16, Visits: 89
By reverse indented I did mean hanging indents. If you have multiple paragraphs in a note, they each have hanging indents in Word, which looks funny, but only the first paragraph does in Open Office, which looks good. I've attached an example. Apparently this is because newline characters in Word cause a new paragraph automatically, but not in Open Office.

One way to fix this is to translate all the newline characters in a note to vertical tabs. You could add this "while" loop near the end of this.insertText in MSWriter.js.

} else {
/* change newlines to vertical tab to prevent additional hanging indents */
while (sContent.indexOf('/n') > 0) {
sContent = sContent.replace('/n', '/013');
}

oText.TypeText(sContent.substr(nBegin));
nBegin=sContent.length+1;
break;
}

(I changed the backslashes to forward slash because the codes were disappearing here -- they'll need to be changed back to backslash.)


lois.zip (53 views, 42.25 KB)

Edited: Monday, February 4, 2008 by BobWebster


Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse