Hi
I have a unique requirement. We have tons of japaneese word documents created with english LCID. Is there a way to change the LCID of the documents using aspose?
regards
S.Saba
Hi
I have a unique requirement. We have tons of japaneese word documents created with english LCID. Is there a way to change the LCID of the documents using aspose?
regards
S.Saba
Hi<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
Thanks for your request. Yes, I think you can achieve this using Aspose.Words. For example see the following code.
Document doc = new Document(@"Test093\in.doc");
foreach (Style style in doc.Styles)
{
if (style.Font != null)
{
//Specify the locale so Microsoft Word recognizes this text as japaneese.
style.Font.LocaleId = 1041;
//Also there are
//style.Font.LocaleIdFarEast
//style.Font.LocaleIdBi
}
}
doc.Save(@"Test093\out.doc");
See the following links.
Hope this helps. Also you can attach sample document for testing.
Best regards.