My project entails opening existing document and populating them with text in many languages. I am having an issue with Japanese now where the text in the document has the line starting with punctuation. I have attached 2 documents. J_Correct.dot is a document where the text is showing correctly and J_Incorrect.dot is a new document where it is not.
J_Correct.dot is a document that was created before I was here and I am not exactly sure why it is working other than it must be set up to know it is a Japanese text and to use Japanese rules with it.
I am not sure that this is the best way to test this consept, but I am trying to recreate this look in J_Incorrect without much luck. I have tried the following code from other places in the forum but it is not working. What else do I need to do to get this to work.
docbuilder.Font.LocaleIdFarEast = 1041
docbuilder.Font.LocaleId = 1041
objRuns = doc.GetChildNodes(NodeType.Run, True, False)
For Each objRun In objRuns
objRun.Font.LocaleIdFarEast = 1041
objRun.Font.LocaleId = 1041
objRun.Font.Name = "MS Gothic"
objRun.Font.Size = 9
Next