Free Support Forum - aspose.com

MailMerge in Hebrew is reversed

Hi,

When I execute a mail merge with a regular english document everything is ok, but when I do it in hebrew the text gets reversed.

I read a message in the forum saying to set

_mBuilder.ParagraphFormat.Bidi = False

_mBuilder.Font.Bidi = True

But it doesn't work.

This is my code, what am I doing wrong? (copied from one of the examples)

' Setup mail merge event handler to do the custom work.

AddHandler _Word.MailMerge.MergeField, AddressOf HandleMergeField

' The mail merge event handler will use this document builder object to do its work.

_mBuilder = New DocumentBuilder(_Word)

_mBuilder.ParagraphFormat.Bidi = False

_mBuilder.Font.Bidi = True

' Execute the mail merge.

_Word.MailMerge.Execute(_fieldNames, _fieldValues)

' Save the finished document.

strFileContent = _Word.GetText()

_Word.Save(_strToPath)

Hi

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your inquiry. Your request has been linked to the appropriate issue. You will be notified as soon as it is resolved. See the following link to learn how to work this problem around:

http://www.aspose.com/community/forums/thread/206985/arabic-numbers.aspx

Best regards,

The issues you have found earlier (filed as WORDSNET-3029) have been fixed in this .NET update and this Java update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.
(1)